mirror of
https://github.com/e107inc/e107.git
synced 2025-04-22 13:41:52 +02:00
Menu template fixes; Page template lan
This commit is contained in:
parent
9b25fa3c61
commit
c49756982f
@ -185,7 +185,7 @@ class cpage_shortcodes extends e_shortcode
|
||||
|
||||
parse_str($parm,$options);
|
||||
|
||||
$text = vartrue($options['text'], "Read more..");
|
||||
$text = vartrue($options['text'], LAN_READ_MORE);
|
||||
$size = vartrue($options['size'], "");
|
||||
$inc = ($size) ? " btn-".$size : "";
|
||||
|
||||
|
@ -6,10 +6,11 @@
|
||||
|
||||
$MENU_TEMPLATE['default']['start'] = '';
|
||||
$MENU_TEMPLATE['default']['body'] = '{CMENUBODY}';
|
||||
$MENU_TEMPLATE['default']['end'] = '';
|
||||
|
||||
$MENU_TEMPLATE['button']['start'] = '<div class="cpage-menu">';
|
||||
$MENU_TEMPLATE['button']['body'] = '{CMENUBODY}{CPAGEBUTTON}';
|
||||
$MENU_TEMPLATE['buttom-image']['end'] = '</div>';
|
||||
$MENU_TEMPLATE['button']['end'] = '</div>';
|
||||
|
||||
$MENU_TEMPLATE['buttom-image']['start'] = '<div class="cpage-menu">';
|
||||
$MENU_TEMPLATE['buttom-image']['body'] = '{CMENUIMAGE}{CPAGEBUTTON}';
|
||||
|
@ -47,6 +47,7 @@ define("EMESSLAN_TITLE_WARNING", "Warning");
|
||||
define("EMESSLAN_TITLE_DEBUG", "System Debug");
|
||||
|
||||
define("LAN_MORE", "More..");
|
||||
define("LAN_READ_MORE", "Read more..");
|
||||
define("LAN_GOPAGE", "Go to page");
|
||||
define("LAN_GO", "Go");
|
||||
define("LAN_NONE", "None");
|
||||
|
Loading…
x
Reference in New Issue
Block a user