OSDN Git Service

Added maxlength to many form input tags. :P
authorKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Mon, 3 Sep 2007 02:04:06 +0000 (02:04 +0000)
committerKazuki Przyborowski <kazuki.przyborowski@gmail.com>
Mon, 3 Sep 2007 02:04:06 +0000 (02:04 +0000)
git-svn-id: svn://svn.code.sf.net/p/intdb/svn/trunk@97 2b68903e-0b30-0410-9a39-a2e4f3c5be39

inc/events.php
inc/members.php
inc/pm.php
inc/profilemain.php
inc/replys.php
inc/searchs.php
inc/topics.php
inc/versioninfo.php

index 4103113..8118bed 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
     Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
 
-    $FileInfo: events.php - Last Update: 09/01/2007 SVN 94 - Author: cooldude2k $
+    $FileInfo: events.php - Last Update: 09/02/2007 SVN 97 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="events.php"||$File3Name=="/events.php") {
@@ -177,16 +177,16 @@ if($SmileRow<5) { ?>
 <table style="text-align: left;">
 <tr style="text-align: left;">
        <td style="width: 50%;"><label class="TextBoxLabel" for="EventName">Insert Event Name:</label></td>
-       <td style="width: 50%;"><input type="text" name="EventName" class="TextBox" id="EventName" size="20" /></td>
+       <td style="width: 50%;"><input maxlength="30" type="text" name="EventName" class="TextBox" id="EventName" size="20" /></td>
 </tr><?php if($_SESSION['UserGroup']==$Settings['GuestGroup']) { ?><tr>
        <td style="width: 50%;"><label class="TextBoxLabel" for="GuestName">Insert Guest Name:</label></td>
-       <td style="width: 50%;"><input type="text" name="GuestName" class="TextBox" id="GuestName" size="20" /></td>
+       <td style="width: 50%;"><input maxlength="25" type="text" name="GuestName" class="TextBox" id="GuestName" size="20" /></td>
 </tr><?php } ?><tr>
        <td style="width: 50%;"><label class="TextBoxLabel" for="EventStart">Insert Event Start:</label></td>
-       <td style="width: 50%;"><input type="text" name="EventStart" class="TextBox" id="EventStart" size="20" value="MM/DD/YYYY" /></td>
+       <td style="width: 50%;"><input maxlength="10" type="text" name="EventStart" class="TextBox" id="EventStart" size="20" value="MM/DD/YYYY" /></td>
 </tr><tr>
        <td style="width: 50%;"><label class="TextBoxLabel" for="EventEnd">Insert Event End:</label></td>
-       <td style="width: 50%;"><input type="text" name="EventEnd" class="TextBox" id="EventEnd" size="20" value="MM/DD/YYYY" /></td>
+       <td style="width: 50%;"><input maxlength="10" type="text" name="EventEnd" class="TextBox" id="EventEnd" size="20" value="MM/DD/YYYY" /></td>
 </tr>
 </table>
 <table style="text-align: left;">
index 1ed716a..330ff32 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
     Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
 
-    $FileInfo: members.php - Last Update: 09/01/2007 SVN 94 - Author: cooldude2k $
+    $FileInfo: members.php - Last Update: 09/02/2007 SVN 97 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="members.php"||$File3Name=="/members.php") {
@@ -275,10 +275,10 @@ $membertitle = " ".$ThemeSet['TitleDivider']." Login";
 <table style="text-align: left;">
 <tr style="text-align: left;">
        <td style="width: 30%;"><label class="TextBoxLabel" for="username">Enter UserName: </label></td>
-       <td style="width: 70%;"><input class="TextBox" id="username" type="text" name="username" /></td>
+       <td style="width: 70%;"><input maxlength="20" class="TextBox" id="username" type="text" name="username" /></td>
 </tr><tr>
        <td style="width: 30%;"><label class="TextBoxLabel" for="userpass">Enter Password: </label></td>
-       <td style="width: 70%;"><input class="TextBox" id="userpass" type="password" name="userpass" maxlength="30" /></td>
+       <td style="width: 70%;"><input maxlength="30" class="TextBox" id="userpass" type="password" name="userpass" /></td>
 </tr><tr>
        <td style="width: 30%;"><label class="TextBoxLabel" title="Store userinfo as a cookie so you dont need to login again." for="storecookie">Store as cookie?</label></td>
        <td style="width: 70%;"><select id="storecookie" name="storecookie" class="TextBox">
@@ -440,19 +440,19 @@ $membertitle = " ".$ThemeSet['TitleDivider']." Signing up"; ?>
 <table style="text-align: left;">
 <tr style="text-align: left;">
        <td style="width: 30%;"><label class="TextBoxLabel" for="Name">Insert a UserName:</label></td>
-       <td style="width: 70%;"><input type="text" class="TextBox" name="Name" size="20" id="Name" /></td>
+       <td style="width: 70%;"><input maxlength="20" type="text" class="TextBox" name="Name" size="20" id="Name" /></td>
 </tr><tr>
-       <td><label class="TextBoxLabel" for="Password">Insert a Password:</label></td>
-       <td><input type="password" class="TextBox" name="Password" size="20" id="Password" maxlength="30" /></td>
+       <td style="width: 30%;"><label class="TextBoxLabel" for="Password">Insert a Password:</label></td>
+       <td style="width: 70%;"><input maxlength="30" type="password" class="TextBox" name="Password" size="20" id="Password" /></td>
 </tr><tr>
-       <td><label class="TextBoxLabel" for="RePassword">ReInsert a Password:</label></td>
-       <td><input type="password" class="TextBox" name="RePassword" size="20" id="RePassword" maxlength="30" /></td>
+       <td style="width: 30%;"><label class="TextBoxLabel" for="RePassword">ReInsert a Password:</label></td>
+       <td style="width: 70%;"><input maxlength="30" type="password" class="TextBox" name="RePassword" size="20" id="RePassword" /></td>
 </tr><tr>
-       <td><label class="TextBoxLabel" for="Email">Insert Your Email:</label></td>
-       <td><input type="text" class="TextBox" name="Email" size="20" id="Email" /></td>
+       <td style="width: 30%;"><label class="TextBoxLabel" for="Email">Insert Your Email:</label></td>
+       <td style="width: 70%;"><input type="text" class="TextBox" name="Email" size="20" id="Email" /></td>
 </tr><tr>
-       <td><label class="TextBoxLabel" for="YourOffSet">Your TimeZone:</label></td>
-       <td><select id="YourOffSet" name="YourOffSet" class="TextBox"><?php
+       <td style="width: 30%;"><label class="TextBoxLabel" for="YourOffSet">Your TimeZone:</label></td>
+       <td style="width: 70%;"><select id="YourOffSet" name="YourOffSet" class="TextBox"><?php
 $tsa_mem = explode(":",$Settings['DefaultTimeZone']);
 $TimeZoneArray = array("offset" => $Settings['DefaultTimeZone'], "hour" => $tsa_mem[0], "minute" => $tsa_mem[1]);
 $plusi = 1; $minusi = 12;
@@ -489,26 +489,26 @@ echo "<option value=\"".$showmin."\">0:".$showmin." minutes</option>\n"; }
 ++$mini; }
 ?></select></td>
 </tr><tr>
