mirror of
https://github.com/e107inc/e107.git
synced 2025-07-26 01:11:28 +02:00
Html validation tweaks
This commit is contained in:
@@ -1430,7 +1430,7 @@ class admin_shortcodes
|
|||||||
$tmp[$c]['text'] = $tp->toHtml($lk['link_name'],'','defs');
|
$tmp[$c]['text'] = $tp->toHtml($lk['link_name'],'','defs');
|
||||||
$tmp[$c]['description'] = $tp->toHtml($lk['link_description'],'','defs');
|
$tmp[$c]['description'] = $tp->toHtml($lk['link_description'],'','defs');
|
||||||
$tmp[$c]['link'] = $tp->replaceConstants($link,'full');
|
$tmp[$c]['link'] = $tp->replaceConstants($link,'full');
|
||||||
$tmp[$c]['image'] = "<img class='icon S16' src='".$tp->replaceConstants($lk['link_button'])."' alt='' />"; ;
|
$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_large'] = '';
|
||||||
$tmp[$c]['image_src'] = '';
|
$tmp[$c]['image_src'] = '';
|
||||||
$tmp[$c]['image_large_src'] = '';
|
$tmp[$c]['image_large_src'] = '';
|
||||||
|
@@ -28,7 +28,7 @@ $E_ADMIN_NAVIGATION['start'] = '<ul class="nav">';
|
|||||||
|
|
||||||
$E_ADMIN_NAVIGATION['button'] = '
|
$E_ADMIN_NAVIGATION['button'] = '
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a class="dropdown-toggle" id="{SUB_ID}" role="button" data-toggle="dropdown" data-target="#" href="{LINK_URL}" >
|
<a class="dropdown-toggle" role="button" data-toggle="dropdown" data-target="#" href="{LINK_URL}" >
|
||||||
{LINK_TEXT}
|
{LINK_TEXT}
|
||||||
<b class="caret"></b>
|
<b class="caret"></b>
|
||||||
</a>
|
</a>
|
||||||
@@ -40,7 +40,7 @@ $E_ADMIN_NAVIGATION['button'] = '
|
|||||||
|
|
||||||
$E_ADMIN_NAVIGATION['button_active'] = '
|
$E_ADMIN_NAVIGATION['button_active'] = '
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
<a class="dropdown-toggle" id="{SUB_ID}" role="button" data-toggle="dropdown" data-target="#" href="{LINK_URL}">
|
<a class="dropdown-toggle" role="button" data-toggle="dropdown" data-target="#" href="{LINK_URL}">
|
||||||
{LINK_TEXT}
|
{LINK_TEXT}
|
||||||
<b class="caret"></b>
|
<b class="caret"></b>
|
||||||
</a>
|
</a>
|
||||||
@@ -51,7 +51,7 @@ $E_ADMIN_NAVIGATION['button_active'] = '
|
|||||||
|
|
||||||
$E_ADMIN_NAVIGATION['button_other'] = '
|
$E_ADMIN_NAVIGATION['button_other'] = '
|
||||||
<li>
|
<li>
|
||||||
<a id="{SUB_ID}" role="button" href="{LINK_URL}" >
|
<a role="button" href="{LINK_URL}" >
|
||||||
{LINK_TEXT}
|
{LINK_TEXT}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
Reference in New Issue
Block a user