Skip to content

Commit

Permalink
Removed a lot of needless <p> tags
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Feb 8, 2005
1 parent b61aed4 commit 21c7f77
Show file tree
Hide file tree
Showing 8 changed files with 175 additions and 177 deletions.
20 changes: 10 additions & 10 deletions admin/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@
print_header("$site->shortname: $strauthenticationoptions", "$site->fullname",
"<a href=\"index.php\">$stradministration</a> -> <a href=\"users.php\">$strusers</a> -> $strauthenticationoptions", "$focus");

echo "<center><p><b>";
echo "<center><b>";
echo "<form target=\"{$CFG->framename}\" name=\"authmenu\" method=\"post\" action=\"auth.php\">";
echo "<input type=\"hidden\" name=\"sesskey\" value=\"".$USER->sesskey."\">";
print_string("chooseauthmethod","auth");

choose_from_menu ($options, "auth", $auth, "","document.location='auth.php?sesskey=$USER->sesskey&auth='+document.authmenu.auth.options[document.authmenu.auth.selectedIndex].value", "");

echo "</b></p></center>";
echo "</b></center>";

print_simple_box_start("center", "100%");
print_heading($options[$auth]);
Expand All @@ -124,9 +124,9 @@

if ($auth != "email" and $auth != "none" and $auth != "manual") {
echo "<tr valign=\"top\">";
echo "<td align=\"right\" nowrap=\"nowrap\"><p>";
echo "<td align=\"right\" nowrap=\"nowrap\">";
print_string("changepassword", "auth");
echo ":</p></td>";
echo ":</td>";
echo "<td>";
echo "<input type=\"text\" name=\"changepassword\" size=\"40\" value=\"$config->changepassword\">";
echo "</td>";
Expand All @@ -137,9 +137,9 @@
}

echo "<tr valign=\"top\">";
echo "<td align=\"right\" nowrap=\"nowrap\"><p>";
echo "<td align=\"right\" nowrap=\"nowrap\">";
print_string("guestloginbutton", "auth");
echo ":</p></td>";
echo ":</td>";
echo "<td>";
choose_from_menu($guestoptions, "guestloginbutton", $config->guestloginbutton, "");
echo "</td>";
Expand All @@ -149,9 +149,9 @@

if (function_exists('auth_user_create')){
echo "<tr valign=\"top\">";
echo "<td align=\"right\" nowrap=\"nowrap\"><p>";
echo "<td align=\"right\" nowrap=\"nowrap\">";
print_string("auth_user_create", "auth");
echo ":</p></td>";
echo ":</td>";
echo "<td>";
choose_from_menu($createoptions, "auth_user_create", $config->auth_user_create, "");
echo "</td>";
Expand All @@ -160,9 +160,9 @@
echo "</td></tr>";
}

echo "</table><center><p><input type=\"submit\" value=\"";
echo "</table><center><input type=\"submit\" value=\"";
print_string("savechanges");
echo "\"></p></center></form>";
echo "\"></center></form>";

print_simple_box_end();

Expand Down
44 changes: 22 additions & 22 deletions auth/db/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
?>
<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">
<td align="right"><p>auth_dbhost:</td>
<td align="right">auth_dbhost:</td>
<td>
<input name="auth_dbhost" type="text" size="30" value="<?php echo $config->auth_dbhost?>" />
<?php if (isset($err["auth_dbhost"])) formerr($err["auth_dbhost"]); ?>
Expand All @@ -39,7 +39,7 @@
</tr>

