- fixed some rtl languages issues

- added style for notice box (server_export.php)
This commit is contained in:
Sebastian Mendel
2005-11-01 09:07:48 +00:00
parent 166660ebbf
commit a289fc337a
3 changed files with 65 additions and 4 deletions

View File

@@ -8,6 +8,9 @@ $Source$
2005-11-01 Sebastian Mendel <cybot_tm@users.sourceforge.net> 2005-11-01 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* libraries/common.lib.php: * libraries/common.lib.php:
bug #1342332 Error messages wrongly formatted. bug #1342332 Error messages wrongly formatted.
* themes/*/css/theme_right.css.php:
- fixed some rtl languages issues
- added style for notice box (server_export.php)
2005-10-31 Sebastian Mendel <cybot_tm@users.sourceforge.net> 2005-10-31 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* themes/*/css/theme_right.css.php: * themes/*/css/theme_right.css.php:

View File

@@ -286,6 +286,35 @@ span.tab, span.tabcaution {
/* message boxes: warning, error, confirmation */ /* message boxes: warning, error, confirmation */
.notice {
color: #000000;
background-color: #FFFFDD;
}
h1.notice,
div.notice {
margin: 0.5em 0 0.5em 0;
border: 0.1em solid #FFD700;
<?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
background-image: url(../themes/darkblue_orange/img/s_notice.png);
background-repeat: no-repeat;
<?php if ( $GLOBALS['text_dir'] === 'ltr' ) {?>
background-position: 10px 50%;
padding: 10px 10px 10px 36px;
<?php } else {?>
background-position: 99% 50%;
padding: 10px 5% 10px 10px;
<?php }?>
<?php } else {?>
padding: 0.5em;
<?php }?>
}
.notice h1 {
border-bottom: 0.1em solid #FFD700;
font-weight: bold;
text-align: <?php echo $left; ?>;
margin: 0 0 0.2em 0;
}
.warning { .warning {
color: #CC0000; color: #CC0000;
background-color: #FFFFCC; background-color: #FFFFCC;
@@ -314,7 +343,7 @@ div.warning {
.warning h1 { .warning h1 {
border-bottom: 0.1em solid #cc0000; border-bottom: 0.1em solid #cc0000;
font-weight: bold; font-weight: bold;
text-align: left; text-align: <?php echo $left; ?>;
margin: 0 0 0.2em 0; margin: 0 0 0.2em 0;
} }
@@ -345,7 +374,7 @@ div.error {
div.error h1 { div.error h1 {
border-bottom: 0.1em solid #ff0000; border-bottom: 0.1em solid #ff0000;
font-weight: bold; font-weight: bold;
text-align: left; text-align: <?php echo $left; ?>;
margin: 0 0 0.2em 0; margin: 0 0 0.2em 0;
} }

View File

@@ -204,6 +204,35 @@ span.tab, span.tabcaution {
/* message boxes: warning, error, confirmation */ /* message boxes: warning, error, confirmation */
.notice {
color: #000000;
background-color: #FFFFDD;
}
h1.notice,
div.notice {
margin: 0.5em 0 0.5em 0;
border: 0.1em solid #FFD700;
<?php if ( $GLOBALS['cfg']['ErrorIconic'] ) { ?>
background-image: url(../themes/original/img/s_notice.png);
background-repeat: no-repeat;
<?php if ( $GLOBALS['text_dir'] === 'ltr' ) {?>
background-position: 10px 50%;
padding: 10px 10px 10px 36px;
<?php } else {?>
background-position: 99% 50%;
padding: 10px 5% 10px 10px;
<?php }?>
<?php } else {?>
padding: 0.5em;
<?php }?>
}
.notice h1 {
border-bottom: 0.1em solid #FFD700;
font-weight: bold;
text-align: <?php echo $left; ?>;
margin: 0 0 0.2em 0;
}
.warning { .warning {
color: #CC0000; color: #CC0000;
background-color: #FFFFCC; background-color: #FFFFCC;
@@ -229,7 +258,7 @@ div.warning {
.warning h1 { .warning h1 {
border-bottom: 0.1em solid #cc0000; border-bottom: 0.1em solid #cc0000;
font-weight: bold; font-weight: bold;
text-align: left; text-align: <?php echo $left; ?>;
margin: 0 0 0.2em 0; margin: 0 0 0.2em 0;
} }
@@ -258,7 +287,7 @@ div.error {
div.error h1 { div.error h1 {
border-bottom: 0.1em solid #ff0000; border-bottom: 0.1em solid #ff0000;
font-weight: bold; font-weight: bold;
text-align: left; text-align: <?php echo $left; ?>;
margin: 0 0 0.2em 0; margin: 0 0 0.2em 0;
} }