php-todo-cvs Mailing List for phpToDo
Status: Pre-Alpha
Brought to you by:
mnordstr
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(10) |
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
---|
From: <mno...@us...> - 2002-09-15 18:30:53
|
Update of /cvsroot/php-todo/src In directory usw-pr-cvs1:/tmp/cvs-serv3336 Modified Files: TODO Log Message: New features Index: TODO =================================================================== RCS file: /cvsroot/php-todo/src/TODO,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** TODO 20 Jul 2002 12:30:28 -0000 1.7 --- TODO 15 Sep 2002 18:30:50 -0000 1.8 *************** *** 7,13 **** Automatic detection of previous version, db update - Split to multiple files Future: ! - Multiple users, groups - Task assignment, etc --- 7,18 ---- Automatic detection of previous version, db update - Split to multiple files + - Sorting of todos within a priority + - Date/time to todo (calendar style), send email alerts of todos nearing specified date/time + - Better support for quotes (") + - Multiple todo views (one phptodo user for several different usages ie. private, public) + Future: ! - Groups - Task assignment, etc |
From: <mno...@us...> - 2002-07-20 12:30:32
|
Update of /cvsroot/php-todo/src In directory usw-pr-cvs1:/tmp/cvs-serv30801 Modified Files: TODO Log Message: Bold Todos Index: TODO =================================================================== RCS file: /cvsroot/php-todo/src/TODO,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** TODO 20 Jun 2002 20:14:05 -0000 1.6 --- TODO 20 Jul 2002 12:30:28 -0000 1.7 *************** *** 3,6 **** --- 3,7 ---- - Make the difference between Todo/Description clearer, and the same for the different todos + - Make the Todo bold - Install script (web-based) Automatic detection of previous version, db update |
From: <mno...@us...> - 2002-06-20 20:14:09
|
Update of /cvsroot/php-todo/src In directory usw-pr-cvs1:/tmp/cvs-serv28268 Modified Files: ChangeLog TODO index.php Log Message: v. 0.1.2-dev Index: ChangeLog =================================================================== RCS file: /cvsroot/php-todo/src/ChangeLog,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ChangeLog 20 Jun 2002 19:51:58 -0000 1.6 --- ChangeLog 20 Jun 2002 20:14:05 -0000 1.7 *************** *** 1,2 **** --- 1,4 ---- + 0.1.2: + 0.1.1: Index: TODO =================================================================== RCS file: /cvsroot/php-todo/src/TODO,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** TODO 20 Jun 2002 19:51:59 -0000 1.5 --- TODO 20 Jun 2002 20:14:05 -0000 1.6 *************** *** 1,16 **** - 0.1.1: - - - [DONE] All style 100% CSS - - [DONE] Add delete verification - - [DONE] Fix JS bug - - [DONE] GIFs -> PNGs - - [DONE] 100% XHTML 1.0 & CSS2 valid - - [DONE] INSTALL: tell to copy img dir - - [DONE] Check for empty todos (generate error, do not accept) - - [DONE] Add a check to prevent dual todos to be added, - it is too easy to hit reload and post another (duplicate) todo - - [DONE] Fix stupid password error message - - [DONE] Widen todo listing (configurable variable) - 0.1.2: --- 1,2 ---- Index: index.php =================================================================== RCS file: /cvsroot/php-todo/src/index.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** index.php 20 Jun 2002 20:05:47 -0000 1.7 --- index.php 20 Jun 2002 20:14:05 -0000 1.8 *************** *** 55,59 **** error_reporting(E_ALL); ! $version = '0.1.1'; $file = 'index.php'; --- 55,59 ---- error_reporting(E_ALL); ! $version = '0.1.2-dev'; $file = 'index.php'; |
From: <mno...@us...> - 2002-06-20 20:06:07
|
Update of /cvsroot/php-todo/src In directory usw-pr-cvs1:/tmp/cvs-serv25125 Modified Files: index.php Log Message: v. 0.1.1 Index: index.php =================================================================== RCS file: /cvsroot/php-todo/src/index.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** index.php 20 Jun 2002 19:46:32 -0000 1.6 --- index.php 20 Jun 2002 20:05:47 -0000 1.7 *************** *** 55,59 **** error_reporting(E_ALL); ! $version = '0.1.1-dev'; $file = 'index.php'; --- 55,59 ---- error_reporting(E_ALL); ! $version = '0.1.1'; $file = 'index.php'; |
From: <mno...@us...> - 2002-06-20 19:53:04
|
Update of /cvsroot/php-todo/src In directory usw-pr-cvs1:/tmp/cvs-serv20774 Modified Files: README Log Message: link changed to SF.net Index: README =================================================================== RCS file: /cvsroot/php-todo/src/README,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** README 19 Jun 2002 18:45:28 -0000 1.1.1.1 --- README 20 Jun 2002 19:53:01 -0000 1.2 *************** *** 1,3 **** Installation notes are in INSTALL. ! For more info, go to http://phptodo.ftlight.net --- 1,3 ---- Installation notes are in INSTALL. ! For more info, go to http://php-todo.sourceforge.net |
From: <mno...@us...> - 2002-06-20 19:52:03
|
Update of /cvsroot/php-todo/src In directory usw-pr-cvs1:/tmp/cvs-serv20387 Modified Files: ChangeLog TODO Log Message: GIFs -> PNGs Index: ChangeLog =================================================================== RCS file: /cvsroot/php-todo/src/ChangeLog,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ChangeLog 20 Jun 2002 17:58:02 -0000 1.5 --- ChangeLog 20 Jun 2002 19:51:58 -0000 1.6 *************** *** 7,10 **** --- 7,11 ---- - Empty Todo check - Dual Todo check + - GIFs -> PNGs 0.1.0 (Initial release): Index: TODO =================================================================== RCS file: /cvsroot/php-todo/src/TODO,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** TODO 20 Jun 2002 17:58:02 -0000 1.4 --- TODO 20 Jun 2002 19:51:59 -0000 1.5 *************** *** 4,8 **** - [DONE] Add delete verification - [DONE] Fix JS bug ! - GIFs -> PNGs - [DONE] 100% XHTML 1.0 & CSS2 valid - [DONE] INSTALL: tell to copy img dir --- 4,8 ---- - [DONE] Add delete verification - [DONE] Fix JS bug ! - [DONE] GIFs -> PNGs - [DONE] 100% XHTML 1.0 & CSS2 valid - [DONE] INSTALL: tell to copy img dir |
From: <mno...@us...> - 2002-06-20 19:46:36
|
Update of /cvsroot/php-todo/src In directory usw-pr-cvs1:/tmp/cvs-serv18293 Modified Files: index.php Log Message: GIFs -> PNGs Index: index.php =================================================================== RCS file: /cvsroot/php-todo/src/index.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** index.php 20 Jun 2002 17:58:02 -0000 1.5 --- index.php 20 Jun 2002 19:46:32 -0000 1.6 *************** *** 312,318 **** print "\t\t\t<tr class='list$list'>\n\t\t\t\t<td class='list1' style='width: 30px'> </td>\n\t\t\t\t" . "<td class='list$list' style='width: 75px; vertical-align: top'><a href='" . $file . "?edit=" . $row['todo_id'] . ! "'><img src='img/edit.gif' border='0' alt='Edit' title='Edit' /></a> " . "<a href='javascript:delTodo(" . $row['todo_id'] . ")'>" . ! "<img src='img/delete.gif' border='0' alt='Delete' title='Delete' /></a></td>\n\t\t\t\t" . "<td class='listLastTD$list'>" . $row['todo_short'] . "</td>\n\t\t\t</tr>\n\t\t\t"; --- 312,318 ---- print "\t\t\t<tr class='list$list'>\n\t\t\t\t<td class='list1' style='width: 30px'> </td>\n\t\t\t\t" . "<td class='list$list' style='width: 75px; vertical-align: top'><a href='" . $file . "?edit=" . $row['todo_id'] . ! "'><img src='img/edit.png' border='0' alt='Edit' title='Edit' /></a> " . "<a href='javascript:delTodo(" . $row['todo_id'] . ")'>" . ! "<img src='img/delete.png' border='0' alt='Delete' title='Delete' /></a></td>\n\t\t\t\t" . "<td class='listLastTD$list'>" . $row['todo_short'] . "</td>\n\t\t\t</tr>\n\t\t\t"; *************** *** 346,350 **** } ! print "\n\n\t<br /><br /><center><a href='http://phptodo.ftlight.net/'>phpToDo</a> $version - Copyright © 2002 Mattias Nordstrom</center>\n"; ?> --- 346,350 ---- } ! print "\n\n\t<br /><br /><center><a href='http://php-todo.sourceforge.net/'>phpToDo</a> $version - Copyright © 2002 Mattias Nordstrom</center>\n"; ?> |
From: <mno...@us...> - 2002-06-20 17:58:22
|
Update of /cvsroot/php-todo/src In directory usw-pr-cvs1:/tmp/cvs-serv21894 Modified Files: ChangeLog TODO index.php Log Message: Empty Todo check, dual Todo check Index: ChangeLog =================================================================== RCS file: /cvsroot/php-todo/src/ChangeLog,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ChangeLog 20 Jun 2002 17:24:02 -0000 1.4 --- ChangeLog 20 Jun 2002 17:58:02 -0000 1.5 *************** *** 5,8 **** --- 5,10 ---- - Valid CSS2 - Delete verification + - Empty Todo check + - Dual Todo check 0.1.0 (Initial release): Index: TODO =================================================================== RCS file: /cvsroot/php-todo/src/TODO,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TODO 20 Jun 2002 17:24:02 -0000 1.3 --- TODO 20 Jun 2002 17:58:02 -0000 1.4 *************** *** 7,13 **** - [DONE] 100% XHTML 1.0 & CSS2 valid - [DONE] INSTALL: tell to copy img dir ! - Check for empty todos (generate error, do not accept) ! - Add a check to prevent dual todos to be added, ! it is too easy to hit reload and post another (duplicate) todo - [DONE] Fix stupid password error message - [DONE] Widen todo listing (configurable variable) --- 7,13 ---- - [DONE] 100% XHTML 1.0 & CSS2 valid - [DONE] INSTALL: tell to copy img dir ! - [DONE] Check for empty todos (generate error, do not accept) ! - [DONE] Add a check to prevent dual todos to be added, ! it is too easy to hit reload and post another (duplicate) todo - [DONE] Fix stupid password error message - [DONE] Widen todo listing (configurable variable) Index: index.php =================================================================== RCS file: /cvsroot/php-todo/src/index.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** index.php 20 Jun 2002 17:24:02 -0000 1.4 --- index.php 20 Jun 2002 17:58:02 -0000 1.5 *************** *** 156,161 **** mysql_query("DELETE FROM todo WHERE todo_id=" . $_REQUEST['delete']); ! if ((!empty($_REQUEST['action'])) && ($_REQUEST['action'] == 'add')) { mysql_query(" INSERT INTO todo SET --- 156,168 ---- mysql_query("DELETE FROM todo WHERE todo_id=" . $_REQUEST['delete']); ! if ((!empty($_REQUEST['action'])) && ($_REQUEST['action'] == 'add') && (!empty($_REQUEST['todo']))) { + $sql = "SELECT * FROM todo WHERE todo_priority=" . strip_tags($_REQUEST['priority']) . " && + todo_short='" . strip_tags($_REQUEST['todo'], '<b>,<i>,<u>,<li>') . "' && + todo_long='" . strip_tags($_REQUEST['description'], '<b>,<i>,<u>,<li>') . "'"; + + $sql_result = mysql_query($sql); + + if (!mysql_num_rows($sql_result)) mysql_query(" INSERT INTO todo SET *************** *** 166,170 **** } ! if ((!empty($_REQUEST['action'])) && ($_REQUEST['action'] == 'edit')) { mysql_query(" --- 173,177 ---- } ! if ((!empty($_REQUEST['action'])) && ($_REQUEST['action'] == 'edit') && (!empty($_REQUEST['todo']))) { mysql_query(" |
From: <mno...@us...> - 2002-06-20 17:24:07
|
Update of /cvsroot/php-todo/src In directory usw-pr-cvs1:/tmp/cvs-serv11681 Modified Files: ChangeLog INSTALL TODO index.php style.css Log Message: Delete verification, INSTALL update, password error message updated, Todo listing wider Index: ChangeLog =================================================================== RCS file: /cvsroot/php-todo/src/ChangeLog,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ChangeLog 20 Jun 2002 16:21:21 -0000 1.3 --- ChangeLog 20 Jun 2002 17:24:02 -0000 1.4 *************** *** 4,7 **** --- 4,8 ---- - Valid XHTML 1.0 Transitional - Valid CSS2 + - Delete verification 0.1.0 (Initial release): Index: INSTALL =================================================================== RCS file: /cvsroot/php-todo/src/INSTALL,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** INSTALL 19 Jun 2002 18:45:28 -0000 1.1.1.1 --- INSTALL 20 Jun 2002 17:24:02 -0000 1.2 *************** *** 13,17 **** - Type mysql DATABASE -u USER -p PASSWD < sql/phptodo.sql ! Where DATABASE it the newly created database, USER is the database user and PASSWD is the user password. --- 13,17 ---- - Type mysql DATABASE -u USER -p PASSWD < sql/phptodo.sql ! Where DATABASE is the newly created database, USER is the database user and PASSWD is the user password. *************** *** 19,23 **** More info can be found inside the file. ! - Copy index.php to your http directory, where you want it to be hosted. - Remember to change the password in index.php, the default password is test. --- 19,33 ---- More info can be found inside the file. ! - Copy index.php, style.css and the img directory to your http directory, where you want it to be hosted. - Remember to change the password in index.php, the default password is test. + + + Updating + ======= + + - From 0.1.0: + Install the new sources, keep a backup of the old index.php if you want to + remember the old configuration values. + + The database layout is the same, the 0.1.0 database works with 0.1.1. Index: TODO =================================================================== RCS file: /cvsroot/php-todo/src/TODO,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** TODO 20 Jun 2002 16:21:21 -0000 1.2 --- TODO 20 Jun 2002 17:24:02 -0000 1.3 *************** *** 2,15 **** - [DONE] All style 100% CSS ! - Add delete verification - [DONE] Fix JS bug - GIFs -> PNGs - [DONE] 100% XHTML 1.0 & CSS2 valid ! - INSTALL: tell to copy img dir - Check for empty todos (generate error, do not accept) - Add a check to prevent dual todos to be added, it is too easy to hit reload and post another (duplicate) todo ! - Fix stupid password error message ! - Widen todo listing (configurable variable) 0.1.2: --- 2,15 ---- - [DONE] All style 100% CSS ! - [DONE] Add delete verification - [DONE] Fix JS bug - GIFs -> PNGs - [DONE] 100% XHTML 1.0 & CSS2 valid ! - [DONE] INSTALL: tell to copy img dir - Check for empty todos (generate error, do not accept) - Add a check to prevent dual todos to be added, it is too easy to hit reload and post another (duplicate) todo ! - [DONE] Fix stupid password error message ! - [DONE] Widen todo listing (configurable variable) 0.1.2: Index: index.php =================================================================== RCS file: /cvsroot/php-todo/src/index.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** index.php 20 Jun 2002 16:42:09 -0000 1.3 --- index.php 20 Jun 2002 17:24:02 -0000 1.4 *************** *** 84,87 **** --- 84,97 ---- } + function delTodo(id) + { + + var msg = "Are you sure you want to delete this Todo?"; + + if (confirm(msg)) + location.replace("<?php echo $file ?>?delete=" + id); + + } + </script> *************** *** 121,125 **** } else ! $login_fail = 'Doh!'; } --- 131,135 ---- } else ! $login_fail = 'Password incorrect!'; } *************** *** 296,301 **** "<td class='list$list' style='width: 75px; vertical-align: top'><a href='" . $file . "?edit=" . $row['todo_id'] . "'><img src='img/edit.gif' border='0' alt='Edit' title='Edit' /></a> " . ! "<a href='" . $file . "?delete=" . $row['todo_id'] . ! "'><img src='img/delete.gif' border='0' alt='Delete' title='Delete' /></a></td>\n\t\t\t\t" . "<td class='listLastTD$list'>" . $row['todo_short'] . "</td>\n\t\t\t</tr>\n\t\t\t"; --- 306,311 ---- "<td class='list$list' style='width: 75px; vertical-align: top'><a href='" . $file . "?edit=" . $row['todo_id'] . "'><img src='img/edit.gif' border='0' alt='Edit' title='Edit' /></a> " . ! "<a href='javascript:delTodo(" . $row['todo_id'] . ")'>" . ! "<img src='img/delete.gif' border='0' alt='Delete' title='Delete' /></a></td>\n\t\t\t\t" . "<td class='listLastTD$list'>" . $row['todo_short'] . "</td>\n\t\t\t</tr>\n\t\t\t"; *************** *** 317,321 **** if (!empty($login_fail)) ! print "$login_fail <br /><br />"; ?> --- 327,331 ---- if (!empty($login_fail)) ! print "<font class='error'>$login_fail</font> <br /><br />"; ?> Index: style.css =================================================================== RCS file: /cvsroot/php-todo/src/style.css,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** style.css 20 Jun 2002 16:42:09 -0000 1.3 --- style.css 20 Jun 2002 17:24:02 -0000 1.4 *************** *** 110,114 **** .listTable { ! width: 600px; border-style: none; border-collapse: collapse; --- 110,114 ---- .listTable { ! width: 700px; border-style: none; border-collapse: collapse; *************** *** 117,121 **** .listLastTD1 { ! width: 495px; background-color: #f5f8ff; color: #002674; --- 117,121 ---- .listLastTD1 { ! width: 595px; background-color: #f5f8ff; color: #002674; *************** *** 124,130 **** .listLastTD2 { ! width: 495px; background-color: #eef6ff; color: #002674; } --- 124,137 ---- .listLastTD2 { ! width: 595px; background-color: #eef6ff; color: #002674; + } + + .error + { + background-color: #f5f8ff; + font-weight: bold; + color: #ff0000; } |
From: <mno...@us...> - 2002-06-20 16:42:13
|
Update of /cvsroot/php-todo/src In directory usw-pr-cvs1:/tmp/cvs-serv31807 Modified Files: index.php style.css Log Message: css style bugs Index: index.php =================================================================== RCS file: /cvsroot/php-todo/src/index.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** index.php 20 Jun 2002 16:21:21 -0000 1.2 --- index.php 20 Jun 2002 16:42:09 -0000 1.3 *************** *** 294,305 **** print "\t\t\t<tr class='list$list'>\n\t\t\t\t<td class='list1' style='width: 30px'> </td>\n\t\t\t\t" . ! "<td style='width: 75px; vertical-align: top'><a href='" . $file . "?edit=" . $row['todo_id'] . "'><img src='img/edit.gif' border='0' alt='Edit' title='Edit' /></a> " . "<a href='" . $file . "?delete=" . $row['todo_id'] . "'><img src='img/delete.gif' border='0' alt='Delete' title='Delete' /></a></td>\n\t\t\t\t" . ! "<td class='listLastTD'>" . $row['todo_short'] . "</td>\n\t\t\t</tr>\n\t\t\t"; print "<tr class='list$list'>\n\t\t\t\t<td colspan='2' class='list1' style='text-align: right'></td>" . ! "\n\t\t\t\t<td class='listLastTD'>" . $desc . "</td>\n\t\t\t</tr>\n\n"; } --- 294,305 ---- print "\t\t\t<tr class='list$list'>\n\t\t\t\t<td class='list1' style='width: 30px'> </td>\n\t\t\t\t" . ! "<td class='list$list' style='width: 75px; vertical-align: top'><a href='" . $file . "?edit=" . $row['todo_id'] . "'><img src='img/edit.gif' border='0' alt='Edit' title='Edit' /></a> " . "<a href='" . $file . "?delete=" . $row['todo_id'] . "'><img src='img/delete.gif' border='0' alt='Delete' title='Delete' /></a></td>\n\t\t\t\t" . ! "<td class='listLastTD$list'>" . $row['todo_short'] . "</td>\n\t\t\t</tr>\n\t\t\t"; print "<tr class='list$list'>\n\t\t\t\t<td colspan='2' class='list1' style='text-align: right'></td>" . ! "\n\t\t\t\t<td class='listLastTD$list'>" . $desc . "</td>\n\t\t\t</tr>\n\n"; } Index: style.css =================================================================== RCS file: /cvsroot/php-todo/src/style.css,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** style.css 20 Jun 2002 16:21:22 -0000 1.2 --- style.css 20 Jun 2002 16:42:09 -0000 1.3 *************** *** 20,24 **** a { - background-color: #f5f8ff; font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 11pt; --- 20,23 ---- *************** *** 30,34 **** input, select, textarea { ! background-color: #f5f8ff; font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 9pt; --- 29,33 ---- input, select, textarea { ! background-color: #ffffff; font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 9pt; *************** *** 116,121 **** } ! .listLastTD { width: 495px; } --- 115,130 ---- } ! .listLastTD1 { width: 495px; + background-color: #f5f8ff; + color: #002674; } + + .listLastTD2 + { + width: 495px; + background-color: #eef6ff; + color: #002674; + } + |
From: <mno...@us...> - 2002-06-20 16:21:25
|
Update of /cvsroot/php-todo/src In directory usw-pr-cvs1:/tmp/cvs-serv25713 Modified Files: ChangeLog TODO index.php style.css Log Message: Valid XHTML 1.0 and CSS2 Index: ChangeLog =================================================================== RCS file: /cvsroot/php-todo/src/ChangeLog,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ChangeLog 20 Jun 2002 10:42:29 -0000 1.2 --- ChangeLog 20 Jun 2002 16:21:21 -0000 1.3 *************** *** 2,5 **** --- 2,7 ---- - JavaScript bugs fixed + - Valid XHTML 1.0 Transitional + - Valid CSS2 0.1.0 (Initial release): Index: TODO =================================================================== RCS file: /cvsroot/php-todo/src/TODO,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** TODO 19 Jun 2002 18:45:28 -0000 1.1.1.1 --- TODO 20 Jun 2002 16:21:21 -0000 1.2 *************** *** 1,15 **** 0.1.1: ! - All style 100% CSS - Add delete verification - [DONE] Fix JS bug - GIFs -> PNGs ! - 100% HTML 4.01 & CSS2 valid - INSTALL: tell to copy img dir - Check for empty todos (generate error, do not accept) - Add a check to prevent dual todos to be added, it is too easy to hit reload and post another (duplicate) todo - - Make the difference between Todo/Description clearer, - and the same for the different todos - Fix stupid password error message - Widen todo listing (configurable variable) --- 1,13 ---- 0.1.1: ! - [DONE] All style 100% CSS - Add delete verification - [DONE] Fix JS bug - GIFs -> PNGs ! - [DONE] 100% XHTML 1.0 & CSS2 valid - INSTALL: tell to copy img dir - Check for empty todos (generate error, do not accept) - Add a check to prevent dual todos to be added, it is too easy to hit reload and post another (duplicate) todo - Fix stupid password error message - Widen todo listing (configurable variable) Index: index.php =================================================================== RCS file: /cvsroot/php-todo/src/index.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** index.php 19 Jun 2002 18:45:28 -0000 1.1.1.1 --- index.php 20 Jun 2002 16:21:21 -0000 1.2 *************** *** 5,9 **** // $Id$ ! // For more info and new releases go to http://phptodo.ftlight.net/ // This software is distributed under the GNU GPL. --- 5,9 ---- // $Id$ ! // For more info and new releases go to http://php-todo.sourceforge.net/ // This software is distributed under the GNU GPL. *************** *** 39,50 **** // $passwd = md5('cleartextpasswordhere'); ! // Colors used by CSS. Here you can change the look of phpToDo. ! /*$color_header_bg = '#000000'; ! $color_header_fg = '#ffffff'; ! $color_bg = '#f5f8ff'; ! $color_text = '#002674'; ! $color_link = '#002674'; ! $color_list_1 = '#f5f8ff'; ! $color_list_2 = '#eef6ff';*/ // Priorities. The default priority is 3, 1 is most important. --- 39,46 ---- // $passwd = md5('cleartextpasswordhere'); ! // Colors used by CSS can now (0.1.1+) be found in style.css. ! // If you want to modify them, look in the source for the place you want to modify ! // and modify that class in style.css. As of version 0.1.1 phpToDo is XHTML 1.0 with ! // styles 100% CSS2. // Priorities. The default priority is 3, 1 is most important. *************** *** 64,72 **** ob_start(); - ?> <?php print "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n" ?> <!DOCTYPE html ! PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> --- 60,68 ---- ob_start(); + ?> <?php print "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n" ?> <!DOCTYPE html ! PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> *************** *** 78,82 **** <script type="text/javascript"> - <![CDATA[ function doFocus() --- 74,77 ---- *************** *** 89,93 **** } - ]]> </script> --- 84,87 ---- *************** *** 97,112 **** <body onload="doFocus();"> ! <table style="border-style: none; border-collapse: collapse; width: 100%;"> <tr> ! <td style="background-color: #000000; width: 6%; height: 20px;"> </td> ! <td style="background-color: #000000; width: 42%; height: 20px; vertical-align: middle; text-align: left;"><a href="<?php print 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] ?>"><font class="pageHeader">phpToDo</font></a></td> ! <td style="background-color: #000000; width: 4%; height: 20px;"> </td> ! <td style="background-color: #000000; width: 42%; height: 20px; vertical-align: middle; text-align: right;"><a href="<?php echo $file ?>?forget=yes"><font class="forgetMe">Forget Me</font></a></td> ! <td style="background-color: #000000; width: 6%; height: 20px;"> </td> </tr> <tr> ! <td colspan=5 class="contentTD" align="center" valign="top"> ! <br><center> <?php --- 91,106 ---- <body onload="doFocus();"> ! <table class="contentTable"> <tr> ! <td class="headerTD" style="width: 6%;"> </td> ! <td class="headerTD" style="width: 42%; text-align: left;"><a href="<?php print 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'] ?>"><font class="pageHeader">phpToDo</font></a></td> ! <td class="headerTD" style="width: 4%;"> </td> ! <td class="headerTD" style="width: 42%; text-align: right;"><a href="<?php echo $file ?>?forget=yes"><font class="forgetMe">Forget Me</font></a></td> ! <td class="headerTD" style="width: 6%;"> </td> </tr> <tr> ! <td colspan="5" class="contentTD"> ! <br /><center> <?php *************** *** 141,145 **** { setcookie('phptodo', md5($passwd . 'phptodo'), time()-3600, $script_path, $_SERVER['HTTP_HOST'], 0); ! print "Bye, bye! <form name='form'><input type='hidden' name='bye' /></form>"; $no_list = 1; } --- 135,139 ---- { setcookie('phptodo', md5($passwd . 'phptodo'), time()-3600, $script_path, $_SERVER['HTTP_HOST'], 0); ! print "Bye, bye! <form name='form' action='' method='get'><input type='hidden' name='bye' /></form>"; $no_list = 1; } *************** *** 178,182 **** $post_pr[1] = ''; $post_pr[2] = ''; ! $post_pr[3] = ' selected'; $post_pr[4] = ''; $post_pr[5] = ''; --- 172,176 ---- $post_pr[1] = ''; $post_pr[2] = ''; ! $post_pr[3] = " selected='selected'"; $post_pr[4] = ''; $post_pr[5] = ''; *************** *** 194,198 **** $post_pr[3] = ''; ! $post_pr[$row['todo_priority']] = ' selected'; $post_todo = $row['todo_short']; --- 188,192 ---- $post_pr[3] = ''; ! $post_pr[$row['todo_priority']] = " selected='selected'"; $post_todo = $row['todo_short']; *************** *** 202,206 **** else { ! print 'No Todo item found by that ID!<br><br>'; } } --- 196,200 ---- else { ! print 'No Todo item found by that ID!<br /><br />'; } } *************** *** 209,240 **** <form name="form" action="<?php echo $file ?>" method="post"> ! <input type="hidden" name="action" value="<?php echo $post_action ?>"> ! <input type="hidden" name="edit_id" value="<?php echo @$_REQUEST['edit'] ?>"> ! <table width=400 border=0 cellspacing=0 cellpadding=0> ! <tr align="left"> ! <td width=100>Priority:</td> ! <td width='*'> <select name="priority"> ! <option value=1<?php echo $post_pr[1] ?>><?php echo $priority[1] ?></option> ! <option value=2<?php echo $post_pr[2] ?>><?php echo $priority[2] ?></option> ! <option value=3<?php echo $post_pr[3] ?>><?php echo $priority[3] ?></option> ! <option value=4<?php echo $post_pr[4] ?>><?php echo $priority[4] ?></option> ! <option value=5<?php echo $post_pr[5] ?>><?php echo $priority[5] ?></option> </select> </td> </tr> ! <tr align="left"> <td>Todo:</td> ! <td><input type="text" name="todo" size=40 maxlength=255 value="<?php echo $post_todo ?>"></td> </tr> - <tr align="left"> - <td valign="top">Description:</td> - <td><textarea name="description" rows=4 cols=40><?php echo $post_description ?></textarea></td> - </tr <tr> ! <td colspan=2 align="center"><input type="submit" name="add" value="<?php echo $post_button ?>"></td> </tr> </table> ! </form><br> <?php --- 203,234 ---- <form name="form" action="<?php echo $file ?>" method="post"> ! <input type="hidden" name="action" value="<?php echo $post_action ?>" /> ! <input type="hidden" name="edit_id" value="<?php echo @$_REQUEST['edit'] ?>" /> ! <table class="inputTable"> ! <tr style="text-align: left"> ! <td style="width: 100px">Priority:</td> ! <td style="width: 300px"> <select name="priority"> ! <option value="1"<?php echo $post_pr[1] ?>><?php echo $priority[1] ?></option> ! <option value="2"<?php echo $post_pr[2] ?>><?php echo $priority[2] ?></option> ! <option value="3"<?php echo $post_pr[3] ?>><?php echo $priority[3] ?></option> ! <option value="4"<?php echo $post_pr[4] ?>><?php echo $priority[4] ?></option> ! <option value="5"<?php echo $post_pr[5] ?>><?php echo $priority[5] ?></option> </select> </td> </tr> ! <tr style="text-align: left"> <td>Todo:</td> ! <td><input type="text" name="todo" size="40" maxlength="255" value="<?php echo $post_todo ?>" /></td> ! </tr> ! <tr style="text-align: left"> ! <td style="vertical-align: top">Description:</td> ! <td><textarea name="description" rows="4" cols="40"><?php echo $post_description ?></textarea></td> </tr> <tr> ! <td colspan="2" style="text-align: center"><input type="submit" name="add" value="<?php echo $post_button ?>" /></td> </tr> </table> ! </form><br /> <?php *************** *** 281,287 **** ?> ! <table width=600 border=0 cellspacing=0 cellpadding=0> <tr> ! <td colspan=3 class="priority"><?php echo $priority[$cur_pri] ?></td> </tr> --- 275,281 ---- ?> ! <table class="listTable"> <tr> ! <td colspan="3" class="priority"><?php echo $priority[$cur_pri] ?></td> </tr> *************** *** 299,316 **** modifyURL($row['todo_short']); ! print "<tr class='list$list'><td width=30 class='list1'> </td>" . ! "<td width=75 valign='top'><a href='" . $file . "?edit=" . $row['todo_id'] . "'><img src='img/edit.gif' border=0 alt='Edit' title='Edit'></a> " . ! "<a href='" . $file . "?delete=" . $row['todo_id'] . "'><img src='img/delete.gif' border=0 alt='Delete' title='Delete'></a></td>" . ! "<td width=495>" . $row['todo_short'] . '</td></tr>'; ! print "<tr class='list$list'><td colspan=2 align='right' class='list1'></td><td width=495>" . ! $desc . "</td></tr>"; } ! print '</table><br>'; } if (!$todos) ! print 'No Todos found.<br>'; } } --- 293,313 ---- modifyURL($row['todo_short']); ! print "\t\t\t<tr class='list$list'>\n\t\t\t\t<td class='list1' style='width: 30px'> </td>\n\t\t\t\t" . ! "<td style='width: 75px; vertical-align: top'><a href='" . $file . "?edit=" . $row['todo_id'] . ! "'><img src='img/edit.gif' border='0' alt='Edit' title='Edit' /></a> " . ! "<a href='" . $file . "?delete=" . $row['todo_id'] . ! "'><img src='img/delete.gif' border='0' alt='Delete' title='Delete' /></a></td>\n\t\t\t\t" . ! "<td class='listLastTD'>" . $row['todo_short'] . "</td>\n\t\t\t</tr>\n\t\t\t"; ! print "<tr class='list$list'>\n\t\t\t\t<td colspan='2' class='list1' style='text-align: right'></td>" . ! "\n\t\t\t\t<td class='listLastTD'>" . ! $desc . "</td>\n\t\t\t</tr>\n\n"; } ! print "\t\t\t</table><br />"; } if (!$todos) ! print 'No Todos found.<br />'; } } *************** *** 320,330 **** if (!empty($login_fail)) ! print "$login_fail <br><br>"; ?> <form name="form" action="<?php echo $file ?>" method="post"> ! <input type="password" name="password" size="10"><br> ! <input type="submit" name="login" value="Login"> </form> --- 317,327 ---- if (!empty($login_fail)) ! print "$login_fail <br /><br />"; ?> <form name="form" action="<?php echo $file ?>" method="post"> ! <input type="password" name="password" size="10" /><br /> ! <input type="submit" name="login" value="Login" /> </form> *************** *** 332,336 **** } ! print "<br><br><center><a href='http://phptodo.ftlight.net/'>phpToDo</a> $version - Copyright © 2002 Mattias Nordstrom</center>"; ?> --- 329,333 ---- } ! print "\n\n\t<br /><br /><center><a href='http://phptodo.ftlight.net/'>phpToDo</a> $version - Copyright © 2002 Mattias Nordstrom</center>\n"; ?> Index: style.css =================================================================== RCS file: /cvsroot/php-todo/src/style.css,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** style.css 19 Jun 2002 18:45:28 -0000 1.1.1.1 --- style.css 20 Jun 2002 16:21:22 -0000 1.2 *************** *** 6,14 **** margin-right: 0px; margin-top: 0px; } td { ! font-family: Verdana, Helvetica, Arial; font-size: 11pt; font-weight: normal; --- 6,16 ---- margin-right: 0px; margin-top: 0px; + color: #002674; } td { ! background-color: #f5f8ff; ! font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 11pt; font-weight: normal; *************** *** 18,22 **** a { ! font-family: Verdana, Helvetica, Arial; font-size: 11pt; font-weight: normal; --- 20,25 ---- a { ! background-color: #f5f8ff; ! font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 11pt; font-weight: normal; *************** *** 25,30 **** --- 28,44 ---- } + input, select, textarea + { + background-color: #f5f8ff; + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 9pt; + font-weight: normal; + text-decoration: none; + color: #002674; + } + .pageHeader { + background-color: #000000; font-size: 11pt; font-weight: bold; *************** *** 36,39 **** --- 50,54 ---- .forgetMe { + background-color: #000000; text-align: right; font-size: 11pt; *************** *** 46,49 **** --- 61,65 ---- { background-color: #f5f8ff; + color: #002674; } *************** *** 51,54 **** --- 67,78 ---- { background-color: #eef6ff; + color: #002674; + } + + .contentTable + { + border-style: none; + border-collapse: collapse; + width: 100%; } *************** *** 56,64 **** { background-color: #f5f8ff; } .priority { ! font-family: Verdana, Helvetica, Arial; font-size: 13pt; font-weight: bold; --- 80,92 ---- { background-color: #f5f8ff; + vertical-align: top; + text-align: center; + color: #002674; } .priority { ! background-color: #f5f8ff; ! font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 13pt; font-weight: bold; *************** *** 66,76 **** } ! input, select, textarea { ! font-family: Verdana, Helvetica, Arial; ! font-size: 9pt; ! font-weight: normal; ! text-decoration: none; ! color: #002674; } --- 94,121 ---- } ! .headerTD { ! background-color: #000000; ! height: 20px; ! vertical-align: middle; ! color: #ffffff; } + .inputTable + { + width: 400px; + border-style: none; + border-collapse: collapse; + } + + .listTable + { + width: 600px; + border-style: none; + border-collapse: collapse; + } + + .listLastTD + { + width: 495px; + } |
From: <mno...@us...> - 2002-06-20 10:42:39
|
Update of /cvsroot/php-todo/src In directory usw-pr-cvs1:/tmp/cvs-serv19372 Modified Files: ChangeLog Log Message: JS bugs fixed Index: ChangeLog =================================================================== RCS file: /cvsroot/php-todo/src/ChangeLog,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** ChangeLog 19 Jun 2002 18:45:28 -0000 1.1.1.1 --- ChangeLog 20 Jun 2002 10:42:29 -0000 1.2 *************** *** 1,2 **** --- 1,6 ---- + 0.1.1: + + - JavaScript bugs fixed + 0.1.0 (Initial release): |