1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-20 20:51:53 +02:00

Html validation tweaks

This commit is contained in:
Cameron 2012-11-26 04:21:29 -08:00
parent 5d3ead1d23
commit c05a723b87
2 changed files with 4 additions and 4 deletions

View File

@ -1430,7 +1430,7 @@ class admin_shortcodes
$tmp[$c]['text'] = $tp->toHtml($lk['link_name'],'','defs');
$tmp[$c]['description'] = $tp->toHtml($lk['link_description'],'','defs');
$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_src'] = '';
$tmp[$c]['image_large_src'] = '';

View File

@ -28,7 +28,7 @@ $E_ADMIN_NAVIGATION['start'] = '<ul class="nav">';
$E_ADMIN_NAVIGATION['button'] = '
<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}
<b class="caret"></b>
</a>
@ -40,7 +40,7 @@ $E_ADMIN_NAVIGATION['button'] = '
$E_ADMIN_NAVIGATION['button_active'] = '
<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}
<b class="caret"></b>
</a>
@ -51,7 +51,7 @@ $E_ADMIN_NAVIGATION['button_active'] = '
$E_ADMIN_NAVIGATION['button_other'] = '
<li>
<a id="{SUB_ID}" role="button" href="{LINK_URL}" >
<a role="button" href="{LINK_URL}" >
{LINK_TEXT}
</a>
</li>