openfirst-cvscommit Mailing List for openFIRST (Page 60)
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-12-29 16:55:03
|
Update of /cvsroot/openfirst/members In directory sc8-pr-cvs1:/tmp/cvs-serv28385 Modified Files: workspace.php Log Message: Make folder error was fixed as per Jacks suggestion of changing to 744. This is in reference to bugs #10,11 and 12. Index: workspace.php =================================================================== RCS file: /cvsroot/openfirst/members/workspace.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** workspace.php 29 Dec 2003 16:31:43 -0000 1.16 --- workspace.php 29 Dec 2003 16:54:58 -0000 1.17 *************** *** 464,469 **** if(is_writable(getcwd() . "/virtfs/") == true) { ofirst_dbquery("INSERT INTO ofirst_workspace_users (quota, user, virtfspath, frozen) VALUES('10', '$user->user', '" . getcwd() . "/virtfs/$user->user/', '0');"); ! mkdir(getcwd() . "/virtfs/$user->user/", 0644); ! mkdir(getcwd() . "/virtfs/$user->user/www/", 0644); $uf = ofirst_dbquery("INSERT INTO ofirst_workspace_files (size, location, owner, permissions, date, description, filetype, name) VALUES('0', '$filepath', '$user->user', 'drw-------', '" . --- 464,469 ---- if(is_writable(getcwd() . "/virtfs/") == true) { ofirst_dbquery("INSERT INTO ofirst_workspace_users (quota, user, virtfspath, frozen) VALUES('10', '$user->user', '" . getcwd() . "/virtfs/$user->user/', '0');"); ! mkdir(getcwd() . "/virtfs/$user->user/", 744); ! mkdir(getcwd() . "/virtfs/$user->user/www/", 744); $uf = ofirst_dbquery("INSERT INTO ofirst_workspace_files (size, location, owner, permissions, date, description, filetype, name) VALUES('0', '$filepath', '$user->user', 'drw-------', '" . |
From: <xt...@us...> - 2003-12-29 16:31:49
|
Update of /cvsroot/openfirst/members In directory sc8-pr-cvs1:/tmp/cvs-serv23282 Modified Files: workspace.php Log Message: Quote . Bug ID: 13, 14, 15 Index: workspace.php =================================================================== RCS file: /cvsroot/openfirst/members/workspace.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** workspace.php 22 Dec 2003 17:25:46 -0000 1.15 --- workspace.php 29 Dec 2003 16:31:43 -0000 1.16 *************** *** 123,127 **** } closedir($current_dir); ! rmdir(${dir}); } --- 123,127 ---- } closedir($current_dir); ! rmdir('$dir'); } |
From: <dav...@us...> - 2003-12-29 16:10:21
|
Update of /cvsroot/openfirst/members/admin In directory sc8-pr-cvs1:/tmp/cvs-serv18581 Modified Files: editmember.php Log Message: Error was generated when admin does not pass a user value through the querystring. I added a check query feature before running script. This is in reference to bug #3. Description: Undefined index: user in /home/openfirst/feds201/members/admin/editmember.php on line 76 Index: editmember.php =================================================================== RCS file: /cvsroot/openfirst/members/admin/editmember.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** editmember.php 27 Dec 2003 20:02:13 -0000 1.5 --- editmember.php 29 Dec 2003 16:10:17 -0000 1.6 *************** *** 30,37 **** // Check if user is an admin then allow processes ! if(! isset($user->user) || $user->membertype != "administrator"){ showlogin(); die(include_once($footer)); } if (isset($_POST["firstname"]) == true) { --- 30,43 ---- // Check if user is an admin then allow processes ! if (! isset($user->user) || $user->membertype != "administrator") { showlogin(); die(include_once($footer)); } + + // Check if user has entered a user to edit + if (! isset($_GET['user'])){ + echo "<br><br>You must select a user from the member list to edit! [ <a href='index.php'>Member List</a> ]<br><br>"; + die("$footer"); + } if (isset($_POST["firstname"]) == true) { *************** *** 95,99 **** <tr> <th>Last Name</th> ! <td><input type='text' name='lastname' value='<?php echo$edituser->lastname; ?>' /></td> </tr> <tr> --- 101,105 ---- <tr> <th>Last Name</th> ! <td><input type='text' name='lastname' value='<?php echo $edituser->lastname; ?>' /></td> </tr> <tr> *************** *** 105,110 **** <td> Existing: <br> <select name='division'> ! <?php ! $div = ofirst_dbquery("SELECT division FROM ofirst_divisions;"); while($d = ofirst_dbfetch_object($div)) { echo("<option value='$d->division'"); --- 111,116 ---- <td> Existing: <br> <select name='division'> ! <?php ! $div = ofirst_dbquery("SELECT division FROM ofirst_divisions;"); while($d = ofirst_dbfetch_object($div)) { echo("<option value='$d->division'"); |
From: <xt...@us...> - 2003-12-28 21:36:59
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv11476 Modified Files: version.php Log Message: Cause version.php to use the proper update.openfirst.org address, rather than the temporary testing one Index: version.php =================================================================== RCS file: /cvsroot/openfirst/base/config/version.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** version.php 28 Dec 2003 21:23:21 -0000 1.4 --- version.php 28 Dec 2003 21:36:51 -0000 1.5 *************** *** 69,73 **** $fil = str_replace("../$mod/", "", $filename); if(is_readable($filename) && function_exists("md5_file")) { ! @include(str_replace(" ", "%20", "http://update.openfirst.org/newupdate/versions.php?showgood=f&md5=" . md5_file($filename) . "&module=$mod&file=$fil")); } unset($filename); --- 69,73 ---- $fil = str_replace("../$mod/", "", $filename); if(is_readable($filename) && function_exists("md5_file")) { ! @include(str_replace(" ", "%20", "http://update.openfirst.org/versions.php?showgood=f&md5=" . md5_file($filename) . "&module=$mod&file=$fil")); } unset($filename); |
From: <xt...@us...> - 2003-12-28 21:23:27
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv9415 Modified Files: version.php Log Message: Fix issue with filenames containing spaces, Bug ID #9 Index: version.php =================================================================== RCS file: /cvsroot/openfirst/base/config/version.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** version.php 28 Dec 2003 21:12:44 -0000 1.3 --- version.php 28 Dec 2003 21:23:21 -0000 1.4 *************** *** 69,73 **** $fil = str_replace("../$mod/", "", $filename); if(is_readable($filename) && function_exists("md5_file")) { ! @include("http://update.openfirst.org/newupdate/versions.php?showgood=f&md5=" . md5_file($filename) . "&module=$mod&file=$fil"); } unset($filename); --- 69,73 ---- $fil = str_replace("../$mod/", "", $filename); if(is_readable($filename) && function_exists("md5_file")) { ! @include(str_replace(" ", "%20", "http://update.openfirst.org/newupdate/versions.php?showgood=f&md5=" . md5_file($filename) . "&module=$mod&file=$fil")); } unset($filename); |
From: <xt...@us...> - 2003-12-28 21:12:48
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv8015 Modified Files: version.php Log Message: Remove bugs which occur due to file system permissions or lack of md5_file(). Bug ID #5 Index: version.php =================================================================== RCS file: /cvsroot/openfirst/base/config/version.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** version.php 28 Sep 2003 17:33:22 -0000 1.2 --- version.php 28 Dec 2003 21:12:44 -0000 1.3 *************** *** 68,72 **** $mod = substr($mod, 0, strpos($mod, "/", 2)); $fil = str_replace("../$mod/", "", $filename); ! @include("http://update.openfirst.org/versions.php?showgood=f&md5=" . md5_file($filename) . "&module=$mod&file=$fil"); unset($filename); } --- 68,74 ---- $mod = substr($mod, 0, strpos($mod, "/", 2)); $fil = str_replace("../$mod/", "", $filename); ! if(is_readable($filename) && function_exists("md5_file")) { ! @include("http://update.openfirst.org/newupdate/versions.php?showgood=f&md5=" . md5_file($filename) . "&module=$mod&file=$fil"); ! } unset($filename); } |
From: <xt...@us...> - 2003-12-28 05:25:58
|
Update of /cvsroot/openfirst/base/config/functions In directory sc8-pr-cvs1:/tmp/cvs-serv31123 Modified Files: debug.php Log Message: Convert debug.php from using mail() to contact openFIRST developers to using our new Bugzilla system at http://bugzilla.openfirst.org/ This should reduce the amount of mail everyone's been getting lately, and make tracking bugs *much* easier ;-) Index: debug.php =================================================================== RCS file: /cvsroot/openfirst/base/config/functions/debug.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** debug.php 24 Dec 2003 03:28:26 -0000 1.5 --- debug.php 28 Dec 2003 02:07:25 -0000 1.6 *************** *** 43,72 **** } ! mail("ope...@li..., $mailnotify", "$currentmodule module - openFIRST Error", ! "PHP_SELF: " . $_SERVER["PHP_SELF"] . " ! HTTP Host: " . $_SERVER["HTTP_HOST"] . " ! HTTP Referer: " . $_SERVER["HTTP_REFERER"] . " ! Translated Path: " . $_SERVER["PATH_TRANSLATED"] . " ! MD5: $checksum ! Datebase Type: $dbasetype Operating System: $ostype SQL Server: $sqlserver Current Module: $currentmodule User (if exists): $user->user User Access Level: $user->membertype ! Error Number: $errno ! Error Description: $error ! File: $file ! Line: $line", "From: $mailfrom"); ! echo("<h3><strong>$errno</strong> - <strong>$error</strong> in <strong>$file</strong> on line <strong>$line</strong></h3> <p><strong>The openFIRST system has encountered an error. This may be due to a misconfiguration on the behalf of the person installing it, or an error in the openFIRST code.</strong></p> ! <p>Since debugging is enabled (config/functions/debug.php ! exists), the openFIRST team will be contacted with information ! relevant to fixing the problem. Rest assured, personal ! information about the users of the site is <b>not</b> revealed.</p>"); } ?> --- 43,89 ---- } ! // Notify the appropriate local contact ! mail($mailnotify, "$error in $file on line $line", "Error Description: $error in $file on line $line ! ! There is additional information regarding this bug stored on ! the openFIRST Bugzilla Server at: ! ! http://bugzilla.openfirst.org/", "From: $mailfrom"); ! ! // Attempt to contact the openFIRST Bugzilla Server ! $bugzilla = fopen(str_replace(" ", "%20", ! "http://bugzilla.openfirst.org/openfirst/?module=$currentmodule&uri=" . $_SERVER["HTTP_HOST"] . $_SERVER["PHP_SELF"] ! . "&details=MD5: $checksum ! Database Type: $dbasetype Operating System: $ostype SQL Server: $sqlserver Current Module: $currentmodule + Error Number: $errno + &specifics=PHP_SELF: " . $_SERVER["PHP_SELF"] . " + HTTP Host: " . $_SERVER["HTTP_HOST"] . " + HTTP Referer: " . $_SERVER["HTTP_REFERER"] . " + Translated Path: " . $_SERVER["PATH_TRANSLATED"] . " User (if exists): $user->user User Access Level: $user->membertype ! Error Description: $error in $file on line $line"), "r"); ! if(! $bugzilla) { ! // If a connection cannot be established to the Bugzilla server ! echo("Could not contact the openFIRST Bugzilla server."); ! echo("<h3><strong>$errno</strong> - <strong>$error</strong> in <strong>$file</strong> on line <strong>$line</strong></h3> <p><strong>The openFIRST system has encountered an error. This may be due to a misconfiguration on the behalf of the person installing it, or an error in the openFIRST code.</strong></p> ! <p>Debugging may be disabled by removing (config/functions/debug.php)"); ! ! } else { ! // If a connection is established to the Bugzilla server then rely ! // completely on it for the appropriate error message to show. ! while(!feof($bugzilla)) { ! $line = fgets($bugzilla, 2048); ! echo $line; ! } ! } } ?> |
From: <xt...@us...> - 2003-12-28 05:17:58
|
Update of /cvsroot/openfirst/search In directory sc8-pr-cvs1:/tmp/cvs-serv17889 Modified Files: index.php Log Message: Add 'All available data sources' functionality to conveniently place the data from all sources on one page. This will require the reintroduction of the Google search functionality which was removed by Greg. There should be search functionality for all other modules added to the search module before release. Index: index.php =================================================================== RCS file: /cvsroot/openfirst/search/index.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** index.php 27 Dec 2003 00:40:55 -0000 1.8 --- index.php 28 Dec 2003 05:03:20 -0000 1.9 *************** *** 29,33 **** if(!isset($_GET["type"])){ ! $_GET["type"]="news"; } if(!isset($_GET["q"])){ --- 29,33 ---- if(!isset($_GET["type"])){ ! $_GET["type"]="all"; } if(!isset($_GET["q"])){ *************** *** 38,42 **** if (isset($_GET["q"]) == true && $_GET["type"] == "google") { header("Location: http://www.google.com/search?q=".urlencode($_GET["q"])."+site:".$_GET["domains"]); ! }elseif (isset($_GET["q"]) == true && $_GET["type"] == "wwwgoogle") { header("Location: http://www.google.com/search?q=".urlencode($_GET["q"])); } --- 38,42 ---- if (isset($_GET["q"]) == true && $_GET["type"] == "google") { header("Location: http://www.google.com/search?q=".urlencode($_GET["q"])."+site:".$_GET["domains"]); ! } elseif (isset($_GET["q"]) == true && $_GET["type"] == "wwwgoogle") { header("Location: http://www.google.com/search?q=".urlencode($_GET["q"])); } *************** *** 52,55 **** --- 52,56 ---- <form method="GET" action="<?php echo $basepath; ?>/search/"> <select name="type"> + <option value="all" <?php if($_GET["type"] == "all") { echo " selected='selected'"; } ?>>All available data sources</option> <option value="google" <?php if($_GET["type"] == "google") { echo " selected='selected'"; } ?>>Google Search - This Site</option> <option value="wwwgoogle" <?php if($_GET["type"] == "wwwgoogle") { echo " selected='selected'"; } ?>>Google Search - All Web</option> *************** *** 80,84 **** <?php if(strlen($_GET["q"])>2){ ! if (isset($_GET["q"]) == true && $_GET["type"] == "member") { echo("Search Results for your Member Search for "" . $_GET["q"] . "" <p><sub>This search looks through member profiles</sub></p>"); --- 81,85 ---- <?php if(strlen($_GET["q"])>2){ ! if (isset($_GET["q"]) == true && is_readable("../members/") && $_GET["type"] == "member" || $_GET["type"] == "all") { echo("Search Results for your Member Search for "" . $_GET["q"] . "" <p><sub>This search looks through member profiles</sub></p>"); *************** *** 97,101 **** <p>End of Search Results</p>"); } ! } elseif (isset($_GET["q"]) == true && $_GET["type"] == "guestbook") { echo("Search Results for your Guestbook Search for "" . $_GET["q"] . "" <p><sub>This search looks through guestbook postings</sub></p>"); --- 98,103 ---- <p>End of Search Results</p>"); } ! } ! if (isset($_GET["q"]) == true && is_readable("../members/") && $_GET["type"] == "guestbook" || $_GET["type"] == "all") { echo("Search Results for your Guestbook Search for "" . $_GET["q"] . "" <p><sub>This search looks through guestbook postings</sub></p>"); *************** *** 115,119 **** } ! } elseif (isset($_GET["q"]) == true && $_GET["type"] == "workspace") { echo("Search Results for your Workspace Search for "" . $_GET["q"] . "" <p><sub>This search looks through workspace files (you may not have permission to access some of the resulting documents)</sub></p>"); --- 117,123 ---- } ! } ! ! if (isset($_GET["q"]) == true && is_readable("../members/workspace.php") && $_GET["type"] == "workspace" || $_GET["type"] == "all") { echo("Search Results for your Workspace Search for "" . $_GET["q"] . "" <p><sub>This search looks through workspace files (you may not have permission to access some of the resulting documents)</sub></p>"); *************** *** 132,136 **** } ! } elseif (isset($_GET["q"]) == true && $_GET["type"] == "news") { echo("Search Results for your News Search for "" . $_GET["q"] . "" <p><sub>This search looks through news postings</sub></p>"); --- 136,142 ---- } ! } ! ! if (isset($_GET["q"]) == true && is_readable("../news/") && $_GET["type"] == "news" || $_GET["type"] == "all") { echo("Search Results for your News Search for "" . $_GET["q"] . "" <p><sub>This search looks through news postings</sub></p>"); *************** *** 153,157 **** } } ! }else{ if($_GET["q"]!=""){ echo("The search string is too short."); --- 159,163 ---- } } ! } else { if($_GET["q"]!=""){ echo("The search string is too short."); |
From: <i-...@us...> - 2003-12-27 01:29:57
|
Update of /cvsroot/openfirst/emoticon/setup In directory sc8-pr-cvs1:/tmp/cvs-serv25975/emoticon/setup Modified Files: setup.mssql setup.mysql Log Message: Added 'shortcuts' for common emoticons (such as ':)'=':-)'). Removed emoticons that were missing images (such as 1006-specific ones :) Index: setup.mssql =================================================================== RCS file: /cvsroot/openfirst/emoticon/setup/setup.mssql,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** setup.mssql 23 Nov 2003 23:19:54 -0000 1.4 --- setup.mssql 27 Dec 2003 01:29:54 -0000 1.5 *************** *** 1,14 **** DROP TABLE ofirst_emoticon; ! CREATE TABLE ofirst_emoticon (ID tinyint(3) unsigned NOT NULL auto_increment, emoticon text, substitution text, PRIMARY KEY (ID)) TYPE=MyISAM; ! ALTER TABLE ofirst_emoticon MODIFY ID int(5) unsigned NOT NULL auto_increment; ! CREATE TABLE ofirst_slurblock (ID tinyint(3) unsigned NOT NULL auto_increment, slur text, substitution text, PRIMARY KEY (ID)) TYPE=MyISAM; ! ALTER TABLE ofirst_slurblock MODIFY ID int(5) unsigned NOT NULL auto_increment; INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/smile.png\" alt=\":-)\" title=\":-)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-(','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/frown.png\" alt=\":-(\" title=\":-(\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-o','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/surprised.png\" alt=\":-o\" title=\":-o\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-D','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/overjoyed.png\" alt=\":-D\" title=\":-D\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-P','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/tease.png\" alt=\":-P\" title=\":-P\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-|','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/straight-face.png\" alt=\":-|\" title=\":-|\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-S','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/sface.png\" alt=\":-S\" title=\":-S\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (';-)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/wink.png\" alt=\";-)\" title=\";-)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':@','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/depressed.png\" alt=\":@\" title=\":@\" />'); --- 1,18 ---- DROP TABLE ofirst_emoticon; ! DROP TABLE ofirst_slurblock; ! CREATE TABLE ofirst_emoticon (ID int(5) unsigned NOT NULL auto_increment, emoticon text, substitution text, PRIMARY KEY (ID), UNIQUE KEY `emoticon` (`emoticon`(12))) TYPE=MyISAM; ! CREATE TABLE ofirst_slurblock (ID int(5) unsigned NOT NULL auto_increment, slur text, substitution text, PRIMARY KEY (ID), UNIQUE KEY `slur` (`slur`(12))) TYPE=MyISAM; ! INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/smile.png\" alt=\":)\" title=\":)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/smile.png\" alt=\":-)\" title=\":-)\" />'); + INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':(','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/frown.png\" alt=\":(\" title=\":(\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-(','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/frown.png\" alt=\":-(\" title=\":-(\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-o','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/surprised.png\" alt=\":-o\" title=\":-o\" />'); + INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':D','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/overjoyed.png\" alt=\":D\" title=\":D\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-D','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/overjoyed.png\" alt=\":-D\" title=\":-D\" />'); + INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':P','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/tease.png\" alt=\":P\" title=\":P\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-P','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/tease.png\" alt=\":-P\" title=\":-P\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-|','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/straight-face.png\" alt=\":-|\" title=\":-|\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-S','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/sface.png\" alt=\":-S\" title=\":-S\" />'); + INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (';)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/wink.png\" alt=\";-)\" title=\";-)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (';-)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/wink.png\" alt=\";-)\" title=\";-)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':@','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/depressed.png\" alt=\":@\" title=\":@\" />'); *************** *** 101,109 **** INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-B','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/bigteeth.png\" alt=\":-B\" title=\":-B\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('I-)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/sleepyhead.png\" alt=\"I-)\" title=\"I-)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(tux)','<img src=\"http://openfirst.sourceforge.net/image/lecture/linux.png\" alt=\"(tux)\" title=\"(tux)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(lin)','<img src=\"http://openfirst.sourceforge.net/image/lecture/linux.png\" alt=\"(lin)\" title=\"(lin)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(win)','<img src=\"http://openfirst.sourceforge.net/image/lecture/windows.png\" alt=\"(win)\" title=\"(win)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(mac)','<img src=\"http://openfirst.sourceforge.net/image/lecture/mac.png\" alt=\"(mac)\" title=\"(mac)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(dos)','<img src=\"http://openfirst.sourceforge.net/image/lecture/dos.png\" alt=\"(dos)\" title=\"(dos)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-[','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/sadboxface.png\" alt=\":-[\" title=\":-[\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-T','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/tface.png\" alt=\":-T\" title=\":-T\" />'); --- 105,108 ---- *************** *** 129,133 **** INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-\'','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/apostrophe-face.png\" alt=\":-\'\" title=\":-\'\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('I-\'','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/i-apostrophe.png\" alt=\"I-\'\" title=\"I-\'\" />'); ! INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':\'-)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/tears-of-joy.png.png\" alt=\":\'-)\" title=\":\'-)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':~)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/tear-center.png\" alt=\":~)\" title=\":~)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-Y','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/smoker.png\" alt=\":-Y\" title=\":-Y\" />'); --- 128,132 ---- INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-\'','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/apostrophe-face.png\" alt=\":-\'\" title=\":-\'\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('I-\'','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/i-apostrophe.png\" alt=\"I-\'\" title=\"I-\'\" />'); ! INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':\'-)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/tears-of-joy.png\" alt=\":\'-)\" title=\":\'-)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':~)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/tear-center.png\" alt=\":~)\" title=\":~)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-Y','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/smoker.png\" alt=\":-Y\" title=\":-Y\" />'); *************** *** 430,446 **** INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(zm-c)','<img src=\"http://openfirst.sourceforge.net/image/icon/flag/zm.png\" alt=\"(zm)\" title=\"(zm)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(zw-c)','<img src=\"http://openfirst.sourceforge.net/image/icon/flag/zw.png\" alt=\"(zw)\" title=\"(zw)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(5x5)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/5x5computers.png\" alt=\"(5x5)\" title=\"(5x5)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(5x5)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/5x5computers.png\" alt=\"(5x5)\" title=\"(5x5)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(bca)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/baagwating.png\" alt=\"(bca)\" title=\"(bca)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(choko)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/chokomotorsports.png\" alt=\"(choko)\" title=\"(choko)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(ddsb)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/durhamdistrictschoolboard.png\" alt=\"(ddsb)\" title=\"(ddsb)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(fasteddie)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/fasteddie.png\" alt=\"(fasteddie)\" title=\"(fasteddie)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(lions)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/lionsclub.png\" alt=\"(lions)\" title=\"(lions)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(dental)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/portperrydental.png\" alt=\"(dental)\" title=\"(dental)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(scugog)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/townshipofscugog.png\" alt=\"(scugog)\" title=\"(scugog)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(gm)','<img src=\"http://openfirst.sourceforge.net/image/minigmcanada.png\" alt=\"(gm)\" title=\"(gm)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(pphs)','<img src=\"http://openfirst.sourceforge.net/image/minipphs.png\" alt=\"(pphs)\" title=\"(pphs)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(torch)','<img src=\"http://openfirst.sourceforge.net/image/minimascot.png\" alt=\"(torch)\" title=\"(torch)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(first)','<img src=\"http://openfirst.sourceforge.net/image/icon/flag/first.png\" alt=\"(first)\" title=\"(first)\" />'); INSERT INTO ofirst_config SET modulename='emoticon',showonmenu='0',active='0',includes='emoticonf.php',modulenavigation='<a href="$basepath/emoticon/">View Emoticons</a>'; INSERT INTO ofirst_slurblock (slur, substitution) VALUES ('motherfucker','************'); --- 429,432 ---- Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/emoticon/setup/setup.mysql,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** setup.mysql 23 Nov 2003 23:19:54 -0000 1.12 --- setup.mysql 27 Dec 2003 01:29:54 -0000 1.13 *************** *** 1,14 **** DROP TABLE ofirst_emoticon; ! CREATE TABLE ofirst_emoticon (ID tinyint(3) unsigned NOT NULL auto_increment, emoticon text, substitution text, PRIMARY KEY (ID)) TYPE=MyISAM; ! ALTER TABLE ofirst_emoticon MODIFY ID int(5) unsigned NOT NULL auto_increment; ! CREATE TABLE ofirst_slurblock (ID tinyint(3) unsigned NOT NULL auto_increment, slur text, substitution text, PRIMARY KEY (ID)) TYPE=MyISAM; ! ALTER TABLE ofirst_slurblock MODIFY ID int(5) unsigned NOT NULL auto_increment; INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/smile.png\" alt=\":-)\" title=\":-)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-(','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/frown.png\" alt=\":-(\" title=\":-(\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-o','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/surprised.png\" alt=\":-o\" title=\":-o\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-D','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/overjoyed.png\" alt=\":-D\" title=\":-D\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-P','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/tease.png\" alt=\":-P\" title=\":-P\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-|','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/straight-face.png\" alt=\":-|\" title=\":-|\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-S','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/sface.png\" alt=\":-S\" title=\":-S\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (';-)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/wink.png\" alt=\";-)\" title=\";-)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':@','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/depressed.png\" alt=\":@\" title=\":@\" />'); --- 1,18 ---- DROP TABLE ofirst_emoticon; ! DROP TABLE ofirst_slurblock; ! CREATE TABLE ofirst_emoticon (ID int(5) unsigned NOT NULL auto_increment, emoticon text, substitution text, PRIMARY KEY (ID), UNIQUE KEY `emoticon` (`emoticon`(12))) TYPE=MyISAM; ! CREATE TABLE ofirst_slurblock (ID int(5) unsigned NOT NULL auto_increment, slur text, substitution text, PRIMARY KEY (ID), UNIQUE KEY `slur` (`slur`(12))) TYPE=MyISAM; ! INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/smile.png\" alt=\":)\" title=\":)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/smile.png\" alt=\":-)\" title=\":-)\" />'); + INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':(','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/frown.png\" alt=\":(\" title=\":(\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-(','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/frown.png\" alt=\":-(\" title=\":-(\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-o','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/surprised.png\" alt=\":-o\" title=\":-o\" />'); + INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':D','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/overjoyed.png\" alt=\":D\" title=\":D\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-D','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/overjoyed.png\" alt=\":-D\" title=\":-D\" />'); + INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':P','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/tease.png\" alt=\":P\" title=\":P\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-P','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/tease.png\" alt=\":-P\" title=\":-P\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-|','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/straight-face.png\" alt=\":-|\" title=\":-|\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-S','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/sface.png\" alt=\":-S\" title=\":-S\" />'); + INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (';)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/wink.png\" alt=\";-)\" title=\";-)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (';-)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/wink.png\" alt=\";-)\" title=\";-)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':@','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/depressed.png\" alt=\":@\" title=\":@\" />'); *************** *** 101,109 **** INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-B','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/bigteeth.png\" alt=\":-B\" title=\":-B\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('I-)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/sleepyhead.png\" alt=\"I-)\" title=\"I-)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(tux)','<img src=\"http://openfirst.sourceforge.net/image/lecture/linux.png\" alt=\"(tux)\" title=\"(tux)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(lin)','<img src=\"http://openfirst.sourceforge.net/image/lecture/linux.png\" alt=\"(lin)\" title=\"(lin)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(win)','<img src=\"http://openfirst.sourceforge.net/image/lecture/windows.png\" alt=\"(win)\" title=\"(win)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(mac)','<img src=\"http://openfirst.sourceforge.net/image/lecture/mac.png\" alt=\"(mac)\" title=\"(mac)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(dos)','<img src=\"http://openfirst.sourceforge.net/image/lecture/dos.png\" alt=\"(dos)\" title=\"(dos)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-[','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/sadboxface.png\" alt=\":-[\" title=\":-[\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-T','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/tface.png\" alt=\":-T\" title=\":-T\" />'); --- 105,108 ---- *************** *** 129,133 **** INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-\'','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/apostrophe-face.png\" alt=\":-\'\" title=\":-\'\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('I-\'','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/i-apostrophe.png\" alt=\"I-\'\" title=\"I-\'\" />'); ! INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':\'-)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/tears-of-joy.png.png\" alt=\":\'-)\" title=\":\'-)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':~)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/tear-center.png\" alt=\":~)\" title=\":~)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-Y','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/smoker.png\" alt=\":-Y\" title=\":-Y\" />'); --- 128,132 ---- INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-\'','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/apostrophe-face.png\" alt=\":-\'\" title=\":-\'\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('I-\'','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/i-apostrophe.png\" alt=\"I-\'\" title=\"I-\'\" />'); ! INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':\'-)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/tears-of-joy.png\" alt=\":\'-)\" title=\":\'-)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':~)','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/tear-center.png\" alt=\":~)\" title=\":~)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES (':-Y','<img src=\"http://openfirst.sourceforge.net/image/icon/emote/smoker.png\" alt=\":-Y\" title=\":-Y\" />'); *************** *** 430,446 **** INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(zm-c)','<img src=\"http://openfirst.sourceforge.net/image/icon/flag/zm.png\" alt=\"(zm)\" title=\"(zm)\" />'); INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(zw-c)','<img src=\"http://openfirst.sourceforge.net/image/icon/flag/zw.png\" alt=\"(zw)\" title=\"(zw)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(5x5)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/5x5computers.png\" alt=\"(5x5)\" title=\"(5x5)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(5x5)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/5x5computers.png\" alt=\"(5x5)\" title=\"(5x5)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(bca)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/baagwating.png\" alt=\"(bca)\" title=\"(bca)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(choko)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/chokomotorsports.png\" alt=\"(choko)\" title=\"(choko)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(ddsb)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/durhamdistrictschoolboard.png\" alt=\"(ddsb)\" title=\"(ddsb)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(fasteddie)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/fasteddie.png\" alt=\"(fasteddie)\" title=\"(fasteddie)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(lions)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/lionsclub.png\" alt=\"(lions)\" title=\"(lions)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(dental)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/portperrydental.png\" alt=\"(dental)\" title=\"(dental)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(scugog)','<img src=\"http://openfirst.sourceforge.net/image/icon/sponsor/townshipofscugog.png\" alt=\"(scugog)\" title=\"(scugog)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(gm)','<img src=\"http://openfirst.sourceforge.net/image/minigmcanada.png\" alt=\"(gm)\" title=\"(gm)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(pphs)','<img src=\"http://openfirst.sourceforge.net/image/minipphs.png\" alt=\"(pphs)\" title=\"(pphs)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(torch)','<img src=\"http://openfirst.sourceforge.net/image/minimascot.png\" alt=\"(torch)\" title=\"(torch)\" />'); - INSERT INTO ofirst_emoticon (emoticon, substitution) VALUES ('(first)','<img src=\"http://openfirst.sourceforge.net/image/icon/flag/first.png\" alt=\"(first)\" title=\"(first)\" />'); INSERT INTO ofirst_config SET modulename='emoticon',showonmenu='0',active='0',includes='emoticonf.php',modulenavigation='<a href="$basepath/emoticon/">View Emoticons</a>'; INSERT INTO ofirst_slurblock (slur, substitution) VALUES ('motherfucker','************'); --- 429,432 ---- |
From: <i-...@us...> - 2003-12-27 01:04:58
|
Update of /cvsroot/openfirst/forum In directory sc8-pr-cvs1:/tmp/cvs-serv23126/forum Modified Files: thread.php Log Message: The forum module now displays emoticons in posts. Index: thread.php =================================================================== RCS file: /cvsroot/openfirst/forum/thread.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** thread.php 24 Dec 2003 21:11:33 -0000 1.5 --- thread.php 27 Dec 2003 01:04:55 -0000 1.6 *************** *** 74,78 **** echo "<h1>$msg->Title</h1>"; 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>"; --- 74,84 ---- echo "<h1>$msg->Title</h1>"; 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>"; ! if(function_exists("emoticon_translate")){ ! echo(emoticon_translate($msg->Message)); ! }else{ ! echo($msg->Message); ! } ! echo "</td></tr>"; echo "<tr><td colspan=2 align=right class=sub>"; *************** *** 121,125 **** echo "<p><b>$msg->Title</b></p>"; } ! echo "<div>$msg->Message</div></td></tr>"; echo "<tr><td colspan=2 align=right class=sub>"; if (is_readable("../members/profile.php")) { --- 127,137 ---- echo "<p><b>$msg->Title</b></p>"; } ! echo "<div>"; ! if(function_exists("emoticon_translate")){ ! echo(emoticon_translate($msg->Message)); ! }else{ ! echo($msg->Message); ! } ! echo "</div></td></tr>"; echo "<tr><td colspan=2 align=right class=sub>"; if (is_readable("../members/profile.php")) { |
From: <i-...@us...> - 2003-12-27 01:00:37
|
Update of /cvsroot/openfirst/news In directory sc8-pr-cvs1:/tmp/cvs-serv22505/news Modified Files: viewnews.php Log Message: The news module now displays emoticons in news posts. Index: viewnews.php =================================================================== RCS file: /cvsroot/openfirst/news/viewnews.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** viewnews.php 24 Dec 2003 00:46:37 -0000 1.11 --- viewnews.php 27 Dec 2003 01:00:33 -0000 1.12 *************** *** 40,46 **** echo("<tr><td><center><img src='$news->image' alt='$news->title'></center></td></tr>"); } ! echo("<tr><td class='sub'>Posted on $news->date by $news->poster</td></tr> ! <tr><td>$news->news<br><br><center>[ <a href='".$GLOBALS["basepath"]."/news/comments.php?ID=$news->ID'>View Comments</a> ]</center></td></tr>"); ! if($admin){ echo('<tr><td class="sub"><div style="" align="right">Admin options: <a href="'.$GLOBALS["basepath"].'/news/admin/editnews.php?id='.$news->ID.'"><img alt="Edit story" border=0 src="'.$GLOBALS["basepath"].'/news/images/newdoc.gif" align=absmiddle>Edit story</a>'); echo('<a href="'.$GLOBALS["basepath"].'/news/admin/killnews.php?id='.$news->ID.'"><img alt="Delete story" border=0 src="'.$GLOBALS["basepath"].'/news/images/killdoc.gif" align=absmiddle>Delete story</a></div></td></tr>'); --- 40,51 ---- echo("<tr><td><center><img src='$news->image' alt='$news->title'></center></td></tr>"); } ! echo("<tr><td class='sub'>Posted on $news->date by $news->poster</td></tr><tr><td>"); ! if(function_exists("emoticon_translate")){ ! echo(emoticon_translate($news->news)); ! }else{ ! echo($news->news); ! } ! echo("<br><br><center>[ <a href='".$GLOBALS["basepath"]."/news/comments.php?ID=$news->ID'>View Comments</a> ]</center></td></tr>"); ! if($admin){ echo('<tr><td class="sub"><div style="" align="right">Admin options: <a href="'.$GLOBALS["basepath"].'/news/admin/editnews.php?id='.$news->ID.'"><img alt="Edit story" border=0 src="'.$GLOBALS["basepath"].'/news/images/newdoc.gif" align=absmiddle>Edit story</a>'); echo('<a href="'.$GLOBALS["basepath"].'/news/admin/killnews.php?id='.$news->ID.'"><img alt="Delete story" border=0 src="'.$GLOBALS["basepath"].'/news/images/killdoc.gif" align=absmiddle>Delete story</a></div></td></tr>'); |
From: <i-...@us...> - 2003-12-27 00:42:40
|
Update of /cvsroot/openfirst/search In directory sc8-pr-cvs1:/tmp/cvs-serv20437/search Added Files: search.png Log Message: Changed search.png to proper format in the cvs |
From: <i-...@us...> - 2003-12-27 00:42:03
|
Update of /cvsroot/openfirst/search In directory sc8-pr-cvs1:/tmp/cvs-serv20346/search Removed Files: search.png Log Message: Changed search.png to proper format in the cvs --- search.png DELETED --- |
From: <i-...@us...> - 2003-12-27 00:40:58
|
Update of /cvsroot/openfirst/search In directory sc8-pr-cvs1:/tmp/cvs-serv20236/search Modified Files: NOTES index.php Removed Files: search2.png Log Message: Finished updating the search module for the release. Index: NOTES =================================================================== RCS file: /cvsroot/openfirst/search/NOTES,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NOTES 25 Dec 2003 19:56:39 -0000 1.2 --- NOTES 27 Dec 2003 00:40:55 -0000 1.3 *************** *** 9,11 **** Tim Ginn - not yet audited ! Greg Inozemtsev - Module approved. PNG images are damaged. Lots of fixes. Removed "Google Parser" (it is backed up just in case) because it did not really work. Instead the script redirects to Google. \ No newline at end of file --- 9,11 ---- Tim Ginn - not yet audited ! Greg Inozemtsev - Module approved. Design changes. Lots of fixes. Removed "Google Parser" (it is backed up just in case) because it did not really work. Instead the script redirects to Google. \ No newline at end of file Index: index.php =================================================================== RCS file: /cvsroot/openfirst/search/index.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** index.php 25 Dec 2003 19:56:39 -0000 1.7 --- index.php 27 Dec 2003 00:40:55 -0000 1.8 *************** *** 47,52 **** <tr> <th> ! <img src="search.png" alt="openFIRST" /> ! <img src="search2.png" alt="Search" /> </th> <td> --- 47,51 ---- <tr> <th> ! <img src="search.png" alt="openFIRST Search" /> </th> <td> *************** *** 61,68 **** if(is_readable("../guestbook/") == true) { ?> <option value="guestbook" <?php if($_GET["type"] == "guestbook") { echo " selected='selected'"; } ?>>Guestbook Search</option> - <?php - } - if(is_readable("../messenger/") == true) { ?> - <option value="messenger" <?php if($_GET["type"] == "messenger") { echo " selected='selected'"; } ?>>Messenger Search</option> <?php } --- 60,63 ---- *************** *** 71,78 **** <?php } - if(is_readable("../projects/") == true) { ?> - <option value="project" <?php if($_GET["type"] == "project") { echo " selected='selected'"; }?>>Project Search</option> - <?php - } if(is_readable("../news/") == true) { ?> <option value="news" <?php if($_GET["type"] == "news") { echo " selected='selected'"; } ?>>News Search</option> --- 66,69 ---- *************** *** 93,97 **** <p><sub>This search looks through member profiles</sub></p>"); ! $qu = ofirst_dbquery("SELECT * FROM ofirst_members WHERE description LIKE '%" . $_GET["q"] . "%' OR signature LIKE '% " . $_GET["q"] . " %' OR firstname LIKE '%" . $_GET["q"] . "%' OR lastname LIKE '%" . $_GET["q"] . "%' OR team LIKE '%" . $_GET["q"] . "%';"); if(ofirst_dbnum_rows($qu) == 0) { echo("<p>Your search has returned no results.</p>"); --- 84,88 ---- <p><sub>This search looks through member profiles</sub></p>"); ! $qu = ofirst_dbquery("SELECT * FROM ofirst_members WHERE user LIKE '%" . $_GET["q"] . "%' OR description LIKE '%" . $_GET["q"] . "%' OR signature LIKE '% " . $_GET["q"] . " %' OR firstname LIKE '%" . $_GET["q"] . "%' OR lastname LIKE '%" . $_GET["q"] . "%' OR team LIKE '%" . $_GET["q"] . "%';"); if(ofirst_dbnum_rows($qu) == 0) { echo("<p>Your search has returned no results.</p>"); *************** *** 123,128 **** <p>End of Search Results</p>"); } - } elseif (isset($_GET["q"]) == true && $_GET["type"] == "messenger") { - echo("Search Results - Search not performed - This function is not yet implemented."); } elseif (isset($_GET["q"]) == true && $_GET["type"] == "workspace") { --- 114,117 ---- *************** *** 143,149 **** } - } elseif (isset($_GET["q"]) == true && $_GET["type"] == "project") { - echo("Search Results - Search not performed - This function is not yet implemented."); - } elseif (isset($_GET["q"]) == true && $_GET["type"] == "news") { echo("Search Results for your News Search for "" . $_GET["q"] . "" --- 132,135 ---- *************** *** 166,171 **** echo("We are sorry, but your search has returned no results."); } - - fclose($inf); } }else{ --- 152,155 ---- --- search2.png DELETED --- |
From: <i-...@us...> - 2003-12-27 00:15:03
|
Update of /cvsroot/openfirst/base/config In directory sc8-pr-cvs1:/tmp/cvs-serv17220/config Modified Files: first.php Log Message: Moved registration functionality to the Members module. This feature can be disabled when openFIRST is set up and is disabled by default. Index: first.php =================================================================== RCS file: /cvsroot/openfirst/base/config/first.php,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** first.php 23 Dec 2003 17:06:16 -0000 1.27 --- first.php 27 Dec 2003 00:15:00 -0000 1.28 *************** *** 47,50 **** --- 47,55 ---- $cookielogins='$pass_save_disabled=true;'; } + if(isset($_POST["allowreg"])&&$_POST["allowreg"]=="yes"){ + $allowreg='$regenabled=true;'; + }else{ + $allowreg='$regenabled=false;'; + } fputs($of, "<?php /* *************** *** 78,81 **** --- 83,87 ---- $cookielogins + $allowreg \$home = '" . $_POST["home"] . "'; \$header = '" . $_POST["header"] . "'; *************** *** 285,292 **** <td><input type="text" name="fbasepath" value="<?php chdir(".."); echo getcwd(); ?>"></td> </tr> <tr> ! <td>Allow openFIRST users to save their passwords?</td> <td><input type="checkbox" name="cookielogins" id="cookielogins" value="yes" checked> <label for="cookielogins">Allowed</label></td> </tr> <tr> --- 291,310 ---- <td><input type="text" name="fbasepath" value="<?php chdir(".."); echo getcwd(); ?>"></td> </tr> + <tr> + <td class="sub"><div align="center">Security Options</div></td> + <td class="sub"> </td> + </tr> <tr> ! <td>Allow openFIRST users to save their passwords?<br> <font size="1">This feature uses cookies to ! automatically log in users into the openFIRST portal.</font></td> <td><input type="checkbox" name="cookielogins" id="cookielogins" value="yes" checked> <label for="cookielogins">Allowed</label></td> + </tr> + <tr> + <td>Allow users to register on the portal?<br> <font size="1">Enabling this option will + allow users to register on the website and log in to access the members area. Be careful when + using this option.</font></td> + <td><input type="checkbox" name="allowreg" id="allowreg" value="yes"> + <label for="allowreg">Allowed</label></td> </tr> <tr> |
From: <i-...@us...> - 2003-12-27 00:14:37
|
Update of /cvsroot/openfirst/members In directory sc8-pr-cvs1:/tmp/cvs-serv17123/members Added Files: register.php Log Message: Moved registration functionality to the Members module. This feature can be disabled when openFIRST is set up and is disabled by default. --- NEW FILE: register.php --- <?php /* * openFIRST.members - register.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_once("../config/globals.php"); include_once($header); //Change the $regenabled variable in globals.php to allow users //to register on the website automatically. //Registration will provide users with "user" level of access. //Use this feature with caution. if(isset($regenabled)&&$regenabled==true){ if(isset($_POST["team"])) { $team=$_POST["team"]; } else{ $team=0; } if(isset($_POST["user"])) { $user=$_POST["user"]; } else{ $user=""; } if(isset($_POST["firstname"])) { $firstname=$_POST["firstname"]; } else{ $firstname=""; } if(isset($_POST["lastname"])) { $lastname=$_POST["lastname"]; } else{ $lastname=""; } if(isset($_POST["password"])) { $password=$_POST["password"]; } else{ $password=""; } if(isset($_POST["password2"])) { $password2=$_POST["password2"]; } else{ $password2=""; } if(isset($_POST["signature"])) { $signature=$_POST["signature"]; } else{ $signature=""; } $msg=""; if(isset($_SERVER["HTTP_REFERER"])&&strstr($_SERVER["HTTP_REFERER"],"register.php")){ if($user==""){ $msg="<br>You must enter a username."; } if($password!=$password2){ $msg.="<br>Passwords do not match. Check the password fields."; } if(strlen($password)<5){ $msg.="<br>Please pick a password that is at least 5 characters long."; } $q = ofirst_dbquery("SELECT user FROM ofirst_members WHERE user='".$user."'"); if(ofirst_dbnum_rows($q)>0){ $msg.="<br>A user is already registered with this username."; } if($msg==""){ $q = ofirst_dbquery("INSERT INTO ofirst_members (user, firstname, lastname, password, membertype, signature, picturelocation, team, dateregistered) VALUES ('". $user ."', '" . $firstname . "','" . $lastname . "', '" . cryptpassword($password, $encryption)."', 'user', '".$signature."', '', '".$team."', '".date("Y-m-d") . "');"); echo("<h1>Registration</h1><p>Thank you for registering. You can now use you username and password to access members-only areas of the website</p>"); include_once($footer); exit; } } ?> <form method="post" action="register.php"> <table width="50%"> <tr><th colspan=2><h1>Registration</h1></th></tr> <tr><td class=sub colspan=2><p>Please use this form to register. Once you are a registered user, you will be granted access to the Members area of the web site. You can update your profile there at any time.</p> <p>You will also be able to post messages on the forums and use the Messenger and other modules with no restrictions.</p> <p><?php echo($msg); ?></p></td></tr> <tr><th colspan=2><h2>Required Information</h2></th></tr> <tr> <th>User Name</th> <td><input type="text" name="user" value="<?php echo($user); ?>" /></td> </tr> <tr> <th>Password</th> <td><input type="password" name="password" /></td> </tr> <tr> <th>Confirm Password</th> <td><input type="password" name="password2" /></td> </tr> <tr> <th>Team Number</th> <td><input type="text" name="team" value="<?php echo($team); ?>" /><br>Please use 0 if you are not a member of a FIRST team</td> </tr> <tr><th colspan=2><h2>Optional Information</h2></th></tr> <tr> <th>First Name</th> <td><input type="text" name="firstname" value="<?php echo($firstname); ?>" /></td> </tr> <tr> <th>Last Name</th> <td><input type="text" name="lastname" value="<?php echo($lastname); ?>" /></td> </tr> <tr> <th>Signature</th> <td><textarea name="signature"><?php echo($signature); ?></textarea></td> </tr> <tr> <th colspan=2 align=center><input type="submit" value="Register" /> <input type="reset" /></th> </tr> </table> </form> <?php }else{ echo("<h3>Automatic Registration Disabled</h3><p>The administrator of this website has disabled automatic registrations. Please contact the administrator directly to register.</p>"); } include_once($footer); ?> |
From: <i-...@us...> - 2003-12-26 23:25:32
|
Update of /cvsroot/openfirst/forum In directory sc8-pr-cvs1:/tmp/cvs-serv7796/forum Modified Files: login.php Removed Files: register.php Log Message: Moved registration functionality to the Members module where it should have been in the first place. Index: login.php =================================================================== RCS file: /cvsroot/openfirst/forum/login.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** login.php 24 Dec 2003 21:11:33 -0000 1.3 --- login.php 26 Dec 2003 23:25:28 -0000 1.4 *************** *** 38,43 **** logout(); } ! echo '<h2>Forum Login</h2><div style="width:300px;border-width:1px;border-style:dotted;padding:5px;background:url(\''.$basepath.'/images/back-lighter.gif\');">You need to log in to use this feature of the forum.<br /> ! If you are not registered yet? <b><a href=register.php>Register Now!</a></b></div>'; showlogin(); } --- 38,46 ---- logout(); } ! echo('<h2>Forum Login</h2><div style="width:300px;border-width:1px;border-style:dotted;padding:5px;background:url(\''.$basepath.'/images/back-lighter.gif\');">You need to log in to use this feature of the forum.<br />'); ! if(is_readable("../members/register.php")){ ! echo('If you are not registered yet, <b><a href='.$basepath.'/members/register.php>register now!</a></b>'); ! } ! echo('</div>'); showlogin(); } *************** *** 51,53 **** echo '<div><a href="'.$back.'">Back to forum</a></div>'; } ! include($footer); ?> \ No newline at end of file --- 54,56 ---- echo '<div><a href="'.$back.'">Back to forum</a></div>'; } ! include($footer); ?> --- register.php DELETED --- |
From: <i-...@us...> - 2003-12-25 20:01:51
|
Update of /cvsroot/openfirst/sidebars In directory sc8-pr-cvs1:/tmp/cvs-serv23280/sidebars Modified Files: NOTES Log Message: Audited sidebar module. Index: NOTES =================================================================== RCS file: /cvsroot/openfirst/sidebars/NOTES,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NOTES 24 Dec 2003 17:04:27 -0000 1.1 --- NOTES 25 Dec 2003 20:01:48 -0000 1.2 *************** *** 9,11 **** Tim Ginn - not yet audited ! Greg Inozemtsev - not yet audited \ No newline at end of file --- 9,11 ---- Tim Ginn - not yet audited ! Greg Inozemtsev - Module approved. \ No newline at end of file |
From: <i-...@us...> - 2003-12-25 19:56:43
|
Update of /cvsroot/openfirst/search In directory sc8-pr-cvs1:/tmp/cvs-serv22362/search Modified Files: NOTES index.php Log Message: Audited search module. Index: NOTES =================================================================== RCS file: /cvsroot/openfirst/search/NOTES,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NOTES 24 Dec 2003 17:04:57 -0000 1.1 --- NOTES 25 Dec 2003 19:56:39 -0000 1.2 *************** *** 9,11 **** Tim Ginn - not yet audited ! Greg Inozemtsev - not yet audited \ No newline at end of file --- 9,11 ---- Tim Ginn - not yet audited ! Greg Inozemtsev - Module approved. PNG images are damaged. Lots of fixes. Removed "Google Parser" (it is backed up just in case) because it did not really work. Instead the script redirects to Google. \ No newline at end of file Index: index.php =================================================================== RCS file: /cvsroot/openfirst/search/index.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** index.php 24 Dec 2003 17:04:57 -0000 1.6 --- index.php 25 Dec 2003 19:56:39 -0000 1.7 *************** *** 27,30 **** --- 27,45 ---- */ include_once("../config/globals.php"); + + if(!isset($_GET["type"])){ + $_GET["type"]="news"; + } + if(!isset($_GET["q"])){ + $_GET["q"]=""; + } + + //redirect to Google if needed + if (isset($_GET["q"]) == true && $_GET["type"] == "google") { + header("Location: http://www.google.com/search?q=".urlencode($_GET["q"])."+site:".$_GET["domains"]); + }elseif (isset($_GET["q"]) == true && $_GET["type"] == "wwwgoogle") { + header("Location: http://www.google.com/search?q=".urlencode($_GET["q"])); + } + include_once($header); ?> *************** *** 36,42 **** </th> <td> ! <form method="GET" action="<?php echo $basepath; ?>/search/"> <select name="type"> ! <option value="google" <?php if($_GET["type"] == "google") { echo " selected='selected'"; } ?>>Google Search</option> <?php if(is_readable("../members/") == true) { ?> <option value="member" <?php if($_GET["type"] == "member") { echo " selected='selected'"; } ?>>Member Search</option> --- 51,58 ---- </th> <td> ! <form method="GET" action="<?php echo $basepath; ?>/search/"> <select name="type"> ! <option value="google" <?php if($_GET["type"] == "google") { echo " selected='selected'"; } ?>>Google Search - This Site</option> ! <option value="wwwgoogle" <?php if($_GET["type"] == "wwwgoogle") { echo " selected='selected'"; } ?>>Google Search - All Web</option> <?php if(is_readable("../members/") == true) { ?> <option value="member" <?php if($_GET["type"] == "member") { echo " selected='selected'"; } ?>>Member Search</option> *************** *** 64,70 **** </select> <input type="text" name="q" size="31" maxlength="255" value="<?php echo $_GET["q"]; ?>" /> ! <input type="submit" value="Google Search" /> <input type="hidden" name="sitesearch" value="<?php echo $_SERVER["HTTP_HOST"]; ?>" /> ! <input type="hidden" name="domains" value="<?php echo $_SERVER["HTTP_HOST"]; ?>" /> </form> </td> --- 80,86 ---- </select> <input type="text" name="q" size="31" maxlength="255" value="<?php echo $_GET["q"]; ?>" /> ! <input type="submit" value="Search" /> <input type="hidden" name="sitesearch" value="<?php echo $_SERVER["HTTP_HOST"]; ?>" /> ! <input type="hidden" name="domains" value="<?php echo $_SERVER["HTTP_HOST"]; ?>" /> </form> </td> *************** *** 72,75 **** --- 88,92 ---- </table> <?php + if(strlen($_GET["q"])>2){ if (isset($_GET["q"]) == true && $_GET["type"] == "member") { echo("Search Results for your Member Search for "" . $_GET["q"] . "" *************** *** 107,111 **** } } elseif (isset($_GET["q"]) == true && $_GET["type"] == "messenger") { ! echo("Search Results - Search not performed - Waiting for proper messenger table structure before writing search functions."); } elseif (isset($_GET["q"]) == true && $_GET["type"] == "workspace") { --- 124,128 ---- } } elseif (isset($_GET["q"]) == true && $_GET["type"] == "messenger") { ! echo("Search Results - Search not performed - This function is not yet implemented."); } elseif (isset($_GET["q"]) == true && $_GET["type"] == "workspace") { *************** *** 127,131 **** } elseif (isset($_GET["q"]) == true && $_GET["type"] == "project") { ! echo("Search Results - Search not performed - Waiting for proper project table structure before writing search functions."); } elseif (isset($_GET["q"]) == true && $_GET["type"] == "news") { --- 144,148 ---- } elseif (isset($_GET["q"]) == true && $_GET["type"] == "project") { ! echo("Search Results - Search not performed - This function is not yet implemented."); } elseif (isset($_GET["q"]) == true && $_GET["type"] == "news") { *************** *** 146,210 **** } ! } elseif (isset($_GET["q"]) == true) { ! $qs = $_SERVER["QUERY_STRING"]; ! $inf = fopen("http://www.google.com/custom?$qs","r"); ! if (!$inf) { echo("Failed to open address."); ! break; ! } ! ! $start = "false"; ! while (!feof ($inf)) { ! $line = fgets ($inf, 1024*50); ! $line = str_replace("<font color=#ffffff>", "", $line); ! $line = str_replace("<font size=-1 color=#ffffff>", "", $line); ! $line = str_replace("<font size=-1>", "", $line); ! $line = str_replace("<font color=#008000>", "", $line); ! $line = str_replace("<font size=-1 class=p>", "", $line); ! $line = str_replace("</font>", "", $line); ! $line = str_replace("<div>", "", $line); ! $line = str_replace("</div>", "", $line); ! $line = str_replace("<td bgcolor=#3366cc align=right nowrap>","", $line); ! $line = str_replace("class=fl", "class=\"fl\"", $line); ! $line = str_replace("<td align=right>", "", $line); ! $line = str_replace("</table><center>", "", $line); ! $line = str_replace("<br>", "<br />", $line); ! $line = str_replace("bgcolor=#EBFFED", "bgcolor=#EBFFED", $line); ! $line = str_replace("/images/", "http://www.google.com/images/", $line); ! $line = str_replace("<td nowrap>", "", $line); ! $line = str_replace("<td>", "", $line); ! $line = str_replace("</td>", "", $line); ! $line = str_replace("/custom?q=", "/search/?q=", $line); ! $line = str_replace("<br clear=all><div class=n><table border=0 cellpadding=0 width=1% cellspacing=0 align=center><tr align=center valign=top><td valign=bottom nowrap>", "", $line); ! if (strpos($line, "Searched pages from") > 0) { ! $pos = strpos($line, "Searched pages from"); ! $lastpos=strlen($line) - (strpos(strrev($line),strrev("</blockquote>")) + strlen("</blockquote>")); ! $asdf = (integer) (integer) $lastpos - (integer) $pos; ! echo(substr($line, $pos, $asdf)); ! $start = "true"; ! $done = "true"; ! } elseif ($start == "true") { ! if (strpos($line, "/blockquote>") == 0) { ! echo($line); ! } else { ! $start = "false"; ! } ! } elseif (strpos($line, "esult Page: ") >0) { ! $line = str_replace("<br />", "", $line); ! $line = str_replace("<span class=b>Next</span>", "", $line); ! $line = str_replace("<span class=b>Previous</span>", "", $line); ! for($x=11; $x > 0; $x--) { ! $line = str_replace("$x</a>", "</a>", $line); ! $line = str_replace("<span class=i>$x</span>","", $line); ! } ! ! $line = str_replace("nav_current.gif", "image/search/nav_current.png", $line); ! $line = str_replace("src=/nav_", "src=http://www.google.com/nav_", $line); ! $line = str_replace("<img src=/image/search/nav_current.png width=16 height=26 alt=\"\">", "<img src=\"/image/search/nav_current.png\" alt=\"\">",$line); ! echo("</p> <p style=\"font-size: 100%; background-color: #ffffff; color: #000000;\">$line</p>"); ! $done = "true"; ! } ! } ! ! if($done != "true") { echo("We are sorry, but your search has returned no results."); } --- 163,167 ---- } ! if(!isset($done)||($done != "true")) { echo("We are sorry, but your search has returned no results."); } *************** *** 212,215 **** fclose($inf); } ! ! include_once($footer); ?> --- 169,176 ---- fclose($inf); } ! }else{ ! if($_GET["q"]!=""){ ! echo("The search string is too short."); ! } ! } ! include_once($footer); ?> |
From: <i-...@us...> - 2003-12-25 19:30:33
|
Update of /cvsroot/openfirst/guestbook In directory sc8-pr-cvs1:/tmp/cvs-serv18902/guestbook Modified Files: NOTES Log Message: Audited guestbook module. Index: NOTES =================================================================== RCS file: /cvsroot/openfirst/guestbook/NOTES,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NOTES 24 Dec 2003 19:05:54 -0000 1.2 --- NOTES 25 Dec 2003 19:30:30 -0000 1.3 *************** *** 9,11 **** Tim Ginn - Module approved. ! Greg Inozemtsev - not yet audited --- 9,11 ---- Tim Ginn - Module approved. ! Greg Inozemtsev - Module approved. |
From: <i-...@us...> - 2003-12-25 19:27:11
|
Update of /cvsroot/openfirst/awards In directory sc8-pr-cvs1:/tmp/cvs-serv18430/awards Modified Files: NOTES Log Message: Audited awards module. Index: NOTES =================================================================== RCS file: /cvsroot/openfirst/awards/NOTES,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NOTES 24 Dec 2003 17:43:25 -0000 1.2 --- NOTES 25 Dec 2003 19:27:07 -0000 1.3 *************** *** 9,11 **** Tim Ginn - Module approved. ! Greg Inozemtsev - not yet audited --- 9,11 ---- Tim Ginn - Module approved. ! Greg Inozemtsev - Module approved. |
From: <i-...@us...> - 2003-12-25 19:23:28
|
Update of /cvsroot/openfirst/feedback In directory sc8-pr-cvs1:/tmp/cvs-serv17950/feedback Modified Files: NOTES Log Message: Audited feedback module. Index: NOTES =================================================================== RCS file: /cvsroot/openfirst/feedback/NOTES,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NOTES 24 Dec 2003 18:22:48 -0000 1.2 --- NOTES 25 Dec 2003 19:23:18 -0000 1.3 *************** *** 9,11 **** Tim Ginn - Module approved. ! Greg Inozemtsev - not yet audited --- 9,11 ---- Tim Ginn - Module approved. ! Greg Inozemtsev - Module approved. |
From: <i-...@us...> - 2003-12-25 19:20:52
|
Update of /cvsroot/openfirst/messenger In directory sc8-pr-cvs1:/tmp/cvs-serv17641/messenger Modified Files: NOTES Log Message: Audited messenger module. Index: NOTES =================================================================== RCS file: /cvsroot/openfirst/messenger/NOTES,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NOTES 24 Dec 2003 21:07:55 -0000 1.2 --- NOTES 25 Dec 2003 19:20:49 -0000 1.3 *************** *** 9,11 **** Tim Ginn - Module approved. ! Greg Inozemtsev - not yet audited --- 9,11 ---- Tim Ginn - Module approved. ! Greg Inozemtsev - Module approved. |
From: <i-...@us...> - 2003-12-25 19:20:29
|
Update of /cvsroot/openfirst/emoticon In directory sc8-pr-cvs1:/tmp/cvs-serv17602/emoticon Modified Files: NOTES Log Message: Audited emoticon module. Index: NOTES =================================================================== RCS file: /cvsroot/openfirst/emoticon/NOTES,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NOTES 24 Dec 2003 18:05:50 -0000 1.2 --- NOTES 25 Dec 2003 19:20:26 -0000 1.3 *************** *** 9,11 **** Tim Ginn - Module approved. ! Greg Inozemtsev - not yet audited --- 9,11 ---- Tim Ginn - Module approved. ! Greg Inozemtsev - Module approved. |
From: <i-...@us...> - 2003-12-25 19:13:49
|
Update of /cvsroot/openfirst/downloads In directory sc8-pr-cvs1:/tmp/cvs-serv16848/downloads Modified Files: NOTES index.php Log Message: Audited downloads module. Index: NOTES =================================================================== RCS file: /cvsroot/openfirst/downloads/NOTES,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** NOTES 23 Dec 2003 23:30:09 -0000 1.1 --- NOTES 25 Dec 2003 19:13:46 -0000 1.2 *************** *** 9,11 **** Tim Ginn - not yet audited ! Greg Inozemtsev - not yet audited \ No newline at end of file --- 9,11 ---- Tim Ginn - not yet audited ! Greg Inozemtsev - Module approved. Minor bug fixes. \ No newline at end of file Index: index.php =================================================================== RCS file: /cvsroot/openfirst/downloads/index.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** index.php 23 Dec 2003 23:30:09 -0000 1.6 --- index.php 25 Dec 2003 19:13:46 -0000 1.7 *************** *** 39,42 **** --- 39,43 ---- $category=""; + $catnum=""; if(isset($_GET["cat"])){ $category=$_GET["cat"]; *************** *** 79,83 **** } } else { ! $cattitle="Category: ".$category; $query = ofirst_dbquery("SELECT * FROM ofirst_downloadcat WHERE ID='".$category."'"); if(ofirst_dbnum_rows($query)!=0){ --- 80,84 ---- } } else { ! $catnum=$category; $query = ofirst_dbquery("SELECT * FROM ofirst_downloadcat WHERE ID='".$category."'"); if(ofirst_dbnum_rows($query)!=0){ *************** *** 87,90 **** --- 88,92 ---- $category=$cat->Category; } + $cattitle="Category: ".$category; } *************** *** 151,163 **** echo("<tr><td colspan=".cols." align=right>"); if($page>1){ ! echo('<a href="'.$_SERVER["PHP_SELF"].'?page='.($page-1).'&cat='.urlencode($category).'"><< Prev</a> '); } echo("Page ".$page." of ".ceil($numfiles/(cols*rows))); if($page<ceil($numfiles/(cols*rows))){ ! echo(' <a href="'.$_SERVER["PHP_SELF"].'?page='.($page+1).'&cat='.urlencode($category).'">Next >></a>'); } echo("</td></tr>"); } ! echo('<tr><td colspan='.cols.' align=right><br /><a href="$basepath/downloads">Downloads Home</a></td></tr></table>'); } --- 153,165 ---- echo("<tr><td colspan=".cols." align=right>"); if($page>1){ ! echo('<a href="'.$_SERVER["PHP_SELF"].'?page='.($page-1).'&cat='.$catnum.'"><< Prev</a> '); } echo("Page ".$page." of ".ceil($numfiles/(cols*rows))); if($page<ceil($numfiles/(cols*rows))){ ! echo(' <a href="'.$_SERVER["PHP_SELF"].'?page='.($page+1).'&cat='.$catnum.'">Next >></a>'); } echo("</td></tr>"); } ! echo('<tr><td colspan='.cols.' align=right><br /><a href="'.$basepath.'/downloads">Downloads Home</a></td></tr></table>'); } *************** *** 180,182 **** } ! include_once($footer); ?> \ No newline at end of file --- 182,184 ---- } ! include_once($footer); ?> |