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

26 lines
1.3 KiB
PHP
Raw Normal View History

2013-03-08 02:44:24 -08:00
<?php
if (!defined('e107_INIT')) { exit; }
2013-03-08 02:44:24 -08:00
#### 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}
2013-03-08 02:44:24 -08:00
$MENU_TEMPLATE['default']['start'] = '<div class="cpage-menu {CMENUNAME}">';
2013-03-08 02:44:24 -08:00
$MENU_TEMPLATE['default']['body'] = '{CMENUBODY}';
$MENU_TEMPLATE['default']['end'] = '</div>';
2013-03-08 02:44:24 -08:00
$MENU_TEMPLATE['button']['start'] = '<div class="cpage-menu {CMENUNAME}">';
$MENU_TEMPLATE['button']['body'] = '<div>{CMENUBODY}</div>{CPAGEBUTTON}';
2013-10-18 10:50:12 +03:00
$MENU_TEMPLATE['button']['end'] = '</div>';
2013-03-08 02:44:24 -08:00
2016-12-28 18:46:18 -08:00
$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>';
2016-12-28 18:46:18 -08:00
$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>';
2013-03-08 02:44:24 -08:00
2016-12-28 18:46:18 -08:00
$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>';
2013-03-08 02:44:24 -08:00
?>