forked from ZwiiCMS-Team/ZwiiCMS
Comment translate function
This commit is contained in:
parent
b2cbbf0c2d
commit
46c2455853
@ -26,8 +26,8 @@ class helper
|
||||
|
||||
public static function translate($text)
|
||||
{
|
||||
/*
|
||||
$target = 'redirection';
|
||||
/** Collecte des dialogues des modules */
|
||||
$url = $_SERVER['QUERY_STRING'];
|
||||
$module = explode('/', $url);
|
||||
if ( $module[0] === $target)
|
||||
@ -40,6 +40,7 @@ class helper
|
||||
}
|
||||
|
||||
}
|
||||
*/
|
||||
return (array_key_exists($text, core::$dialog) && !empty(core::$dialog[$text]) ? core::$dialog[$text] : $text);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user