<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">
<td align="right"><p>auth_dbtype:</td>
<td align="right">auth_dbtype:</td>
<td>
<?php $dbtypes = array("access","ado_access", "ado", "ado_mssql", "borland_ibase", "csv", "db2", "fbsql", "firebird", "ibase", "informix72", "informix", "mssql", "mysql", "mysqlt", "oci805", "oci8", "oci8po", "odbc", "odbc_mssql", "odbc_oracle", "oracle", "postgres64", "postgres7", "postgres", "proxy", "sqlanywhere", "sybase", "vfp");
foreach ($dbtypes as $dbtype) {
Expand All @@ -55,7 +55,7 @@
</tr>

<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">
<td align="right"><p>auth_dbname:</td>
<td align="right">auth_dbname:</td>
<td>
<input name="auth_dbname" type="text" size="30" value="<?php echo $config->auth_dbname?>" />
<?php if (isset($err["auth_dbname"]))formerr($err["auth_dbname"]); ?>
Expand All @@ -66,7 +66,7 @@
</tr>

<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">
<td align="right"><p>auth_dbuser:</td>
<td align="right">auth_dbuser:</td>
<td>
<input name="auth_dbuser" type="text" size="30" value="<?php echo $config->auth_dbuser?>" />
<?php if (isset($err["auth_dbuser"])) formerr($err["auth_dbuser"]); ?>
Expand All @@ -77,7 +77,7 @@
</tr>

<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">
<td align="right"><p>auth_dbpass:</td>
<td align="right">auth_dbpass:</td>
<td>
<input name="auth_dbpass" type="text" size="30" value="<?php echo $config->auth_dbpass?>" />
<?php if (isset($err["auth_dbpass"])) formerr($err["auth_dbpass"]); ?>
Expand All @@ -88,7 +88,7 @@
</tr>

<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">
<td align="right"><p>auth_dbtable:</td>
<td align="right">auth_dbtable:</td>
<td>
<input name="auth_dbtable" type="text" size="30" value="<?php echo $config->auth_dbtable?>" />
<?php if (isset($err["auth_dbtable"])) formerr($err["auth_dbtable"]); ?>
Expand All @@ -99,7 +99,7 @@
</tr>

<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">
<td align="right"><p>auth_dbfielduser:</td>
<td align="right">auth_dbfielduser:</td>
<td>
<input name="auth_dbfielduser" type="text" size="30" value="<?php echo $config->auth_dbfielduser?>" />
<?php if (isset($err["auth_dbfielduser"])) formerr($err["auth_dbfielduser"]); ?>
Expand All @@ -110,7 +110,7 @@
</tr>

<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">
<td align="right"><p>auth_dbfieldpass:</td>
<td align="right">auth_dbfieldpass:</td>
<td>
<input name="auth_dbfieldpass" type="text" size="30" value="<?php echo $config->auth_dbfieldpass?>" />
<?php if (isset($err["auth_dbfieldpass"])) formerr($err["auth_dbfieldpass"]); ?>
Expand All @@ -121,7 +121,7 @@
</tr>

<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">
<td align="right"><p>auth_dbpasstype:</td>
<td align="right">auth_dbpasstype:</td>
<td>
<?php $passtype["plaintext"] = get_string("plaintext", "auth");
$passtype["md5"] = get_string("md5", "auth");
Expand All @@ -136,7 +136,7 @@


<tr>
<td align="right"><p><?php print_string("firstname") ?>:</td>
<td align="right"><?php print_string("firstname") ?>:</td>
<td>
<input name="auth_user_firstname" type="text" size="30" value="<?php echo $config->auth_user_firstname?>" />
</td>
Expand All @@ -146,85 +146,85 @@
</tr>

<tr valign="top">
<td align="right"><p><?php print_string("lastname") ?>:</td>
<td align="right"><?php print_string("lastname") ?>:</td>
<td>
<input name="auth_user_lastname" type="text" size="30" value="<?php echo $config->auth_user_lastname?>" />
</td>
</tr>

<tr valign="top">
<td align="right"><p><?php print_string("email") ?>:</td>
<td align="right"><?php print_string("email") ?>:</td>
<td>
<input name="auth_user_email" type="text" size="30" value="<?php echo $config->auth_user_email?>" />
</td>
</tr>

<tr valign="top">
<td align="right"><p><?php print_string("phone") ?> 1:</td>
<td align="right"><?php print_string("phone") ?> 1:</td>
<td>
<input name="auth_user_phone1" type="text" size="30" value="<?php echo $config->auth_user_phone1?>" />
</td>
</tr>

<tr valign="top">
<td align="right"><p><?php print_string("phone") ?> 2:</td>
<td align="right"><?php print_string("phone") ?> 2:</td>
<td>
<input name="auth_user_phone2" type="text" size="30" value="<?php echo $config->auth_user_phone2?>" />
</td>
</tr>

<tr valign="top">
<td align="right"><p><?php print_string("department") ?>:</td>
<td align="right"><?php print_string("department") ?>:</td>
<td>
<input name="auth_user_department" type="text" size="30" value="<?php echo $config->auth_user_department?>" />
</td>
</tr>

<tr valign="top">
<td align="right"><p><?php print_string("address") ?>:</td>
<td align="right"><?php print_string("address") ?>:</td>
<td>
<input name="auth_user_address" type="text" size="30" value="<?php echo $config->auth_user_address?>" />
</td>
</tr>

<tr valign="top">
<td align="right"><p><?php print_string("city") ?>:</td>
<td align="right"><?php print_string("city") ?>:</td>
<td>
<input name="auth_user_city" type="text" size="30" value="<?php echo $config->auth_user_city?>" />
</td>
</tr>

<tr valign="top">
<td align="right"><p><?php print_string("country") ?>:</td>
<td align="right"><?php print_string("country") ?>:</td>
<td>
<input name="auth_user_country" type="text" size="30" value="<?php echo $config->auth_user_country?>" />
</td>
</tr>

<tr valign="top">
<td align="right"><p><?php print_string("description") ?>:</td>
<td align="right"><?php print_string("description") ?>:</td>
<td>
<input name="auth_user_description" type="text" size="30" value="<?php echo $config->auth_user_description?>" />
</td>
</tr>

<tr valign="top">
<td align="right"><p><?php print_string("idnumber") ?>:</td>
<td align="right"><?php print_string("idnumber") ?>:</td>
<td>
<input name="auth_user_idnumber" type="text" size="30" value="<?php echo $config->auth_user_idnumber?>" />
</td>
</tr>

<tr valign="top">
<td align="right"><p><?php print_string("language") ?>:</td>
<td align="right"><?php print_string("language") ?>:</td>
<td>
<input name="auth_user_lang" type="text" size="30" value="<?php echo $config->auth_user_lang?>" />
</td>
</tr>


<tr valign="top">
<td align="right"><p><?php print_string("instructions", "auth") ?>:</td>
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
<td>
<textarea name="auth_instructions" cols="30" rows="10" wrap="virtual"><?php p($config->auth_instructions) ?></textarea>
</td>
Expand Down
12 changes: 6 additions & 6 deletions auth/fc/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">

<td align="right"><p>auth_fchost:</td>
<td align="right">auth_fchost:</td>

<td>

Expand All @@ -58,7 +58,7 @@

<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">

<td align="right"><p>auth_fcfppport:</td>
<td align="right">auth_fcfppport:</td>

<td>

Expand All @@ -80,7 +80,7 @@

<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">

<td align="right"><p>auth_fcuserid:</td>
<td align="right">auth_fcuserid:</td>

<td>

Expand All @@ -102,7 +102,7 @@

<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">

<td align="right"><p>auth_fcpasswd:</td>
<td align="right">auth_fcpasswd:</td>

<td>

Expand All @@ -124,7 +124,7 @@

<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">

<td align="right"><p>auth_fccreators:</td>
<td align="right">auth_fccreators:</td>

<td>

Expand All @@ -148,7 +148,7 @@

<tr valign="top">

<td align="right"><p><?php print_string("instructions", "auth") ?>:</td>
<td align="right"><?php print_string("instructions", "auth") ?>:</td>

<td>

Expand Down
8 changes: 4 additions & 4 deletions auth/imap/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
}
?>
<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">
<td align="right"><p>auth_imaphost:</td>
<td align="right">auth_imaphost:</td>
<td>
<input name="auth_imaphost" type="text" size="30" value="<?php echo $config->auth_imaphost?>" />
<?php if (isset($err["auth_imaphost"])) formerr($err["auth_imaphost"]); ?>
Expand All @@ -22,7 +22,7 @@
</tr>

