.left and th.required addition in CSS; first uses of new style.
authorsoranzo <soranzo>
Tue, 30 Sep 2003 09:33:43 +0000 (09:33 +0000)
committersoranzo <soranzo>
Tue, 30 Sep 2003 09:33:43 +0000 (09:33 +0000)
all_db.php
login.php
themes/default/global.css

index e4adc34a400f030ba1edf4ae7b4fed64f4ee430c..c1cd969440b2390f708bc5315d9560ca2bfd4e28 100644 (file)
@@ -3,7 +3,7 @@
        /**
         * Manage databases within a server
         *
-        * $Id: all_db.php,v 1.17 2003/08/27 07:54:39 chriskl Exp $
+        * $Id: all_db.php,v 1.18 2003/09/30 09:33:43 soranzo Exp $
         */
 
        // Include application functions
                
                echo "<form action=\"$PHP_SELF\" method=\"post\">\n";
                echo "<table>\n";
-               echo "<tr><th class=\"data\">{$lang['strname']}</th><th class=\"data\">{$lang['strencoding']}</th></tr>\n";
-               echo "<tr><td class=\"data1\"><input name=\"formName\" size=\"32\" maxlength=\"{$data->_maxNameLen}\" value=\"",
-                       htmlspecialchars($_POST['formName']), "\" /></td>";
-               echo "<td class=\"data1\">";
-               echo "<select name=\"formEncoding\">";
-               echo "<option value=\"\"></option>\n";
+               echo "\t<tr>\n\t\t<th class=\"data left required\">{$lang['strname']}</th>\n";
+               echo "\t\t<td class=\"data1\"><input name=\"formName\" size=\"32\" maxlength=\"{$data->_maxNameLen}\" value=\"",
+                       htmlspecialchars($_POST['formName']), "\" /></td>\n\t</tr>\n";
+               echo "\t<tr>\n\t\t<th class=\"data left\">{$lang['strencoding']}</th>\n";
+               echo "\t\t<td class=\"data1\">\n";
+               echo "\t\t\t<select name=\"formEncoding\">\n";
+               echo "\t\t\t\t<option value=\"\"></option>\n";
                while (list ($key) = each ($data->codemap)) {
-                   echo "<option value=\"", htmlspecialchars($key), "\"", 
+                   echo "\t\t\t\t<option value=\"", htmlspecialchars($key), "\"", 
                                ($key == $_POST['formEncoding']) ? ' selected="selected"' : '', ">",
                                $misc->printVal($key), "</option>\n";
                }
-               echo "</select>\n";
-               echo "</td></tr>\n";
+               echo "\t\t\t</select>\n";
+               echo "\t\t</td>\n\t</tr>\n";
                echo "</table>\n";
                echo "<p><input type=\"hidden\" name=\"action\" value=\"save_create\" />\n";
                echo "<input type=\"submit\" value=\"{$lang['strcreate']}\" />\n";
index 4b0b10e41d4dcc257af2f721efcf1808097357c1..f9708c87b8d2d610b1c5d7142326d1f6c5b076ec 100755 (executable)
--- a/login.php
+++ b/login.php
@@ -3,7 +3,7 @@
        /**
         * Login screen
         *
-        * $Id: login.php,v 1.13 2003/09/30 07:43:08 chriskl Exp $
+        * $Id: login.php,v 1.14 2003/09/30 09:33:43 soranzo Exp $
         */
 
        // This needs to be an include once to prevent lib.inc.php infinite recursive includes.
                                <form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post" name="login_form">
                                <table class="navbar" border="0" cellpadding="5" cellspacing="3">
                                        <tr>
-                                               <td><?php echo $lang['strusername'] ?>:</td>
+                                               <th><?php echo $lang['strusername'] ?>:</td>
                                                <td><input type="text" name="formUsername" value="<?php echo (isset($_POST['formUsername'])) ? htmlspecialchars($_POST['formUsername']) : '' ?>" size="24" /></td>
                                        </tr>
                                        <tr>
-                                               <td><?php echo $lang['strpassword'] ?>:</td>
+                                               <th><?php echo $lang['strpassword'] ?>:</td>
                                                <td><input type="password" name="formPassword" size="24" /></td>
                                        </tr>
                                        <tr>
