openfirst-cvscommit Mailing List for openFIRST (Page 69)
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: <dav...@us...> - 2003-11-01 21:27:27
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv30024 Modified Files: getfile.php Log Message: Added execution time for downloads. Added feature to check if users are logged in. Index: getfile.php =================================================================== RCS file: /cvsroot/openfirst/projects/getfile.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** getfile.php 23 Oct 2003 13:47:27 -0000 1.2 --- getfile.php 1 Nov 2003 21:27:23 -0000 1.3 *************** *** 26,46 **** * */ include_once("../config/globals.php"); ! if(isset($_GET["id"])){ ! $id=$_GET["id"]; ! } ! else{ ! die("File not found"); ! } ! $query=ofirst_dbquery("SELECT AttachedFile,mime FROM ofirst_projects_notes WHERE ID='".$id."';"); ! if (ofirst_dbnum_rows($query)==0){ ! die("File not found"); ! } ! else { ! $file = ofirst_dbfetch_object($query); ! header("Content-type: ".$file->mime); ! echo(base64_decode($file->AttachedFile)); } ?> --- 26,51 ---- * */ + + ini_set("max_execution_time","9999999999999"); include_once("../config/globals.php"); ! if(isset($user)){ ! if(isset($_GET["id"])){ ! $id=$_GET["id"]; ! }else{ ! die("File not found!"); ! } ! ! $query = ofirst_dbquery("SELECT AttachedFile,mime FROM ofirst_projects_notes WHERE ID='".$id."';"); ! ! if(ofirst_dbnum_rows($query) == 0){ ! die("File not found!"); ! }else { ! $file = ofirst_dbfetch_object($query); ! header("Content-type: ".$file->mime); ! echo(base64_decode($file->AttachedFile)); ! } } + ?> |
From: <dav...@us...> - 2003-11-01 18:26:42
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv28485 Modified Files: updates.php Log Message: Remove newly added meeting notification option because I have changed my mind to make it its own module. Index: updates.php =================================================================== RCS file: /cvsroot/openfirst/projects/updates.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** updates.php 1 Nov 2003 17:02:33 -0000 1.10 --- updates.php 1 Nov 2003 18:26:38 -0000 1.11 *************** *** 50,82 **** <div align='center'>Notes commited on <strong>".date('F j, Y',time())."</strong></div></th> </tr> ! </table><br><br>"; ! ! // Run through meeting that have been submitted for today ! $message .= "<table width='100%' border='0' cellspacing='0' cellpadding='6'> ! <tr> ! <td bgcolor='#CCCCCC'> <div align='center'><font color='#000000'><strong>Todays Meeting Notes</strong></font></div></td> ! </tr> ! </table> ! <table width='100%'> ! <tr> ! <td width='6%' bgcolor='#999999'> </td> ! <td width='19%' bgcolor='#999999'>Arranged For</td> ! <td width='54%' bgcolor='#999999'>Notes</td> ! <td width='21%' bgcolor='#999999'>Absent Members</td> ! </tr>"; ! ! $meetingquery = ofirst_dbquery("SELECT * FROM ofirst_projects_meetings"); ! while($meetings = ofirst_dbfetch_object($meetingquery)){ ! if($selectdate == date("F j, Y",$meetings->ForDate)){ ! $message .= "<tr> ! <td>$home/$basepath/members/icons/actions/project_open.png/icons/apps/date.png</td> ! <td>".$meetings->ArrangedFor."</td> ! <td>".$meetings->Notes."</td> ! <td>".$meetings->AbsentList."</td> ! </tr>"; ! } ! } ! ! $message .= "</table><br><br>"; // Run through the current list of groups to preview there related information --- 50,54 ---- <div align='center'>Notes commited on <strong>".date('F j, Y',time())."</strong></div></th> </tr> ! </table>"; // Run through the current list of groups to preview there related information |
From: <dav...@us...> - 2003-11-01 18:23:36
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv27927 Modified Files: footers.php Log Message: The easy link was broken, it is now fixed in this update. Index: footers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/footers.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** footers.php 1 Nov 2003 18:18:54 -0000 1.8 --- footers.php 1 Nov 2003 18:23:33 -0000 1.9 *************** *** 10,14 **** <div> <div align="center">© Copyright 2002-2003 by <?php echo $title; ?>. ! All rights reserved.<br><?php if($user->membertype == "administrator"){ echo "[ <a href='$home.$basepath./config/index.php'>Administrator Options/ Configuration Area</a> ]"; ?></div> </div> </td> --- 10,14 ---- <div> <div align="center">© Copyright 2002-2003 by <?php echo $title; ?>. ! All rights reserved.<?php if($user->membertype == "administrator"){ echo "<br><br>[ <a href='$home$basepath/config/index.php'>Administrator Options/ Configuration Area</a> ]"; } ?></div> </div> </td> |
From: <dav...@us...> - 2003-11-01 18:18:57
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv26665 Modified Files: footers.php Log Message: Added easy link to admin area. Index: footers.php =================================================================== RCS file: /cvsroot/openfirst/base/config/footers.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** footers.php 13 Sep 2003 15:32:31 -0000 1.7 --- footers.php 1 Nov 2003 18:18:54 -0000 1.8 *************** *** 9,13 **** <td class="menu" style="background=image: url('<?php echo("$basepath/images/"); ?>back-light.gif');"> <div> ! <div align="center">© Copyright 2002-2003 by <?php echo $title; ?>. All rights reserved.</div> </div> </td> --- 9,14 ---- <td class="menu" style="background=image: url('<?php echo("$basepath/images/"); ?>back-light.gif');"> <div> ! <div align="center">© Copyright 2002-2003 by <?php echo $title; ?>. ! All rights reserved.<br><?php if($user->membertype == "administrator"){ echo "[ <a href='$home.$basepath./config/index.php'>Administrator Options/ Configuration Area</a> ]"; ?></div> </div> </td> |
From: <dav...@us...> - 2003-11-01 18:16:10
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv26184 Modified Files: index.php Log Message: Added a neat/organized table to view administrative options. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/base/config/index.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** index.php 30 Aug 2003 18:26:07 -0000 1.5 --- index.php 1 Nov 2003 18:16:07 -0000 1.6 *************** *** 32,43 **** if(isset($user->user) == true && $user->membertype == "administrator") { ?> ! <h1>OpenFIRST Configuration Area</h1> ! <p><a href="version.php">Version Check</a> - ensure that your version of the openFIRST web portal ! software and any 3rd party extensions is up to date</p> ! <p><a href="install.php">Install Component</a> - required to install several new ! openFIRST modules.</p> ! <p><a href="modules.php">Module Administrator</a> - required to manage openFIRST ! modules.</p> ! <?php } else { showlogin(); --- 32,58 ---- if(isset($user->user) == true && $user->membertype == "administrator") { ?> ! <h1>openFIRST Configuration Area</h1> ! <table width="50%"> ! <tr> ! <th>Administrative Options</th> ! </tr> ! </table> ! <table width="50%"> ! <tr> ! <td width="30%" valign="top"><a href="version.php">Version Check</a></td> ! <td width="70%" valign="top">Ensure that your version of the openFIRST web ! portal software and any 3rd party extensions is up to date</td> ! </tr> ! <tr> ! <td valign="top"><a href="install.php">Install Component</a></td> ! <td valign="top">Required to install several new openFIRST modules.</td> ! </tr> ! <tr> ! <td valign="top"><a href="modules.php">Module Administrator</a></td> ! <td valign="top">Required to manage openFIRST modules.</td> ! </tr> ! </table> ! <p> ! <?php } else { showlogin(); *************** *** 45,46 **** --- 60,62 ---- include($footer); ?> + </p> |
From: <dav...@us...> - 2003-11-01 18:10:20
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv24855 Modified Files: preferences.php Log Message: When I removed the other update values from this file I accidentally broke off the end of the command. Here it is fixed. Index: preferences.php =================================================================== RCS file: /cvsroot/openfirst/projects/preferences.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** preferences.php 1 Nov 2003 17:12:32 -0000 1.10 --- preferences.php 1 Nov 2003 18:10:17 -0000 1.11 *************** *** 39,45 **** // Save button process if(isset($_POST['save'])){ ! ofirst_dbquery("UPDATE ofirst_members SET ! ProjectsUpdates = '".$_POST['updates']."', ! echo "<br><br><br>Your account options have been updated! [ <a href='preferences.php'>Preferences</a> ]<br><br><br>"; die(include_once($footer)); --- 39,43 ---- // Save button process if(isset($_POST['save'])){ ! ofirst_dbquery("UPDATE ofirst_members SET ProjectsUpdates = '".$_POST['updates']."' WHERE user = '".$user->user."';"); echo "<br><br><br>Your account options have been updated! [ <a href='preferences.php'>Preferences</a> ]<br><br><br>"; die(include_once($footer)); *************** *** 50,58 **** </h2> <p>This preference menu allows you to edit your daily update options<br> ! If the administrator activates daily updates then every single day you will ! receive an automatic<br> ! update e-mail with all the changes made for the particular day.</p> ! <p>The options below allow you to specify what kind<br> ! of information you would like sent and if you want to receive the updates.</p> <form action='preferences.php' method='POST'> <table width="527" align="center"> --- 48,54 ---- </h2> <p>This preference menu allows you to edit your daily update options<br> ! If the administrator activates daily updates then you will receive updates related ! to that<br> ! particular day.</p> <form action='preferences.php' method='POST'> <table width="527" align="center"> |
From: <dav...@us...> - 2003-11-01 18:05:52
|
Update of /cvsroot/openfirst/members In directory sc8-pr-cvs1:/tmp/cvs-serv24199 Modified Files: index.php Log Message: Added a table for the welcome message. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/members/index.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** index.php 28 Sep 2003 14:05:42 -0000 1.8 --- index.php 1 Nov 2003 18:05:49 -0000 1.9 *************** *** 40,49 **** } ?> ! <p>This is the <?php echo $title; ?> members area.<br> ! You are logged in as: ! <?php ! echo("<strong>$user->user</strong> the <strong>$user->membertype</strong> of the <strong>$user->division</strong> division of team <strong>$user->team.</strong>"); ! ?> ! </p> <?php } else { showlogin(); --- 40,53 ---- } ?> ! <table width="400"> ! <tr> ! <th>Logged In</th> ! </tr> ! <tr> ! <td><p> Welcome <b><?php echo("$user->firstname"); ?></b> to the <b><?php echo $title; ?></b> members area.<br> ! You now have access to all the member related back-end and information system.</td> ! </tr> ! </table> ! <p> </p> <?php } else { showlogin(); |
From: <dav...@us...> - 2003-11-01 18:05:30
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv24133 Modified Files: index.php Log Message: Index page had a few errors after testing. Here are the fixes. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/projects/index.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** index.php 1 Nov 2003 16:43:49 -0000 1.15 --- index.php 1 Nov 2003 18:05:27 -0000 1.16 *************** *** 45,49 **** echo "<h2>Projects System</h2>Welcome <font color='green'>".$user->user."</font>, thank you for logging in!<br><br>"; ?> - <p>Welcome to the project system!</p> <table width="400"> <tr> --- 45,48 ---- *************** *** 119,123 **** $tasknum = 0; $taskquery = ofirst_dbquery("SELECT Dates FROM ofirst_projects_tasks;"); ! while($task = ofirst_dbfetch_object($tasksuery)){ if($selectdate == date("F j, Y",$task->Dates)){ $tasknum++; --- 118,122 ---- $tasknum = 0; $taskquery = ofirst_dbquery("SELECT Dates FROM ofirst_projects_tasks;"); ! while($task = ofirst_dbfetch_object($taskquery)){ if($selectdate == date("F j, Y",$task->Dates)){ $tasknum++; *************** *** 148,152 **** <td> <?php ! $totel = $notenum + $tasknum + $projectnum; echo $total; ?> --- 147,151 ---- <td> <?php ! $total = $notenum + $tasknum + $projnum; echo $total; ?> *************** *** 154,159 **** </tr> </table> ! <p>[ <a href="<?php echo $home.$basepath; ?>/manual/openfirst.projects/projects.php#howto">Project Help Manual</a> ! ]<br> <?php --- 153,158 ---- </tr> </table> ! <p>[ <a href="<?php echo $home.$basepath; ?>/manual/openfirst.projects/projects.php#howto">Project ! Help Manual</a> ] [ <a href="today.php">View Today's Commits</a> ]<br> <?php |
From: <dav...@us...> - 2003-11-01 17:39:52
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv19875 Added Files: viewmembers.php Log Message: File was removed accidentally. Here it is replaced. |
From: <dav...@us...> - 2003-11-01 17:39:08
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv19774 Removed Files: meetings.php viewmeeting.php viewmembers.php Log Message: Removing these files because they are not needed any longer. View members was accidentally removed I will re-commit it now. --- meetings.php DELETED --- --- viewmeeting.php DELETED --- --- viewmembers.php DELETED --- |
From: <dav...@us...> - 2003-11-01 17:16:04
|
Update of /cvsroot/openfirst/projects/setup In directory sc8-pr-cvs1:/tmp/cvs-serv14581/setup Modified Files: setup.mssql Log Message: Removed obsolete alter table features for members. Index: setup.mssql =================================================================== RCS file: /cvsroot/openfirst/projects/setup/setup.mssql,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** setup.mssql 1 Nov 2003 17:15:23 -0000 1.8 --- setup.mssql 1 Nov 2003 17:16:01 -0000 1.9 *************** *** 4,8 **** CREATE TABLE `ofirst_projects_tasks` ( `ID` int(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 modulename='projects',showonmenu='0',active='0',adminnavigation='<a href="$basepath/projects/admin/updatesetup.php">Update Service Setup</a>',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/today.php">Todays Changes</a>',includes='projectsmodule.php'; ! ALTER TABLE ofirst_members ADD COLUMN ProjectsUpdates tinytext ! ALTER TABLE ofirst_members ADD COLUMN ProjectsCommitSelect tinytext ! ALTER TABLE ofirst_members ADD COLUMN ProjectsSendTemplate tinytext \ No newline at end of file --- 4,6 ---- CREATE TABLE `ofirst_projects_tasks` ( `ID` int(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 modulename='projects',showonmenu='0',active='0',adminnavigation='<a href="$basepath/projects/admin/updatesetup.php">Update Service Setup</a>',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/today.php">Todays Changes</a>',includes='projectsmodule.php'; ! ALTER TABLE ofirst_members ADD COLUMN ProjectsUpdates tinytext \ No newline at end of file |
From: <dav...@us...> - 2003-11-01 17:15:26
|
Update of /cvsroot/openfirst/projects/setup In directory sc8-pr-cvs1:/tmp/cvs-serv14504/setup Modified Files: setup.mssql Log Message: Moving meetings planner into its own module, therefore I am removing these command setups. Index: setup.mssql =================================================================== RCS file: /cvsroot/openfirst/projects/setup/setup.mssql,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** setup.mssql 1 Nov 2003 16:46:32 -0000 1.7 --- setup.mssql 1 Nov 2003 17:15:23 -0000 1.8 *************** *** 1,8 **** CREATE TABLE `ofirst_projects_groups` ( `ID` int(3) unsigned NOT NULL auto_increment, `GroupName` tinytext, `Description` text, `Moderators` tinytext, `Members` tinytext, `Dates` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; - CREATE TABLE `ofirst_projects_meetings` ( `ID` int(3) unsigned NOT NULL auto_increment, `Dates` text, `ForDate` text, `Description` text, `ArrangedFor` text, `AbsentList` text, `Notes` text, `Status` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; CREATE TABLE `ofirst_projects_notes` ( `ID` int(3) unsigned NOT NULL auto_increment, `ProjectID` tinyint(8) default NULL, `AttachedFile` blob, `mime` text, `GroupID` tinyint(8) default NULL, `TaskID` tinyint(8) default NULL, `Description` text, `Commiter` tinytext, `Dates` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; CREATE TABLE `ofirst_projects_projects` ( `ID` int(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` int(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 modulename='projects',showonmenu='0',active='0',adminnavigation='<a href="$basepath/projects/admin/updatesetup.php">Update Service Setup</a>',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 --- 1,7 ---- CREATE TABLE `ofirst_projects_groups` ( `ID` int(3) unsigned NOT NULL auto_increment, `GroupName` tinytext, `Description` text, `Moderators` tinytext, `Members` tinytext, `Dates` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; CREATE TABLE `ofirst_projects_notes` ( `ID` int(3) unsigned NOT NULL auto_increment, `ProjectID` tinyint(8) default NULL, `AttachedFile` blob, `mime` text, `GroupID` tinyint(8) default NULL, `TaskID` tinyint(8) default NULL, `Description` text, `Commiter` tinytext, `Dates` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; CREATE TABLE `ofirst_projects_projects` ( `ID` int(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` int(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 modulename='projects',showonmenu='0',active='0',adminnavigation='<a href="$basepath/projects/admin/updatesetup.php">Update Service Setup</a>',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/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-11-01 17:12:35
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv14044 Modified Files: preferences.php Log Message: Removed other obsolete features. Index: preferences.php =================================================================== RCS file: /cvsroot/openfirst/projects/preferences.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** preferences.php 23 Oct 2003 13:47:27 -0000 1.9 --- preferences.php 1 Nov 2003 17:12:32 -0000 1.10 *************** *** 41,46 **** ofirst_dbquery("UPDATE ofirst_members SET ProjectsUpdates = '".$_POST['updates']."', ! ProjectsCommitSelect = '".$_POST['select']."', ! ProjectsSendTemplate = '".$_POST['template']."' WHERE user = '".$user->user."'") or die(ofirst_dberror()); echo "<br><br><br>Your account options have been updated! [ <a href='preferences.php'>Preferences</a> ]<br><br><br>"; die(include_once($footer)); --- 41,45 ---- ofirst_dbquery("UPDATE ofirst_members SET ProjectsUpdates = '".$_POST['updates']."', ! echo "<br><br><br>Your account options have been updated! [ <a href='preferences.php'>Preferences</a> ]<br><br><br>"; die(include_once($footer)); *************** *** 74,99 **** </select> </font></p> - <p align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">What - kind of updates would you like to be sent? - <select name="template" id="template"> - <option selected><?php echo $user->ProjectsSendTemplate; ?></option> - <option>-----</option> - <option value="Basic" >Basic Updates</option> - <option value="Detailed">Detailed Updates</option> - </select> - </font></p> - <p align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">What - kind of updates would you like to be sent? - <select name="select" id="select"> - <option selected><?php echo $user->ProjectsCommitSelect; ?></option> - <option>-----</option> - <option>Related</option> - <option>All</option> - </select> - </font></p> <p align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> <input name="save" type="submit" id="save" value="Save Preferences"> <br> ! </font></p></td> </tr> </table> --- 73,81 ---- </select> </font></p> <p align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"> <input name="save" type="submit" id="save" value="Save Preferences"> <br> ! </font></p> ! </td> </tr> </table> |
From: <dav...@us...> - 2003-11-01 17:02:36
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv11105 Modified Files: updates.php Log Message: Update e-mailer now includes meetings listed for the current day. Index: updates.php =================================================================== RCS file: /cvsroot/openfirst/projects/updates.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** updates.php 23 Oct 2003 13:43:08 -0000 1.9 --- updates.php 1 Nov 2003 17:02:33 -0000 1.10 *************** *** 50,54 **** <div align='center'>Notes commited on <strong>".date('F j, Y',time())."</strong></div></th> </tr> ! </table>"; // Run through the current list of groups to preview there related information --- 50,82 ---- <div align='center'>Notes commited on <strong>".date('F j, Y',time())."</strong></div></th> </tr> ! </table><br><br>"; ! ! // Run through meeting that have been submitted for today ! $message .= "<table width='100%' border='0' cellspacing='0' cellpadding='6'> ! <tr> ! <td bgcolor='#CCCCCC'> <div align='center'><font color='#000000'><strong>Todays Meeting Notes</strong></font></div></td> ! </tr> ! </table> ! <table width='100%'> ! <tr> ! <td width='6%' bgcolor='#999999'> </td> ! <td width='19%' bgcolor='#999999'>Arranged For</td> ! <td width='54%' bgcolor='#999999'>Notes</td> ! <td width='21%' bgcolor='#999999'>Absent Members</td> ! </tr>"; ! ! $meetingquery = ofirst_dbquery("SELECT * FROM ofirst_projects_meetings"); ! while($meetings = ofirst_dbfetch_object($meetingquery)){ ! if($selectdate == date("F j, Y",$meetings->ForDate)){ ! $message .= "<tr> ! <td>$home/$basepath/members/icons/actions/project_open.png/icons/apps/date.png</td> ! <td>".$meetings->ArrangedFor."</td> ! <td>".$meetings->Notes."</td> ! <td>".$meetings->AbsentList."</td> ! </tr>"; ! } ! } ! ! $message .= "</table><br><br>"; // Run through the current list of groups to preview there related information |
From: <dav...@us...> - 2003-11-01 16:46:35
|
Update of /cvsroot/openfirst/projects/setup In directory sc8-pr-cvs1:/tmp/cvs-serv8140/setup Modified Files: setup.mssql Log Message: The notes description field only allowed for tinytext. Its now changed to allow full text. Index: setup.mssql =================================================================== RCS file: /cvsroot/openfirst/projects/setup/setup.mssql,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** setup.mssql 13 Oct 2003 23:16:04 -0000 1.6 --- setup.mssql 1 Nov 2003 16:46:32 -0000 1.7 *************** *** 1,5 **** CREATE TABLE `ofirst_projects_groups` ( `ID` int(3) unsigned NOT NULL auto_increment, `GroupName` tinytext, `Description` text, `Moderators` tinytext, `Members` tinytext, `Dates` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; CREATE TABLE `ofirst_projects_meetings` ( `ID` int(3) unsigned NOT NULL auto_increment, `Dates` text, `ForDate` text, `Description` text, `ArrangedFor` text, `AbsentList` text, `Notes` text, `Status` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_notes` ( `ID` int(3) unsigned NOT NULL auto_increment, `ProjectID` tinyint(8) default NULL, `AttachedFile` blob, `mime` text, `GroupID` tinyint(8) default NULL, `TaskID` tinyint(8) default NULL, `Description` tinytext, `Commiter` tinytext, `Dates` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; CREATE TABLE `ofirst_projects_projects` ( `ID` int(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` int(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; --- 1,5 ---- CREATE TABLE `ofirst_projects_groups` ( `ID` int(3) unsigned NOT NULL auto_increment, `GroupName` tinytext, `Description` text, `Moderators` tinytext, `Members` tinytext, `Dates` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; CREATE TABLE `ofirst_projects_meetings` ( `ID` int(3) unsigned NOT NULL auto_increment, `Dates` text, `ForDate` text, `Description` text, `ArrangedFor` text, `AbsentList` text, `Notes` text, `Status` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! CREATE TABLE `ofirst_projects_notes` ( `ID` int(3) unsigned NOT NULL auto_increment, `ProjectID` tinyint(8) default NULL, `AttachedFile` blob, `mime` text, `GroupID` tinyint(8) default NULL, `TaskID` tinyint(8) default NULL, `Description` text, `Commiter` tinytext, `Dates` text, PRIMARY KEY (`ID`)) TYPE=MyISAM; CREATE TABLE `ofirst_projects_projects` ( `ID` int(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` int(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; |
From: <dav...@us...> - 2003-11-01 16:43:52
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv7773 Modified Files: index.php Log Message: The index now displays the action register stats (totals such as number of groups, projects, tasks, notes etc.) I have note tested this yet as my IIS server is down. I will make changes later on if I find any errors. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/projects/index.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** index.php 23 Oct 2003 13:47:27 -0000 1.14 --- index.php 1 Nov 2003 16:43:49 -0000 1.15 *************** *** 32,35 **** --- 32,37 ---- include_once($header); + $selectdate = date("F j, Y",time()); + if(! isset($user->user)){ ?> *************** *** 43,139 **** echo "<h2>Projects System</h2>Welcome <font color='green'>".$user->user."</font>, thank you for logging in!<br><br>"; ?> ! ! ! <table width="52%" border="0" cellspacing="0" cellpadding="6"> ! <tr> ! <th>Your Assigned Groups</th> </tr> </table> ! <table width="52%"> <tr> ! <td class="sub" width="4%"> </th> ! <td class="sub" width="20%">Task Name</th> ! <td class="sub" width="13%">Target Date</th> ! <td class="sub" width="30%">Assigned</th> </tr> ! <?php ! ! // Run through the current tasks ! $query = ofirst_dbquery("SELECT * FROM ofirst_projects_tasks"); ! while($tasks = ofirst_dbfetch_object($query)){ ! ! $showtask = false; ! ! $assigned = explode(",",$tasks->Assigned); ! foreach($assigned As $member){ ! if($member == $user->user){ ! $showtask = true; ! } ! } ! ! if($showtask){ ! ! // If value is pending then select the proper information ! if($tasks->Pend == "none"){ ! $pend = false; ! } else { ! ! $taskquery = ofirst_dbquery("SELECT * FROM ofirst_projects_tasks WHERE ID = '".$tasks->Pend."'"); ! $pendtask = ofirst_dbfetch_object($taskquery); ! ! if($pendtask->Completion == 100){ ! $pend = false; ! } else { ! $pend = true; ! } ! } ! } ! ?> ! <tr <?php if(date("F j, Y",time()) == date("F j, Y",$tasks->Dates)){ echo "bgColor='#CCCCCC'"; } ?>> ! <td><a href="notes.php?GroupID=<?php echo $_GET['GroupID']; ?>&TaskID=<?php echo $tasks->ID; ?>&ProjectID=<?php echo $_GET['ProjectID']; ?>"> <?php ! ! // If value is pending then show pend graphics ! if($pend){ ! echo "<img src='../members/icons/actions/encrypted.png' border='0'>"; ! } else { ! echo "<a href='notes.php?GroupID=".$tasks->GroupID."&TaskID=".$tasks->ID."&ProjectID=".$tasks->ProjectID."'><img src='../members/icons/filesystems/desktop.png' border='0'></a>"; ! } ! ! ?> ! </a></td> <td> <?php ! echo $tasks->TaskName." ("; ! if(! $pend){ ! echo $tasks->Completion."%"; ! } else { ! echo "PEND ON: ".$pendtask->TaskName; ! } ! echo ")"; ! ?> </td> <td> <?php ! echo date("F j, Y",$tasks->TarDate); ! ?> </td> - <td><?php echo str_replace(",", ", ",$tasks->Assigned); ?></td> </tr> ! <? ! } ! ! if(ofirst_dbnum_rows($query) == 0){ ! echo "\n <tr>\n <td> </td>\n <td>There are no tasks for this project!</td>\n <td> </td>\n <td> </td>\n </tr>"; ! } ! ?> <tr> ! <td width="4%"> </th> ! <td width="20%"> ! <td width="13%"> ! <td width="30%">[ <a href="mytask.php">Detailed Related Tasks</a> ]</tr> </table> - - <p>[ <a href="<?php echo $home.$basepath; ?>/manual/openfirst.projects/projects.php#howto">Project Help Manual</a> ]<br> --- 45,157 ---- echo "<h2>Projects System</h2>Welcome <font color='green'>".$user->user."</font>, thank you for logging in!<br><br>"; ?> ! <p>Welcome to the project system!</p> ! <table width="400"> ! <tr> ! <th>Total Commit Statistics</th> </tr> </table> ! <table width="400"> <tr> ! <td width="124"><div align="right"> Groups:</div></td> ! <td width="264"> <?php ! $groupquery = ofirst_dbquery("SELECT ID FROM ofirst_projects_groups;"); ! echo mysql_num_rows($groupquery); ! ?> ! </td> ! </tr> ! <tr> ! <td><div align="right"> Projects:</div></td> <td> <?php ! $projectquery = ofirst_dbquery("SELECT ID FROM ofirst_projects_projects;"); ! echo mysql_num_rows($projectquery); ! ?> </td> + </tr> + <tr> + <td><div align="right"> Tasks:</div></td> <td> <?php ! $taskquery = ofirst_dbquery("SELECT ID FROM ofirst_projects_tasks;"); ! echo mysql_num_rows($taskquery); ! ?> </td> </tr> ! <tr> ! <td><div align="right"> Notes:</div></td> ! <td> ! <?php ! $notesquery = ofirst_dbquery("SELECT ID FROM ofirst_projects_notes;"); ! echo mysql_num_rows($notesquery); ! ?> ! </td> ! </tr> ! </table> ! <table width="400"> ! <tr> ! <th>Todays Commit Statistics</th> ! </tr> ! </table> ! <table width="400"> ! <tr> ! <td width="124"><div align="right"> Projects:</div></td> ! <td width="264"> ! <?php ! // Find values that are related to today for projects ! $projnum = 0; ! $projectquery = ofirst_dbquery("SELECT Dates FROM ofirst_projects_projects;"); ! while($project = ofirst_dbfetch_object($projectquery)){ ! if($selectdate == date("F j, Y",$project->Dates)){ ! $projnum++; ! } ! } ! echo $projnum; ! ?> ! </td> ! </tr> ! <tr> ! <td><div align="right"> Tasks:</div></td> ! <td> ! <?php ! // Find values that are related to today for tasks ! $tasknum = 0; ! $taskquery = ofirst_dbquery("SELECT Dates FROM ofirst_projects_tasks;"); ! while($task = ofirst_dbfetch_object($tasksuery)){ ! if($selectdate == date("F j, Y",$task->Dates)){ ! $tasknum++; ! } ! } ! echo $tasknum; ! ?> ! </td> ! </tr> ! <tr> ! <td><div align="right"> Notes:</div></td> ! <td> ! <?php ! // Find values that are related to today for notes ! $notenum = 0; ! $notesquery = ofirst_dbquery("SELECT Dates FROM ofirst_projects_notes;"); ! while($notes = ofirst_dbfetch_object($notesquery)){ ! if($selectdate == date("F j, Y",$notes->Dates)){ ! $notenum++; ! } ! } ! echo $notenum; ! ?> ! </td> ! </tr> <tr> ! <td><div align="right">Total Day Commits:</div></td> ! <td> ! <?php ! $totel = $notenum + $tasknum + $projectnum; ! echo $total; ! ?> ! </td> ! </tr> </table> <p>[ <a href="<?php echo $home.$basepath; ?>/manual/openfirst.projects/projects.php#howto">Project Help Manual</a> ]<br> |
From: <dav...@us...> - 2003-11-01 16:23:35
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv4941 Modified Files: groups.php projects.php tasks.php Log Message: Fixed admin edit image link. Index: groups.php =================================================================== RCS file: /cvsroot/openfirst/projects/groups.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** groups.php 23 Oct 2003 13:18:38 -0000 1.14 --- groups.php 1 Nov 2003 16:23:29 -0000 1.15 *************** *** 125,129 **** // If an administrator is logged in then show the administrative edit option if($user->membertype == "administrator") { ?> ! <td id="adminmenu" background="/openfirst/images/back-admin.png"><p align="center"><a href="admin/editgroups.php?GroupID=<?php echo $groups->ID; ?>">Edit</a></p></td> <?php } ?> </tr> --- 125,129 ---- // If an administrator is logged in then show the administrative edit option if($user->membertype == "administrator") { ?> ! <td id="adminmenu" background="/images/back-admin.png"><p align="center"><a href="admin/editgroups.php?GroupID=<?php echo $groups->ID; ?>">Edit</a></p></td> <?php } ?> </tr> Index: projects.php =================================================================== RCS file: /cvsroot/openfirst/projects/projects.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** projects.php 23 Oct 2003 13:46:25 -0000 1.13 --- projects.php 1 Nov 2003 16:23:29 -0000 1.14 *************** *** 181,185 **** <td><?php echo $projects->Description; ?></td> <td><?php echo str_replace(",",", ",$projects->Assigned); ?></td> ! <?php if($user->membertype == "administrator"){ ?><td id="adminmenu" background="/openfirst/images/back-admin.png"><div align="center"><a href="admin/editprojects.php?ProjectID=<?php echo $projects->ID; ?>">Edit</a></div></td> <?php } ?> </tr> --- 181,185 ---- <td><?php echo $projects->Description; ?></td> <td><?php echo str_replace(",",", ",$projects->Assigned); ?></td> ! <?php if($user->membertype == "administrator"){ ?><td id="adminmenu" background="/images/back-admin.png"><div align="center"><a href="admin/editprojects.php?ProjectID=<?php echo $projects->ID; ?>">Edit</a></div></td> <?php } ?> </tr> Index: tasks.php =================================================================== RCS file: /cvsroot/openfirst/projects/tasks.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** tasks.php 23 Oct 2003 13:47:27 -0000 1.14 --- tasks.php 1 Nov 2003 16:23:29 -0000 1.15 *************** *** 226,230 **** <?php if($user->membertype == "administrator"){ ! echo '<td id="adminmenu" background="/openfirst/images/back-admin.png"><center><a href="admin/edittasks.php?TaskID='.$tasks->ID.'">Edit</a></center></td>'; } ?> </tr> --- 226,230 ---- <?php if($user->membertype == "administrator"){ ! echo '<td id="adminmenu" background="/images/back-admin.png"><center><a href="admin/edittasks.php?TaskID='.$tasks->ID.'">Edit</a></center></td>'; } ?> </tr> |
From: <xt...@us...> - 2003-10-26 04:23:45
|
Update of /cvsroot/openfirst/members In directory sc8-pr-cvs1:/tmp/cvs-serv21433 Modified Files: workspace.php Log Message: Fix broken uploading to directories not in the root, error on workspace account activation. Index: workspace.php =================================================================== RCS file: /cvsroot/openfirst/members/workspace.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** workspace.php 5 Oct 2003 23:16:33 -0000 1.11 --- workspace.php 26 Oct 2003 04:20:01 -0000 1.12 *************** *** 261,265 **** $name = str_replace(" ", "-", $_FILES['userfile']['name'][0]); $name = str_replace("&", "and", $name); ! copy($filename, "$ws->virtfspath/" . $_POST["filepath"] . "/$name"); $uf = ofirst_dbquery("INSERT INTO ofirst_workspace_files (size, location, owner, division, permissions, date, description, filetype, name) VALUES('" .( filesize("$ws->virtfspath/" . $_POST["filepath"] . "/$name") / 1024). "', '" . $_POST["filepath"] . "', '$user->user', '" . $_POST["division"] . "', '" . $_POST["userperm"] . $_POST["groupperm"] . $_POST["otherperm"] . "', '" . date('D M d Y h:m:s') . "', '" . $_POST["description"] . "', '" . strtolower(substr($name, strrpos($name, ".") +1)) . "', '$name');"); echo("File "$name" has been uploaded successfully. [ <a href='workspace.php'>Workspace</a> | <a href='workspace.php?file=$name&action=view&filepath=" . $_POST["filepath"] ."'>View</a> ]"); --- 261,269 ---- $name = str_replace(" ", "-", $_FILES['userfile']['name'][0]); $name = str_replace("&", "and", $name); ! if($_POST["filepath"] != "/") { ! copy($filename, "$ws->virtfspath/" . $_POST["filepath"] . "/$name"); ! } else { ! copy($filename, "$ws->virtfspath/$name"); ! } $uf = ofirst_dbquery("INSERT INTO ofirst_workspace_files (size, location, owner, division, permissions, date, description, filetype, name) VALUES('" .( filesize("$ws->virtfspath/" . $_POST["filepath"] . "/$name") / 1024). "', '" . $_POST["filepath"] . "', '$user->user', '" . $_POST["division"] . "', '" . $_POST["userperm"] . $_POST["groupperm"] . $_POST["otherperm"] . "', '" . date('D M d Y h:m:s') . "', '" . $_POST["description"] . "', '" . strtolower(substr($name, strrpos($name, ".") +1)) . "', '$name');"); echo("File "$name" has been uploaded successfully. [ <a href='workspace.php'>Workspace</a> | <a href='workspace.php?file=$name&action=view&filepath=" . $_POST["filepath"] ."'>View</a> ]"); *************** *** 460,465 **** mkdir(getcwd() . "/virtfs/$user->user/"); mkdir(getcwd() . "/virtfs/$user->user/www/"); ! mkdir(getcwd() . "/virtfs/$user->user/$filepath/" . $_POST["directory"]); ! $uf = ofirst_dbquery("INSERT INTO ofirst_workspace_files (size, location, owner, permissions, date, description, filetype, name) VALUES('0', '$filepath', '$user->user', 'drw-------', '" . date('D M d Y h:m:s') . "', 'Web Site Directory', 'dir-folder_html.png', 'www');"); --- 464,468 ---- mkdir(getcwd() . "/virtfs/$user->user/"); mkdir(getcwd() . "/virtfs/$user->user/www/"); ! $uf = ofirst_dbquery("INSERT INTO ofirst_workspace_files (size, location, owner, permissions, date, description, filetype, name) VALUES('0', '$filepath', '$user->user', 'drw-------', '" . date('D M d Y h:m:s') . "', 'Web Site Directory', 'dir-folder_html.png', 'www');"); |
From: <xt...@us...> - 2003-10-26 00:02:33
|
Update of /cvsroot/openfirst/search In directory sc8-pr-cvs1:/tmp/cvs-serv31180 Modified Files: index.php Log Message: Replace include() with include_once() where appropriate Index: index.php =================================================================== RCS file: /cvsroot/openfirst/search/index.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** index.php 23 Aug 2003 20:26:11 -0000 1.4 --- index.php 23 Oct 2003 14:10:46 -0000 1.5 *************** *** 26,31 **** * */ ! include("../config/globals.php"); ! include($header); ?> <table> --- 26,31 ---- * */ ! include_once("../config/globals.php"); ! include_once($header); ?> <table> *************** *** 212,214 **** } ! include($footer); ?> --- 212,214 ---- } ! include_once($footer); ?> |
From: <i-...@us...> - 2003-10-25 23:03:07
|
Update of /cvsroot/openfirst/forum In directory sc8-pr-cvs1:/tmp/cvs-serv9255/forum Modified Files: forumvisit.php index.php thread.php Log Message: Bug fixes, new functionality (recent msg list) Index: forumvisit.php =================================================================== RCS file: /cvsroot/openfirst/forum/forumvisit.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** forumvisit.php 13 Oct 2003 20:11:34 -0000 1.1 --- forumvisit.php 25 Oct 2003 23:02:50 -0000 1.2 *************** *** 46,48 **** --- 46,77 ---- $_SESSION["forumvisit"]=date("Y-m-d H:i:s"); } + + function latest_posts($number){ + $query=ofirst_dbquery("SELECT Title,Author,Forum,ID,ReplyTo FROM ofirst_forumposts ORDER BY DatePosted DESC LIMIT ".$number); + if(ofirst_dbnum_rows($query)==0){ + echo("<div>No posts in forums</div>"); + }else{ + echo("<ul>"); + while($post=ofirst_dbfetch_object($query)){ + $q=ofirst_dbquery("SELECT hidden FROM ofirst_forum WHERE name='$post->Forum'"); + $forum=ofirst_dbfetch_object($q); + if($forum->hidden==0){ + if($post->ReplyTo==0){ + $msgid=$post->ID; + }else{ + $msgid=$post->ReplyTo; + } + if($post->Title==""){ + $q=ofirst_dbquery("SELECT Title FROM ofirst_forumposts WHERE ID='$post->ReplyTo'"); + $root=ofirst_dbfetch_object($q); + $title=$root->Title; + }else{ + $title=$post->Title; + } + echo("<li><a href=\"".$GLOBALS["basepath"]."/forum/thread.php?id=$msgid\">$title</a><br />by $post->Author"); + } + } + echo("</ul>"); + } + } ?> Index: index.php =================================================================== RCS file: /cvsroot/openfirst/forum/index.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** index.php 21 Oct 2003 23:47:42 -0000 1.5 --- index.php 25 Oct 2003 23:02:50 -0000 1.6 *************** *** 139,143 **** echo("<td align=right> "); if(isset($lastposter)){ ! echo($lastdate.' by <a href="'.$basepath."/members/profile.php?id=".$lastposter.'">'.$lastposter."</a>"); unset($lastposter); } --- 139,147 ---- echo("<td align=right> "); if(isset($lastposter)){ ! echo($lastdate." by "); ! if(is_readable("../members/profile.php")){ ! echo('<a href="'.$basepath."/members/profile.php?id=".$lastposter.'">'); ! } ! echo($lastposter."</a>"); unset($lastposter); } *************** *** 179,183 **** echo("<td align=right> "); if(isset($lastposter)){ ! echo($lastdate.' by <a href="'.$basepath."/members/profile.php?id=".$lastposter.'">'.$lastposter."</a>"); unset($lastposter); } --- 183,191 ---- echo("<td align=right> "); if(isset($lastposter)){ ! echo($lastdate." by "); ! if(is_readable("../members/profile.php")){ ! echo('<a href="'.$basepath."/members/profile.php?id=".$lastposter.'">'); ! } ! echo($lastposter."</a>"); unset($lastposter); } Index: thread.php =================================================================== RCS file: /cvsroot/openfirst/forum/thread.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** thread.php 21 Oct 2003 23:47:42 -0000 1.2 --- thread.php 25 Oct 2003 23:02:50 -0000 1.3 *************** *** 77,81 **** echo("<table width=600><tr><th colspan=2>$msg->Title</th></tr>"); echo("<tr><td width=200 valign=top class=sub>".userdetails($msg->Author)."<div>Date: $msg->DatePosted</div></td><td valign=top>".$msg->Message."</td></tr>"); ! echo("<tr><td colspan=2 align=right class=sub><a href=".$basepath."/members/profile.php?id=".urlencode($msg->Author).'>Profile</a> | <a href="editpost.php?id='.$msg->ID.'&threadid='.$thread.'">Edit</a></td></tr></table><br />'); $query = ofirst_dbquery("SELECT * FROM ofirst_forumposts WHERE ReplyTo=$thread ORDER BY DatePosted"); --- 77,85 ---- echo("<table width=600><tr><th colspan=2>$msg->Title</th></tr>"); echo("<tr><td width=200 valign=top class=sub>".userdetails($msg->Author)."<div>Date: $msg->DatePosted</div></td><td valign=top>".$msg->Message."</td></tr>"); ! echo("<tr><td colspan=2 align=right class=sub>"); ! if(is_readable("../members/profile.php")){ ! echo("<a href=".$basepath."/members/profile.php?id=".urlencode($msg->Author).">Profile</a> | "); ! } ! echo('<a href="'.$basepath.'/forum/editpost.php?id='.$msg->ID.'&threadid='.$thread.'">Edit</a></td></tr></table><br />'); $query = ofirst_dbquery("SELECT * FROM ofirst_forumposts WHERE ReplyTo=$thread ORDER BY DatePosted"); *************** *** 115,119 **** } echo("<div>$msg->Message</div></td></tr>"); ! echo("<tr><td colspan=2 align=right class=sub><a href=".$basepath."/members/profile.php?id=".urlencode($msg->Author).'>Profile</a> | <a href="editpost.php?id='.$msg->ID.'&threadid='.$thread.'">Edit</a></td></tr>'); }else{ break; --- 119,127 ---- } echo("<div>$msg->Message</div></td></tr>"); ! echo("<tr><td colspan=2 align=right class=sub>"); ! if(is_readable("../members/profile.php")){ ! echo("<a href=".$basepath."/members/profile.php?id=".urlencode($msg->Author).">Profile</a> | "); ! } ! echo('<a href="'.$basepath.'/forum/editpost.php?id='.$msg->ID.'&threadid='.$thread.'">Edit</a></td></tr>'); }else{ break; *************** *** 136,142 **** } } ! echo("</div></th></tr></table>"); } ! echo('<br /><div><a href="newpost.php?forumid='.urlencode($forum).'&replyto='.$reply.'">New Reply</a></div>'); } } --- 144,150 ---- } } ! echo("</div></th></tr>"); } ! echo('</table><br /><div><a href="'.$basepath.'/forum/newpost.php?forumid='.urlencode($forum).'&replyto='.$reply.'">New Reply</a></div>'); } } |
From: <xt...@us...> - 2003-10-25 22:48:36
|
Update of /cvsroot/openfirst/projects/admin In directory sc8-pr-cvs1:/tmp/cvs-serv15375 Modified Files: editgroups.php Log Message: Fix minor spelling mistake. Index: editgroups.php =================================================================== RCS file: /cvsroot/openfirst/projects/admin/editgroups.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** editgroups.php 13 Oct 2003 23:38:34 -0000 1.4 --- editgroups.php 23 Oct 2003 12:43:28 -0000 1.5 *************** *** 90,94 **** <tr> <td>To edit the users assigned to this group you must add/remove user names ! from the boxes below. User names should be separated by a comma ie. jsomebody,mnobody,ahypithetical etc. No spaces should be added either. </td> </tr> --- 90,94 ---- <tr> <td>To edit the users assigned to this group you must add/remove user names ! from the boxes below. User names should be separated by a comma ie. jsomebody,mnobody,ahypothetical etc. No spaces should be added either. </td> </tr> |
From: <i-...@us...> - 2003-10-25 11:16:26
|
Update of /cvsroot/openfirst/logger In directory sc8-pr-cvs1:/tmp/cvs-serv26774/logger Modified Files: index.php Log Message: Fixed admin login bug Index: index.php =================================================================== RCS file: /cvsroot/openfirst/logger/index.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** index.php 15 Oct 2003 01:02:53 -0000 1.6 --- index.php 23 Oct 2003 22:09:10 -0000 1.7 *************** *** 27,37 **** */ ! if(!isset($user->user)||$user->membertype!="administrator"){ header("Location: stats.php"); exit; } - include_once("../config/globals.php"); - include_once("$header"); --- 27,37 ---- */ ! include_once("../config/globals.php"); ! ! if((!isset($user->user))||($user->membertype!="administrator")){ header("Location: stats.php"); exit; } include_once("$header"); |
From: <xt...@us...> - 2003-10-25 08:24:09
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv24486 Modified Files: viewmembers.php Log Message: Fix error in header comments, indenting issues, and convert include() to include_once() where appropriate. Index: viewmembers.php =================================================================== RCS file: /cvsroot/openfirst/projects/viewmembers.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** viewmembers.php 13 Oct 2003 23:37:52 -0000 1.2 --- viewmembers.php 23 Oct 2003 13:37:19 -0000 1.3 *************** *** 1,5 **** <?php /* ! * openFIRST.projects - meetings.php * * Copyright (C) 2003, --- 1,5 ---- <?php /* ! * openFIRST.projects - viewmembers.php * * Copyright (C) 2003, *************** *** 28,40 **** // Include globals and set header condense (not coded yet) ! include("../config/globals.php"); $header_condense = true; ! include($header); if(! isset($user->user)){ showlogin(); } else { ! $group_query = ofirst_dbquery("SELECT * FROM ofirst_projects_groups"); ! $group = ofirst_dbfetch_object($group_query); ?> --- 28,40 ---- // Include globals and set header condense (not coded yet) ! include_once("../config/globals.php"); $header_condense = true; ! include_once($header); if(! isset($user->user)){ showlogin(); } else { ! $group_query = ofirst_dbquery("SELECT * FROM ofirst_projects_groups"); ! $group = ofirst_dbfetch_object($group_query); ?> *************** *** 52,58 **** foreach($assigned as $assign){ ! $member_query = ofirst_dbquery("SELECT * FROM ofirst_members WHERE user = '".$assign."'"); ! $member = ofirst_dbfetch_object($member_query); ! echo "<td>$assign</td>"; echo "<td>".$member->firstname." ".$member->lastname."</td>"; --- 52,58 ---- foreach($assigned as $assign){ ! $member_query = ofirst_dbquery("SELECT * FROM ofirst_members WHERE user = '".$assign."'"); ! $member = ofirst_dbfetch_object($member_query); ! echo "<td>$assign</td>"; echo "<td>".$member->firstname." ".$member->lastname."</td>"; *************** *** 66,69 **** <?php } ! include($footer); ! ?> \ No newline at end of file --- 66,69 ---- <?php } ! include_once($footer); ! ?> |
From: <xt...@us...> - 2003-10-25 04:11:51
|
Update of /cvsroot/openfirst/projects/admin In directory sc8-pr-cvs1:/tmp/cvs-serv27796 Modified Files: updatesetup.php Log Message: Make path to include files correct, also adjust header information. Index: updatesetup.php =================================================================== RCS file: /cvsroot/openfirst/projects/admin/updatesetup.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** updatesetup.php 23 Oct 2003 13:47:28 -0000 1.2 --- updatesetup.php 23 Oct 2003 13:50:10 -0000 1.3 *************** *** 1,5 **** <?php /* ! * openFIRST.projects - updatesetup.php * * Copyright (C) 2003, --- 1,5 ---- <?php /* ! * openFIRST.projects - admin/updatesetup.php * * Copyright (C) 2003, *************** *** 28,32 **** // Include globals and set header condense (not coded yet) ! include_once("../config/globals.php"); $header_condense = true; include_once($header); --- 28,32 ---- // Include globals and set header condense (not coded yet) ! include_once("../../config/globals.php"); $header_condense = true; include_once($header); |
From: <xt...@us...> - 2003-10-24 12:46:43
|
Update of /cvsroot/openfirst/projects In directory sc8-pr-cvs1:/tmp/cvs-serv24108 Modified Files: viewmeeting.php Log Message: IMPORTANT: Fix a privilege escalation SECURITY VULNERABILITY, use include_once() instead of include() where appropriate, fix minor spacing issues. Index: viewmeeting.php =================================================================== RCS file: /cvsroot/openfirst/projects/viewmeeting.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** viewmeeting.php 12 Oct 2003 23:39:14 -0000 1.6 --- viewmeeting.php 23 Oct 2003 13:34:56 -0000 1.7 *************** *** 28,34 **** // Include globals and set header condense (not coded yet) ! include("../config/globals.php"); $header_condense = true; ! include($header); // Check if user is a member --- 28,34 ---- // Include globals and set header condense (not coded yet) ! include_once("../config/globals.php"); $header_condense = true; ! include_once($header); // Check if user is a member *************** *** 43,47 **** if(! isset($_POST['absent'])){ echo "<br><br>You must select users who were absent of click none! Click back to continue.<br><br><br>"; ! die(include($footer)); } --- 43,47 ---- if(! isset($_POST['absent'])){ echo "<br><br>You must select users who were absent of click none! Click back to continue.<br><br><br>"; ! die(include_once($footer)); } *************** *** 59,63 **** Status = 'done' WHERE ID = '".$_GET['ID']."'") or die(ofirst_dberror()); echo "<br><br>Meeting updated! [ <a href='meetings.php'>Meetings</a> ]<br><br>"; ! die(include($footer)); } --- 59,63 ---- Status = 'done' WHERE ID = '".$_GET['ID']."'") or die(ofirst_dberror()); echo "<br><br>Meeting updated! [ <a href='meetings.php'>Meetings</a> ]<br><br>"; ! die(include_once($footer)); } *************** *** 84,88 **** // List people who meeting was arranged for $assign = explode(",",$meeting->ArrangedFor); ! foreach($assign as $assign){ $query = ofirst_dbquery("SELECT * FROM ofirst_projects_groups WHERE ID = '".$assign."' ORDER BY GroupName;"); $group = ofirst_dbfetch_object($query); --- 84,88 ---- // List people who meeting was arranged for $assign = explode(",",$meeting->ArrangedFor); ! foreach($assign as $assign) { $query = ofirst_dbquery("SELECT * FROM ofirst_projects_groups WHERE ID = '".$assign."' ORDER BY GroupName;"); $group = ofirst_dbfetch_object($query); *************** *** 109,114 **** <br> <?php ! if($meeting->Status != "done"){ ! if($user->membertype = "administrator"){ ?> <form onsubmit="return dhtmlEditorPrepareSubmit();" action='viewmeeting.php?ID=<?php echo $_GET['ID']; ?>' method='POST'> --- 109,113 ---- <br> <?php ! if($meeting->Status != "done" && $user->membertype == "administrator") { ?> <form onsubmit="return dhtmlEditorPrepareSubmit();" action='viewmeeting.php?ID=<?php echo $_GET['ID']; ?>' method='POST'> *************** *** 158,162 **** // List the people currently in the array foreach($people as $people){ ! echo "\n <option>$people</option>"; } --- 157,161 ---- // List the people currently in the array foreach($people as $people){ ! echo "\n <option>$people</option>"; } *************** *** 173,179 **** <br> <?php ! } ! } } ! include($footer); ! ?> \ No newline at end of file --- 172,177 ---- <br> <?php ! } } ! include_once($footer); ! ?> |