aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2008-09-14 19:40:12 +0000
committernikrou <nikrou@piwigo.org>2008-09-14 19:40:12 +0000
commit9474d5cc67076f8328adfbc68a32444b79bb0b87 (patch)
treea8bb8a61b528ddcc24d85cacce2ab986c23c0bac
parent8a06c0ee870c5020642b896f05a4efa3588f5cb5 (diff)
real static param
git-svn-id: http://piwigo.org/svn/trunk@2536 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/template.class.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/template.class.php b/include/template.class.php
index 777d4ddec..b9d06b750 100644
--- a/include/template.class.php
+++ b/include/template.class.php
@@ -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, '~');