real static param

git-svn-id: http://piwigo.org/svn/trunk@2536 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
nikrou
2008-09-14 19:40:12 +00:00
parent 8a06c0ee87
commit 9474d5cc67
+4 -4
View File
@@ -304,7 +304,7 @@ class Template {
* translate variable modifier - translates a text to the currently loaded
* language
*/
/*static*/ function mod_translate($text)
static function mod_translate($text)
{
return l10n($text);
}
@@ -313,7 +313,7 @@ class Template {
* explode variable modifier - similar to php explode
* 'Yes;No'|@explode:';' -> array('Yes', 'No')
*/
/*static*/ function mod_explode($text, $delimiter=',')
static function mod_explode($text, $delimiter=',')
{
return explode($delimiter, $text);
}
@@ -371,7 +371,7 @@ class Template {
}
}
/*static */ function prefilter_white_space($source, &$smarty)
static function prefilter_white_space($source, &$smarty)
{
$ld = $smarty->left_delimiter;
$rd = $smarty->right_delimiter;
@@ -398,7 +398,7 @@ class Template {
* Smarty prefilter to allow caching (whenever possible) language strings
* from templates.
*/
/*static */ function prefilter_language($source, &$smarty)
static function prefilter_language($source, &$smarty)
{
global $lang;
$ldq = preg_quote($smarty->left_delimiter, '~');