[Kolab-devel] server/kolab/kolab/admin/user forward.php,1.7,1.8 by martin at doto.intevation.de
root at intevation.de
root at intevation.de
Thu Jul 3 12:07:59 CEST 2003
Update of /kolabrepository/server/kolab/kolab/admin/user
In directory doto:/tmp/cvs-serv18145
Modified Files:
forward.php
Log Message:
Martin K.: email address may be 320 chars long. Some cleanups
Index: forward.php
===================================================================
RCS file: /kolabrepository/server/kolab/kolab/admin/user/forward.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- forward.php 14 Jun 2003 17:06:31 -0000 1.7
+++ forward.php 3 Jul 2003 10:07:57 -0000 1.8
@@ -6,7 +6,7 @@
Read the file COPYING that comes with this packages for details.
*/
include("head.php");
- This("user/vacation");
+ This("user/forward");
Head();
?>
@@ -32,10 +32,6 @@
if (!$errors && $group != "user" )
array_push($errors, "Error: You don't have Permissions to access this Menue");
-// DEBUG:
-//print "HTTP_GET_VARS: ";
-//print_r($HTTP_GET_VARS);
-
// read selector for register display
if (isset($HTTP_GET_VARS['action'])) $action = $HTTP_GET_VARS['action'];
else $action = "start";
@@ -146,7 +142,7 @@
$wrong_email = FALSE;
}
print "<tr><td>Forward my email to</td>\n";
- print "<td align=\"left\"><input type=\"text\" name=\"email\" size=25 maxlength=80 value=\"$email\"></td></tr>\n";
+ print "<td align=\"left\"><input type=\"text\" name=\"email\" size=25 maxlength=320 value=\"$email\"></td></tr>\n";
print "<tr>\n";
print "<td>Keep copy on server</td><td align=\"left\"><input type=\"checkbox\" name=\"keep\" value=\"keep\"></td>\n";
print "</tr>\n";
@@ -180,17 +176,17 @@
}
if ($errors) {
- print("<TABLE style=\"errors\">\n");
- print("<TR><TD class=\"head\"> There were Errors : </TD></TR>\n");
- print("<TR><TD class=\"body\">\n");
+ print("<table style=\"errors\">\n");
+ print("<tr><td class=\"head\"> There were Errors : </td></tr>\n");
+ print("<tr><td class=\"body\">\n");
foreach ($errors as $message) print($message);
- print("</TD></TR>\n");
- print("</TABLE>\n");
+ print("</td></tr>\n");
+ print("</table>\n");
}
?>
-</TABLE>
+</table>
<?
Foot();
More information about the devel
mailing list