From: Alexander M. <key...@us...> - 2003-08-06 13:17:51
|
CVSROOT : /cvsroot/publicdnsadmin Module : publicdnsadmin Commit time: 2003-08-06 13:17:50 UTC Modified files: create_record.php create_template_record.php gfx_code.php update_record.php update_template_record.php docs/CHANGELOG docs/TODO lib/footer.php lib/header.php Log message: Author: Alexander Maassen <out...@ke...> Log message: Lotsa updates, now it finally works perfect on postgres too. Some Cosmetics and bumped version. ---------------------- diff included ---------------------- Index: publicdnsadmin/create_record.php diff -u publicdnsadmin/create_record.php:1.4 publicdnsadmin/create_record.php:1.5 --- publicdnsadmin/create_record.php:1.4 Thu Jul 17 05:02:27 2003 +++ publicdnsadmin/create_record.php Wed Aug 6 06:17:40 2003 @@ -45,7 +45,7 @@ if (!$prio or !is_numeric($prio)) { $prio = 10; } - } elseif ($prio) { + } elseif ($prio or !$prio or !is_numeric($prio)) { $prio = 0; } Index: publicdnsadmin/create_template_record.php diff -u publicdnsadmin/create_template_record.php:1.5 publicdnsadmin/create_template_record.php:1.6 --- publicdnsadmin/create_template_record.php:1.5 Thu Jul 17 05:02:27 2003 +++ publicdnsadmin/create_template_record.php Wed Aug 6 06:17:40 2003 @@ -43,7 +43,7 @@ if (!$prio or !is_numeric($prio)) { $prio = 10; } - } elseif (!$prio) { + } elseif (!$prio or !$prio or !is_numeric($prio)) { $prio = 0; } Index: publicdnsadmin/docs/CHANGELOG diff -u publicdnsadmin/docs/CHANGELOG:1.27 publicdnsadmin/docs/CHANGELOG:1.28 --- publicdnsadmin/docs/CHANGELOG:1.27 Wed Jul 23 01:57:10 2003 +++ publicdnsadmin/docs/CHANGELOG Wed Aug 6 06:17:40 2003 @@ -1,19 +1,12 @@ $Id: -OUTsider <out...@ke...> - 16/7/2003 - Released 1.1 -SiRVulcaN <sir...@si...> - 17/7/2003 - Allow users to delete multiple records at once. - - Full MBOXFW support added. - - Full URL support added. - - Full RP support added. - - Full HWINFO support added. - - Full A6 support completed. - - Full NS6 support completed. -SiRVulcaN <sir...@si...> - 19/7/2003 - Change between '.' and '@' auto when changing from MBOXFW to - another record type. - - Made it so when you click on a template record you go into edit. - - Split CSS into 2 files, one for IE and the other for other browsers. - - Allow template admins to delete multiple records at once in templates. - - Disable "Del" button if no checkboxes checked on record lists. -SiRVulcaN <sir...@si...> - 20/7/2003 - Mouseover coloring added for tables (from PHPMyAdmin). -SiRVulcaN <sir...@si...> - 23/7/2003 - SQL Tweak. - - Released 1.2. +SiRVulcaN <sir...@si...> - 23/07/2003 - SQL Tweak. + - Released 1.2. +OUTsider <out...@ke...> - 03/08/2003 - Using ISO standard dates in CHANGELOG + (Let's agree that when a version gets release, we start with a fresh CHANGELOG) + - Bumped DEV version to 1.3 + - Made suport links open in new window. +OUTsider <out...@ke...> - 06/08/2003 - mysql does not support now()::abstime::int4, + thus gfxcheck was likely to fail. + - Fixed problem that some records/templates could not be updated + or created using postgres. This was coz prio was empty. Index: publicdnsadmin/docs/TODO diff -u publicdnsadmin/docs/TODO:1.13 publicdnsadmin/docs/TODO:1.14 --- publicdnsadmin/docs/TODO:1.13 Sat Jul 19 00:26:48 2003 +++ publicdnsadmin/docs/TODO Wed Aug 6 06:17:40 2003 @@ -1,2 +1,3 @@ - Some sort of maintenence news system (displayed on the main login page). - Syntax check records for validity to make it more fool proof. +- Make the mouseoverthingie mozilla proof as well. (sucky on Firebird) Index: publicdnsadmin/gfx_code.php diff -u publicdnsadmin/gfx_code.php:1.2 publicdnsadmin/gfx_code.php:1.3 --- publicdnsadmin/gfx_code.php:1.2 Wed Jun 18 03:26:58 2003 +++ publicdnsadmin/gfx_code.php Wed Aug 6 06:17:40 2003 @@ -31,7 +31,7 @@ $fontList = get_font_face_list(); unset($dFID); $dFID = rand(0,(count($fontList)-1)); // random available font face - $dbh->query("DELETE FROM gfxcodes WHERE expire<now()::abstime::int4"); + $dbh->query("DELETE FROM gfxcodes WHERE expire<".time()); $r = $dbh->query("SELECT code FROM gfxcodes WHERE crc='" . $_GET["crc"] . "'"); if ($o = $r->fetchRow()) { $code_gen = $o["code"]; Index: publicdnsadmin/lib/footer.php diff -u publicdnsadmin/lib/footer.php:1.6 publicdnsadmin/lib/footer.php:1.7 --- publicdnsadmin/lib/footer.php:1.6 Wed Jul 16 05:38:20 2003 +++ publicdnsadmin/lib/footer.php Wed Aug 6 06:17:40 2003 @@ -7,7 +7,7 @@ Distributed under the GPL license, see LICENSE for more information - $Id: footer.php,v 1.6 2003/07/16 12:38:20 sirvulcan Exp $ + $Id: footer.php,v 1.7 2003/08/06 13:17:40 key2peace Exp $ */ ?> </td> @@ -22,7 +22,7 @@ <tr> <td valign="top" class="menu" nowrap style="border-top: 1px solid #000000; border-left: 1px solid #000000;border-right: 1px solid #000000; border-bottom: 1px solid #000000;"> Powered By <a href="http://www.sirvulcan.org/" target="_new">Public DNS Administrator</a>, Licensed Under <a href="http://www.gnu.org" target="_new">GNU/GPL.</a> Report Bugs To: - <a href="http://sourceforge.net/tracker/?func=add&group_id=78804&atid=554506">PublicDNSAdmin Bug Tracker</a>. + <a href="http://sourceforge.net/tracker/?func=add&group_id=78804&atid=554506" target="_new">PublicDNSAdmin Bug Tracker</a>. </td> </tr> </table> Index: publicdnsadmin/lib/header.php diff -u publicdnsadmin/lib/header.php:1.15 publicdnsadmin/lib/header.php:1.16 --- publicdnsadmin/lib/header.php:1.15 Wed Jul 23 01:57:10 2003 +++ publicdnsadmin/lib/header.php Wed Aug 6 06:17:40 2003 @@ -7,7 +7,7 @@ Distributed under the GPL license, see LICENSE for more information - $Id: header.php,v 1.15 2003/07/23 08:57:10 sirvulcan Exp $ + $Id: header.php,v 1.16 2003/08/06 13:17:40 key2peace Exp $ */ ?> @@ -66,12 +66,12 @@ echo "\" class=\"menu\">Contact</a><br>"; } echo "<br><br><center>"; - echo "<a href=\"http://httpd.apache.org\"><img src=\"images/apache.gif\" border=0></a><br><br>"; - echo "<a href=\"http://www.php.net\"><img src=\"images/php.gif\" border=0></a><br><br>"; + echo "<a href=\"http://httpd.apache.org\" target=\"_new\"><img src=\"images/apache.gif\" border=0></a><br><br>"; + echo "<a href=\"http://www.php.net\" target=\"_new\"><img src=\"images/php.gif\" border=0></a><br><br>"; if (db_type() == "mysql") { - echo "<a href=\"http://www.mysql.com\"><img src=\"images/mysql.gif\" border=0></a><br>"; + echo "<a href=\"http://www.mysql.com\" target=\"_new\"><img src=\"images/mysql.gif\" border=0></a><br>"; } else { - echo "<a href=\"http://www.postgresql.org\"><img src=\"images/pgsql.gif\" border=0></a><br>"; + echo "<a href=\"http://www.postgresql.org\" target=\"_new\"><img src=\"images/pgsql.gif\" border=0></a><br>"; } echo "</center>"; ?> @@ -81,5 +81,5 @@ <table><tr><td> <img src="images/logo.gif"><br> </td></tr><tr><td align="right"> - <font face="verdana" size=1>Public DNS Administrator v1.2</font> + <font face="verdana" size=1>Public DNS Administrator v1.3</font> </td></tr></table> Index: publicdnsadmin/update_record.php diff -u publicdnsadmin/update_record.php:1.4 publicdnsadmin/update_record.php:1.5 --- publicdnsadmin/update_record.php:1.4 Thu Jul 17 05:02:28 2003 +++ publicdnsadmin/update_record.php Wed Aug 6 06:17:40 2003 @@ -46,7 +46,7 @@ if (!$prio or !is_numeric($prio)) { $prio = 10; } - } elseif ($prio) { + } elseif ($prio or !$prio or !is_numeric($prio)) { $prio = 0; } Index: publicdnsadmin/update_template_record.php diff -u publicdnsadmin/update_template_record.php:1.4 publicdnsadmin/update_template_record.php:1.5 --- publicdnsadmin/update_template_record.php:1.4 Thu Jul 17 05:02:28 2003 +++ publicdnsadmin/update_template_record.php Wed Aug 6 06:17:40 2003 @@ -43,7 +43,7 @@ if (!$prio or !is_numeric($prio)) { $prio = 10; } - } elseif ($prio) { + } elseif ($prio or !$prio or !is_numeric($prio)) { $prio = 0; } ----------------------- End of diff ----------------------- |