mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 12:21:45 +02:00
Added support for bootstrap glyphs (see admin-> Site-links icon for example)
This commit is contained in:
@@ -1549,7 +1549,6 @@ Inverse 10 <span class="badge badge-inverse">10</span>
|
||||
{
|
||||
$catid = $admin_cat['id'][$subitem[4]];
|
||||
$tmp = array();
|
||||
|
||||
$tmp['text'] = $subitem[1];
|
||||
$tmp['description'] = $subitem[2];
|
||||
$tmp['link'] = $subitem[0];
|
||||
@@ -1749,7 +1748,7 @@ Inverse 10 <span class="badge badge-inverse">10</span>
|
||||
$tmp[$c]['link'] = $tp->replaceConstants($link,'full');
|
||||
$tmp[$c]['image'] = vartrue($lk['link_button']) ? "<img class='icon S16' src='".$tp->replaceConstants($lk['link_button'])."' alt='".$tp->toAttribute($lk['link_description'],'','defs')."' />": "" ;
|
||||
$tmp[$c]['image_large'] = '';
|
||||
$tmp[$c]['image_src'] = '';
|
||||
$tmp[$c]['image_src'] = vartrue($lk['link_button']);
|
||||
$tmp[$c]['image_large_src'] = '';
|
||||
$tmp[$c]['perm'] = '';
|
||||
$c++;
|
||||
|
@@ -23,7 +23,7 @@ $NAVIGATION_TEMPLATE['main']['item'] = '
|
||||
$NAVIGATION_TEMPLATE['main']['item_submenu'] = '
|
||||
<li class="dropdown">
|
||||
<a class="dropdown-toggle" role="button" data-toggle="dropdown" data-target="#" href="{LINK_URL}" >
|
||||
{LINK_NAME}
|
||||
{LINK_IMAGE}{LINK_NAME}
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
{LINK_SUB}
|
||||
@@ -33,7 +33,7 @@ $NAVIGATION_TEMPLATE['main']['item_submenu'] = '
|
||||
$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_IMAGE} {LINK_NAME}
|
||||
{LINK_IMAGE}{LINK_NAME}
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
{LINK_SUB}
|
||||
|
Reference in New Issue
Block a user