1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-05 06:07:32 +02:00

HTML validation fixes

This commit is contained in:
Cameron
2012-11-26 11:07:11 -08:00
parent 5f227ef66c
commit 2ee7159adc
3 changed files with 20 additions and 8 deletions

View File

@@ -229,7 +229,7 @@ function render_infopanel_options($render = false)
$frm = e107::getForm(); $frm = e107::getForm();
$mes = e107::getMessage(); $mes = e107::getMessage();
$start = "<div> $start = "<div>
To customize this page, please <a title = 'Customize Admin' href='".e_SELF."?mode=customize&iframe=1' class='e-modal-iframe'>click here</a>. To customize this page, please <a title = 'Customize Admin' href='".e_SELF."?mode=customize&amp;iframe=1' class='e-modal-iframe'>click here</a>.
</div> </div>
"; ";

View File

@@ -58,20 +58,20 @@ $E_ADMIN_NAVIGATION['button_other'] = '
'; ';
$E_ADMIN_NAVIGATION['start_sub'] = ' $E_ADMIN_NAVIGATION['start_sub'] = '
<ul class="dropdown-menu" role="menu" aria-labelledby="{SUB_ID}"> <ul class="dropdown-menu" role="menu" >
'; ';
$E_ADMIN_NAVIGATION['start_other_sub'] = ' $E_ADMIN_NAVIGATION['start_other_sub'] = '
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="{SUB_ID}"> <ul class="dropdown-menu pull-right" role="menu" >
'; ';
$E_ADMIN_NAVIGATION['button_sub'] = ' $E_ADMIN_NAVIGATION['button_sub'] = '
<li> <li role="menuitem">
<a href="{LINK_URL}">{LINK_IMAGE}{LINK_TEXT}</a> <a href="{LINK_URL}">{LINK_IMAGE}{LINK_TEXT}</a>
</li> </li>
'; ';
$E_ADMIN_NAVIGATION['button_active_sub'] = ' $E_ADMIN_NAVIGATION['button_active_sub'] = '
<li class="active"> <li role="menuitem" class="active">
<a href="{LINK_URL}">{LINK_IMAGE}{LINK_TEXT}</a> <a href="{LINK_URL}">{LINK_IMAGE}{LINK_TEXT}</a>
</li> </li>
'; ';
@@ -93,7 +93,7 @@ $ADMIN_HEADER = '<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid"> <div class="container-fluid">
<a class="brand" href="#"><img src="'.e_IMAGE_ABS.'e107_icon_32.png" /> e107 Admin</a> <a class="brand" href="#"><img src="'.e_IMAGE_ABS.'e107_icon_32.png" alt="e107" /> e107 Admin</a>
<div class="nav-collapse collapse"> <div class="nav-collapse collapse">
<div class="dropdown nav pull-right navbar-text "> <div class="dropdown nav pull-right navbar-text ">
@@ -170,7 +170,7 @@ $ADMIN_FOOTER = '
<hr> <hr>
<footer> <footer>
<p>{ADMIN_CREDITS}</p> {ADMIN_CREDITS}
</footer> </footer>
</div><!--/.fluid-container-->'; </div><!--/.fluid-container-->';

View File

@@ -9,7 +9,19 @@ define('STANDARDS_MODE', TRUE);
e107::css('theme','css/bootstrap.css'); e107::css('theme','css/bootstrap.css');
e107::css('theme','css/bootstrap-responsive.css'); e107::css('theme','css/bootstrap-responsive.css');
e107::css('theme','ie_all.css',null,'all',"<!--[if IE]>","<![endif]-->"); e107::css('theme','ie_all.css',null,'all',"<!--[if IE]>","<![endif]-->");
// e107::js("inline","$('.dropdown-toggle').dropdown();"); /*
$drop = "
$(function() {
$('.navbar .dropdown').hover(function() {
$(this).find('.dropdown-menu').first().stop(true, true).slideDown()
}, function() {
$(this).find('.dropdown-menu').first().stop(true, true).slideUp('fast')
});
});
";
e107::js("inline",$drop);
*/
// e107::js("inline","$('.dropdown-toggle').toggle('slow');"); // e107::js("inline","$('.dropdown-toggle').toggle('slow');");