openfirst-cvscommit Mailing List for openFIRST (Page 73)
Brought to you by:
xtimg
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(41) |
Jun
(210) |
Jul
(39) |
Aug
(153) |
Sep
(147) |
Oct
(173) |
Nov
(81) |
Dec
(163) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(33) |
Feb
(18) |
Mar
|
Apr
(62) |
May
|
Jun
(100) |
Jul
(38) |
Aug
(58) |
Sep
(1) |
Oct
|
Nov
(25) |
Dec
(172) |
2005 |
Jan
(31) |
Feb
(12) |
Mar
(67) |
Apr
(92) |
May
(247) |
Jun
(34) |
Jul
(36) |
Aug
(192) |
Sep
(15) |
Oct
(42) |
Nov
(92) |
Dec
(4) |
2006 |
Jan
|
Feb
(21) |
Mar
|
Apr
|
May
|
Jun
(53) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
(4) |
Apr
(4) |
May
|
Jun
(15) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <xt...@us...> - 2003-10-12 22:43:07
|
Update of /cvsroot/openfirst/manual/openfirst.emoticon In directory sc8-pr-cvs1:/tmp/cvs-serv12646/openfirst.emoticon Modified Files: emoticon.php Log Message: Make basic changes found by proof reading, including rewording, spelling, grammar, and minor technical inaccuracies. Index: emoticon.php =================================================================== RCS file: /cvsroot/openfirst/manual/openfirst.emoticon/emoticon.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** emoticon.php 29 Sep 2003 21:33:38 -0000 1.1 --- emoticon.php 12 Oct 2003 22:40:49 -0000 1.2 *************** *** 41,45 **** </tr> <tr> ! <td>The openFIRST.emoticons is to allow easy access and managment of smilies that enhance your websites functionality and design.</td> </tr> --- 41,45 ---- </tr> <tr> ! <td>The openFIRST.emoticon is to allow easy access and managment of smilies that enhance your websites functionality and design.</td> </tr> *************** *** 76,81 **** </tr> <tr> ! <td>We are planning to incorporate catagory selection for awards, this we ! you can organize awards based on competitions, years etc.</td> </tr> <tr> --- 76,80 ---- </tr> <tr> ! <td>None.</td> </tr> <tr> *************** *** 85,89 **** <td><p>function emoticon_translate - loops through all the emoticons listed in ofirst_emoticons and replaces the text with an image which corresponds ! with it in the database.</p> <p>function emoticon_preview - this function is used to provide a list of emoticons that a user can use in the website. It predefines the limit --- 84,88 ---- <td><p>function emoticon_translate - loops through all the emoticons listed in ofirst_emoticons and replaces the text with an image which corresponds ! to it in the database.</p> <p>function emoticon_preview - this function is used to provide a list of emoticons that a user can use in the website. It predefines the limit *************** *** 111,113 **** </table> <p><strong></strong></p> ! <?php include("$footer"); ?> \ No newline at end of file --- 110,112 ---- </table> <p><strong></strong></p> ! <?php include("$footer"); ?> |
From: <xt...@us...> - 2003-10-12 22:42:33
|
Update of /cvsroot/openfirst/manual/openfirst.logger In directory sc8-pr-cvs1:/tmp/cvs-serv12646/openfirst.logger Modified Files: logger.php Log Message: Make basic changes found by proof reading, including rewording, spelling, grammar, and minor technical inaccuracies. Index: logger.php =================================================================== RCS file: /cvsroot/openfirst/manual/openfirst.logger/logger.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** logger.php 29 Sep 2003 21:37:09 -0000 1.1 --- logger.php 12 Oct 2003 22:40:49 -0000 1.2 *************** *** 69,78 **** </tr> <tr> ! <td>The logger script does not have a visitor page. This module was mostly ! designed for administrators to preview who visits their website. You should <em>NOT </em>show the logger module on the menu, so please make sure you ! deactivate it in the module selector in <em>config</em>. The module basically ! carries logger.php through the entire website via the globals script. It ! logs all the information retrieved when its on the page, then puts it in the database.</td> </tr> --- 69,77 ---- </tr> <tr> ! <td>The logger script does not have a visitor page. This module was ! designed for administrators to view who visits their website. You should <em>NOT </em>show the logger module on the menu, so please make sure you ! uncheck show on menu it in the module selector in <em>config</em>. The module carries logger.php through the entire website via the globals script. It ! logs all the information retrieved when it's on the page, then puts it into the database.</td> </tr> *************** *** 118,120 **** </table> <p><strong></strong></p> ! <?php include("$footer"); ?> \ No newline at end of file --- 117,119 ---- </table> <p><strong></strong></p> ! <?php include("$footer"); ?> |
From: <xt...@us...> - 2003-10-12 22:42:16
|
Update of /cvsroot/openfirst/manual/openfirst.search In directory sc8-pr-cvs1:/tmp/cvs-serv12646/openfirst.search Modified Files: search.php Log Message: Make basic changes found by proof reading, including rewording, spelling, grammar, and minor technical inaccuracies. Index: search.php =================================================================== RCS file: /cvsroot/openfirst/manual/openfirst.search/search.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** search.php 29 Sep 2003 21:41:34 -0000 1.1 --- search.php 12 Oct 2003 22:40:50 -0000 1.2 *************** *** 69,74 **** </tr> <tr> ! <td><p>The search module simply searches through the database and tries to ! find information particular to the search. It then displays the information for the user to browse through.</p> </td> --- 69,74 ---- </tr> <tr> ! <td><p>The search module searches through the database and tries to ! find information particular to the search terms. It then displays the information for the user to browse through.</p> </td> *************** *** 104,106 **** </table> <p><strong></strong></p> ! <?php include("$footer"); ?> \ No newline at end of file --- 104,106 ---- </table> <p><strong></strong></p> ! <?php include("$footer"); ?> |
From: <xt...@us...> - 2003-10-12 22:42:02
|
Update of /cvsroot/openfirst/manual/openfirst.photogallery In directory sc8-pr-cvs1:/tmp/cvs-serv12646/openfirst.photogallery Modified Files: photogallery.php Log Message: Make basic changes found by proof reading, including rewording, spelling, grammar, and minor technical inaccuracies. Index: photogallery.php =================================================================== RCS file: /cvsroot/openfirst/manual/openfirst.photogallery/photogallery.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** photogallery.php 29 Sep 2003 21:40:25 -0000 1.1 --- photogallery.php 12 Oct 2003 22:40:50 -0000 1.2 *************** *** 43,50 **** <td>The openFIRST.photogallery is a very powerful photo gallery system designed specifically for the openFIRST system. The gallery comes with every feature ! you could possibly need. Features included are: thumbnail maker (switching ! GD functions depending on which GD gallery you have installed, automatically ! sets itself), gallery manager back-end, user comments, an advanced image ! naming and descriptions and a send-to-a-friend feature.</td> </tr> <tr> --- 43,48 ---- <td>The openFIRST.photogallery is a very powerful photo gallery system designed specifically for the openFIRST system. The gallery comes with every feature ! you could possibly need. Features included are: thumbnail maker (utilising the GD functions), gallery manager back-end, user comments, advanced image ! naming, image descriptions and a send-to-a-friend feature.</td> </tr> <tr> *************** *** 68,72 **** <td>photogallery.php - provides functions for viewing specific gallery images. This was developed to allow quick and easy image reference without the webmaster ! having to type in the direct path to the image. Simple use the functions within this script.</td> </tr> --- 66,70 ---- <td>photogallery.php - provides functions for viewing specific gallery images. This was developed to allow quick and easy image reference without the webmaster ! having to type in the direct path to the image. Simply use the functions within this script.</td> </tr> *************** *** 79,86 **** After you upload images you will have an option to make thumbnails for them. You can make specific thumbnails or you can may them en mass. Thumbnails ! do NOT override the original image. Whenever a gallery is created a folder ! is created under the gallery folder. All images are uploaded to the respective ! gallery folder. If you choose to make a thumbnail GD will shrink the image ! and place it in /thumbs in the particular gallery folder.</p> <p>The thumbs image has the same exact name as the original image. When you view the gallery images if a thumbnail is present the system will --- 77,84 ---- After you upload images you will have an option to make thumbnails for them. You can make specific thumbnails or you can may them en mass. Thumbnails ! do NOT override the original image. Whenever a gallery is created a directory ! is created under the gallery/ directory. All images are uploaded to the respective ! gallery directory. If you choose to make a thumbnail GD will shrink the image ! and place it in the thumbs/ directory of the particular gallery.</p> <p>The thumbs image has the same exact name as the original image. When you view the gallery images if a thumbnail is present the system will *************** *** 92,96 **** of text files. We have implemented this feature to make the lives of webmasters easier. If you wish to use text file extraction you must name the text ! file the exact same thing as the image.</p> <p>Once images are completely uploaded and setup in the system visitors will be able to send them to friends and/or comment on them as they please.</p> --- 90,94 ---- of text files. We have implemented this feature to make the lives of webmasters easier. If you wish to use text file extraction you must name the text ! file the exact same thing as the image except with a .txt extension instead of the image's extension.</p> <p>Once images are completely uploaded and setup in the system visitors will be able to send them to friends and/or comment on them as they please.</p> *************** *** 111,116 **** <tr> <td><p>function galleryimage([gallery id],[image name],[thumnail/large image ! option],[height][width]) - this function can be used to preview images ! from the gallery simply by using this function.</p> </td> </tr> --- 109,114 ---- <tr> <td><p>function galleryimage([gallery id],[image name],[thumnail/large image ! option],[height][width]) - this function can be used to view images ! from the gallery.</p> </td> </tr> *************** *** 121,125 **** <td>index.php - view the current galleries installed<br> gallery.php - view the current photos listed in the gallery<br> ! email.php - allows users to e-mail photo's to friends<br> viewphoto.php - view individual photos<br> photogallery.php - the system include file that is carried through the website --- 119,123 ---- <td>index.php - view the current galleries installed<br> gallery.php - view the current photos listed in the gallery<br> ! email.php - allows users to e-mail photos to friends<br> viewphoto.php - view individual photos<br> photogallery.php - the system include file that is carried through the website *************** *** 131,139 **** to the photogallery module<br> admin/index.php - an admin index page<br> ! admin/makethumb.php - creates thumbnails, calls preview.php to create thumbs with GD<br> ! admin/newgallery.php - allows users to create new galleries<br> admin/preview.php - the thumbnail maker which contains the GD function switcher ! and functions</td> </tr> <tr> --- 129,137 ---- to the photogallery module<br> admin/index.php - an admin index page<br> ! admin/makethumb.php - creates thumbnails, calls preview.php to create thumbnails with GD<br> ! admin/newgallery.php - allows administrators to create new galleries<br> admin/preview.php - the thumbnail maker which contains the GD function switcher ! and image previewing functions</td> </tr> <tr> *************** *** 146,148 **** </table> <p><strong></strong></p> ! <?php include("$footer"); ?> \ No newline at end of file --- 144,146 ---- </table> <p><strong></strong></p> ! <?php include("$footer"); ?> |
From: <xt...@us...> - 2003-10-12 22:41:52
|
Update of /cvsroot/openfirst/manual/openfirst.messenger In directory sc8-pr-cvs1:/tmp/cvs-serv12646/openfirst.messenger Modified Files: messenger.php Log Message: Make basic changes found by proof reading, including rewording, spelling, grammar, and minor technical inaccuracies. Index: messenger.php =================================================================== RCS file: /cvsroot/openfirst/manual/openfirst.messenger/messenger.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** messenger.php 29 Sep 2003 21:38:52 -0000 1.1 --- messenger.php 12 Oct 2003 22:40:49 -0000 1.2 *************** *** 41,46 **** </tr> <tr> ! <td>The openFIRST.messenger is an internal messaging and member tracking system. ! The system works to provide users easy contact.</td> </tr> <tr> --- 41,46 ---- </tr> <tr> ! <td>The openFIRST.messenger module is an internal messaging and member tracking system. ! The system works to provide users easy contact with one another.</td> </tr> <tr> *************** *** 48,52 **** </tr> <tr> ! <td>Tim Ginnof openFIRST</td> </tr> <tr> --- 48,52 ---- </tr> <tr> ! <td>Tim Ginn of openFIRST</td> </tr> <tr> *************** *** 54,58 **** </tr> <tr> ! <td>ofirst_messenger_messeges<br> ofirst_messenger_users</td> </tr> --- 54,58 ---- </tr> <tr> ! <td>ofirst_messenger_messages<br> ofirst_messenger_users</td> </tr> *************** *** 76,81 **** </tr> <tr> ! <td>The module will be updated to allow members to send messeges to other ! membres </td> </tr> <tr> --- 76,80 ---- </tr> <tr> ! <td>None.</td> </tr> <tr> *************** *** 94,102 **** messenger.php - the system include file carried through the website from base. It basically checks the database to see if the current user has a ! record in the database. It also checks the users inbox and provides them ! with a new messege screen.<br> ! newmsg.php - allows users to send messeges between each other<br> ! viewmsg.php - allows users to view messeges sent to them<br> ! inbox.php - allows users to view a current list of messeges</td> </tr> <tr> --- 93,101 ---- messenger.php - the system include file carried through the website from base. It basically checks the database to see if the current user has a ! record in the database. It also checks the user's inbox and provides them ! with a new message screen.<br> ! newmsg.php - allows users to send messages between each other<br> ! viewmsg.php - allows users to view messages sent to them<br> ! inbox.php - allows users to view a current list of messages</td> </tr> <tr> *************** *** 109,111 **** </table> <p><strong></strong></p> ! <?php include("$footer"); ?> \ No newline at end of file --- 108,110 ---- </table> <p><strong></strong></p> ! <?php include("$footer"); ?> |
From: <xt...@us...> - 2003-10-12 22:41:47
|
Update of /cvsroot/openfirst/manual/openfirst.projects In directory sc8-pr-cvs1:/tmp/cvs-serv12646/openfirst.projects Modified Files: projects.php Log Message: Make basic changes found by proof reading, including rewording, spelling, grammar, and minor technical inaccuracies. Index: projects.php =================================================================== RCS file: /cvsroot/openfirst/manual/openfirst.projects/projects.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** projects.php 29 Sep 2003 23:26:40 -0000 1.2 --- projects.php 12 Oct 2003 22:40:50 -0000 1.3 *************** *** 45,52 **** <tr> <td>The openFIRST.projects module intergrates with the openFIRST.members module ! to provide a very effective module. The entire system is used to manage team progession and its projects. It has a built in action register system, a meeting organizer, and automated daily updates e-mail system (uses Crontab/MS ! Schedular). This script is highly advanced and evolved, so please be careful in reading and modifying it.</td> </tr> --- 45,52 ---- <tr> <td>The openFIRST.projects module intergrates with the openFIRST.members module ! to provide a very effective system. The module is used to manage team progession and its projects. It has a built in action register system, a meeting organizer, and automated daily updates e-mail system (uses Crontab/MS ! Scheduler). This script is highly advanced and evolved, so please be careful in reading and modifying it.</td> </tr> *************** *** 77,85 **** </tr> <tr> ! <td><p>The projects module is midly complex. It helps organize data efficiently. Information is organized in this basic hierarchy: groups, projects, tasks and notes. Groups must be created and members must be assigned to these ! groups. Under these groups an administrative may assign particular projects. ! Projects may be tracked by their completion. If an administrative wishes he can make a project wait (or pend) until one project is done for the other to become active. In order for a project to be complete it must --- 77,85 ---- </tr> <tr> ! <td><p>The projects module is mildly complex. It helps to organize data efficiently. Information is organized in this basic hierarchy: groups, projects, tasks and notes. Groups must be created and members must be assigned to these ! groups. Under these groups an administrator may assign particular projects. ! Projects may be tracked by their completion. If an administrator wishes he can make a project wait (or pend) until one project is done for the other to become active. In order for a project to be complete it must *************** *** 94,105 **** to that task have privileges to add a note.</p> <p>The projects module also has a meeting organizer which users may add ! meetings or declare as past. This feature is important because it provides ! and online and remote record for reference at any time.</p> <p>The meetings and action register system are all included into the daily updates system. In order for a webmaster to setup the update system they are required to create a crontab schedule which passes the updates.php script through the PHP Zend Engine. Crontab is only available on Unix ! systems. The Win32 equivelent would possibly be Microsoft Event Schedule. ! There are also 3rd party softwares which can be downloaded to perform events based on time.</p></td> </tr> --- 94,105 ---- to that task have privileges to add a note.</p> <p>The projects module also has a meeting organizer which users may add ! meetings or declare meeting as having been completed in the past. This feature is important because it provides ! an online and remote record for reference at any time.</p> <p>The meetings and action register system are all included into the daily updates system. In order for a webmaster to setup the update system they are required to create a crontab schedule which passes the updates.php script through the PHP Zend Engine. Crontab is only available on Unix ! systems. The closet Windows substitution is the Microsoft Event Scheduler. ! There is also 3rd party software which can be downloaded to perform events based on time.</p></td> </tr> *************** *** 109,113 **** <tr> <td><p>We are planning to expand this module by adding a crontab and MS Event ! Schedular install script. The module will also be modified with image/document uploading features to allow for better documentation and system tracking. We also plan to add a complete projects logger which tracks every little --- 109,113 ---- <tr> <td><p>We are planning to expand this module by adding a crontab and MS Event ! Scheduler install script. The module will also be modified with image/document uploading features to allow for better documentation and system tracking. We also plan to add a complete projects logger which tracks every little *************** *** 134,140 **** preferences.php - allows users to update their daily updates options for the action register.<br> ! updates.php - a scrip which should be used with Crontab/MS Schedular to send out daily updates by e-mail<br> ! viewmeeting.php - indepth information on a particular meeting<br> mytask.php - make a list of current tasks related to the particular user<br> today.php - make a list of all the changes commited for the particular day<br> --- 134,140 ---- preferences.php - allows users to update their daily updates options for the action register.<br> ! updates.php - a script which should be used with Crontab/MS Scheduler to send out daily updates by e-mail<br> ! viewmeeting.php - in-depth information on a particular meeting<br> mytask.php - make a list of current tasks related to the particular user<br> today.php - make a list of all the changes commited for the particular day<br> *************** *** 170,202 **** someone at the beginning, then you will not get a chance to add/remove him later (this feature will also be implemented in future releases).</p> ! <p>Only members assigned to the specific task and create notes. Any user within groups below what they are assigned can change/add information. ! The only place where a regular member can't add anything is making new ! groups.</p> ! <p>The project system has a future which allows you to view newly added content. When you are viewing a table of information, such as notes, you ! may notice that it turns to a different color. This color change represents ! that that particular bit of information was added in that particular day.</p> <p>Whenever you see a checkmark on a project/task you should know that it means that project/task is finished. Even though the project is finished ! you will still have the option of adding information within it. This was ! allowed to give extra notes after a project is completed. If you see a lock image beside the project/task it means that the project is pending for another project/task.</p> <p>Pending is an important feature. It does not allow any adding/editing ! to it if the project its related to is completed. The only way to unlock ! a pending project is to give its related project a 100% completion. If ! this completion amount is removed then the pend will then be activated once more.</p> <p>In order to find a list of what exact changes were made for the entire ! day you can use the Todays Changes feature. Your My Tasks feature lists all the information related to you specifically. Please note that the website administrator may have activated automatic action register mailing. In order for you to receive these updates you must activate your account preferences in the projects module. The update will be sent to your main ! accounts e-mail address.</p> </td> </tr> </table> <p><strong></strong></p> ! <?php include("$footer"); ?> \ No newline at end of file --- 170,200 ---- someone at the beginning, then you will not get a chance to add/remove him later (this feature will also be implemented in future releases).</p> ! <p>Only members assigned to the specific task can create notes. Any user within groups below what they are assigned can change/add information. ! The only functionality users do not have access to is creating new project groups.</p> ! <p>The project system has a feature which allows you to view newly added content. When you are viewing a table of information, such as notes, you ! may notice that it turns a different color. This color change represents ! that that particular bit of information was added today.</p> <p>Whenever you see a checkmark on a project/task you should know that it means that project/task is finished. Even though the project is finished ! you will still have the option of adding information within it. This allows users to give extra notes after a project is completed. If you see a lock image beside the project/task it means that the project is pending for another project/task.</p> <p>Pending is an important feature. It does not allow any adding/editing ! to it if the project it's related to is not completed. The only way to unlock ! a pending project is to give the related project the status of 100% completion. If ! the related project's completion amount is lowered then the pend will then be activated once more.</p> <p>In order to find a list of what exact changes were made for the entire ! day you can use the Today's Changes feature. Your My Tasks feature lists all the information related to you specifically. Please note that the website administrator may have activated automatic action register mailing. In order for you to receive these updates you must activate your account preferences in the projects module. The update will be sent to your main ! account's e-mail address (as set in the members module).</p> </td> </tr> </table> <p><strong></strong></p> ! <?php include("$footer"); ?> |
From: <xt...@us...> - 2003-10-12 22:41:41
|
Update of /cvsroot/openfirst/manual/openfirst.base In directory sc8-pr-cvs1:/tmp/cvs-serv12646/openfirst.base Modified Files: base.php Log Message: Make basic changes found by proof reading, including rewording, spelling, grammar, and minor technical inaccuracies. Index: base.php =================================================================== RCS file: /cvsroot/openfirst/manual/openfirst.base/base.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** base.php 29 Sep 2003 21:32:49 -0000 1.1 --- base.php 12 Oct 2003 22:40:49 -0000 1.2 *************** *** 100,106 **** function ofirst_error()<br> function ofirst_fetch_object()<br> ! function checkform();<br> ! function make_wysiwyg()<br> ! function multipartmail()</p> </td> </tr> --- 100,107 ---- function ofirst_error()<br> function ofirst_fetch_object()<br> ! function checkform() <b>*</b><br> ! function make_wysiwyg() <b>*</b><br> ! function multipartmail() <b>*</b><br> ! <small><b>*</b> This function is within the functions/ directory and may be removed by those wishing not to utilise it without harm to the rest of the openFIRST system.</small></p> </td> </tr> *************** *** 114,124 **** headers.php - encases the headers for the website<br> globals-default.php - a fallback script just in case globals.php is broken<br> ! install.php - used to setup modules .mysql setup files<br> modules.php - activates modules to use on site<br> globals.php - contains all the global declaration and include looping scripts<br> first.php - the very first file used to install the openfirst system<br> ! dbase.php - used to store the function for querying databses<br> version.php - checks the current version of the entire system and updates ! it<br> functions/wysiwyg.php - contains a function for previewing the wysiwyg system<br> functions/forms.php - contains a function for form checking<br> --- 115,125 ---- headers.php - encases the headers for the website<br> globals-default.php - a fallback script just in case globals.php is broken<br> ! install.php - sets up modules SQL tables and entries<br> modules.php - activates modules to use on site<br> globals.php - contains all the global declaration and include looping scripts<br> first.php - the very first file used to install the openfirst system<br> ! dbase.php - used to store the function for querying databases<br> version.php - checks the current version of the entire system and updates ! it if there are new versions available.<br> functions/wysiwyg.php - contains a function for previewing the wysiwyg system<br> functions/forms.php - contains a function for form checking<br> *************** *** 130,136 **** </tr> <tr> ! <td>openFIRST.members</td> </tr> </table> <p><strong></strong></p> ! <?php include("$footer"); ?> \ No newline at end of file --- 131,137 ---- </tr> <tr> ! <td>None</td> </tr> </table> <p><strong></strong></p> ! <?php include("$footer"); ?> |
From: <xt...@us...> - 2003-10-12 22:41:30
|
Update of /cvsroot/openfirst/manual/openfirst.feedback In directory sc8-pr-cvs1:/tmp/cvs-serv12646/openfirst.feedback Modified Files: feedback.php Log Message: Make basic changes found by proof reading, including rewording, spelling, grammar, and minor technical inaccuracies. Index: feedback.php =================================================================== RCS file: /cvsroot/openfirst/manual/openfirst.feedback/feedback.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** feedback.php 29 Sep 2003 21:34:27 -0000 1.1 --- feedback.php 12 Oct 2003 22:40:49 -0000 1.2 *************** *** 74,79 **** </tr> <tr> ! <td>We are planning to incorporate a much more advanced feedback system, which ! sends responses back by e-mail.</td> </tr> <tr> --- 74,78 ---- </tr> <tr> ! <td>We are planning to incorporate a much more advanced feedback system, which will send responses back via e-mail.</td> </tr> <tr> *************** *** 100,102 **** </table> <p><strong></strong></p> ! <?php include("$footer"); ?> \ No newline at end of file --- 99,101 ---- </table> <p><strong></strong></p> ! <?php include("$footer"); ?> |
From: <xt...@us...> - 2003-10-12 22:41:20
|
Update of /cvsroot/openfirst/manual/openfirst.guestbook In directory sc8-pr-cvs1:/tmp/cvs-serv12646/openfirst.guestbook Modified Files: guestbook.php Log Message: Make basic changes found by proof reading, including rewording, spelling, grammar, and minor technical inaccuracies. Index: guestbook.php =================================================================== RCS file: /cvsroot/openfirst/manual/openfirst.guestbook/guestbook.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** guestbook.php 29 Sep 2003 21:35:56 -0000 1.1 --- guestbook.php 12 Oct 2003 22:40:49 -0000 1.2 *************** *** 67,71 **** <tr> <td>This guestbook was designed to incorporate many feature that enhance the ! websites response from visitors. The guestbook organizes and displays peoples comments on a public page.</td> </tr> --- 67,71 ---- <tr> <td>This guestbook was designed to incorporate many feature that enhance the ! website's response from visitors. The guestbook organizes and displays people's comments on a public page.</td> </tr> *************** *** 92,96 **** signthanks.php - provides the user with a thank you page for signing the guestbook<br> ! emoticons.php - n/a<br> deleteentry.php - allows the deletion of an entry placed in the database</td> </tr> --- 92,96 ---- signthanks.php - provides the user with a thank you page for signing the guestbook<br> ! emoticons.php - displays a listing of emoticons if the emoticon module is present.<br> deleteentry.php - allows the deletion of an entry placed in the database</td> </tr> *************** *** 104,106 **** </table> <p><strong></strong></p> ! <?php include("$footer"); ?> \ No newline at end of file --- 104,106 ---- </table> <p><strong></strong></p> ! <?php include("$footer"); ?> |
From: <xt...@us...> - 2003-10-12 22:41:15
|
Update of /cvsroot/openfirst/manual/openfirst.members In directory sc8-pr-cvs1:/tmp/cvs-serv12646/openfirst.members Modified Files: members.php Log Message: Make basic changes found by proof reading, including rewording, spelling, grammar, and minor technical inaccuracies. Index: members.php =================================================================== RCS file: /cvsroot/openfirst/manual/openfirst.members/members.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** members.php 29 Sep 2003 21:38:20 -0000 1.1 --- members.php 12 Oct 2003 22:40:49 -0000 1.2 *************** *** 44,48 **** <tr> <td>The openFIRST.members module is the base system for all member related ! information. This module intergrates with many openFIRST modules. The module provides user permission tracking, individual user workspaces and website options, profile editing and viewing. It also allows for easy implemetation --- 44,48 ---- <tr> <td>The openFIRST.members module is the base system for all member related ! information. This module integrates with many openFIRST modules. The module provides user permission tracking, individual user workspaces and website options, profile editing and viewing. It also allows for easy implemetation *************** *** 75,80 **** <tr> <td>The member module is the base of many other modules. In order to run those ! other modules you will require to have this module properly setup and running ! on your server. The user workspace allows individial users to store files related to specific divisions, personal page files and group files.</td> </tr> --- 75,80 ---- <tr> <td>The member module is the base of many other modules. In order to run those ! other modules you will require this module properly setup and running ! on your server. The user workspace allows individual users to store files related to specific divisions, personal page files and group files.</td> </tr> *************** *** 83,87 **** </tr> <tr> ! <td>Updates are scheduled for the module with specific new requests.</td> </tr> <tr> --- 83,87 ---- </tr> <tr> ! <td>None.</td> </tr> <tr> *************** *** 116,118 **** </table> <p><strong></strong></p> ! <?php include("$footer"); ?> \ No newline at end of file --- 116,118 ---- </table> <p><strong></strong></p> ! <?php include("$footer"); ?> |
From: <xt...@us...> - 2003-10-12 22:40:56
|
Update of /cvsroot/openfirst/manual/openfirst.news In directory sc8-pr-cvs1:/tmp/cvs-serv12646/openfirst.news Modified Files: news.php Log Message: Make basic changes found by proof reading, including rewording, spelling, grammar, and minor technical inaccuracies. Index: news.php =================================================================== RCS file: /cvsroot/openfirst/manual/openfirst.news/news.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** news.php 29 Sep 2003 21:40:02 -0000 1.1 --- news.php 12 Oct 2003 22:40:49 -0000 1.2 *************** *** 67,73 **** </tr> <tr> ! <td>The news module asks the administrative to enter new news then inserts it into the databae. There are functions included in the module that allow ! the system to preview headlines. These functions may be used by webdevelopers in their own modules.</td> </tr> --- 67,73 ---- </tr> <tr> ! <td>The news module asks the administrator to enter news then inserts it into the databae. There are functions included in the module that allow ! the system to view headlines. These functions may be used by webdevelopers in their own modules.</td> </tr> *************** *** 78,83 **** <td>The news module has many new changes coming its way. In the coming future we plan to update it with image relations to the photogallery system, or ! photo uploads directly from the module, new headline viewing system, a headline ! include file that lists news on demand of a function.</td> </tr> <tr> --- 78,82 ---- <td>The news module has many new changes coming its way. In the coming future we plan to update it with image relations to the photogallery system, or ! photo uploads directly from the module and a new headline viewing system.</td> </tr> <tr> *************** *** 85,89 **** </tr> <tr> ! <td><p>function shownews()</p> </td> </tr> --- 84,88 ---- </tr> <tr> ! <td><p>function shownews() - Shows a specific number of news entries.</p> </td> </tr> *************** *** 95,99 **** admin/index.php - allows admins to edit/add/delete news headlines<br> rssfeed.php - allows users to find links to RSS feeds<br> ! /rss/rss.php - the actual RSS feed file which displays daily news.</td> </tr> <tr> --- 94,98 ---- admin/index.php - allows admins to edit/add/delete news headlines<br> rssfeed.php - allows users to find links to RSS feeds<br> ! rss/rss.php - the actual RSS feed file which displays daily news.</td> </tr> <tr> *************** *** 106,108 **** </table> <p><strong></strong></p> ! <?php include("$footer"); ?> \ No newline at end of file --- 105,107 ---- </table> <p><strong></strong></p> ! <?php include("$footer"); ?> |
From: <dav...@us...> - 2003-10-10 19:48:14
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv29593 Added Files: project-pend.png task-pend.png Log Message: Added new pend images for projects and tasks. --- NEW FILE: project-pend.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: task-pend.png --- (This appears to be a binary file; contents omitted.) |
From: <dav...@us...> - 2003-10-10 11:19:42
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv31890 Modified Files: projects.php tasks.php Log Message: Updated with new interface look and project tree. Index: projects.php =================================================================== RCS file: /cvsroot/openfirst/projects/projects.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** projects.php 1 Sep 2003 17:29:10 -0000 1.9 --- projects.php 10 Oct 2003 11:19:38 -0000 1.10 *************** *** 91,115 **** ?> <h2>Project Listings</h2> ! <table width="540"> ! <tr> ! <td width="0" height="0"> <div align="left"><em>Location:</em> <a href="groups.php"> ! <?php echo $group->GroupName; ?> Group</a> / <a href="projects.php?GroupID=<?php echo $_GET['GroupID']; ?>"><strong>Projects</strong></a></div></td> ! </tr> ! </table> ! <br> ! <table width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <th>Project Listings for <?php echo $group->GroupName; ?> Group</th> ! </tr> ! </table> ! <table width="100%"> <tr> ! <td class="sub" width="3%"> </td> ! <td class="sub" width="22%">Project Name</td> ! <td class="sub" width="9%">Completion</td> ! <td class="sub" width="35%">Description</td> ! <td class="sub" width="31%">Assigned</td> ! </tr> ! <?php // List current projects in database --- 91,116 ---- ?> <h2>Project Listings</h2> ! <table width="100%" align="center" cellpadding="0" cellspacing="0"> <tr> ! <td width="22%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <th> Navigation </th> ! <tr> ! <td><?php projecttree("projects",$_GET['GroupID']); ?></td> ! </table></td> ! <td width="78%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <th>Project Listings for <?php echo $group->GroupName; ?> Group</th> ! </tr> ! </table> ! <table width="100%"> ! <tr> ! <td class="sub" width="3%"> </td> ! <td class="sub" width="22%">Project Name</td> ! <td class="sub" width="15%">Completion</td> ! <td class="sub" width="41%">Description</td> ! <?php if($user->membertype == "administrator"){ ?><td class="sub" width="19%">Option</td><?php } ?> ! </tr> ! <?php // List current projects in database *************** *** 134,140 **** ?> ! <tr <?php if(date("F j, Y",time()) == date("F j, Y",$projects->Dates)){ echo "bgColor='#CCCCCC'"; } ?>> ! <td> ! <?php // If project completion is 100 then display completion graphic --- 135,141 ---- ?> ! <tr <?php if(date("F j, Y",time()) == date("F j, Y",$projects->Dates)){ echo "bgColor='#CCCCCC'"; } ?>> ! <td> ! <?php // If project completion is 100 then display completion graphic *************** *** 156,165 **** ?> ! </td> ! <td> ! <?php echo $projects->ProjectName; ?> ! </td> ! <td> ! <?php if(! $pend){ if($projects->Completion == "CLOSE"){ echo "CLOSED"; }else{ echo $projects->Completion."%"; } --- 157,164 ---- ?> ! </td> ! <td> <a href="tasks.php?GroupID=<?php echo $projects->GroupID; ?>&ProjectID=<?php echo $projects->ID; ?>"><?php echo $projects->ProjectName; ?></a></td> ! <td> ! <?php if(! $pend){ if($projects->Completion == "CLOSE"){ echo "CLOSED"; }else{ echo $projects->Completion."%"; } *************** *** 168,176 **** } ?> ! </td> ! <td><?php echo $projects->Description; ?></td> ! <td><?php echo str_replace(",", ", ",$projects->Assigned); ?></td> ! </tr> ! <? } --- 167,175 ---- } ?> ! </td> ! <td><?php echo $projects->Description; ?></td> ! <?php if($user->membertype == "administrator"){ ?><td><a href="edit.php">Edit</a> | <a href="delete.php">Delete</a> </td><?php } ?> ! </tr> ! <? } *************** *** 181,187 **** ?> </table> ! <br> ! <?php // Check if the current use is apart of this particular group then allow him to add/edit the project --- 180,187 ---- ?> + </table> </td> + </tr> </table> ! <p> <?php // Check if the current use is apart of this particular group then allow him to add/edit the project *************** *** 196,199 **** --- 196,200 ---- if($show){ ?> + </p> <form action='projects.php?GroupID=<?php echo $_GET['GroupID']; ?>' method='POST'> <table width="39%"> *************** *** 304,308 **** <font size="1">(To select more then one user hold down the control key and click the names you wish.)</font></font></p> ! </td> </tr> <tr> --- 305,309 ---- <font size="1">(To select more then one user hold down the control key and click the names you wish.)</font></font></p> ! </td> </tr> <tr> *************** *** 310,342 **** <td><input name="create" type="submit" id="create2" value="Create Project"> <input type="reset" name="Reset" value="Reset"> </td> - </tr> - <tr> - <th> </th> - <th>Remove Project</th> - </tr> - <tr> - <td><div align="right">Project Name:</div></td> - <td><select name="project" id="project"> - <?php - - // Display current member list from the assigned values - $query = ofirst_dbquery("SELECT * FROM ofirst_projects_projects WHERE GroupID = '".$_GET['GroupID']."'"); - while($projects = ofirst_dbfetch_object($query)){ - echo "<option value='".$projects->ID."'>".$projects->ProjectName."</option>"; - } - - ?> - </select></td> - </tr> - <tr> - <td><div align="right"> - <input name="confirm" type="checkbox" id="confirm" value="checkbox"> - </div></td> - <td>Click here to confirm the removal of this project. Without checking - the project will not be removed.</td> - </tr> - <tr> - <td> </td> - <td><input name="remove" type="submit" id="remove" value="Remove"></td> </tr> </table> --- 311,314 ---- Index: tasks.php =================================================================== RCS file: /cvsroot/openfirst/projects/tasks.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** tasks.php 1 Sep 2003 17:29:10 -0000 1.9 --- tasks.php 10 Oct 2003 11:19:38 -0000 1.10 *************** *** 110,135 **** ?> <h2>Tasks Listings</h2> ! <table width="540"> ! <tr> ! <td width="0" height="0"> <div align="left"><em>Location:</em> <a href="groups.php"><?php echo $group->GroupName; ?> ! Group</a> / <a href="projects.php?GroupID=<?php echo $_GET['GroupID']; ?>"><?php echo $project->ProjectName; ?> ! Project</a> / <strong><a href="tasks.php?GroupID=<?php echo $_GET['GroupID']; ?>&ProjectID=<?php echo $_GET['ProjectID']; ?>">Tasks</a></strong></div></td> ! </tr> ! </table> ! <br> ! <table width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <th>Task Listings for <?php echo $project->ProjectName; ?> Project</th> ! </tr> ! </table> ! <table width="100%"> <tr> ! <td class="sub" width="4%"> </td> ! <td class="sub" width="20%">Task Name</td> ! <td class="sub" width="13%">Target Date</td> ! <td class="sub" width="33%">Description</td> ! <td class="sub" width="30%">Assigned</td> ! </tr> ! <?php // Run through the current tasks in the database related to this project and group --- 110,136 ---- ?> <h2>Tasks Listings</h2> ! <table width="100%" align="center" cellpadding="0" cellspacing="0"> <tr> ! <td width="22%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <th> Navigation </th> ! <tr> ! <td><?php projecttree("tasks",$_GET['ProjectID']); ?></td> ! </table></td> ! <td width="78%" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <th>Task Listings for <?php echo $project->ProjectName; ?> Project</th> ! </tr> ! </table> ! <table width="100%"> ! <tr> ! <td class="sub" width="3%"> </td> ! <td class="sub" width="17%">Task Name</td> ! <td class="sub" width="10%">Completion</td> ! <td class="sub" width="16%">Target Date</td> ! <td class="sub" width="37%">Description</td> ! <?php if($user->membertype == "administrator"){ ?><td class="sub" width="17%">Option</td><?php } ?> ! </tr> ! <?php // Run through the current tasks in the database related to this project and group *************** *** 155,161 **** ?> ! <tr <?php if(date("F j, Y",time()) == date("F j, Y",$tasks->Dates)){ echo "bgColor='#CCCCCC'"; } ?>> ! <td> ! <?php // If the task comletion is 100% then display the completion graphic --- 156,162 ---- ?> ! <tr <?php if(date("F j, Y",time()) == date("F j, Y",$tasks->Dates)){ echo "bgColor='#CCCCCC'"; } ?>> ! <td> ! <?php // If the task comletion is 100% then display the completion graphic *************** *** 177,202 **** ?> ! </td> ! <td> ! <?php // Decide between pend, close and completion value to display ! echo $tasks->TaskName." ("; if(! $pend){ ! if($tasks->Completion == "CLOSE"){ echo "CLOSED"; }else{ echo $tasks->Completion."%"; } } else { echo "PEND ON: ".$pendtask->TaskName; } - echo ")"; ?> ! </td> ! <td><?php echo date("F j, Y",$tasks->TarDate); ?></td> ! <td><?php echo $tasks->Description; ?></td> ! <td><?php echo str_replace(",", ", ",$tasks->Assigned); ?></td> ! </tr> ! <? } --- 178,205 ---- ?> ! </td> ! <td> ! <?php // Decide between pend, close and completion value to display ! echo "<a href='notes.php?GroupID=".$_GET['GroupID']."&TaskID=".$tasks->ID."&ProjectID=".$_GET['ProjectID']."'>".$tasks->TaskName."</a>"; if(! $pend){ ! if($tasks->Completion == "CLOSE"){ echo "--<b>CLOSED</b>"; } } else { echo "PEND ON: ".$pendtask->TaskName; } ?> ! </td> ! <td>dsfg</td> ! <td><?php echo date("F j, Y",$tasks->TarDate); ?></td> ! <td><?php echo $tasks->Description; ?></td> ! <?php if($user->membertype == "administrator"){ ?> ! <td><a href="edit.php">Edit</a> | <a href="delete.php">Close</a> | ! <a href="open.php">Open</a> </td><?php } ?> ! </tr> ! <? } *************** *** 207,210 **** --- 210,215 ---- ?> + </table></td> + </tr> </table> <?php *************** *** 331,401 **** <td><input name="create" type="submit" id="create2" value="Create Task"> <input type="reset" name="Reset" value="Reset"> </td> - </tr> - <tr> - <th> </th> - <th>Remove Task</th> - </tr> - <tr> - <td><div align="right">Task Name:</div></td> - <td><select name="task" id="task"> - <?php - - // View a list of tasks - $query = ofirst_dbquery("SELECT * FROM ofirst_projects_tasks WHERE GroupID = '".$_GET['GroupID']."' AND ProjectID = '".$_GET['ProjectID']."'"); - while($tasks = ofirst_dbfetch_object($query)){ - echo "<option value='".$tasks->ID."'>".$tasks->TaskName."</option>"; - } - - ?> - </select></td> - </tr> - <tr> - <td><div align="right"> - <input name="confirm" type="checkbox" id="confirm" value="checkbox"> - </div></td> - <td>Click here to confirm the removal of this task. Without checking the - task will not be removed.</td> - </tr> - <tr> - <td> </td> - <td><input name="remove" type="submit" id="remove" value="Remove"></td> - </tr> - <tr> - <th> </th> - <th>Add Project Completion</th> - </tr> - <tr> - <td><div align="right">Completion:</div></td> - <td><select name="completion" id="completion"> - <option selected><?php echo $project->Completion; ?></option> - <option>----</option> - <option>CLOSE</option> - <option>0</option> - <option>5</option> - <option>10</option> - <option>15</option> - <option>20</option> - <option>25</option> - <option>30</option> - <option>35</option> - <option>40</option> - <option>45</option> - <option>50</option> - <option>55</option> - <option>60</option> - <option>65</option> - <option>70</option> - <option>75</option> - <option>80</option> - <option>85</option> - <option>90</option> - <option>95</option> - <option>100</option> - </select> - %</td> - </tr> - <tr> - <td> </td> - <td><input name="addcompletion" type="submit" id="create" value="Add Completion"></td> </tr> </table> --- 336,339 ---- |
From: <dav...@us...> - 2003-10-10 11:19:06
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv31805 Modified Files: projectsmodule.php Log Message: Error with ofirst_dbnum_rows fixed. Index: projectsmodule.php =================================================================== RCS file: /cvsroot/openfirst/projects/projectsmodule.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** projectsmodule.php 10 Oct 2003 01:35:16 -0000 1.1 --- projectsmodule.php 10 Oct 2003 11:19:02 -0000 1.2 *************** *** 52,56 **** // If you do not set the group value then nothing will show. So we must get // the value directly by querying the related project value. ! if(ofirstdb_num_rows($task_query) == 0){ $project_query = ofirst_dbquery("SELECT * FROM ofirst_projects_projects WHERE ID = ".$value); --- 52,56 ---- // If you do not set the group value then nothing will show. So we must get // the value directly by querying the related project value. ! if(ofirst_dbnum_rows($task_query) == 0){ $project_query = ofirst_dbquery("SELECT * FROM ofirst_projects_projects WHERE ID = ".$value); |
From: <dav...@us...> - 2003-10-10 01:38:51
|
Update of /cvsroot/openfirst/projects/setup In directory sc8-pr-cvs1:/tmp/cvs-serv2306/setup Modified Files: setup.mssql setup.mysql Log Message: Setup scripts now add projectsmodule.php include file to the setup. Index: setup.mssql =================================================================== RCS file: /cvsroot/openfirst/projects/setup/setup.mssql,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** setup.mssql 3 Oct 2003 02:15:46 -0000 1.2 --- setup.mssql 10 Oct 2003 01:38:47 -0000 1.3 *************** *** 4,8 **** CREATE TABLE `ofirst_projects_projects` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `ProjectName` tinytext, `GroupID` tinyint(3) default '0', `Completion` tinytext, `Description` text, `Assigned` text, `TarDate` text, `Dates` text, `Pend` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; CREATE TABLE `ofirst_projects_tasks` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `TaskName` text, `ProjectID` tinytext, `GroupID` tinytext, `DateAssigned` text, `TarDate` text, `Description` text, `Assigned` text, `Dates` text, `Completion` tinytext, `Pend` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! INSERT INTO ofirst_config SET includes='',modulename='projects',showonmenu='0',active='0',modulenavigation='<a href="$basepath/projects/groups.php">Action Register</a> | <a href="$basepath/projects/mytask.php">My Tasks</a> | <a href="$basepath/projects/preferences.php">Preferences</a> | <a href="$basepath/projects/meetings.php">Meetings</a> | <a href="$basepath/projects/today.php">Todays Changes</a>'; ALTER TABLE ofirst_members ADD COLUMN ProjectsUpdates tinytext ALTER TABLE ofirst_members ADD COLUMN ProjectsCommitSelect tinytext --- 4,8 ---- CREATE TABLE `ofirst_projects_projects` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `ProjectName` tinytext, `GroupID` tinyint(3) default '0', `Completion` tinytext, `Description` text, `Assigned` text, `TarDate` text, `Dates` text, `Pend` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; CREATE TABLE `ofirst_projects_tasks` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `TaskName` text, `ProjectID` tinytext, `GroupID` tinytext, `DateAssigned` text, `TarDate` text, `Description` text, `Assigned` text, `Dates` text, `Completion` tinytext, `Pend` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! INSERT INTO ofirst_config SET includes='',modulename='projects',showonmenu='0',active='0',modulenavigation='<a href="$basepath/projects/groups.php">Action Register</a> | <a href="$basepath/projects/mytask.php">My Tasks</a> | <a href="$basepath/projects/preferences.php">Preferences</a> | <a href="$basepath/projects/meetings.php">Meetings</a> | <a href="$basepath/projects/today.php">Todays Changes</a>',includes='projectsmodule.php'; ALTER TABLE ofirst_members ADD COLUMN ProjectsUpdates tinytext ALTER TABLE ofirst_members ADD COLUMN ProjectsCommitSelect tinytext Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/projects/setup/setup.mysql,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** setup.mysql 13 Sep 2003 15:38:24 -0000 1.4 --- setup.mysql 10 Oct 2003 01:38:47 -0000 1.5 *************** *** 4,8 **** CREATE TABLE `ofirst_projects_projects` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `ProjectName` tinytext, `GroupID` tinyint(3) default '0', `Completion` tinytext, `Description` text, `Assigned` text, `TarDate` text, `Dates` text, `Pend` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; CREATE TABLE `ofirst_projects_tasks` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `TaskName` text, `ProjectID` tinytext, `GroupID` tinytext, `DateAssigned` text, `TarDate` text, `Description` text, `Assigned` text, `Dates` text, `Completion` tinytext, `Pend` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! INSERT INTO ofirst_config SET includes='',modulename='projects',showonmenu='0',active='0',modulenavigation='<a href="$basepath/projects/groups.php">Action Register</a> | <a href="$basepath/projects/mytask.php">My Tasks</a> | <a href="$basepath/projects/preferences.php">Preferences</a> | <a href="$basepath/projects/meetings.php">Meetings</a> | <a href="$basepath/projects/today.php">Todays Changes</a>'; ALTER TABLE ofirst_members ADD COLUMN ProjectsUpdates tinytext ALTER TABLE ofirst_members ADD COLUMN ProjectsCommitSelect tinytext --- 4,8 ---- CREATE TABLE `ofirst_projects_projects` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `ProjectName` tinytext, `GroupID` tinyint(3) default '0', `Completion` tinytext, `Description` text, `Assigned` text, `TarDate` text, `Dates` text, `Pend` tinytext, PRIMARY KEY (`ID`)) TYPE=MyISAM; CREATE TABLE `ofirst_projects_tasks` ( `ID` tinyint(3) unsigned NOT NULL auto_increment, `TaskName` text, `ProjectID` tinytext, `GroupID` tinytext, `DateAssigned` text, `TarDate` text, `Description` text, `Assigned` text, `Dates` text, `Completion` tinytext, `Pend` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! INSERT INTO ofirst_config SET includes='',modulename='projects',showonmenu='0',active='0',modulenavigation='<a href="$basepath/projects/groups.php">Action Register</a> | <a href="$basepath/projects/mytask.php">My Tasks</a> | <a href="$basepath/projects/preferences.php">Preferences</a> | <a href="$basepath/projects/meetings.php">Meetings</a> | <a href="$basepath/projects/today.php">Todays Changes</a>',includes='projectsmodule.php'; ALTER TABLE ofirst_members ADD COLUMN ProjectsUpdates tinytext ALTER TABLE ofirst_members ADD COLUMN ProjectsCommitSelect tinytext |
From: <dav...@us...> - 2003-10-10 01:36:38
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv1967 Modified Files: groups.php index.php Log Message: Fixed command spacing problem with the index page of tasks. The groups script is the beginning of my attempt at making the module easier to use. Index: groups.php =================================================================== RCS file: /cvsroot/openfirst/projects/groups.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** groups.php 7 Sep 2003 13:13:26 -0000 1.10 --- groups.php 10 Oct 2003 01:36:34 -0000 1.11 *************** *** 100,126 **** ?> <h2>System Work Groups</h2> ! <table width="540"> ! <tr> ! <td width="0" height="0"> <div align="left"><em>Location:</em> <a href="groups.php"><strong>Groups</strong></a> ! / </div></td> ! </tr> ! </table> ! <br> ! <table width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <th> ! Groups Listings ! </th> ! </table> ! <table width="100%"> <tr> ! <td class="sub" width="5%"> </td> ! <td class="sub" width="20%">Group Name</td> ! <td class="sub" width="6%">Projects</td> ! <td class="sub" width="35%">Description</td> ! <td class="sub" width="9%">Moderators</td> ! <td class="sub" width="25%">Members</td> ! </tr> ! <?php // Query the current group values and loop through them --- 100,128 ---- ?> <h2>System Work Groups</h2> ! <p>These are workgroups that are currently setup with the ! action register system. Only administrators have<br> ! access to editing ! these groups. </p> ! <table width="100%" align="center" cellpadding="0" cellspacing="0"> <tr> ! <td width="22%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <th> Navigation </th> ! <tr> ! <td><?php projecttree("groups"); ?></td> ! </table></td> ! <td width="78%" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <th> Groups Listings </th> ! </table> ! <table width="100%"> ! <tr> ! <td class="sub" width="7%"> </td> ! <td class="sub" width="21%">Group Name</td> ! <td class="sub" width="10%">Projects</td> ! <td class="sub" width="44%">Description</td> ! <?php if($user->membertype == "administrator"){ ?><td class="sub" width="18%">Option</td><?php } ?> ! </tr> ! <?php // Query the current group values and loop through them *************** *** 129,147 **** ?> ! <tr <?php if(date("F j, Y",time()) == date("F j, Y",$groups->Dates)){ echo "bgColor='#CCCCCC'"; } ?>> ! <td> ! <div align="center"><a href="projects.php?GroupID=<?php echo $groups->ID; ?>"><img src="../members/icons/apps/kuser.png" width="32" height="32" border="0"></a></div></td> ! <td><?php echo $groups->GroupName; ?></td> ! <td> ! <?php $projquery = ofirst_dbquery("SELECT * FROM ofirst_projects_projects WHERE GroupID = '".$groups->ID."'"); echo ofirst_dbnum_rows($projquery); ?> ! </td> ! <td><?php echo $groups->Description; ?></td> ! <td><?php echo str_replace(",", ", ",$groups->Moderators); ?></td> ! <td><?php echo str_replace(",", ", ",$groups->Members); ?> </td> ! </tr> ! <?php } --- 131,150 ---- ?> ! <tr <?php if(date("F j, Y",time()) == date("F j, Y",$groups->Dates)){ echo "bgColor='#CCCCCC'"; } ?>> ! <td> ! <div align="center"><a href="projects.php?GroupID=<?php echo $groups->ID; ?>"><img src="../members/icons/apps/kuser.png" width="32" height="32" border="0"></a></div></td> ! <td><a href='projects.php?GroupID=<?php echo $groups->ID; ?>'><?php echo $groups->GroupName; ?></a></td> ! <td> ! <?php $projquery = ofirst_dbquery("SELECT * FROM ofirst_projects_projects WHERE GroupID = '".$groups->ID."'"); echo ofirst_dbnum_rows($projquery); ?> ! </td> ! <td><?php echo $groups->Description; ?></td> ! <?php if($user->membertype == "administrator"){ ?> ! <td><p align="center"><a href="admin/edit.php?ID=<?php echo $groups->ID; ?>">Edit</a> | <a href="admin/delete.php?ID=<?php echo $groups->ID; ?>">Delete</a></p> </td> ! <?php } ?> ! </tr> ! <?php } *************** *** 151,156 **** --- 154,162 ---- ?> + </table></td> + </tr> </table> <br> + <?php if($user->membertype == "administrator"){ ?> <form action='groups.php' method='POST'> <table width="39%"> *************** *** 196,229 **** <input type="reset" name="Reset" value="Reset"> </td> </tr> - <tr> - <th> </th> - <th>Remove Group</th> - </tr> - <tr> - <td><div align="right">Group Name:</div></td> - <td><select name="group" size="1" id="group"> - <?php - - $query = ofirst_dbquery("SELECT * FROM ofirst_projects_groups ORDER BY GroupName;"); - - while($groups = ofirst_dbfetch_object($query)){ - echo "<option value='".$groups->ID."'>".$groups->GroupName."</option>"; - } - - ?> - </select></td> - </tr> - <tr> - <td><div align="right"> - <input name="confirm" type="checkbox" id="confirm" value="checkbox"> - </div></td> - <td>Click here to confirm the removal of this group. Without checking the - group will not be removed.</td> - </tr> - <tr> - <td> </td> - <td><input name="remove" type="submit" id="remove" value="Remove"></td> - </tr> </table> </form> ! <?php } include($footer); ?> --- 202,206 ---- <input type="reset" name="Reset" value="Reset"> </td> </tr> </table> </form> ! <?php } } include($footer); ?> Index: index.php =================================================================== RCS file: /cvsroot/openfirst/projects/index.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** index.php 29 Sep 2003 23:44:30 -0000 1.12 --- index.php 10 Oct 2003 01:36:34 -0000 1.13 *************** *** 118,122 **** ?> </td> ! <td><?php echo $tasks->Assigned; ?></td> </tr> <? --- 118,122 ---- ?> </td> ! <td><?php echo str_replace(",", ", ",$tasks->Assigned); ?></td> </tr> <? *************** *** 130,135 **** <tr> <td width="4%"> </th> ! <td width="20%"> ! <td width="13%"> <td width="30%">[ <a href="mytask.php">Detailed Related Tasks</a> ]</tr> </table> --- 130,135 ---- <tr> <td width="4%"> </th> ! <td width="20%"> ! <td width="13%"> <td width="30%">[ <a href="mytask.php">Detailed Related Tasks</a> ]</tr> </table> |
From: <dav...@us...> - 2003-10-10 01:35:19
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv1814 Added Files: projectsmodule.php Log Message: New include for module that caries the project tree function, a new feature which I programmed to help users navigate around the action register. --- NEW FILE: projectsmodule.php --- <?php /* * openFIRST.projects - projectsmodule.php * * Copyright (C) 2003, * openFIRST Project * Original Author: David Di Biase <dav...@ea...> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ // Tree preview function for projects module function projecttree($option,$value = ""){ // Prepare tree data so the script may loop through and find info switch($option){ // Case if user wants to view group tree case "groups": $groups = ""; $projects = ""; $tasks = ""; break; // Case if user wants to view projects in a group case "projects": $groups = $value; $projects = $value; $tasks = ""; break; // Case if user wants to view tasks in a project case "tasks": $task_query = ofirst_dbquery("SELECT * FROM ofirst_projects_tasks WHERE ProjectID = ".$value); $task = ofirst_dbfetch_object($task_query); // If you do not set the group value then nothing will show. So we must get // the value directly by querying the related project value. if(ofirstdb_num_rows($task_query) == 0){ $project_query = ofirst_dbquery("SELECT * FROM ofirst_projects_projects WHERE ID = ".$value); $project = ofirst_dbfetch_object($project_query); $groups = $project->GroupID; }else{ $groups = $task->GroupID; } $projects = $value; $tasks = $value; break; } // Begin to loop through tree information, beginning with groups list first $group_query = ofirst_dbquery("SELECT * FROM ofirst_projects_groups"); while($group = ofirst_dbfetch_object($group_query)){ // Show image and name for this group echo '<img height="20" width="18" src="../members/icons/apps/kuser.png"> <a href="projects.php?GroupID='.$group->ID.'">'.$group->GroupName.'</a><br>'; // Preview current projects if($projects != "" && $group->ID == $groups){ // Gather list of projects which relate to the selected group and loop through $project_query = ofirst_dbquery("SELECT * FROM ofirst_projects_projects WHERE GroupID = ".$groups); while($project = ofirst_dbfetch_object($project_query)){ // Preview image and name of project echo ' <img src="../members/icons/actions/project_open.png" width="18" height="20" border="0"> <a href="tasks.php?GroupID='.$groups.'&ProjectID='.$project->ID.'">'.$project->ProjectName.'</a><br>'; // Preview current tasks if($tasks != "" && $project->ID == $projects){ // Gather a list of tasks which relate to the selected project and loop through $task_query = ofirst_dbquery("SELECT * FROM ofirst_projects_tasks WHERE GroupID = $groups AND ProjectID = $projects"); while($task = ofirst_dbfetch_object($task_query)){ // Preview and image and name of task echo ' <img src="../members/icons/filesystems/desktop.png" width="18" height="20" border="0"> '.$task->TaskName.'<br>'; } } } } } } ?> |
From: <dav...@us...> - 2003-10-10 01:33:45
|
Update of /cvsroot/openfirst/projects/admin In directory sc8-pr-cvs1:/tmp/cvs-serv1520/admin Log Message: Directory /cvsroot/openfirst/projects/admin added to the repository |
From: <xt...@us...> - 2003-10-08 22:46:24
|
Update of /cvsroot/openfirst/members/setup In directory sc8-pr-cvs1:/tmp/cvs-serv15293 Modified Files: setup.mssql setup.mysql Log Message: Update setup scripts to prevent cell phone carriers from being listed multiple times. Bug reported by Stephanie Closs. Index: setup.mssql =================================================================== RCS file: /cvsroot/openfirst/members/setup/setup.mssql,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** setup.mssql 5 Oct 2003 15:25:37 -0000 1.4 --- setup.mssql 8 Oct 2003 22:46:20 -0000 1.5 *************** *** 2,5 **** --- 2,6 ---- UPDATE ofirst_config SET modulenavigation='<a href="$basepath/members/workspace.php">My Workspace</a> | <a href="$basepath/members/phpicalendar/month.php">Team Calendar</a> | <a href="$basepath/members/divisions.php">Team Divisions</a> | <a href="$basepath/members/profile.php">Member List</a> | <a href="$basepath/members/links.php">Site Links</a> | <a href="$basepath/members/skills.php">My Skills</a> | <a href="$basepath/members/updateprofile.php">My Profile</a> | <a href="$basepath/members/logout.php">Logout</a>',adminnavigation='<a href="$basepath/members/adduser.php">Add Users</a> | <a href="$basepath/members/phpicalendar/admin.php">Administrate Calendar</a> | <a href="$basepath/config/">Site Configuration</a>' where modulename='members'; ALTER TABLE ofirst_members ADD (cellphonenumber TEXT, cellphonecarrier TEXT, cellphonesms BOOL, hiddenfields TEXT); + DROP TABLE IF EXISTS ofirst_cellphonecarriers; CREATE TABLE ofirst_cellphonecarriers (smsaddress TEXT, fullname TEXT); INSERT INTO ofirst_cellphonecarriers (smsaddress, fullname) VALUES ('mobile.celloneusa.com', 'CellularOne (Dobson)'); Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/members/setup/setup.mysql,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** setup.mysql 5 Oct 2003 15:25:37 -0000 1.13 --- setup.mysql 8 Oct 2003 22:46:20 -0000 1.14 *************** *** 2,5 **** --- 2,6 ---- UPDATE ofirst_config SET modulenavigation='<a href="$basepath/members/workspace.php">My Workspace</a> | <a href="$basepath/members/phpicalendar/month.php">Team Calendar</a> | <a href="$basepath/members/divisions.php">Team Divisions</a> | <a href="$basepath/members/profile.php">Member List</a> | <a href="$basepath/members/links.php">Site Links</a> | <a href="$basepath/members/skills.php">My Skills</a> | <a href="$basepath/members/updateprofile.php">My Profile</a> | <a href="$basepath/members/logout.php">Logout</a>',adminnavigation='<a href="$basepath/members/adduser.php">Add Users</a> | <a href="$basepath/members/phpicalendar/admin.php">Administrate Calendar</a> | <a href="$basepath/config/">Site Configuration</a>' where modulename='members'; ALTER TABLE ofirst_members ADD (cellphonenumber TEXT, cellphonecarrier TEXT, cellphonesms BOOL, hiddenfields TEXT); + DROP TABLE IF EXISTS ofirst_cellphonecarriers; CREATE TABLE ofirst_cellphonecarriers (smsaddress TEXT, fullname TEXT); INSERT INTO ofirst_cellphonecarriers (smsaddress, fullname) VALUES ('mobile.celloneusa.com', 'CellularOne (Dobson)'); |
From: <i-...@us...> - 2003-10-07 20:45:52
|
Update of /cvsroot/openfirst/downloads/files In directory sc8-pr-cvs1:/tmp/cvs-serv5084/downloads/files Added Files: readme.txt Log Message: Readme file for upload folder. --- NEW FILE: readme.txt --- openFIRST Download Manager =================================== IT IS SAFE TO DELETE THIS FILE =================================== This directory is the default location for uploaded files. To change it, edit admin/upload.php: Line 34: $uploaddir=$fbasepath."/downloads/files/"; This is the absolute path to the folder for uploaded files. Line 35: $serverdir="files/"; This path is relative to getfile.php, and will be written to the database on upload. The script must have write permissions for the upload directory. It is also a good idea to disallow execution of scripts in the directory. =================================== IT IS SAFE TO DELETE THIS FILE =================================== |
From: <xt...@us...> - 2003-10-07 20:34:05
|
Update of /cvsroot/openfirst/members In directory sc8-pr-cvs1:/tmp/cvs-serv2612 Modified Files: profile.php Log Message: Fix slight glitches in display of member profile information. Index: profile.php =================================================================== RCS file: /cvsroot/openfirst/members/profile.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** profile.php 28 Sep 2003 14:05:42 -0000 1.15 --- profile.php 7 Oct 2003 20:34:01 -0000 1.16 *************** *** 140,145 **** echo("</td><td><h2>$q->user</h2> <sub>Real Name: $q->firstname $q->lastname ! <br />Member since: ".date("F j, Y",$q->dateregistered)." ! <br />Last seen logged in: ".date("F j, Y",$q->lastseen)."</sub> <p> Division: <a href='divisions.php?division=$q->division'>$q->division</a> --- 140,145 ---- echo("</td><td><h2>$q->user</h2> <sub>Real Name: $q->firstname $q->lastname ! <br />Member since: $q->dateregistered ! <br />Last seen logged in: $q->lastseen</sub> <p> Division: <a href='divisions.php?division=$q->division'>$q->division</a> *************** *** 183,187 **** <p>"); ! if(isset($skill)){ $skill = explode(",", $q->skills); echo "<table width='300'>"; --- 183,187 ---- <p>"); ! if(isset($q->skills)){ $skill = explode(",", $q->skills); echo "<table width='300'>"; |
From: <dav...@us...> - 2003-10-07 11:31:29
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv8656 Modified Files: updatesetup.php Log Message: Expanded the note at the bottom for giving user more info. Index: updatesetup.php =================================================================== RCS file: /cvsroot/openfirst/projects/updatesetup.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** updatesetup.php 4 Oct 2003 00:14:24 -0000 1.2 --- updatesetup.php 7 Oct 2003 11:31:23 -0000 1.3 *************** *** 103,106 **** --- 103,115 ---- </form> <p align="left"><font size="2"><strong>Note:</strong> This update installer + works by using the Microsoft Task Schedule Service. It automatically + creates and performs the (at) command in cmd. .To view, edit, or + remove this task you can use the schtasks command in cmd. To make sure + this task will work you<br> + must make sure the schedule service is on. <strong>You must also ensure + that the updatesetup.php script is set set as a user who has complete + access to cmd</strong>, if this does not work then trying setting php.exe + with a user. Read more about this in the Microsoft Help + and Support option on your operating system or on the Windows website.</font> <br> works by using the Microsoft Task Schedule Service. It combines the information you provide above and automatically creates and performs |
From: <dav...@us...> - 2003-10-07 11:30:38
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv8522 Added Files: updatelog.txt Log Message: initial upload --- NEW FILE: updatelog.txt --- ------------------------------------------------------------------------ Daily Project Updates Log ------------------------------------------------------------------------ |
From: <i-...@us...> - 2003-10-07 01:33:28
|
Update of /cvsroot/openfirst/downloads/admin In directory sc8-pr-cvs1:/tmp/cvs-serv27295/admin Added Files: editinfo.php index.php killfile.php upload.php Log Message: Download manager. Initial upload. Needs mssql setup script. --- NEW FILE: editinfo.php --- <?php /* * openFIRST.downloads - admin/editinfo.php * * Copyright (C) 2003, * openFIRST Project * Original Author: Greg Inozemtsev <gr...@si...> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include($header); echo("<h1>Edit File Information</h1>"); if(isset($user->membertype)){ if($user->membertype == "administrator") { $fileid=0; if(isset($_GET["id"])){ $fileid=$_GET["id"]; } if(! isset($_POST["desc"])) { // Display a form for news. $query = ofirst_dbquery("SELECT * FROM ofirst_downloads ORDER BY ID DESC"); $title=""; $found=false; if (ofirst_dbnum_rows($query) != 0){ while($file = ofirst_dbfetch_object($query)){ if($file->ID==$fileid){ $found=true; break; } } } if($found){ ?> <form method="post" action="<?php echo($_SERVER["PHP_SELF"]); ?>"> <p><br /> <br /> </p> <table width="618" align="center"> <tr> <th> </th> <th>Edit File Info</th> </tr> <tr> <td><div align="right">Title:</div></td> <td><input name="title" type="text" value="<?php {echo($file->Title);} ?>" style="width: 250px;"></td> </tr> <tr> <td width="156"><div align="right">Category:</div></td> <td width="332"> <select name="category"><option value="">(none)</option> <?php $query = ofirst_dbquery("SELECT * FROM ofirst_downloadcat ORDER BY Category"); if(ofirst_dbnum_rows($query)!=0){ while($cat = ofirst_dbfetch_object($query)){ echo("<option"); if($cat->Category==$file->Category){ echo " selected"; } echo(">".$cat->Category.'</option>'); } } ?> </td> </tr> <tr> <td valign="top"> <div align="right">Description</div></td> <td> <textarea name="desc" cols="50" rows="8"><?php echo($file->Description); ?></textarea> </td> </tr> <tr> <td> </td> <td> <input name="ok" type="submit" id="ok" value="Save Changes" /> <input name="reset" type="reset" /> <input name="ID" id="ID" type="hidden" value="<?php echo($file->ID); ?>"/> </td> </tr> </table> <p> </p> </form> <?php } else { echo('<div>This file does not exist.</div>'); } } else { $query=ofirst_dbquery("UPDATE ofirst_downloads SET Title='".$_POST["title"]."', Description='".$_POST["desc"]."', Category='".$_POST["category"]."' WHERE ID='".$_POST["ID"]."';"); echo("The information for file "" . $_POST["title"] . "" has been modified. [ <a href='../index.php'>Main</a> ]"); } } } else { echo("You must be logged on as an administrative user to edit file details."); } include($footer); ?> --- NEW FILE: index.php --- <?php /* * openFIRST.downloads - admin/index.php * * Copyright (C) 2003, * openFIRST Project * Original Author: Greg Inozemtsev <gr...@si...> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include($header); echo("<h1>Category Editor</h1>"); if(isset($user->membertype)){ if($user->membertype == "administrator") { if(!(isset($_POST["cat"])||isset($_POST["newcat"]))) { $query = ofirst_dbquery("SELECT * FROM ofirst_downloadcat ORDER BY Category"); if(ofirst_dbnum_rows($query)!=0){ echo("<table width=300><tr><th>Delete Category</th></tr>"); echo('<tr><td align=center><form method="post" action="index.php"><select style="width:250px" name=cat size=4>'); while($cat = ofirst_dbfetch_object($query)){ echo("<option>".$cat->Category.'</option>'); } echo("</select><br><input type=submit value=Delete></form></td></tr></table><br><br>"); } ?> <form method=post action=index.php><table width=300> <tr><th colspan=2>New Category</th></tr> <tr><td><div align=right>Title:</div></td> <td><input name=newcat></tr> <tr><td><div align=right>Icon:</div></td> <td><select name=newicon> <option value=members/icons/filesystems/folder.png>Standard Sub Directory</option> <option value=members/icons/filesystems/folder_green.png>Green Sub Directory</option> <option value=members/icons/filesystems/folder_red.png>Red Sub Directory</option> <option value=members/icons/filesystems/folder_orange.png>Orange Sub Directory</option> <option value=members/icons/filesystems/folder_yellow.png>Yellow Sub Directory</option> <option value=members/icons/filesystems/folder_grey.png>Grey Sub Directory</option> <option value=members/icons/filesystems/folder_violet.png>Violet Sub Directory</option> <option value=members/icons/filesystems/trashcan_full.png>Junk Sub Directory</option> <option value=members/icons/filesystems/favorites.png>Favorites Sub Directory</option> <option value=members/icons/filesystems/folder_cool.png>Smiley Sub Directory</option> <option value=members/icons/filesystems/folder_penguin.png>Penguin-ified Sub Directory</option> <option value=members/icons/filesystems/folder_cd.png>CD-ROM Sub Directory</option> <option value=members/icons/filesystems/folder_home.png>Home Sub Directory</option> <option value=members/icons/filesystems/folder_html.png>Web Sub Directory</option> <option value=members/icons/filesystems/folder_image.png>Image Sub Directory</option> <option value=members/icons/filesystems/folder_important.png>Important Sub Directory</option> <option value=members/icons/filesystems/folder_man.png>Documentation Sub Directory</option> <option value=members/icons/filesystems/folder_midi.png>Midi Sub Directory</option> <option value=members/icons/filesystems/folder_sound.png>Audio Sub Directory</option> <option value=members/icons/filesystems/folder_tar.png>Archive Sub Directory</option> <option value=members/icons/filesystems/folder_video.png>Video Sub Directory</option> <option value=members/icons/filesystems/network_local.png>Network Sub Directory</option> <option value=members/icons/filesystems/folder_txt.png>Text Documents Directory</option> <option value=members/icons/filesystems/folder_wordprocessing.png>Word Processing Directory</option> </select><br>(or) <input name=customicon></td></tr> <tr><td><div align=right>Description:</div></td> <td><input name=newdesc></tr> <tr><td colspan=2 align=center><input type=submit value=Create></td></tr> </td></tr></table></form> <?php } else { // Action $nodelete=false; if(isset($_POST["cat"])){ if(!isset($_POST["conflictaction"])){ $query=ofirst_dbquery("SELECT ID FROM ofirst_downloads WHERE Category='".$_POST["cat"]."';"); if(ofirst_dbnum_rows($query)!=0){ //there are still files $nodelete=true; ?> <table width=500><tr><th>Conflict</th></tr><tr><td align=left><form method=post action=index.php><input name=cat type=hidden value="<?php echo($_POST["cat"]); ?>"> <div>There are still files left in the category you are deleting. What would you like to do?</div><br> <input type=radio checked value=delete name=conflictaction>Delete Files</input><br> <input type=radio value=move name=conflictaction>Move Files to</input> <select name=movecat> <option value="">(none)</option> <?php $q = ofirst_dbquery("SELECT * FROM ofirst_downloadcat ORDER BY Category"); if(ofirst_dbnum_rows($q)!=0){ while($cat = ofirst_dbfetch_object($q)){ if($_POST["cat"]!=$cat->Category){ echo("<option>".$cat->Category.'</option>'); } } } ?></select><br> <input type=radio value=leave name=conflictaction>Leave as is (not recommended)<br>Note: If this option is selected, the files will not be accessible unless a category with the same name is created.</input><br><input type=submit value=OK> </form></td></tr></table> <?php } } else { switch($_POST["conflictaction"]){ case "delete": { ofirst_dbquery("DELETE FROM ofirst_downloads WHERE Category='".$_POST["cat"]."';"); break; } case "move": { ofirst_dbquery("UPDATE ofirst_downloads SET Category='".$_POST["movecat"]."' WHERE Category='".$_POST["cat"]."';"); break; } default: { break; } } } if(!$nodelete){ ofirst_dbquery("DELETE FROM ofirst_downloadcat WHERE Category='".$_POST["cat"]."';"); echo("Category " . $_POST["cat"] . " has been deleted. [ <a href='../index.php'>Main</a> ]"); } } else { if(isset($_POST["newcat"])){ if($_POST["customicon"]!=""){ $icon=$_POST["customicon"]; } else { $icon=$_POST["newicon"]; } ofirst_dbquery("INSERT INTO ofirst_downloadcat (Category, Description, Icon) VALUES ('" . $_POST["newcat"] . "', '" . $_POST["newdesc"] . "', '" .$icon. "');"); echo("Category " . $_POST["newcat"] . " has been created. [ <a href='../index.php'>Main</a> ]"); } } } } } else { echo("You must be logged on as an administrative user to edit categories."); } include($footer); ?> --- NEW FILE: killfile.php --- <?php /* * openFIRST.downloads - admin/killfile.php * * Copyright (C) 2003, * openFIRST Project * Original Author: Greg Inozemtsev <gr...@si...> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include($header); ?> <br> <table width="618" align="center"> <tr> <th>Delete File</th> </tr> <tr> <td align="center"> <?php $admin=false; if (isset($user->membertype)){ $admin=($user->membertype == "administrator"); } if($admin) { if(!isset($_POST["ID"])) { $query = ofirst_dbquery("SELECT ID,Title FROM ofirst_downloads ORDER BY ID DESC"); $filename=""; $found=false; if (ofirst_dbnum_rows($query) != 0){ while($file = ofirst_dbfetch_object($query)){ if($file->ID==$_GET["id"]){ $found=true; $filename=$file->Title; break; } } } ?> <?php if($found){ echo('<form action="'.$_SERVER["PHP_SELF"].'" method="POST">'); echo('<input name="ID" type="hidden" value="'.$_GET["id"].'">'); echo('<div>Delete '.$filename.'?</div><br>'); echo('<input type="submit" value="Confirm"></form>'); } else { echo('<div>This file does not exist.</div>'); } } else { // Delete by ID. $query = ofirst_dbquery("SELECT FileData FROM ofirst_downloads WHERE ID='".$_POST["ID"]."'"); $file = ofirst_dbfetch_object($query); if(ereg("location:*",$file->FileData)){ //erase from filesystem if(!unlink("../".substr($file->FileData,9))){ echo('<div style="color:red">Warning: could not erase the file from the filesystem. The file will be removed from File Manager.</div>'); } } ofirst_dbquery("DELETE FROM ofirst_downloads WHERE ID=".$_POST["ID"].";"); echo("<div>The file has been deleted.</div><div>[<a href='../index.php'>Return to File Manager</a>]</div>"); } } else { echo("You must be logged on as an administrative user to delete files."); } echo("</td></tr></table>"); include($footer); ?> --- NEW FILE: upload.php --- <?php /* * openFIRST.downloads- admin/upload.php * * Copyright (C) 2003, * openFIRST Project * Original Author: Greg Inozemtsev <gr...@si...> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ // Import globals and estbalish database connection include("../../config/globals.php"); include($header); //directory to upload to $uploaddir=$fbasepath."/downloads/files/"; $serverdir="files/"; // Check if user is an admin then allow processes if(! isset($user->user) || $user->membertype != "administrator"){ showlogin(); die(include($footer)); } echo("<h1>File Upload</h1>"); // Check if user initiates upload process and run upload process if(isset($_POST['Title'])){ $extension=substr(strrchr($_FILES['newfile']['name'],"."),1); $now = date("Y-m-d"); if(!isset($_POST['db'])){ $uploadfile = $uploaddir.$_FILES['newfile']['name']; if (move_uploaded_file($_FILES['newfile']['tmp_name'], $uploadfile)) { echo('<div style="color:green">'.$_FILES['newfile']['name'].' was successfully uploaded to filesystem</div>'); ofirst_dbquery("INSERT INTO ofirst_downloads (Category, Title, Description, mime, ext, DateAdded, FileData) VALUES ('".$_POST["Category"]."', '".$_POST["Title"]."', '".$_POST["Description"]."', '".$_FILES['newfile']['type']."', '".$extension."', '$now', 'location:".$serverdir.$_FILES['newfile']['name']."');"); } else { echo('<div style="color:red">Could not upload '.$_FILES['newfile']['name'].'</div>'); } } else { if($bindata=file_get_contents($_FILES['newfile']['tmp_name'])){ $bindata=base64_encode($bindata); echo('<div style="color:green">'.$_FILES['newfile']['name'].' was successfully uploaded to database</div>'); ofirst_dbquery("INSERT INTO ofirst_downloads (Category, Title, Description, mime, ext, DateAdded, FileData) VALUES ('".$_POST["Category"]."', '".$_POST["Title"]."', '".$_POST["Description"]."', '".$_FILES['newfile']['type']."', '".$extension."', '$now', '".$bindata."');"); } else { echo('<div style="color:red">Could not upload '.$_FILES['newfile']['name'].'</div>'); } } } echo('<br><br><div><a href="../index.php">[Return to File Manager]</a></div>'); include($footer); ?> |
From: <i-...@us...> - 2003-10-07 01:33:28
|
Update of /cvsroot/openfirst/downloads In directory sc8-pr-cvs1:/tmp/cvs-serv27295 Added Files: getfile.php index.php notfound.php Log Message: Download manager. Initial upload. Needs mssql setup script. --- NEW FILE: getfile.php --- <?php /* * openFIRST.downloads - getfile.php * * Copyright (C) 2003, * openFIRST Project * Original Author: Greg Inozemtsev <gr...@si...> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../config/globals.php"); if(isset($_GET["id"])){ $id=$_GET["id"]; } else{ header("Location: notfound.php"); } $query=ofirst_dbquery("SELECT FileData,mime,hits FROM ofirst_downloads WHERE ID='".$id."';"); if (ofirst_dbnum_rows($query)==0){ header("Location: notfound.php"); } else { $file = ofirst_dbfetch_object($query); ofirst_dbquery("UPDATE ofirst_downloads SET hits=".($file->hits+1)." WHERE ID='".$id."';"); if(ereg("location:*",$file->FileData)){ header("Location: ".substr($file->FileData,9)); } else{ header("Content-type: ".$file->mime); echo(base64_decode($file->FileData)); } } ?> --- NEW FILE: index.php --- <?php /* * openFIRST.downloads - index.php * * Copyright (C) 2003, * openFIRST Project * Original Author: Greg Inozemtsev <gr...@si...> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../config/globals.php"); include($header); //whether to show images $images=true; //columns per page define("cols",3); //rows per page define("rows",1); $admin=false; if (isset($user->membertype)){ $admin=($user->membertype == "administrator"); } $category=""; if(isset($_GET["cat"])){ $category=$_GET["cat"]; } $page=1; if(isset($_GET["page"])){ if($_GET["page"]>0){ $page=$_GET["page"]; } } if($category==""){ //main page $cattitle="Featured Downloads"; echo("<h1>Downloads Home</h1>"); echo("<div>Welcome to $title download area.</div>"); $query = ofirst_dbquery("SELECT * FROM ofirst_downloadcat ORDER BY Category"); if(ofirst_dbnum_rows($query)!=0){ echo("<div>Please select a category from the list below.<br><br></div>"); echo("<table width=400><tr><th>Categories</th></tr>"); echo('<tr><td><a href="'.$_SERVER["PHP_SELF"].'">'); if($images){ echo('<img border=0 align=absmiddle src="'.$basepath.'/members/icons/filesystems/folder_home.png"> '); } echo('Featured Downloads</a></td></tr>'); while($cat = ofirst_dbfetch_object($query)){ echo('<tr><td><a href="'.$_SERVER["PHP_SELF"].'?cat='.$cat->ID.'">'); if(($images)&&($cat->Icon!="")){ echo('<img border=0 align=absmiddle src="'.$basepath."/".$cat->Icon.'"> '); } else { echo("> "); } echo($cat->Category.'</a></td></tr>'); } echo("</table>"); } } else { $query = ofirst_dbquery("SELECT * FROM ofirst_downloadcat WHERE ID='".$category."'"); if(ofirst_dbnum_rows($query)==0){ echo("<div>The specified category does not exist</div>"); } else{ $cat = ofirst_dbfetch_object($query); echo("<h1>$cat->Category</h1>"); echo("<div>$cat->Description<br><br></div>"); $category=$cat->Category; $cattitle="Category: ".$category; } } $query = ofirst_dbquery("SELECT * FROM ofirst_downloads WHERE Category='".$category."' ORDER BY Title"); $numfiles=ofirst_dbnum_rows($query); if ($numfiles!=0){ echo("<br><br><table><tr><th colspan=".cols.">$cattitle</th></tr><tr><td colspan=".cols.">"); $file = ofirst_dbfetch_object($query); //skip records for($j=1;$j<=cols*rows*($page-1);$j++){ if(!ofirst_dbfetch_object($query)){ break; } } for($j=1;$j<=rows;$j++){ if(!($file==null)){ echo("<tr>"); for($i=1;$i<=cols;$i++){ echo("<td><table height=300 width=250>"); echo('<tr><th colspan=2>'.$file->Title.'</th></tr>'); echo('<tr><td><b>Title</b></td><td>'.$file->Title.'</td></tr>'); echo('<tr><td><b>Description</b></td><td>'.$file->Description.'</td></tr>'); //extension echo('<tr><td><b>Type</b></td><td>'); if($file->ext==""){ $file->ext="unknown"; } $queryext = ofirst_dbquery("SELECT * FROM ofirst_workspace_filetypes WHERE extension='".$file->ext."'"); if(ofirst_dbnum_rows($queryext)==0){ $queryext = ofirst_dbquery("SELECT * FROM ofirst_workspace_filetypes WHERE extension='unknown'");; } $type = ofirst_dbfetch_object($queryext); echo('<img align=absmiddle src="'.$basepath."/members/".$type->image.'"> '); echo($type->description." (".$file->ext.') </td></tr>'); echo('<tr><td><b>Date</b></td><td>'.$file->DateAdded.'</td></tr>'); echo('<tr><td><b>Downloaded</b></td><td>'.$file->hits.' times</td></tr>'); echo('<tr><th colspan=2 align=center><a href="getfile.php?id='.$file->ID.'">Download</a></th></tr>'); if($admin){ echo('<tr><td colspan=2 align=center><a href="admin/killfile.php?id='.$file->ID.'">Delete</a> | <a href="admin/editinfo.php?id='.$file->ID.'">Edit Details</a></td></tr>'); } echo("</table> </td>"); if(!($file = ofirst_dbfetch_object($query))){ if($i<cols){ echo("<td width=* colspan=".(cols-$i)."> </td>"); } break; } } echo("</tr>"); } else { break; } } if($numfiles>cols*rows){ echo("<tr><td colspan=".cols." align=right>"); $curpage=floor($numfiles/(cols*rows))*$page; if($curpage>1){ echo('<a href="'.$_SERVER["PHP_SELF"].'?page='.($curpage-1).'"><< Prev</a> '); } echo("Page ".floor($numfiles/(cols*rows))*$page." of ".ceil($numfiles/(cols*rows))); if($curpage<ceil($numfiles/(cols*rows))){ echo(' <a href="'.$_SERVER["PHP_SELF"].'?page='.($curpage+1).'">Next >></a>'); } echo("</td></tr>"); } echo('<tr><td colspan='.cols.' align=right><br /><a href="'.$_SERVER["PHP_SELF"].'">Downloads Home</a></td></tr></table>'); } if($cattitle!="Featured Downloads"){ echo("<br /><div>Files in this category: $numfiles</div>"); } if($admin){ echo('<br><br><form action=admin/upload.php method=POST enctype="multipart/form-data"> <table width=400><tr><th colspan=2>Add File</th></tr>'); echo('<tr><td> <label for=Title><b>Title</b></label></td><td><input name=Title id=Title></td></tr> <tr><td><label for=newfile><b>File</b></label></td><td><input type=file name=newfile id=newfile> <input name=Category type=hidden value="'.$category.'"></td></tr> <tr><td><label for=Description><b>Description</b></label></td><td><textarea name=Description id=Description></textarea></td></tr> <tr><td> </td><td><input type=checkbox name=db id=db value="1"><label for=db>Store in database</label></td></tr> <tr><td colspan=2 align=center><input type=submit value="Add File"> </td></tr>'); echo("</table></form>"); } include($footer); ?> --- NEW FILE: notfound.php --- <?php /* * openFIRST.downloads - notfound.php * * Copyright (C) 2003, * openFIRST Project * Original Author: Greg Inozemtsev <gr...@si...> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../config/globals.php"); include($header); echo("<h1>File Not Found</h1>"); echo("<p>The file you were downloading cannot be found in the system.</p><p>If you followed a link on one of the pages, please report the broken link to the webmaster.</p>"); include($footer); ?> |