1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00
php-e107/e107_core/templates/menu_template.php
2020-06-02 12:05:20 -07:00

28 lines
1.3 KiB
PHP

<?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}
$MENU_TEMPLATE['default']['start'] = '<div class="cpage-menu {CMENUNAME}">';
$MENU_TEMPLATE['default']['body'] = '{CMENUBODY}';
$MENU_TEMPLATE['default']['end'] = '</div>';
$MENU_TEMPLATE['button']['start'] = '<div class="cpage-menu {CMENUNAME}">';
$MENU_TEMPLATE['button']['body'] = '<div>{CMENUBODY}</div>{CPAGEBUTTON}';
$MENU_TEMPLATE['button']['end'] = '</div>';
$MENU_TEMPLATE['buttom-image']['start'] = '<div class="cpage-menu {CMENUNAME}">{SETIMAGE: w=360}';
$MENU_TEMPLATE['buttom-image']['body'] = '<div>{CMENUIMAGE}</div>{CPAGEBUTTON}';
$MENU_TEMPLATE['buttom-image']['end'] = '</div>';
$MENU_TEMPLATE['image-only']['start'] = '<div class="cpage-menu {CMENUNAME}">{SETIMAGE: w=360}';
$MENU_TEMPLATE['image-only']['body'] = '{CMENUIMAGE}';
$MENU_TEMPLATE['image-only']['end'] = '</div>';
$MENU_TEMPLATE['image-text-button']['start'] = '<div class="cpage-menu {CMENUNAME}">{SETIMAGE: w=360}';
$MENU_TEMPLATE['image-text-button']['body'] = '{CMENUIMAGE}{CMENUBODY}{CPAGEBUTTON}';
$MENU_TEMPLATE['image-text-button']['end'] = '</div>';