<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">
<td align="right"><p>auth_imaptype:</td>
<td align="right">auth_imaptype:</td>
<td>
<?php $imaptypes = array("imap","imapssl", "imapcert", "imaptls");
foreach($imaptypes as $imaptype) {
Expand All @@ -37,7 +37,7 @@
</tr>

<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">
<td align="right"><p>auth_imapport:</td>
<td align="right">auth_imapport:</td>
<td>
<input name="auth_imapport" type="text" size="6" value="<?php echo $config->auth_imapport?>" />
<?php if (isset($err["auth_imapport"])) formerr($err["auth_imapport"]); ?>
Expand All @@ -48,7 +48,7 @@
</tr>

<tr valign="top">
<td align="right"><p><?php print_string("instructions", "auth") ?>:</td>
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
<td>
<textarea name="auth_instructions" cols="30" rows="10" wrap="virtual"><?php p($config->auth_instructions) ?></textarea>
</td>
Expand Down
2 changes: 1 addition & 1 deletion auth/manual/config.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<tr valign="top">
<td align="right"><p><?php print_string("instructions", "auth") ?>:</td>
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
<td>
<textarea name="auth_instructions" cols="30" rows="10" wrap="virtual"><?php p($config->auth_instructions) ?></textarea>
</td>
Expand Down
6 changes: 3 additions & 3 deletions auth/nntp/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
?>

<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">
<td align="right"><p>auth_nntphost:</td>
<td align="right">auth_nntphost:</td>
<td>
<input name="auth_nntphost" type="text" size="30" value="<?php echo $config->auth_nntphost?>" />
<?php if (isset($err["auth_nntphost"])) formerr($err["auth_nntphost"]); ?>
Expand All @@ -20,7 +20,7 @@
</tr>

<tr valign="top" bgcolor="<?php echo $THEME->cellheading2 ?>">
<td align="right"><p>auth_nntpport:</td>
<td align="right">auth_nntpport:</td>
<td>
<input name="auth_nntpport" type="text" size="6" value="<?php echo $config->auth_nntpport?>" />
<?php if (isset($err["auth_nntpport"])) formerr($err["auth_nntpport"]); ?>
Expand All @@ -31,7 +31,7 @@
</tr>

<tr valign="top">
<td align="right"><p><?php print_string("instructions", "auth") ?>:</td>
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
<td>
<textarea name="auth_instructions" cols="30" rows="10" wrap="virtual"><?php p($config->auth_instructions) ?></textarea>
</td>
Expand Down
Loading

0 comments on commit 21c7f77

Please sign in to comment.