removed unused 'js_isDOM'

This commit is contained in:
Sebastian Mendel
2005-10-17 11:32:15 +00:00
parent 8f29d32741
commit 222f50220c
4 changed files with 10 additions and 20 deletions

View File

@@ -7,6 +7,7 @@ $Source$
2005-10-14 Sebastian Mendel <cybot_tm@users.sourceforge.net> 2005-10-14 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* css/phpmyadmin.css.php: border around tabs bug #1326730 * css/phpmyadmin.css.php: border around tabs bug #1326730
* libraries/header_meta_style.inc.php, themes/*: removed unused 'js_isDOM'
2005-10-16 Michal Čihař <michal@cihar.com> 2005-10-16 Michal Čihař <michal@cihar.com>
* db_details_links.php: Disable drop tab on mysql database (RFE #1327514). * db_details_links.php: Disable drop tab on mysql database (RFE #1327514).

View File

@@ -36,5 +36,5 @@ if (!empty($GLOBALS['cfg']['PmaAbsoluteUri'])) {
echo '<base href="' . $GLOBALS['cfg']['PmaAbsoluteUri'] . '" />' . "\n"; echo '<base href="' . $GLOBALS['cfg']['PmaAbsoluteUri'] . '" />' . "\n";
} }
?> ?>
<link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './'; ?>css/phpmyadmin.css.php?<?php echo PMA_generate_common_url(); ?>&amp;js_frame=<?php echo isset($print_view) ? 'print' : 'right'; ?>&amp;js_isDOM=1" /> <link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './'; ?>css/phpmyadmin.css.php?<?php echo PMA_generate_common_url(); ?>&amp;js_frame=<?php echo isset($print_view) ? 'print' : 'right'; ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './'; ?>css/print.css?<?php echo PMA_generate_common_url(); ?>" media="print" /> <link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : './'; ?>css/print.css?<?php echo PMA_generate_common_url(); ?>" media="print" />

View File

@@ -37,11 +37,9 @@ th{
font-weight: bold; font-weight: bold;
color: #000000; color: #000000;
background-color: #ff9900; background-color: #ff9900;
<?php if (isset($js_isDOM) && $js_isDOM != '0') { ?>
background-image: url(../themes/darkblue_orange/img/tbl_th.png); background-image: url(../themes/darkblue_orange/img/tbl_th.png);
background-repeat: repeat-x; background-repeat: repeat-x;
background-position: top; background-position: top;
<?php } ?>
height: 18px; height: 18px;
} }
th a:link, th a:active, th a:visited{ th a:link, th a:active, th a:visited{
@@ -298,7 +296,7 @@ span.tab, span.tabcaution {
div.warning { div.warning {
border: 1px solid #cc0000; border: 1px solid #cc0000;
/* /*
<?php if($cfg['ErrorIconic'] && isset($js_isDOM) && $js_isDOM != '0') { ?> <?php if( $GLOBLAS['cfg']['ErrorIconic'] ) { ?>
*/ */
background-image: url(../themes/darkblue_orange/img/s_warn.png); background-image: url(../themes/darkblue_orange/img/s_warn.png);
background-repeat: no-repeat; background-repeat: no-repeat;
@@ -327,7 +325,7 @@ div.error div.head {
font-weight: bold; font-weight: bold;
color: #ffffff; color: #ffffff;
/* /*
<?php if ($cfg['ErrorIconic'] && isset($js_isDOM) && $js_isDOM != '0') { ?> <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
*/ */
background-image: url(../themes/darkblue_orange/img/s_error.png); background-image: url(../themes/darkblue_orange/img/s_error.png);
background-repeat: no-repeat; background-repeat: no-repeat;
@@ -377,11 +375,9 @@ div.tblWarn {
font-weight: bold; font-weight: bold;
color: #ffffff; color: #ffffff;
background-color: #666699; background-color: #666699;
<?php if (isset($js_isDOM) && $js_isDOM != '0') { ?>
background-image: url(../themes/darkblue_orange/img/tbl_header.png); background-image: url(../themes/darkblue_orange/img/tbl_header.png);
background-repeat: repeat-x; background-repeat: repeat-x;
background-position: top; background-position: top;
<?php } ?>
height: 18px; height: 18px;
} }
.tblHeaders a:link, .tblHeaders a:visited, .tblHeaders a:active, .tblFooters a:link, tblFooters a:visited, tblFooters a:active{ .tblHeaders a:link, .tblHeaders a:visited, .tblHeaders a:active, .tblFooters a:link, tblFooters a:visited, tblFooters a:active{
@@ -392,11 +388,9 @@ div.tblWarn {
font-weight: normal; font-weight: normal;
color: #ffffff; color: #ffffff;
background-color: #666699; background-color: #666699;
<?php if (isset($js_isDOM) && $js_isDOM != '0') { ?>
background-image: url(../themes/darkblue_orange/img/tbl_header.png); background-image: url(../themes/darkblue_orange/img/tbl_header.png);
background-repeat: repeat-x; background-repeat: repeat-x;
background-position: top; background-position: top;
<?php } ?>
} }
.tblHeaders a:hover, tblFooters a:hover{ .tblHeaders a:hover, tblFooters a:hover{
text-decoration: none; text-decoration: none;
@@ -406,18 +400,16 @@ div.tblWarn {
font-weight: bold; font-weight: bold;
color: #ffffff; color: #ffffff;
background-color: #cc0000; background-color: #cc0000;
<?php if (isset($js_isDOM) && $js_isDOM != '0') { ?>
background-image: url(../themes/darkblue_orange/img/tbl_error.png); background-image: url(../themes/darkblue_orange/img/tbl_error.png);
background-repeat: repeat-x; background-repeat: repeat-x;
background-position: top; background-position: top;
<?php } ?>
height: 18px; height: 18px;
} }
div.errorhead { div.errorhead {
font-weight: bold; font-weight: bold;
color: #ffffff; color: #ffffff;
text-align: left; text-align: left;
<?php if ($cfg['ErrorIconic'] && isset($js_isDOM) && $js_isDOM != '0') { ?> <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
background-image: url(../themes/darkblue_orange/img/s_error.png); background-image: url(../themes/darkblue_orange/img/s_error.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 2px 50%; background-position: 2px 50%;
@@ -430,18 +422,16 @@ div.errorhead {
background-color: #ffcc00; background-color: #ffcc00;
font-weight: bold; font-weight: bold;
color: #000000; color: #000000;
<?php if (isset($js_isDOM) && $js_isDOM != '0') { ?>
background-image: url(../themes/darkblue_orange/img/tbl_th.png); background-image: url(../themes/darkblue_orange/img/tbl_th.png);
background-repeat: repeat-x; background-repeat: repeat-x;
background-position: top; background-position: top;
<?php } ?>
height: 18px; height: 18px;
} }
div.warnhead { div.warnhead {
font-weight: bold; font-weight: bold;
color: #ffffff; color: #ffffff;
text-align: left; text-align: left;
<?php if ($cfg['ErrorIconic'] && isset($js_isDOM) && $js_isDOM != '0') { ?> <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
background-image: url(../themes/darkblue_orange/img/s_warn.png); background-image: url(../themes/darkblue_orange/img/s_warn.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 2px 50%; background-position: 2px 50%;
@@ -502,7 +492,6 @@ tr.disabled td, td.disabled {
background-color: #cccccc; background-color: #cccccc;
} }
<?php if (isset($js_isDOM) && $js_isDOM != '0') { ?>
/* some styles for IDs: */ /* some styles for IDs: */
#buttonNo{ #buttonNo{
color: #CC0000; color: #CC0000;
@@ -536,7 +525,7 @@ tr.disabled td, td.disabled {
font-family: "Courier New", Courier, mono; font-family: "Courier New", Courier, mono;
font-size: 11px; font-size: 11px;
} }
<?php } ?>
#TooltipContainer { #TooltipContainer {
position: absolute; position: absolute;
z-index: 99; z-index: 99;

View File

@@ -210,7 +210,7 @@ div.errorhead {
font-weight: bold; font-weight: bold;
color: #ffffff; color: #ffffff;
text-align: left; text-align: left;
<?php if ($cfg['ErrorIconic'] && isset($js_isDOM) && $js_isDOM != '0') { ?> <?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
background-image: url(../themes/original/img/s_error.png); background-image: url(../themes/original/img/s_error.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: 5px 50%; background-position: 5px 50%;
@@ -287,7 +287,7 @@ img, input, select, button {
margin: 0 0.1em 0 0.2em; margin: 0 0.1em 0 0.2em;
} }
<?php if (isset($js_isDOM) && $js_isDOM != '0') { ?>
/* disabled text */ /* disabled text */
.disabled, .disabled a:link, disabled a:active, .disabled a:visited { .disabled, .disabled a:link, disabled a:active, .disabled a:visited {
font-family: <?php echo $right_font_family; ?>; font-family: <?php echo $right_font_family; ?>;
@@ -307,7 +307,7 @@ tr.disabled td, td.disabled {
font-family: "Courier New", Courier, mono; font-family: "Courier New", Courier, mono;
font-size: 12px; font-size: 12px;
} }
<?php } // end of isDom ?>
#TooltipContainer { #TooltipContainer {
position: absolute; position: absolute;
z-index: 99; z-index: 99;