/**
* 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";
/**
* 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++) {
</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">
/**
* 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 */
font-family: arial, tahoma, verdana, helvetica, sans-serif, serif;
padding: 0px;
font-size: smaller; /*0.8em;*/
- text-align: left;
+ text-align: left;
}
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;
}
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;
}
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;
}
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 */
}
font-weight: bold;
}
+.left
+{
+ text-align: left;
+}
+
+th.required
+{
+ text-decoration: underline;
+}
+
td.topbar
{
background-color: #CECF9C;
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;*/
}
{
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;*/
}