Update of /cvsroot/openbash-org/openbash-org/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1472/openbash-org/modules
Modified Files:
View.php
Log Message:
Añadida validación del mail
TODO: CORREGIR LO DEL exit() EN EL METODO ask_login()
Index: View.php
===================================================================
RCS file: /cvsroot/openbash-org/openbash-org/modules/View.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** View.php 23 Nov 2004 14:02:58 -0000 1.16
--- View.php 23 Nov 2004 14:44:42 -0000 1.17
***************
*** 22,26 ****
<div><label for="quote"><?=$add['please_insert']?></label></div>
<div><textarea id="quote" name="quote" class="textarea" cols="60%" rows="10" onblur="requireValue(this)"></textarea></div>
! <p><input type="text" id="author" name="author" onblur="requireValue(this)" maxlength="100" /> <label for="author"><?=$add['author'];?></label></p>
<p><input type="text" id="channel" name="channel" onblur="requireValue(this)" maxlength="50" /> <label for="channel"><?=$add['channel'];?></label></p>
<p><input type="text" id="network" name="network" onblur="requireValue(this)" maxlength="50" /> <label for="network"><?=$add['network'];?></label></p>
--- 22,26 ----
<div><label for="quote"><?=$add['please_insert']?></label></div>
<div><textarea id="quote" name="quote" class="textarea" cols="60%" rows="10" onblur="requireValue(this)"></textarea></div>
! <p><input type="text" id="author" name="author" onblur="requireValue(this)*checkEmail(this)" maxlength="100" /> <label for="author"><?=$add['author'];?></label></p>
<p><input type="text" id="channel" name="channel" onblur="requireValue(this)" maxlength="50" /> <label for="channel"><?=$add['channel'];?></label></p>
<p><input type="text" id="network" name="network" onblur="requireValue(this)" maxlength="50" /> <label for="network"><?=$add['network'];?></label></p>
***************
*** 138,142 ****
</form>
<?php
! exit();
}
--- 138,142 ----
</form>
<?php
! exit(); // WTF? FIX THIS SHIT!!!!!!
}
***************
*** 158,161 ****
--- 158,163 ----
/*
* auxiliar functions
+ *
+ * TODO: multiple translations of validate.js
*/
|