PHP Core Libraries

- add .gitignore for log, templates_c and tmp
- add base www/ folder
This commit is contained in:
2013-12-11 15:52:08 +09:00
parent de4db95d16
commit 7285d3947c
1077 changed files with 136221 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
<?
/********************************************************************
* $HeadURL: svn://svn/development/core_data/php/www/libs/Class.Smarty.Extend.inc $
* $LastChangedBy: gullevek $
* $LastChangedDate: 2013-02-21 17:58:57 +0900 (Thu, 21 Feb 2013) $
* $LastChangedRevision: 4389 $
*********************************************************************
* AUTHOR: Clemens "Gullevek" Schwaighofer (www.gullevek.org)
* CREATED: 2004/12/21
* SHORT DESCRIPTION:
* extends smarty with the l10n class so I can use __(, etc calls
* HISTORY:
* 2005/06/22 (cs) include smarty class here, so there is no need to include it in the main file
*********************************************************************/
// read in the Smarty class for definition
// use smarty BC for backwards compability
require_once(SMARTY.'SmartyBC.class.php');
class SmartyML extends SmartyBC
{
public $l10n;
// constructor class, just sets the language stuff
public function __construct($lang)
{
SmartyBC::__construct();
require_once(LIBS."Class.l10n.inc");
$this->l10n = new l10n($lang);
// variable variable register
$this->register_modifier('getvar', array(&$this, 'get_template_vars'));
}
}
// $Id: Class.Smarty.Extend.inc 4389 2013-02-21 08:58:57Z gullevek $
?>