-       <td style="width: 40%;"><label class="TextBoxLabel" for="DST">Is <span title="Daylight Savings Time">DST</span> / <span title="Summer Time">ST</span> on or off:</label></td>
-       <td style="width: 60%;"><select id="DST" name="DST" class="TextBox"><?php echo "\n" ?>
+       <td style="width: 30%;"><label class="TextBoxLabel" for="DST">Is <span title="Daylight Savings Time">DST</span> / <span title="Summer Time">ST</span> on or off:</label></td>
+       <td style="width: 70%;"><select id="DST" name="DST" class="TextBox"><?php echo "\n" ?>
 <?php if($Settings['DefaultDST']=="off"||$Settings['DefaultDST']!="on") { ?>
 <option selected="selected" value="off">off</option><?php echo "\n" ?><option value="on">on</option>
 <?php } if($Settings['DefaultDST']=="on") { ?>
 <option selected="selected" value="on">on</option><?php echo "\n" ?><option value="off">off</option>
 <?php } echo "\n" ?></select></td>
 </tr><tr>
-       <td><label class="TextBoxLabel" for="YourGender">Your Gender:</label></td>
-       <td><select id="YourGender" name="YourGender" class="TextBox">
+       <td style="width: 30%;"><label class="TextBoxLabel" for="YourGender">Your Gender:</label></td>
+       <td style="width: 70%;"><select id="YourGender" name="YourGender" class="TextBox">
 <option value="Male">Male</option>
 <option value="Female">Female</option>
 <option value="Unknow">Unknow</option>
 </select></td>
 </tr><tr>