-                                               <td><?php echo $lang['strserver'] ?>:</td>
+                                               <th><?php echo $lang['strserver'] ?>:</td>
                                                <td><select name="formServer">
                                                <?php
                                                        for ($i = 0; $i < sizeof($conf['servers']); $i++) {
@@ -66,7 +66,7 @@
                                                </select></td>
                                        </tr>
                                        <tr>
-                                               <td><?php echo $lang['strlanguage'] ?>:</td>
+                                               <th><?php echo $lang['strlanguage'] ?>:</td>
                                                <td><select name="formLanguage">
                                                <?php
                                                        // Language name already encoded
                                                ?>
                                                </select></td>
                                        </tr>
-                                       <tr>
-                                               <td colspan="2" align="right" valign="middle">
-                                                       <input type="submit" name="submitLogin" value="<?php echo $lang['strlogin'] ?>" />
-                                               </td>
-                                       </tr>
                                </table>
+                               <p><input type="submit" name="submitLogin" value="<?php echo $lang['strlogin'] ?>" /></p>
                                </form>
                                </center>
                                <script language="javascript">
index d27d26cf172ea3fff62505afef10afd8e7dad051..01d51283ee93eecce71e947a3cf585f7ba491df3 100644 (file)
@@ -1,7 +1,7 @@
 /**
  * Default style sheet
  *
- * $Id: global.css,v 1.15 2003/09/05 04:58:15 chriskl Exp $
+ * $Id: global.css,v 1.16 2003/09/30 09:33:43 soranzo Exp $
  */
 
 /** ELEMENTS */
@@ -13,7 +13,7 @@ body, td
        font-family: arial, tahoma, verdana, helvetica, sans-serif, serif;
        padding: 0px;
        font-size: smaller; /*0.8em;*/
-       text-align:     left;
+       text-align: left;
 }
 
 body.topbar
@@ -23,7 +23,7 @@ body.topbar
        padding: 0px;
        font-family: arial, tahoma, verdana, helvetica, sans-serif, serif;
        font-size: smaller; /* 1em; */
-       text-align:     left;
+       text-align: left;
        border-bottom: 2px solid #000000;
 }
 
@@ -35,7 +35,7 @@ body.browser
        padding: 0px;
        font-family: arial, tahoma, verdana, helvetica, sans-serif, serif;
        font-size: smaller; /*1em;*/
-       text-align:     left;
+       text-align: left;
        border-right: 1px dashed #c0c0c0;
 }
 
@@ -45,7 +45,7 @@ body.bottombar {
        padding: 0px;
        font-family: arial, tahoma, verdana, helvetica, sans-serif, serif;
        font-size: smaller; /*1em;*/
-       text-align:     left;
+       text-align: left;
        border-top:     1px solid #000000;
 }
 
@@ -92,18 +92,16 @@ table.navbar td
        height: 25px;
        color: #000000;
        background-color: #F3F3E9;
-       text-align:     center;
+       text-align: center;
        font-family: arial, tahoma, verdana, helvetica, sans-serif, serif;
        font-size: smaller; /* 0.9em */
        font-weight: bold;
 }
 
-
 th.data
 {
        color: #000000;
        background-color: #E6E6CC;
-       text-align:     center;
        font-family: arial, tahoma, verdana, helvetica, sans-serif, serif;
        font-size: smaller; /* 0.9em */
 }
@@ -113,6 +111,16 @@ th.data a:active, th.data a:link, th.data a:visited, th.data a:hover
        font-weight: bold;
 }
 
+.left
+{
+       text-align: left;
+}
+
+th.required
+{
+       text-decoration: underline;
+}
+
 td.topbar
 {
        background-color: #CECF9C;
@@ -120,14 +128,14 @@ td.topbar
        padding: 0px;
        font-family: arial, tahoma, verdana, helvetica, sans-serif, serif;
        font-size: smaller; /*0.8em;*/
-       text-align:     left;
+       text-align: left;
 }
 
 td.data1
 {
        color: #000000;
        background-color: #F3F3E9;
-       text-align:     left;
+       text-align: left;
        font-family: arial, tahoma, verdana, helvetica, sans-serif, serif;
        font-size: smaller; /*0.8em;*/
 }
@@ -136,7 +144,7 @@ td.data2
 {
        color: #000000;
        background-color: #E6E6CC;
-       text-align:     left;
+       text-align: left;
        font-family: arial, tahoma, verdana, helvetica, sans-serif, serif;
        font-size: smaller; /*0.8em;*/
 }