mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 17:44:37 +02:00
Menu Template fixes and enhancements. Related News now has a template.
This commit is contained in:
@@ -1,23 +1,26 @@
|
||||
<?php
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
#### Panel Template - Used by menu_class.php for Custom Menu Content.
|
||||
#### Additional control over image thumbnailing is possible via SETIMAGE e.g. {SETIMAGE: w=200&h=150&crop=1}
|
||||
|
||||
#### Panel Template - Used by menu_class.php for Custom Menu Content.
|
||||
|
||||
|
||||
$MENU_TEMPLATE['default']['start'] = '';
|
||||
$MENU_TEMPLATE['default']['start'] = '<div class="cpage-menu {CMENUNAME}">';
|
||||
$MENU_TEMPLATE['default']['body'] = '{CMENUBODY}';
|
||||
$MENU_TEMPLATE['default']['end'] = '';
|
||||
$MENU_TEMPLATE['default']['end'] = '</div>';
|
||||
|
||||
$MENU_TEMPLATE['button']['start'] = '<div class="cpage-menu">';
|
||||
$MENU_TEMPLATE['button']['start'] = '<div class="cpage-menu {CMENUNAME}">';
|
||||
$MENU_TEMPLATE['button']['body'] = '<div>{CMENUBODY}</div>{CPAGEBUTTON}';
|
||||
$MENU_TEMPLATE['button']['end'] = '</div>';
|
||||
|
||||
### Additional control over image thumbnailing is possible via SETIMAGE e.g. {SETIMAGE: w=200&h=150&crop=1}
|
||||
$MENU_TEMPLATE['buttom-image']['start'] = '<div class="cpage-menu">';
|
||||
$MENU_TEMPLATE['buttom-image']['start'] = '<div class="cpage-menu {CMENUNAME}">';
|
||||
$MENU_TEMPLATE['buttom-image']['body'] = '<div>{CMENUIMAGE}</div>{CPAGEBUTTON}';
|
||||
$MENU_TEMPLATE['buttom-image']['end'] = '</div>';
|
||||
$MENU_TEMPLATE['buttom-image']['end'] = '</div>';
|
||||
|
||||
$MENU_TEMPLATE['image-only']['start'] = '';
|
||||
$MENU_TEMPLATE['image-only']['body'] = '{CMENUIMAGE}';
|
||||
$MENU_TEMPLATE['image-only']['end'] = '';
|
||||
$MENU_TEMPLATE['image-only']['start'] = '<div class="cpage-menu {CMENUNAME}">';
|
||||
$MENU_TEMPLATE['image-only']['body'] = '{CMENUIMAGE}';
|
||||
$MENU_TEMPLATE['image-only']['end'] = '</div>';
|
||||
|
||||
$MENU_TEMPLATE['image-text-button']['start'] = '<div class="cpage-menu {CMENUNAME}">';
|
||||
$MENU_TEMPLATE['image-text-button']['body'] = '{CMENUIMAGE}{CMENUBODY}{CPAGEBUTTON}';
|
||||
$MENU_TEMPLATE['image-text-button']['end'] = '</div>';
|
||||
?>
|
Reference in New Issue
Block a user