Changeset 333

Show
Ignore:
Timestamp:
02/12/07 03:19:02 (2 years ago)
Author:
rats
Message:

- GUI:
* fixed error doc
* changed css a.login

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGELOG

    r328 r333  
    66|               * Copy files on update                            | 
    77|               * apache: check if stats are working with FastCGI | 
    8 |               * Finish fastcgi.conf file                        | 
    98|                                                                 | 
    109|         - AWStats:                                              | 
     
    1817                * added Fedora files missing / changed 
    1918                * changed masters php.inis 
     19                * changed main theme 
    2020        - DOCS: 
    2121                * added folder for Gentoo 
    2222        - GUI: 
    2323                * fixed small bug 
     24                * Theme: omega_original fixed small bug 
     25                * fixed error doc 
     26                * changed css a.login 
    2427        - LANGUAGES: 
    2528                * Portugues-Brazil: added missing strings 
  • trunk/gui/errordocs/index.php

    r325 r333  
     1<?php 
     2        require_once('../include/vhcs-lib.php'); 
     3        $theme = $cfg['USER_INITIAL_THEME']; 
     4?> 
    15<html> 
    26 <head> 
    37  <title>VHCS ERROR</title> 
    48  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
    5 <?php 
    6         require_once('/vhcs2/include/vhcs-lib.php'); 
    7         $theme = $cfg['USER_INITIAL_THEME']; 
    8 ?> 
    99  <link href="/vhcs2/themes/<?=$theme;?>/css/vhcs.css" rel="stylesheet" type="text/css"> 
    1010  <script type="text/javascript" src="/vhcs2/themes/<?=$theme;?>/css/vhcs.js"></script> 
     11  <meta name="robots" content="noindex"> 
     12  <meta name="robots" content="nofollow"> 
    1113 </head> 
    1214 <body style="color:#000000;"> 
    13 <table width="100%" height="100% "align="center" cellpadding="0" cellspacing="0"> 
     15 <table width="100%" height="100%" align="center" cellpadding="0" cellspacing="0"> 
    1416  <tr> 
    1517    <td> 
    16 <table width="453" style="border:solid 1px #CCCCCC;"align="center" cellpadding="0" cellspacing="0"> 
    17   <tr> 
    18     <td> 
    19 <table width="453" border="0" align="center" cellpadding="0" cellspacing="0"> 
    20   <tr> 
    21     <td width="453" height="69" background="themes/omega_original/images/login/login_top.jpg">&nbsp;</td> 
    22   </tr> 
    23   <tr> 
    24     <td> 
    25 <table width="453" border="0" cellpadding="0" cellspacing="1"> 
     18     <table width="453" style="border:solid 1px #CCCCCC;" align="center" cellpadding="0" cellspacing="0"> 
     19      <tr> 
     20       <td> 
     21        <table width="453" border="0" align="center" cellpadding="0" cellspacing="0"> 
    2622         <tr> 
    27               <td align="center" valign="middle" bgcolor="#FFFFFF"></strong> 
    28                <h2><font color="#FF0000">Error <?php print htmlspecialchars($_SERVER['REDIRECT_STATUS']);?>!</font></h2><br /> 
    29                <b><?php print htmlspecialchars($_SERVER['REDIRECT_URL']);?></b><br> 
    30                <?php 
     23          <td width="453" height="69" background="themes/<?=$theme;?>/images/login/login_top.jpg">&nbsp;</td> 
     24         </tr> 
     25         <tr> 
     26          <td> 
     27           <table width="453" border="0" cellpadding="0" cellspacing="1"> 
     28            <tr> 
     29                 <td align="center" valign="middle" bgcolor="#FFFFFF"></strong> 
     30                  <h2><font color="#FF0000">Error <?php print htmlspecialchars($_SERVER['REDIRECT_STATUS']);?>!</font></h2><br /> 
     31                  <b><?php print htmlspecialchars($_SERVER['REQUEST_URI']);?></b><br /> 
     32                  <?php 
    3133                                switch ($_SERVER['REDIRECT_STATUS']) { 
    3234                                        case 401: 
     
    4648                                                break; 
    4749                                } 
    48                    ?> 
    49           </td> 
    50          </tr> 
    51         </table> 
    52         </td> 
    53     </tr> 
    54   <tr
    55     <td></td> 
    56     </tr> 
    57   </table> 
    58 </td> 
     50                     ?> 
     51            </td> 
     52           </tr> 
     53          </table> 
     54             </td> 
     55        </tr> 
     56       </table
     57      </td> 
     58    </tr> 
     59    </table> 
     60   </td> 
    5961  </tr> 
    60 </table> 
    61 </td> 
    62   </tr> 
    63 </table> 
     62 </table> 
    6463</body> 
    6564</html> 
  • trunk/gui/index.php

    r154 r333  
    9898                                                'TR_USERNAME' => tr('Username'), 
    9999                                                'TR_PASSWORD' => tr('Password'), 
     100                                                'TR_LOGIN_INFO' => tr('Please enter your login information'), 
    100101                                                // Please make this configurable by vhcs-lib 
    101102                                                'TR_SSL_LINK' => '', // isset($_SERVER['HTTPS']) ? 'http://'.$_SERVER['HTTP_HOST'].'/vhcs2/' : 'https://'.$_SERVER['HTTP_HOST'].'/vhcs2/', 
  • trunk/gui/themes/omega_original/css/vhcs.css

    r330 r333  
    1515a.link:active {color:#000000;text-decoration:none;} 
    1616 
    17          
     17 
    1818a.menu { 
    19         font-family: Arial, Helvetica, sans-serif; 
     19        font-family: arial, helvetica, sans-serif; 
    2020        font-size: 9pt; 
    2121        color: #000; 
     
    2525a.menu:link { 
    2626        color: #000000; 
    27         TEXT-DECORATION: none; 
     27        text-decoration: none; 
    2828} 
    2929a.menu:visited { 
    30         color: #000000;  
    31         TEXT-DECORATION: none; 
     30        color: #000000; 
     31        text-decoration: none; 
    3232} 
    3333a.menu:hover { 
    3434        color: #333333; 
    35         TEXT-DECORATION: none; 
     35        text-decoration: none; 
    3636} 
    3737a.menu:active { 
    3838        color: #333333; 
    39         TEXT-DECORATION: none; 
     39        text-decoration: none; 
    4040} 
    4141 
     
    4343 
    4444a.menu_active { 
    45         font-family: Arial, Helvetica, sans-serif; 
     45        font-family: arial, helvetica, sans-serif; 
    4646        font-size: 9pt; 
    4747        color: #000000; 
     
    5151a.menu_active:link { 
    5252        color: #000; 
    53         TEXT-DECORATION: none; 
     53        text-decoration: none; 
    5454} 
    5555a.menu_active:visited { 
    56         color: #000;  
    57         TEXT-DECORATION: none; 
     56        color: #000; 
     57        text-decoration: none; 
    5858} 
    5959a.menu_active:hover { 
    6060        color: #333333; 
    61         TEXT-DECORATION: none; 
     61        text-decoration: none; 
    6262} 
    6363a.menu_active:active { 
    6464        color: #333333; 
    65         TEXT-DECORATION: none; 
     65        text-decoration: none; 
    6666} 
    6767 
     
    7373 
    7474a.submenu { 
    75         MARGIN-TOP: 0px; 
    76         DISPLAY: block; 
    77         font-family:Geneva, Arial, Helvetica, sans-serif; 
     75        margin-top: 0px; 
     76        display: block; 
     77        font-family:geneva, arial, helvetica, sans-serif; 
    7878        font-weight:bold; 
    7979        font-size: 11px; 
     
    9595        color: #ffffff; 
    9696        background-image: url(../images/top/link_bg.jpg); 
    97         vertical-align: middle;  
     97        vertical-align: middle; 
    9898} 
    9999a.submenu:hover { 
     
    119119 
    120120a.logout { 
    121         font-family:Geneva, Arial, Helvetica, sans-serif; 
     121        font-family:geneva, arial, helvetica, sans-serif; 
    122122        font-weight:bold; 
    123123        font-size: 10px; 
     
    133133} 
    134134a.logout:visited { 
    135         color: #ffffff;  
     135        color: #ffffff; 
    136136} 
    137137a.logout:hover { 
     
    148148 
    149149.title { 
    150         font-family: Geneva, Arial, Helvetica, sans-serif; 
     150        font-family: geneva, arial, helvetica, sans-serif; 
    151151        font-size: 11pt; 
    152152        font-weight: bold; 
    153153        font-variant:small-caps; 
    154154        text-decoration: none; 
    155         border-bottom:#CCCCCC solid 1px; 
     155        border-bottom:#cccccc solid 1px; 
    156156} 
    157157 
    158158.titlemenu { 
    159         font-family:  Geneva, Arial, Helvetica, sans-serif; 
     159        font-family:  geneva, arial, helvetica, sans-serif; 
    160160        font-size: 11pt; 
    161161        font-weight:bold; 
    162162        font-variant:small-caps; 
    163         color:#FFFFFF
     163        color:#ffffff
    164164        padding-left:5px; 
    165165        vertical-align:text-top; 
    166 }       
     166} 
    167167 
    168168.bottom { 
    169         color: #FFFFFF
    170         font-family: Arial, Helvetica, sans-serif; 
     169        color: #ffffff
     170        font-family: arial, helvetica, sans-serif; 
    171171        font-size: 7pt; 
    172172        background-image: url(../images/top/menu_bg.jpg); 
    173173} 
    174174td { 
    175         font-family: Arial, Helvetica, sans-serif; 
     175        font-family: arial, helvetica, sans-serif; 
    176176        font-size: 12px; 
    177177} 
     
    222222  border-style: solid; 
    223223  border-width: 1; 
    224   border-color: #CCCCCC
    225   font-family: Verdana; 
     224  border-color: #cccccc
     225  font-family: verdana; 
    226226  font-size: 8pt; 
    227227  height: 21px; 
     
    234234  border-style: solid; 
    235235  border-width: 1; 
    236   border-color: #CCCCCC
    237   font-family: Verdana; 
     236  border-color: #cccccc
     237  font-family: verdana; 
    238238  font-size: 8pt; 
    239239  margin: 2px; 
     
    242242.button 
    243243{ 
    244         font-family: Arial, Helvetica, sans-serif; 
     244        font-family: arial, helvetica, sans-serif; 
    245245        height: 21px; 
    246246        font-size: 12px; 
     
    251251.login_button 
    252252{ 
    253         font-family: Arial, Helvetica, sans-serif; 
     253        font-family: arial, helvetica, sans-serif; 
    254254        height: 21px; 
    255255        font-size: 12px; 
     
    260260.login_bottom { 
    261261        font-size: 10px; 
    262         color: #99A0B1; 
     262        color: #99a0b1; 
    263263} 
    264264.login_text { 
     
    267267 
    268268.login_time { 
    269         color: #99A0B1; 
     269        color: #99a0b1; 
    270270        font-size: 24px; 
    271271        font-weight: bold; 
    272272} 
     273 
     274a.login { 
     275        font-family: geneva, arial, helvetica, sans-serif; 
     276        font-size: 11px; 
     277        color: #3b73ca; 
     278        white-space: nowrap; 
     279        text-decoration: underline; 
     280} 
     281 
     282a.login:link { 
     283        color: #3b73ca; 
     284        text-decoration: underline; 
     285} 
     286 
     287a.login:visited { 
     288        color: #3b73ca; 
     289        text-decoration: underline; 
     290} 
     291 
     292a.login:hover { 
     293        color: #000000; 
     294        text-decoration: none; 
     295} 
     296 
     297a.login:active { 
     298        color: #000000; 
     299        text-decoration: none; 
     300} 
  • trunk/gui/themes/omega_original/index.tpl

    r319 r333  
    2121  </tr> 
    2222  <tr> 
    23     <td colspan="7"><div align="center"><font size="-2">Please enter your login information</font></div></td> 
     23    <td colspan="7"><div align="center"><font size="-2">{TR_LOGIN_INFO}</font></div></td> 
    2424    </tr> 
    2525  <tr>