mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Patch 1.8.29
This commit is contained in:
parent
67f56845d1
commit
fe5a4221ea
2 changed files with 9 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
/**
|
||||
* RX_VERSION is the version number of the Rhymix CMS.
|
||||
*/
|
||||
define('RX_VERSION', '1.8.28');
|
||||
define('RX_VERSION', '1.8.29');
|
||||
|
||||
/**
|
||||
* RX_MICROTIME is the startup time of the current script, in microseconds since the Unix epoch.
|
||||
|
|
|
|||
|
|
@ -1981,7 +1981,14 @@ class menuAdminController extends menu
|
|||
$name_arr_str = '';
|
||||
foreach($names as $key => $val)
|
||||
{
|
||||
$name_arr_str .= sprintf('"%s"=>"%s",', $key, str_replace(array('\\','"'), array('\\\\','"'), strip_tags($val)));
|
||||
if(preg_match('/^\{\$lang->menu_gnb(?:_sub)?\[\'([a-z0-9_]+)\'\]\}$/i', $val))
|
||||
{
|
||||
$name_arr_str .= sprintf('"%s"=>"%s",', $key, $val);
|
||||
}
|
||||
else
|
||||
{
|
||||
$name_arr_str .= sprintf('"%s"=>\'%s\',', $key, str_replace(array('\\','\''), array('\\\\','\\\''), strip_tags($val)));
|
||||
}
|
||||
}
|
||||
$name_str = sprintf('$_menu_names[%d] = array(%s); %s', $node->menu_item_srl, $name_arr_str, $child_output['name']);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue