mirror of
https://github.com/e107inc/e107.git
synced 2025-01-18 05:09:05 +01:00
143 lines
4.7 KiB
PHP
143 lines
4.7 KiB
PHP
<?php
|
|
/*
|
|
* Copyright (c) 2012 e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
|
* $Id: e_shortcode.php 12438 2011-12-05 15:12:56Z secretr $
|
|
*
|
|
* Gallery Template
|
|
*/
|
|
|
|
|
|
// TEMPLATE FOR {NAVIGATION=main}
|
|
$NAVIGATION_TEMPLATE['main']['start'] = '<ul class="nav navbar-nav">';
|
|
|
|
// Main Link
|
|
$NAVIGATION_TEMPLATE['main']['item'] = '
|
|
<li>
|
|
<a role="button" href="{LINK_URL}"{LINK_OPEN} title="{LINK_DESCRIPTION}">
|
|
{LINK_ICON}{LINK_NAME}
|
|
</a>
|
|
</li>
|
|
';
|
|
|
|
// Main Link which has a sub menu.
|
|
$NAVIGATION_TEMPLATE['main']['item_submenu'] = '
|
|
<li class="dropdown">
|
|
<a class="dropdown-toggle" role="button" data-toggle="dropdown" data-target="#" href="{LINK_URL}" title="{LINK_DESCRIPTION}">
|
|
{LINK_ICON}{LINK_NAME}
|
|
<b class="caret"></b>
|
|
</a>
|
|
{LINK_SUB}
|
|
</li>
|
|
';
|
|
|
|
$NAVIGATION_TEMPLATE['main']['item_submenu_active'] = '
|
|
<li class="dropdown active">
|
|
<a class="dropdown-toggle" role="button" data-toggle="dropdown" data-target="#" href="{LINK_URL}">
|
|
{LINK_ICON}{LINK_NAME}
|
|
<b class="caret"></b>
|
|
</a>
|
|
{LINK_SUB}
|
|
</li>
|
|
';
|
|
|
|
$NAVIGATION_TEMPLATE['main']['item_active'] = '
|
|
<li>
|
|
<a class="e-tip" role="button" data-target="#" href="{LINK_URL}"{LINK_OPEN} title="{LINK_DESCRIPTION}">
|
|
{LINK_ICON} {LINK_NAME}
|
|
</a>
|
|
</li>
|
|
';
|
|
|
|
$NAVIGATION_TEMPLATE['main']['end'] = '</ul>';
|
|
|
|
|
|
$NAVIGATION_TEMPLATE['main']['submenu_start'] = '
|
|
<ul class="dropdown-menu" role="menu" >
|
|
';
|
|
|
|
|
|
$NAVIGATION_TEMPLATE['main']['submenu_item'] = '
|
|
<li role="menuitem" >
|
|
<a href="{LINK_URL}"{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a>
|
|
{LINK_SUB}
|
|
</li>
|
|
';
|
|
|
|
$NAVIGATION_TEMPLATE['main']['submenu_loweritem'] = '
|
|
<li role="menuitem" class="dropdown-submenu">
|
|
<a href="{LINK_URL}"{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a>
|
|
{LINK_SUB}
|
|
</li>
|
|
';
|
|
|
|
$NAVIGATION_TEMPLATE['main']['submenu_loweritem_active'] = '
|
|
<li role="menuitem" class="dropdown-submenu active">
|
|
<a href="{LINK_URL}"{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a>
|
|
{LINK_SUB}
|
|
</li>
|
|
';
|
|
|
|
$NAVIGATION_TEMPLATE['main']['submenu_item_active'] = '
|
|
<li role="menuitem" class="active">
|
|
<a href="{LINK_URL}"{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a>
|
|
{LINK_SUB}
|
|
</li>
|
|
';
|
|
|
|
$NAVIGATION_TEMPLATE['main']['submenu_end'] = '</ul>';
|
|
|
|
|
|
// TEMPLATE FOR {NAVIGATION=side}
|
|
|
|
$NAVIGATION_TEMPLATE['side']['start'] = '<ul class="nav nav-list"><li class="nav-header">Sidebar</li>
|
|
';
|
|
|
|
$NAVIGATION_TEMPLATE['side']['item'] = '<li><a href="{LINK_URL}"{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a></li>
|
|
';
|
|
|
|
$NAVIGATION_TEMPLATE['side']['item_submenu'] = '<li class="nav-header">{LINK_ICON}{LINK_NAME}{LINK_SUB}</li>
|
|
';
|
|
|
|
$NAVIGATION_TEMPLATE['side']['item_active'] = '<li class="active"{LINK_OPEN}><a href="{LINK_URL}">{LINK_ICON}{LINK_NAME}</a></li>
|
|
';
|
|
|
|
$NAVIGATION_TEMPLATE['side']['end'] = '</ul>
|
|
';
|
|
|
|
$NAVIGATION_TEMPLATE['side']['submenu_start'] = '';
|
|
|
|
$NAVIGATION_TEMPLATE['side']['submenu_item'] = '<li><a href="{LINK_URL}"{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a></li>';
|
|
|
|
$NAVIGATION_TEMPLATE['side']['submenu_loweritem'] = '
|
|
<li role="menuitem" class="dropdown-submenu">
|
|
<a href="{LINK_URL}"{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a>
|
|
{LINK_SUB}
|
|
</li>
|
|
';
|
|
|
|
$NAVIGATION_TEMPLATE['side']['submenu_item_active'] = '<li class="active"><a href="{LINK_URL}">{LINK_ICON}{LINK_NAME}</a></li>';
|
|
|
|
$NAVIGATION_TEMPLATE['side']['submenu_end'] = '';
|
|
|
|
|
|
// Footer links. - ie. 3 columns of links.
|
|
|
|
$NAVIGATION_TEMPLATE["footer"]["start"] = "<ul class='list-unstyled nav-footer row'>\n";
|
|
$NAVIGATION_TEMPLATE["footer"]["item"] = "<li class='col-md-4'><a href='{LINK_URL}'{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a></li>\n";
|
|
$NAVIGATION_TEMPLATE["footer"]["item_submenu"] = "<li class='nav-header col-md-4'>{LINK_ICON}{LINK_NAME}{LINK_SUB}</li>\n";
|
|
$NAVIGATION_TEMPLATE["footer"]["item_active"] = "<li class='active'{LINK_OPEN}><a href='{LINK_URL}'>{LINK_ICON}{LINK_NAME}</a></li>\n";
|
|
$NAVIGATION_TEMPLATE["footer"]["end"] = "</ul>\n";
|
|
$NAVIGATION_TEMPLATE["footer"]["submenu_start"] = "<ul class='list-unstyled'>";
|
|
$NAVIGATION_TEMPLATE["footer"]["submenu_item"] = "<li><a href='{LINK_URL}'{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a></li>\n";
|
|
$NAVIGATION_TEMPLATE["footer"]["submenu_loweritem"] = "<li><a href='{LINK_URL}'{LINK_OPEN}>{LINK_ICON}{LINK_NAME}</a>{LINK_SUB}</li>\n";
|
|
$NAVIGATION_TEMPLATE["footer"]["submenu_item_active"] = "<li class='active'><a href='{LINK_URL}'>{LINK_ICON}{LINK_NAME}</a></li>\n";
|
|
$NAVIGATION_TEMPLATE["footer"]["submenu_end"] = "</ul>";
|
|
|
|
|
|
|
|
|
|
$NAVIGATION_TEMPLATE['alt'] = $NAVIGATION_TEMPLATE['side'];
|
|
$NAVIGATION_TEMPLATE['alt5'] = $NAVIGATION_TEMPLATE['side'];
|
|
$NAVIGATION_TEMPLATE['alt6'] = $NAVIGATION_TEMPLATE['side'];
|
|
|
|
?>
|