-       <td><label class="TextBoxLabel" for="Website">Insert your Website:</label></td>
-       <td><input type="text" class="TextBox" name="Website" size="20" value="http://" id="Website" /></td>
+       <td style="width: 30%;"><label class="TextBoxLabel" for="Website">Insert your Website:</label></td>
+       <td style="width: 70%;"><input type="text" class="TextBox" name="Website" size="20" value="http://" id="Website" /></td>
 </tr><tr>
-       <td><label class="TextBoxLabel" for="Avatar">Insert a URL for Avatar:</label></td>
-       <td><input type="text" class="TextBox" name="Avatar" size="20" value="http://" id="Avatar" /></td>
+       <td style="width: 30%;"><label class="TextBoxLabel" for="Avatar">Insert a URL for Avatar:</label></td>
+       <td style="width: 70%;"><input type="text" class="TextBox" name="Avatar" size="20" value="http://" id="Avatar" /></td>
 </tr><tr>
        <td style="width: 30%;"><label class="TextBoxLabel" title="Store userinfo as a cookie so you dont need to login again." for="storecookie">Store as cookie?</label></td>
        <td style="width: 70%;"><select id="storecookie" name="storecookie" class="TextBox">
index 96788ed..4ee3e8d 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
     Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
 
-    $FileInfo: pm.php - Last Update: 09/01/2007 SVN 94 - Author: cooldude2k $
+    $FileInfo: pm.php - Last Update: 09/02/2007 SVN 97 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="pm.php"||$File3Name=="/pm.php") {
@@ -401,16 +401,16 @@ if($SmileRow<5) { ?>
 <table style="text-align: left;">
 <tr style="text-align: left;">
        <td style="width: 50%;"><label class="TextBoxLabel" for="SendMessageTo">Insert UserName:</label></td>
-       <td style="width: 50%;"><input type="text" name="SendMessageTo" class="TextBox" id="SendMessageTo" size="20" value="<?php echo $SendMessageTo; ?>" /></td>
+       <td style="width: 50%;"><input maxlength="25" type="text" name="SendMessageTo" class="TextBox" id="SendMessageTo" size="20" value="<?php echo $SendMessageTo; ?>" /></td>
 </tr><tr>
        <td style="width: 50%;"><label class="TextBoxLabel" for="MessageName">Insert Message Name:</label></td>
-       <td style="width: 50%;"><input type="text" name="MessageName" class="TextBox" id="MessageName" size="20" /></td>
+       <td style="width: 50%;"><input maxlength="30" type="text" name="MessageName" class="TextBox" id="MessageName" size="20" /></td>
 </tr><tr>
        <td style="width: 50%;"><label class="TextBoxLabel" for="MessageDesc">Insert Message Description:</label></td>
-       <td style="width: 50%;"><input type="text" name="MessageDesc" class="TextBox" id="MessageDesc" size="20" /></td>
+       <td style="width: 50%;"><input maxlength="45" type="text" name="MessageDesc" class="TextBox" id="MessageDesc" size="20" /></td>
 </tr><?php if($_SESSION['UserGroup']==$Settings['GuestGroup']) { ?><tr>
        <td style="width: 50%;"><label class="TextBoxLabel" for="GuestName">Insert Guest Name:</label></td>
-       <td style="width: 50%;"><input type="text" name="GuestName" class="TextBox" id="GuestName" size="20" /></td>
+       <td style="width: 50%;"><input maxlength="25" type="text" name="GuestName" class="TextBox" id="GuestName" size="20" /></td>
 </tr><?php } ?>
 </table>
 <table style="text-align: left;">
@@ -469,7 +469,7 @@ if(!isset($_POST['GuestName'])) { $_POST['GuestName'] = null; }
        <br />Message Name is too big.<br />
        </span></td>
 </tr>
-<?php } if (strlen($_POST['MessageDesc'])>="30") { $Error="Yes";  ?>
+<?php } if (strlen($_POST['MessageDesc'])>="45") { $Error="Yes";  ?>
 <tr style="text-align: center;">
        <td style="text-align: center;"><span class="TableMessage">
        <br />Message Description is too big.<br />
index 12c0084..d1f68cc 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
     Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
 
-    $FileInfo: profilemain.php - Last Update: 08/31/2007 SVN 93 - Author: cooldude2k $
+    $FileInfo: profilemain.php - Last Update: 09/02/2007 SVN 97 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="profilemain.php"||$File3Name=="/profilemain.php") {
@@ -427,7 +427,7 @@ $profiletitle = " ".$ThemeSet['TitleDivider']." Profile Editor";
        <td style="width: 60%;"><input type="text" class="TextBox" name="Website" id="Website" value="<?php echo $User1Website; ?>" /></td>
 </tr><tr style="text-align: left;">
        <td style="width: 40%;"><label class="TextBoxLabel" for="EventDay">Your Birthday</label></td>
-       <td style="width: 60%;"><input type="text" class="TextBox" name="EventDay" id="EventDay" value="<?php echo $User1Birthday; ?>" /></td>
+       <td style="width: 60%;"><input maxlength="10" type="text" class="TextBox" name="EventDay" id="EventDay" value="<?php echo $User1Birthday; ?>" /></td>
 </tr><tr style="text-align: left;">
        <td style="width: 40%;"><label class="TextBoxLabel" for="YourOffSet">Your TimeZone:</label></td>
        <td style="width: 60%;"><select id="YourOffSet" name="YourOffSet" class="TextBox">
@@ -557,13 +557,13 @@ $profiletitle = " ".$ThemeSet['TitleDivider']." User Info Editer";
 <table style="text-align: left;">
 <tr style="text-align: left;">
        <td style="width: 40%;"><label class="TextBoxLabel" for="OldPass">Insert old Password:</label></td>
-       <td style="width: 60%;"><input type="password" class="TextBox" name="OldPass" size="20" id="OldPass" maxlength="30" /></td>
+       <td style="width: 60%;"><input maxlength="30" type="password" class="TextBox" name="OldPass" size="20" id="OldPass" /></td>
 </tr><tr style="text-align: left;">
        <td style="width: 40%;"><label class="TextBoxLabel" for="Password">Insert a Password:</label></td>
-       <td style="width: 60%;"><input type="password" class="TextBox" name="Password" size="20" id="Password" maxlength="30" /></td>
+       <td style="width: 60%;"><input maxlength="30" type="password" class="TextBox" name="Password" size="20" id="Password" /></td>
 </tr><tr style="text-align: left;">
        <td style="width: 40%;"><label class="TextBoxLabel" for="RePassword">ReInsert a Password:</label></td>
-       <td style="width: 60%;"><input type="password" class="TextBox" name="RePassword" size="20" id="RePassword" maxlength="30" /></td>
+       <td style="width: 60%;"><input maxlength="30" type="password" class="TextBox" name="RePassword" size="20" id="RePassword" /></td>
 </tr><tr style="text-align: left;">
        <td style="width: 40%;"><label class="TextBoxLabel" for="Email">Insert Your Email:</label></td>
        <td style="width: 60%;"><input type="text" class="TextBox" name="Email" size="20" id="Email" value="<?php echo $User1Email; ?>" /></td>
index c8ad54f..f279025 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
     Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
 
-    $FileInfo: replys.php - Last Update: 09/01/2007 SVN 95 - Author: cooldude2k $
+    $FileInfo: replys.php - Last Update: 09/02/2007 SVN 97 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="replys.php"||$File3Name=="/replys.php") {
@@ -287,10 +287,10 @@ if($SmileRow<5) { ?>
 <table style="text-align: left;">
 <tr style="text-align: left;">
        <td style="width: 50%;"><label class="TextBoxLabel" for="ReplyDesc">Insert Reply Description:</label></td>
-       <td style="width: 50%;"><input type="text" name="ReplyDesc" class="TextBox" id="ReplyDesc" size="20" value="<?php echo $QuoteDescription; ?>" /></td>
+       <td style="width: 50%;"><input maxlength="45" type="text" name="ReplyDesc" class="TextBox" id="ReplyDesc" size="20" value="<?php echo $QuoteDescription; ?>" /></td>
 </tr><?php if($_SESSION['UserGroup']==$Settings['GuestGroup']) { ?><tr>
        <td style="width: 50%;"><label class="TextBoxLabel" for="GuestName">Insert Guest Name:</label></td>
-       <td style="width: 50%;"><input type="text" name="GuestName" class="TextBox" id="GuestName" size="20" /></td>
+       <td style="width: 50%;"><input maxlength="25" type="text" name="GuestName" class="TextBox" id="GuestName" size="20" /></td>
 </tr><?php } ?>
 </table>
 <table style="text-align: left;">
@@ -391,10 +391,10 @@ if($SmileRow<5) { ?>
 <table style="text-align: left;">
 <tr style="text-align: left;">
        <td style="width: 50%;"><label class="TextBoxLabel" for="ReplyDesc">Insert Reply Description:</label></td>
-       <td style="width: 50%;"><input type="text" name="ReplyDesc" class="TextBox" id="ReplyDesc" size="20" value="<?php echo $QuoteDescription; ?>" /></td>
+       <td style="width: 50%;"><input maxlength="45" type="text" name="ReplyDesc" class="TextBox" id="ReplyDesc" size="20" value="<?php echo $QuoteDescription; ?>" /></td>
 </tr><?php if($_SESSION['UserGroup']==$Settings['GuestGroup']) { ?><tr>
        <td style="width: 50%;"><label class="TextBoxLabel" for="GuestName">Insert Guest Name:</label></td>
-       <td style="width: 50%;"><input type="text" name="GuestName" class="TextBox" id="GuestName" size="20" /></td>
+       <td style="width: 50%;"><input maxlength="25" type="text" name="GuestName" class="TextBox" id="GuestName" size="20" /></td>
 </tr><?php } ?>
 </table>
 <table style="text-align: left;">
@@ -438,7 +438,7 @@ if(!isset($_POST['GuestName'])) { $_POST['GuestName'] = null; }
 <tr class="TableRow2">
 <th class="TableRow2" style="width: 100%; text-align: left;">&nbsp;Make Reply Message: </th>
 </tr>
-<?php if (strlen($_POST['ReplyDesc'])>="30") { $Error="Yes";  ?>
+<?php if (strlen($_POST['ReplyDesc'])>="45") { $Error="Yes";  ?>
 <tr style="text-align: center;">
        <td style="text-align: center;"><span class="TableMessage">
        <br />Your Reply Description is too big.<br />
@@ -735,13 +735,13 @@ if($SmileRow<5) { ?>
 <tr style="text-align: left;">
 <?php if($ShowEditTopic==true) { ?>
        <td style="width: 50%;"><label class="TextBoxLabel" for="TopicName">Insert Topic Name:</label></td>
-       <td style="width: 50%;"><input type="text" name="TopicName" class="TextBox" id="TopicName" size="20" value="<?php echo $TopicName; ?>" /></td>
+       <td style="width: 50%;"><input maxlength="30" type="text" name="TopicName" class="TextBox" id="TopicName" size="20" value="<?php echo $TopicName; ?>" /></td>
 </tr><tr><?php } ?>
        <td style="width: 50%;"><label class="TextBoxLabel" for="ReplyDesc">Insert Reply Description:</label></td>
-       <td style="width: 50%;"><input type="text" name="ReplyDesc" class="TextBox" id="ReplyDesc" size="20" value="<?php echo $ReplyDescription; ?>" /></td>
+       <td style="width: 50%;"><input maxlength="45" type="text" name="ReplyDesc" class="TextBox" id="ReplyDesc" size="20" value="<?php echo $ReplyDescription; ?>" /></td>
 </tr><?php if($_SESSION['UserGroup']==$Settings['GuestGroup']) { ?><tr>
        <td style="width: 50%;"><label class="TextBoxLabel" for="GuestName">Insert Guest Name:</label></td>
-       <td style="width: 50%;"><input type="text" name="GuestName" class="TextBox" id="GuestName" size="20" value="<?php echo $ReplyGuestName; ?>" /></td>
+       <td style="width: 50%;"><input maxlength="25" type="text" name="GuestName" class="TextBox" id="GuestName" size="20" value="<?php echo $ReplyGuestName; ?>" /></td>
 </tr><?php } ?>
 </table>
 <table style="text-align: left;">
@@ -816,7 +816,7 @@ if($PermissionInfo['CanModForum'][$TopicForumID]=="yes"&&
 <tr class="TableRow2">
 <th class="TableRow2" style="width: 100%; text-align: left;">&nbsp;Edit Reply Message: </th>
 </tr>
-<?php if (strlen($_POST['ReplyDesc'])>="30") { $Error="Yes";  ?>
+<?php if (strlen($_POST['ReplyDesc'])>="45") { $Error="Yes";  ?>
 <tr style="text-align: center;">
        <td style="text-align: center;"><span class="TableMessage">
        <br />Your Reply Description is too big.<br />
index 3d04f76..5d2095d 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
     Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
 
-    $FileInfo: searchs.php - Last Update: 09/01/2007 SVN 94 - Author: cooldude2k $
+    $FileInfo: searchs.php - Last Update: 09/02/2007 SVN 97 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="searchs.php"||$File3Name=="/searchs.php") {
@@ -44,10 +44,10 @@ if($_GET['act']=="topics") {
 <table style="text-align: left;">
 <tr style="text-align: left;">
        <td style="width: 30%;"><label class="TextBoxLabel" for="search">Enter SearchTerm: </label></td>
-       <td style="width: 70%;"><input class="TextBox" id="search" type="text" name="search" /></td>
+       <td style="width: 70%;"><input maxlength="35" class="TextBox" id="search" type="text" name="search" /></td>
 </tr><tr>
        <td style="width: 30%;"><label class="TextBoxLabel" for="msearch">Filter by Member (optional): </label></td>
-       <td style="width: 70%;"><input class="TextBox" id="msearch" type="text" name="msearch" /></td>
+       <td style="width: 70%;"><input maxlength="25" class="TextBox" id="msearch" type="text" name="msearch" /></td>
 </tr><tr>
        <td style="width: 30%;"><label class="TextBoxLabel" title="Wildcard is %" for="type">Search Type: </label></td>
        <td style="width: 70%;"><select id="type" name="type" class="TextBox">
index d4b7a8c..7c18d27 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
     Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
 
-    $FileInfo: topics.php - Last Update: 09/01/2007 SVN 94 - Author: cooldude2k $
+    $FileInfo: topics.php - Last Update: 09/02/2007 SVN 97 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="topics.php"||$File3Name=="/topics.php") {
@@ -276,13 +276,13 @@ if($SmileRow<5) { ?>
 <table style="text-align: left;">
 <tr style="text-align: left;">
        <td style="width: 50%;"><label class="TextBoxLabel" for="TopicName">Insert Topic Name:</label></td>
-       <td style="width: 50%;"><input type="text" name="TopicName" class="TextBox" id="TopicName" size="20" /></td>
+       <td style="width: 50%;"><input maxlength="30" type="text" name="TopicName" class="TextBox" id="TopicName" size="20" /></td>
 </tr><?php if($_SESSION['UserGroup']==$Settings['GuestGroup']) { ?><tr>
        <td style="width: 50%;"><label class="TextBoxLabel" for="GuestName">Insert Guest Name:</label></td>
-       <td style="width: 50%;"><input type="text" name="GuestName" class="TextBox" id="GuestName" size="20" /></td>
+       <td style="width: 50%;"><input maxlength="25" type="text" name="GuestName" class="TextBox" id="GuestName" size="20" /></td>
 </tr><?php } ?><tr>
        <td style="width: 50%;"><label class="TextBoxLabel" for="TopicDesc">Insert Topic Description:</label></td>
-       <td style="width: 50%;"><input type="text" name="TopicDesc" class="TextBox" id="TopicDesc" size="20" /></td>
+       <td style="width: 50%;"><input maxlength="45" type="text" name="TopicDesc" class="TextBox" id="TopicDesc" size="20" /></td>
 </tr>
 </table>
 <table style="text-align: left;">
@@ -333,7 +333,7 @@ if(!isset($_POST['GuestName'])) { $_POST['GuestName'] = null; }
        <br />Your Topic Name is too big.<br />
        </span></td>
 </tr>
-<?php } if (strlen($_POST['TopicDesc'])>="30") { $Error="Yes";  ?>
+<?php } if (strlen($_POST['TopicDesc'])>="45") { $Error="Yes";  ?>
 <tr style="text-align: center;">
        <td style="text-align: center;"><span class="TableMessage">
        <br />Your Topic Description is too big.<br />
index 850e474..868e746 100644 (file)
@@ -11,7 +11,7 @@
     Copyright 2004-2007 Cool Dude 2k - http://intdb.sourceforge.net/
     Copyright 2004-2007 Game Maker 2k - http://upload.idb.s1.jcink.com/
 
-    $FileInfo: versioninfo.php - Last Update: 09/02/2007 SVN 96 - Author: cooldude2k $
+    $FileInfo: versioninfo.php - Last Update: 09/02/2007 SVN 97 - Author: cooldude2k $
 */
 $File3Name = basename($_SERVER['SCRIPT_NAME']);
 if ($File3Name=="versioninfo.php"||$File3Name=="/versioninfo.php") {
@@ -27,7 +27,7 @@ function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) {
        return $return_var; }
 // Version number and date stuff. :P
 $VER1[0] = 0; $VER1[1] = 1; $VER1[2] = 9; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2];
-$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 96; $RName = "iDB"; $SFName = "IntDB";
+$VER2[0] = "Pre-Alpha"; $VER2[1] = "PA"; $VER2[2] = "SVN"; $SubVerN = 97; $RName = "iDB"; $SFName = "IntDB";
 $SVNDay[0] = 09; $SVNDay[1] = 02; $SVNDay[2] = 2007; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2];
 $VerInfo['iDB_Ver'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,false);
 $VerInfo['iDB_Ver_SVN'] = version_info($RName,$VER1[0],$VER1[1],$VER1[2],$VER2[1],$SubVerN,true);