openfirst-cvscommit Mailing List for openFIRST (Page 74)
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: <i-...@us...> - 2003-10-07 01:33:28
|
Update of /cvsroot/openfirst/downloads/setup In directory sc8-pr-cvs1:/tmp/cvs-serv27295/setup Added Files: setup.mysql Log Message: Download manager. Initial upload. Needs mssql setup script. --- NEW FILE: setup.mysql --- CREATE TABLE `ofirst_downloads` (`ID` bigint(12) unsigned NOT NULL auto_increment, `Category` varchar(35) NOT NULL default '', `Title` tinytext NOT NULL, `Description` mediumtext, `mime` tinytext, `ext` tinytext, `DateAdded` date NOT NULL default '0000-00-00', `FileData` longblob NOT NULL, `hits` int(12) default '0', PRIMARY KEY (`ID`), UNIQUE KEY `ID` (`ID`), KEY `ID_2` (`ID`)) TYPE=MyISAM CREATE TABLE `ofirst_downloadcat` (`ID` int(12) NOT NULL auto_increment, `Category` varchar(35) NOT NULL default '', `Description` tinytext, `Icon` tinytext, PRIMARY KEY (`ID`), UNIQUE KEY `ID` (`ID`,`Category`(12)), KEY `ID_2` (`ID`)) TYPE=MyISAM INSERT INTO ofirst_config SET modulename='downloads',showonmenu='0',active='0',adminnavigation='<a href="$basepath/downloads/admin">Category Editor</a>',modulenavigation='<a href="$basepath/downloads/">Downloads Home</a>',includes=''; |
From: <i-...@us...> - 2003-10-07 01:31:53
|
Update of /cvsroot/openfirst/downloads/setup In directory sc8-pr-cvs1:/tmp/cvs-serv27074/setup Log Message: Directory /cvsroot/openfirst/downloads/setup added to the repository |
From: <i-...@us...> - 2003-10-07 01:27:30
|
Update of /cvsroot/openfirst/downloads/admin In directory sc8-pr-cvs1:/tmp/cvs-serv26537/admin Log Message: Directory /cvsroot/openfirst/downloads/admin added to the repository |
From: <i-...@us...> - 2003-10-06 23:07:10
|
Update of /cvsroot/openfirst/news In directory sc8-pr-cvs1:/tmp/cvs-serv10183/news Removed Files: getfile.php Log Message: --- getfile.php DELETED --- |
From: <i-...@us...> - 2003-10-06 23:06:23
|
Update of /cvsroot/openfirst/news In directory sc8-pr-cvs1:/tmp/cvs-serv10017/downloads Added Files: getfile.php Log Message: Initial upload. Retreives files from database or filesystem. --- NEW FILE: getfile.php --- <?php /* * openFIRST.downloads - getfile.php * * Copyright (C) 2003, * openFIRST Project * Original Author: Greg Inozemtsev <gr...@si...> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../config/globals.php"); if(isset($_GET["id"])){ $id=$_GET["id"]; } else{ header("Location: notfound.php"); } $query=ofirst_dbquery("SELECT FileData,mime,hits FROM ofirst_downloads WHERE ID='".$id."';"); if (ofirst_dbnum_rows($query)==0){ header("Location: notfound.php"); } else { $file = ofirst_dbfetch_object($query); ofirst_dbquery("UPDATE ofirst_downloads SET hits=".($file->hits+1)." WHERE ID='".$id."';"); if(ereg("location:*",$file->FileData)){ header("Location: ".substr($file->FileData,9)); } else{ header("Content-type: ".$file->mime); echo(base64_decode($file->FileData)); } } ?> |
From: <xt...@us...> - 2003-10-06 22:27:14
|
Update of /cvsroot/openfirst/news/setup In directory sc8-pr-cvs1:/tmp/cvs-serv2865 Modified Files: setup.mysql setup.mssql Log Message: Revert SQL scripts back to proper news SQL scripts Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/news/setup/setup.mysql,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** setup.mysql 6 Oct 2003 22:12:10 -0000 1.8 --- setup.mysql 6 Oct 2003 22:27:08 -0000 1.9 *************** *** 1,24 **** ! CREATE TABLE `ofirst_downloads` ( ! `ID` bigint(12) unsigned NOT NULL auto_increment, ! `Category` varchar(35) NOT NULL default '', ! `Title` tinytext NOT NULL, ! `Description` mediumtext, ! `mime` tinytext, ! `ext` tinytext, ! `DateAdded` date NOT NULL default '0000-00-00', ! `FileData` longblob NOT NULL, ! `hits` int(12) default '0', ! PRIMARY KEY (`ID`), ! UNIQUE KEY `ID` (`ID`), ! KEY `ID_2` (`ID`) ! ) TYPE=MyISAM COMMENT='Files Table for Download Manager' ! CREATE TABLE `ofirst_downloadcat` ( ! `ID` int(12) NOT NULL auto_increment, ! `Category` varchar(35) NOT NULL default '', ! `Description` tinytext, ! `Icon` tinytext, ! PRIMARY KEY (`ID`), ! UNIQUE KEY `ID` (`ID`,`Category`(12)), ! KEY `ID_2` (`ID`) ! ) TYPE=MyISAM COMMENT='Download Categories' ! INSERT INTO ofirst_config SET modulename='downloads',showonmenu='0',active='0',adminnavigation='<a href="$basepath/downloads/admin">Category Editor</a>',modulenavigation='<a href="$basepath/downloads/">Downloads Home</a>',includes=''; --- 1,4 ---- ! CREATE TABLE IF NOT EXISTS `ofirst_news` (`ID` int(6) unsigned NOT NULL auto_increment, `date` TINYTEXT, `poster` TINYTEXT, `title` TINYTEXT, `news` TEXT, PRIMARY KEY (`ID`)) Type=MyISAM; ! ALTER TABLE ofirst_news ADD COLUMN image TEXT; ! CREATE TABLE `ofirst_news_comments` (`ID` tinyint(3) unsigned NOT NULL default '0', `Author` TEXT, `EMail` TINYTEXT, `Website` TINYTEXT, `Comment` TEXT, `Date` TEXT, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! INSERT INTO ofirst_config SET modulename='news',showonmenu='0',active='0',adminnavigation='<a href="$basepath/news/admin/">Edit News</a>',modulenavigation='<a href="$basepath/news/">Current News</a> | <a href="$basepath/news/rssfeed.php">Stream our News</a>',includes='viewnews.php'; Index: setup.mssql =================================================================== RCS file: /cvsroot/openfirst/news/setup/setup.mssql,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** setup.mssql 6 Oct 2003 22:12:10 -0000 1.3 --- setup.mssql 6 Oct 2003 22:27:08 -0000 1.4 *************** *** 1,24 **** ! CREATE TABLE `ofirst_downloads` ( ! `ID` bigint(12) unsigned NOT NULL auto_increment, ! `Category` varchar(35) NOT NULL default '', ! `Title` tinytext NOT NULL, ! `Description` mediumtext, ! `mime` tinytext, ! `ext` tinytext, ! `DateAdded` date NOT NULL default '0000-00-00', ! `FileData` longblob NOT NULL, ! `hits` int(12) default '0', ! PRIMARY KEY (`ID`), ! UNIQUE KEY `ID` (`ID`), ! KEY `ID_2` (`ID`) ! ) TYPE=MyISAM COMMENT='Files Table for Download Manager' ! CREATE TABLE `ofirst_downloadcat` ( ! `ID` int(12) NOT NULL auto_increment, ! `Category` varchar(35) NOT NULL default '', ! `Description` tinytext, ! `Icon` tinytext, ! PRIMARY KEY (`ID`), ! UNIQUE KEY `ID` (`ID`,`Category`(12)), ! KEY `ID_2` (`ID`) ! ) TYPE=MyISAM COMMENT='Download Categories' ! INSERT INTO ofirst_config SET modulename='downloads',showonmenu='0',active='0',adminnavigation='<a href="$basepath/downloads/admin">Category Editor</a>',modulenavigation='<a href="$basepath/downloads/">Downloads Home</a>',includes=''; --- 1,4 ---- ! CREATE TABLE IF NOT EXISTS `ofirst_news` (`ID` int(6) unsigned NOT NULL auto_increment, `date` TINYTEXT, `poster` TINYTEXT, `title` TINYTEXT, `news` TEXT, PRIMARY KEY (`ID`)) Type=MyISAM; ! ALTER TABLE ofirst_news ADD COLUMN image TEXT; ! CREATE TABLE `ofirst_news_comments` (`ID` tinyint(3) unsigned NOT NULL default '0', `Author` TEXT, `EMail` TINYTEXT, `Website` TINYTEXT, `Comment` TEXT, `Date` TEXT, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! INSERT INTO ofirst_config SET modulename='news',showonmenu='0',active='0',adminnavigation='<a href="$basepath/news/admin/">Edit News</a>',modulenavigation='<a href="$basepath/news/">Current News</a> | <a href="$basepath/news/rssfeed.php">Stream our News</a>',includes='viewnews.php'; |
From: <xt...@us...> - 2003-10-06 22:24:45
|
Update of /cvsroot/openfirst/news/admin In directory sc8-pr-cvs1:/tmp/cvs-serv1983 Modified Files: index.php Log Message: Revert index file back to proper news admin index file Index: index.php =================================================================== RCS file: /cvsroot/openfirst/news/admin/index.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** index.php 6 Oct 2003 22:11:33 -0000 1.11 --- index.php 6 Oct 2003 22:24:39 -0000 1.12 *************** *** 1,9 **** <?php /* ! * openFIRST.downloads - admin/index.php * * Copyright (C) 2003, * openFIRST Project ! * Original Author: Greg Inozemtsev <gr...@si...> * * This program is free software; you can redistribute it and/or modify --- 1,9 ---- <?php /* ! * openFIRST.news - admin/index.php * * Copyright (C) 2003, * openFIRST Project ! * Original Author: Tim Ginn <tim...@sy...> * * This program is free software; you can redistribute it and/or modify *************** *** 29,153 **** include($header); ! echo("<h1>Category Editor</h1>"); if(isset($user->membertype)){ if($user->membertype == "administrator") { ! if(!(isset($_POST["cat"])||isset($_POST["newcat"]))) { ! $query = ofirst_dbquery("SELECT * FROM ofirst_downloadcat ORDER BY Category"); ! if(ofirst_dbnum_rows($query)!=0){ ! echo("<table width=300><tr><th>Delete Category</th></tr>"); ! echo('<tr><td align=center><form method="post" action="index.php"><select style="width:250px" name=cat size=4>'); ! while($cat = ofirst_dbfetch_object($query)){ ! echo("<option>".$cat->Category.'</option>'); ! } ! echo("</select><br><input type=submit value=Delete></form></td></tr></table><br><br>"); ! } ?> ! <form method=post action=index.php><table width=300> ! <tr><th colspan=2>New Category</th></tr> ! <tr><td><div align=right>Title:</div></td> ! <td><input name=newcat></tr> ! <tr><td><div align=right>Icon:</div></td> ! <td><select name=newicon> ! <option value=members/icons/filesystems/folder.png>Standard Sub Directory</option> ! <option value=members/icons/filesystems/folder_green.png>Green Sub Directory</option> ! <option value=members/icons/filesystems/folder_red.png>Red Sub Directory</option> ! <option value=members/icons/filesystems/folder_orange.png>Orange Sub Directory</option> ! <option value=members/icons/filesystems/folder_yellow.png>Yellow Sub Directory</option> ! <option value=members/icons/filesystems/folder_grey.png>Grey Sub Directory</option> ! <option value=members/icons/filesystems/folder_violet.png>Violet Sub Directory</option> ! <option value=members/icons/filesystems/trashcan_full.png>Junk Sub Directory</option> ! <option value=members/icons/filesystems/favorites.png>Favorites Sub Directory</option> ! <option value=members/icons/filesystems/folder_cool.png>Smiley Sub Directory</option> ! <option value=members/icons/filesystems/folder_penguin.png>Penguin-ified Sub Directory</option> ! <option value=members/icons/filesystems/folder_cd.png>CD-ROM Sub Directory</option> ! <option value=members/icons/filesystems/folder_home.png>Home Sub Directory</option> ! <option value=members/icons/filesystems/folder_html.png>Web Sub Directory</option> ! <option value=members/icons/filesystems/folder_image.png>Image Sub Directory</option> ! <option value=members/icons/filesystems/folder_important.png>Important Sub Directory</option> ! <option value=members/icons/filesystems/folder_man.png>Documentation Sub Directory</option> ! <option value=members/icons/filesystems/folder_midi.png>Midi Sub Directory</option> ! <option value=members/icons/filesystems/folder_sound.png>Audio Sub Directory</option> ! <option value=members/icons/filesystems/folder_tar.png>Archive Sub Directory</option> ! <option value=members/icons/filesystems/folder_video.png>Video Sub Directory</option> ! <option value=members/icons/filesystems/network_local.png>Network Sub Directory</option> ! <option value=members/icons/filesystems/folder_txt.png>Text Documents Directory</option> ! <option value=members/icons/filesystems/folder_wordprocessing.png>Word Processing Directory</option> ! </select><br>(or) <input name=customicon></td></tr> ! <tr><td><div align=right>Description:</div></td> ! <td><input name=newdesc></tr> ! <tr><td colspan=2 align=center><input type=submit value=Create></td></tr> ! </td></tr></table></form> <?php ! } ! else { ! // Action ! $nodelete=false; ! if(isset($_POST["cat"])){ ! if(!isset($_POST["conflictaction"])){ ! $query=ofirst_dbquery("SELECT ID FROM ofirst_downloads WHERE Category='".$_POST["cat"]."';"); ! if(ofirst_dbnum_rows($query)!=0){ ! //there are still files ! $nodelete=true; ?> ! ! <table width=500><tr><th>Conflict</th></tr><tr><td align=left><form method=post action=index.php><input name=cat type=hidden value="<?php echo($_POST["cat"]); ?>"> ! <div>There are still files left in the category you are deleting. What would you like to do?</div><br> ! <input type=radio checked value=delete name=conflictaction>Delete Files</input><br> ! <input type=radio value=move name=conflictaction>Move Files to</input> <select name=movecat> ! <option value="">(none)</option> <?php ! $q = ofirst_dbquery("SELECT * FROM ofirst_downloadcat ORDER BY Category"); ! if(ofirst_dbnum_rows($q)!=0){ ! while($cat = ofirst_dbfetch_object($q)){ ! if($_POST["cat"]!=$cat->Category){ ! echo("<option>".$cat->Category.'</option>'); ! } ! } } ! ?></select><br> ! <input type=radio value=leave name=conflictaction>Leave as is (not recommended)<br>Note: If this option is selected, the files will not be accessible unless a category with the same name is created.</input><br><input type=submit value=OK> ! </form></td></tr></table> ! <?php ! } ! } ! else { ! switch($_POST["conflictaction"]){ ! case "delete": { ! ofirst_dbquery("DELETE FROM ofirst_downloads WHERE Category='".$_POST["cat"]."';"); ! break; ! } ! case "move": { ! ofirst_dbquery("UPDATE ofirst_downloads SET Category='".$_POST["movecat"]."' WHERE Category='".$_POST["cat"]."';"); ! break; ! } ! default: { ! break; ! } ! } ! } ! if(!$nodelete){ ! ofirst_dbquery("DELETE FROM ofirst_downloadcat WHERE Category='".$_POST["cat"]."';"); ! echo("Category " . $_POST["cat"] . " has been deleted. [ <a href='../index.php'>Main</a> ]"); ! } ! } ! else { ! if(isset($_POST["newcat"])){ ! if($_POST["customicon"]!=""){ ! $icon=$_POST["customicon"]; ! } ! else { ! $icon=$_POST["newicon"]; ! } ! ofirst_dbquery("INSERT INTO ofirst_downloadcat (Category, Description, Icon) VALUES ('" . $_POST["newcat"] . "', '" . $_POST["newdesc"] . "', '" .$icon. "');"); ! echo("Category " . $_POST["newcat"] . " has been created. [ <a href='../index.php'>Main</a> ]"); ! } ! } ! } } } ! else { ! echo("You must be logged on as an administrative user to edit categories."); } include($footer); --- 29,100 ---- include($header); ! echo("<h1>Add News</h1>"); if(isset($user->membertype)){ if($user->membertype == "administrator") { ! if(! isset($_POST["news"])) { ! // Display a form for news. ?> ! <form name="NewsForm" id="NewsForm" method="post" action="index.php"> ! <p><br /> ! <br /> ! </p> ! <table width="618" align="center"> ! <tr> ! <th> </th> ! <th>Add News</th> ! </tr> ! <tr> ! <td><div align="right">Headline:</div></td> ! <td><input name="title" type="text" value="openFIRST News" style="width: 250px;"></td> ! </tr> ! <tr> ! <td width="156"><div align="right">Image:</div></td> ! <td width="332"> <input type="text" name="image" value="<?php echo $basepath . "/images/openfirst.png"; ?>" ! style="width: 250px;"> </td> ! </tr> ! <tr> ! <td valign="top"> ! <div align="right">Descriptions</div></td> ! <td> <?php ! $dhtml=function_exists("make_wysiwyg"); ! if($dhtml){ ! make_wysiwyg("news", 500, 300, "Insert your news here."); ! } ! else{ ! echo('<textarea name="news" cols="60" rows="20">Insert your news here.</textarea>'); ! } ?> ! </td> ! </tr> ! <tr> ! <td> </td> ! <td> <?php ! if($dhtml){ ! echo('<input name="news2" type="button" id="news" value="Add News Item" onclick="dhtmlEditorPrepareSubmit(); document.NewsForm.submit();" />'); } ! else { ! echo('<input name="news2" type="submit" id="news" value="Add News Item" />'); ! } ! ?> ! <input name="reset" type="reset" value="Clear News Item" /> </td> ! </tr> ! </table> ! <p> </p> ! </form> <?php ! } else { ! // Add the news. ! $now = date("D M j G:i:s T Y"); ! ! $query = ofirst_dbquery("INSERT INTO ofirst_news (date, poster, title, news, image) VALUES ('$now', '$user->user', '" . $_POST["title"] . "', '" . $_POST["news"] . "', '" . $_POST["image"] . "');"); ! ! echo("The news item " . $_POST["title"] . " has been added. [ <a href='../index.php'>Main</a> ]"); } } ! } else { ! echo("You must be logged on as an administrative user to add news."); } include($footer); |
From: <i-...@us...> - 2003-10-06 22:19:02
|
Update of /cvsroot/openfirst/news/admin In directory sc8-pr-cvs1:/tmp/cvs-serv866/news/admin Removed Files: editinfo.php killfile.php upload.php Log Message: --- editinfo.php DELETED --- --- killfile.php DELETED --- --- upload.php DELETED --- |
From: <i-...@us...> - 2003-10-06 22:12:14
|
Update of /cvsroot/openfirst/news/setup In directory sc8-pr-cvs1:/tmp/cvs-serv30459/setup Modified Files: setup.mssql setup.mysql Log Message: Setup for Downloads module Index: setup.mssql =================================================================== RCS file: /cvsroot/openfirst/news/setup/setup.mssql,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** setup.mssql 30 Sep 2003 11:48:16 -0000 1.2 --- setup.mssql 6 Oct 2003 22:12:10 -0000 1.3 *************** *** 1,4 **** ! CREATE TABLE IF NOT EXISTS `ofirst_news` (`ID` int(6) unsigned NOT NULL auto_increment, `date` TINYTEXT, `poster` TINYTEXT, `title` TINYTEXT, `news` TEXT, PRIMARY KEY (`ID`)) Type=MyISAM; ! ALTER TABLE ofirst_news ADD COLUMN image TEXT; ! CREATE TABLE `ofirst_news_comments` (`ID` tinyint(3) unsigned NOT NULL default '0', `Author` TEXT, `EMail` TINYTEXT, `Website` TINYTEXT, `Comment` TEXT, `Date` TEXT, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! INSERT INTO ofirst_config SET modulename='news',showonmenu='0',active='0',adminnavigation='<a href="$basepath/news/admin/">Edit News</a>',modulenavigation='<a href="$basepath/news/">Current News</a> | <a href="$basepath/news/rssfeed.php">Stream our News</a>',includes='viewnews.php'; --- 1,24 ---- ! CREATE TABLE `ofirst_downloads` ( ! `ID` bigint(12) unsigned NOT NULL auto_increment, ! `Category` varchar(35) NOT NULL default '', ! `Title` tinytext NOT NULL, ! `Description` mediumtext, ! `mime` tinytext, ! `ext` tinytext, ! `DateAdded` date NOT NULL default '0000-00-00', ! `FileData` longblob NOT NULL, ! `hits` int(12) default '0', ! PRIMARY KEY (`ID`), ! UNIQUE KEY `ID` (`ID`), ! KEY `ID_2` (`ID`) ! ) TYPE=MyISAM COMMENT='Files Table for Download Manager' ! CREATE TABLE `ofirst_downloadcat` ( ! `ID` int(12) NOT NULL auto_increment, ! `Category` varchar(35) NOT NULL default '', ! `Description` tinytext, ! `Icon` tinytext, ! PRIMARY KEY (`ID`), ! UNIQUE KEY `ID` (`ID`,`Category`(12)), ! KEY `ID_2` (`ID`) ! ) TYPE=MyISAM COMMENT='Download Categories' ! INSERT INTO ofirst_config SET modulename='downloads',showonmenu='0',active='0',adminnavigation='<a href="$basepath/downloads/admin">Category Editor</a>',modulenavigation='<a href="$basepath/downloads/">Downloads Home</a>',includes=''; Index: setup.mysql =================================================================== RCS file: /cvsroot/openfirst/news/setup/setup.mysql,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** setup.mysql 30 Sep 2003 11:48:16 -0000 1.7 --- setup.mysql 6 Oct 2003 22:12:10 -0000 1.8 *************** *** 1,4 **** ! CREATE TABLE IF NOT EXISTS `ofirst_news` (`ID` int(6) unsigned NOT NULL auto_increment, `date` TINYTEXT, `poster` TINYTEXT, `title` TINYTEXT, `news` TEXT, PRIMARY KEY (`ID`)) Type=MyISAM; ! ALTER TABLE ofirst_news ADD COLUMN image TEXT; ! CREATE TABLE `ofirst_news_comments` (`ID` tinyint(3) unsigned NOT NULL default '0', `Author` TEXT, `EMail` TINYTEXT, `Website` TINYTEXT, `Comment` TEXT, `Date` TEXT, PRIMARY KEY (`ID`)) TYPE=MyISAM; ! INSERT INTO ofirst_config SET modulename='news',showonmenu='0',active='0',adminnavigation='<a href="$basepath/news/admin/">Edit News</a>',modulenavigation='<a href="$basepath/news/">Current News</a> | <a href="$basepath/news/rssfeed.php">Stream our News</a>',includes='viewnews.php'; --- 1,24 ---- ! CREATE TABLE `ofirst_downloads` ( ! `ID` bigint(12) unsigned NOT NULL auto_increment, ! `Category` varchar(35) NOT NULL default '', ! `Title` tinytext NOT NULL, ! `Description` mediumtext, ! `mime` tinytext, ! `ext` tinytext, ! `DateAdded` date NOT NULL default '0000-00-00', ! `FileData` longblob NOT NULL, ! `hits` int(12) default '0', ! PRIMARY KEY (`ID`), ! UNIQUE KEY `ID` (`ID`), ! KEY `ID_2` (`ID`) ! ) TYPE=MyISAM COMMENT='Files Table for Download Manager' ! CREATE TABLE `ofirst_downloadcat` ( ! `ID` int(12) NOT NULL auto_increment, ! `Category` varchar(35) NOT NULL default '', ! `Description` tinytext, ! `Icon` tinytext, ! PRIMARY KEY (`ID`), ! UNIQUE KEY `ID` (`ID`,`Category`(12)), ! KEY `ID_2` (`ID`) ! ) TYPE=MyISAM COMMENT='Download Categories' ! INSERT INTO ofirst_config SET modulename='downloads',showonmenu='0',active='0',adminnavigation='<a href="$basepath/downloads/admin">Category Editor</a>',modulenavigation='<a href="$basepath/downloads/">Downloads Home</a>',includes=''; |
From: <i-...@us...> - 2003-10-06 22:11:39
|
Update of /cvsroot/openfirst/news/admin In directory sc8-pr-cvs1:/tmp/cvs-serv30273/admin Modified Files: index.php Added Files: editinfo.php killfile.php upload.php Log Message: New scripts for admin --- NEW FILE: editinfo.php --- <?php /* * openFIRST.downloads - admin/editinfo.php * * Copyright (C) 2003, * openFIRST Project * Original Author: Greg Inozemtsev <gr...@si...> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include($header); echo("<h1>Edit File Information</h1>"); if(isset($user->membertype)){ if($user->membertype == "administrator") { $fileid=0; if(isset($_GET["id"])){ $fileid=$_GET["id"]; } if(! isset($_POST["desc"])) { // Display a form for news. $query = ofirst_dbquery("SELECT * FROM ofirst_downloads ORDER BY ID DESC"); $title=""; $found=false; if (ofirst_dbnum_rows($query) != 0){ while($file = ofirst_dbfetch_object($query)){ if($file->ID==$fileid){ $found=true; break; } } } if($found){ ?> <form method="post" action="<?php echo($_SERVER["PHP_SELF"]); ?>"> <p><br /> <br /> </p> <table width="618" align="center"> <tr> <th> </th> <th>Edit File Info</th> </tr> <tr> <td><div align="right">Title:</div></td> <td><input name="title" type="text" value="<?php {echo($file->Title);} ?>" style="width: 250px;"></td> </tr> <tr> <td width="156"><div align="right">Category:</div></td> <td width="332"> <select name="category"><option value="">(none)</option> <?php $query = ofirst_dbquery("SELECT * FROM ofirst_downloadcat ORDER BY Category"); if(ofirst_dbnum_rows($query)!=0){ while($cat = ofirst_dbfetch_object($query)){ echo("<option"); if($cat->Category==$file->Category){ echo " selected"; } echo(">".$cat->Category.'</option>'); } } ?> </td> </tr> <tr> <td valign="top"> <div align="right">Description</div></td> <td> <textarea name="desc" cols="50" rows="8"><?php echo($file->Description); ?></textarea> </td> </tr> <tr> <td> </td> <td> <input name="ok" type="submit" id="ok" value="Save Changes" /> <input name="reset" type="reset" /> <input name="ID" id="ID" type="hidden" value="<?php echo($file->ID); ?>"/> </td> </tr> </table> <p> </p> </form> <?php } else { echo('<div>This file does not exist.</div>'); } } else { $query=ofirst_dbquery("UPDATE ofirst_downloads SET Title='".$_POST["title"]."', Description='".$_POST["desc"]."', Category='".$_POST["category"]."' WHERE ID='".$_POST["ID"]."';"); echo("The information for file "" . $_POST["title"] . "" has been modified. [ <a href='../index.php'>Main</a> ]"); } } } else { echo("You must be logged on as an administrative user to edit file details."); } include($footer); ?> --- NEW FILE: killfile.php --- <?php /* * openFIRST.downloads - admin/killfile.php * * Copyright (C) 2003, * openFIRST Project * Original Author: Greg Inozemtsev <gr...@si...> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ include("../../config/globals.php"); include($header); ?> <br> <table width="618" align="center"> <tr> <th>Delete File</th> </tr> <tr> <td align="center"> <?php $admin=false; if (isset($user->membertype)){ $admin=($user->membertype == "administrator"); } if($admin) { if(!isset($_POST["ID"])) { $query = ofirst_dbquery("SELECT ID,Title FROM ofirst_downloads ORDER BY ID DESC"); $filename=""; $found=false; if (ofirst_dbnum_rows($query) != 0){ while($file = ofirst_dbfetch_object($query)){ if($file->ID==$_GET["id"]){ $found=true; $filename=$file->Title; break; } } } ?> <?php if($found){ echo('<form action="'.$_SERVER["PHP_SELF"].'" method="POST">'); echo('<input name="ID" type="hidden" value="'.$_GET["id"].'">'); echo('<div>Delete '.$filename.'?</div><br>'); echo('<input type="submit" value="Confirm"></form>'); } else { echo('<div>This file does not exist.</div>'); } } else { // Delete by ID. $query = ofirst_dbquery("SELECT FileData FROM ofirst_downloads WHERE ID='".$_POST["ID"]."'"); $file = ofirst_dbfetch_object($query); if(ereg("location:*",$file->FileData)){ //erase from filesystem if(!unlink("../".substr($file->FileData,9))){ echo('<div style="color:red">Warning: could not erase the file from the filesystem. The file will be removed from File Manager.</div>'); } } ofirst_dbquery("DELETE FROM ofirst_downloads WHERE ID=".$_POST["ID"].";"); echo("<div>The file has been deleted.</div><div>[<a href='../index.php'>Return to File Manager</a>]</div>"); } } else { echo("You must be logged on as an administrative user to delete files."); } echo("</td></tr></table>"); include($footer); ?> --- NEW FILE: upload.php --- <?php /* * openFIRST.downloads- admin/upload.php * * Copyright (C) 2003, * openFIRST Project * Original Author: Greg Inozemtsev <gr...@si...> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ // Import globals and estbalish database connection include("../../config/globals.php"); include($header); //directory to upload to $uploaddir=$fbasepath."/downloads/files/"; $serverdir="files/"; // Check if user is an admin then allow processes if(! isset($user->user) || $user->membertype != "administrator"){ showlogin(); die(include($footer)); } echo("<h1>File Upload</h1>"); // Check if user initiates upload process and run upload process if(isset($_POST['Title'])){ $extension=substr(strrchr($_FILES['newfile']['name'],"."),1); $now = date("Y-m-d"); if(!isset($_POST['db'])){ $uploadfile = $uploaddir.$_FILES['newfile']['name']; if (move_uploaded_file($_FILES['newfile']['tmp_name'], $uploadfile)) { echo('<div style="color:green">'.$_FILES['newfile']['name'].' was successfully uploaded to filesystem</div>'); ofirst_dbquery("INSERT INTO ofirst_downloads (Category, Title, Description, mime, ext, DateAdded, FileData) VALUES ('".$_POST["Category"]."', '".$_POST["Title"]."', '".$_POST["Description"]."', '".$_FILES['newfile']['type']."', '".$extension."', '$now', 'location:".$serverdir.$_FILES['newfile']['name']."');"); } else { echo('<div style="color:red">Could not upload '.$_FILES['newfile']['name'].'</div>'); } } else { if($bindata=file_get_contents($_FILES['newfile']['tmp_name'])){ $bindata=base64_encode($bindata); echo('<div style="color:green">'.$_FILES['newfile']['name'].' was successfully uploaded to database</div>'); ofirst_dbquery("INSERT INTO ofirst_downloads (Category, Title, Description, mime, ext, DateAdded, FileData) VALUES ('".$_POST["Category"]."', '".$_POST["Title"]."', '".$_POST["Description"]."', '".$_FILES['newfile']['type']."', '".$extension."', '$now', '".$bindata."');"); } else { echo('<div style="color:red">Could not upload '.$_FILES['newfile']['name'].'</div>'); } } } echo('<br><br><div><a href="../index.php">[Return to File Manager]</a></div>'); include($footer); ?> Index: index.php =================================================================== RCS file: /cvsroot/openfirst/news/admin/index.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** index.php 1 Oct 2003 22:52:09 -0000 1.10 --- index.php 6 Oct 2003 22:11:33 -0000 1.11 *************** *** 1,9 **** <?php /* ! * openFIRST.news - admin/index.php * * Copyright (C) 2003, * openFIRST Project ! * Original Author: Tim Ginn <tim...@sy...> * * This program is free software; you can redistribute it and/or modify --- 1,9 ---- <?php /* ! * openFIRST.downloads - admin/index.php * * Copyright (C) 2003, * openFIRST Project ! * Original Author: Greg Inozemtsev <gr...@si...> * * This program is free software; you can redistribute it and/or modify *************** *** 29,100 **** include($header); ! echo("<h1>Add News</h1>"); if(isset($user->membertype)){ if($user->membertype == "administrator") { ! if(! isset($_POST["news"])) { ! // Display a form for news. ?> ! <form name="NewsForm" id="NewsForm" method="post" action="index.php"> ! <p><br /> ! <br /> ! </p> ! <table width="618" align="center"> ! <tr> ! <th> </th> ! <th>Add News</th> ! </tr> ! <tr> ! <td><div align="right">Headline:</div></td> ! <td><input name="title" type="text" value="openFIRST News" style="width: 250px;"></td> ! </tr> ! <tr> ! <td width="156"><div align="right">Image:</div></td> ! <td width="332"> <input type="text" name="image" value="<?php echo $basepath . "/images/openfirst.png"; ?>" ! style="width: 250px;"> </td> ! </tr> ! <tr> ! <td valign="top"> ! <div align="right">Descriptions</div></td> ! <td> <?php ! $dhtml=function_exists("make_wysiwyg"); ! if($dhtml){ ! make_wysiwyg("news", 500, 300, "Insert your news here."); ! } ! else{ ! echo('<textarea name="news" cols="60" rows="20">Insert your news here.</textarea>'); ! } ?> ! </td> ! </tr> ! <tr> ! <td> </td> ! <td> <?php ! if($dhtml){ ! echo('<input name="news2" type="button" id="news" value="Add News Item" onclick="dhtmlEditorPrepareSubmit(); document.NewsForm.submit();" />'); ! } ! else { ! echo('<input name="news2" type="submit" id="news" value="Add News Item" />'); } ! ?> ! <input name="reset" type="reset" value="Clear News Item" /> </td> ! </tr> ! </table> ! <p> </p> ! </form> ! <?php ! } else { ! // Add the news. ! $now = date("D M j G:i:s T Y"); ! ! $query = ofirst_dbquery("INSERT INTO ofirst_news (date, poster, title, news, image) VALUES ('$now', '$user->user', '" . $_POST["title"] . "', '" . $_POST["news"] . "', '" . $_POST["image"] . "');"); ! echo("The news item " . $_POST["title"] . " has been added. [ <a href='../index.php'>Main</a> ]"); } } ! } else { ! echo("You must be logged on as an administrative user to add news."); } include($footer); --- 29,153 ---- include($header); ! echo("<h1>Category Editor</h1>"); if(isset($user->membertype)){ if($user->membertype == "administrator") { ! if(!(isset($_POST["cat"])||isset($_POST["newcat"]))) { ! $query = ofirst_dbquery("SELECT * FROM ofirst_downloadcat ORDER BY Category"); ! if(ofirst_dbnum_rows($query)!=0){ ! echo("<table width=300><tr><th>Delete Category</th></tr>"); ! echo('<tr><td align=center><form method="post" action="index.php"><select style="width:250px" name=cat size=4>'); ! while($cat = ofirst_dbfetch_object($query)){ ! echo("<option>".$cat->Category.'</option>'); ! } ! echo("</select><br><input type=submit value=Delete></form></td></tr></table><br><br>"); ! } ?> ! <form method=post action=index.php><table width=300> ! <tr><th colspan=2>New Category</th></tr> ! <tr><td><div align=right>Title:</div></td> ! <td><input name=newcat></tr> ! <tr><td><div align=right>Icon:</div></td> ! <td><select name=newicon> ! <option value=members/icons/filesystems/folder.png>Standard Sub Directory</option> ! <option value=members/icons/filesystems/folder_green.png>Green Sub Directory</option> ! <option value=members/icons/filesystems/folder_red.png>Red Sub Directory</option> ! <option value=members/icons/filesystems/folder_orange.png>Orange Sub Directory</option> ! <option value=members/icons/filesystems/folder_yellow.png>Yellow Sub Directory</option> ! <option value=members/icons/filesystems/folder_grey.png>Grey Sub Directory</option> ! <option value=members/icons/filesystems/folder_violet.png>Violet Sub Directory</option> ! <option value=members/icons/filesystems/trashcan_full.png>Junk Sub Directory</option> ! <option value=members/icons/filesystems/favorites.png>Favorites Sub Directory</option> ! <option value=members/icons/filesystems/folder_cool.png>Smiley Sub Directory</option> ! <option value=members/icons/filesystems/folder_penguin.png>Penguin-ified Sub Directory</option> ! <option value=members/icons/filesystems/folder_cd.png>CD-ROM Sub Directory</option> ! <option value=members/icons/filesystems/folder_home.png>Home Sub Directory</option> ! <option value=members/icons/filesystems/folder_html.png>Web Sub Directory</option> ! <option value=members/icons/filesystems/folder_image.png>Image Sub Directory</option> ! <option value=members/icons/filesystems/folder_important.png>Important Sub Directory</option> ! <option value=members/icons/filesystems/folder_man.png>Documentation Sub Directory</option> ! <option value=members/icons/filesystems/folder_midi.png>Midi Sub Directory</option> ! <option value=members/icons/filesystems/folder_sound.png>Audio Sub Directory</option> ! <option value=members/icons/filesystems/folder_tar.png>Archive Sub Directory</option> ! <option value=members/icons/filesystems/folder_video.png>Video Sub Directory</option> ! <option value=members/icons/filesystems/network_local.png>Network Sub Directory</option> ! <option value=members/icons/filesystems/folder_txt.png>Text Documents Directory</option> ! <option value=members/icons/filesystems/folder_wordprocessing.png>Word Processing Directory</option> ! </select><br>(or) <input name=customicon></td></tr> ! <tr><td><div align=right>Description:</div></td> ! <td><input name=newdesc></tr> ! <tr><td colspan=2 align=center><input type=submit value=Create></td></tr> ! </td></tr></table></form> <?php ! } ! else { ! // Action ! $nodelete=false; ! if(isset($_POST["cat"])){ ! if(!isset($_POST["conflictaction"])){ ! $query=ofirst_dbquery("SELECT ID FROM ofirst_downloads WHERE Category='".$_POST["cat"]."';"); ! if(ofirst_dbnum_rows($query)!=0){ ! //there are still files ! $nodelete=true; ?> ! ! <table width=500><tr><th>Conflict</th></tr><tr><td align=left><form method=post action=index.php><input name=cat type=hidden value="<?php echo($_POST["cat"]); ?>"> ! <div>There are still files left in the category you are deleting. What would you like to do?</div><br> ! <input type=radio checked value=delete name=conflictaction>Delete Files</input><br> ! <input type=radio value=move name=conflictaction>Move Files to</input> <select name=movecat> ! <option value="">(none)</option> <?php ! $q = ofirst_dbquery("SELECT * FROM ofirst_downloadcat ORDER BY Category"); ! if(ofirst_dbnum_rows($q)!=0){ ! while($cat = ofirst_dbfetch_object($q)){ ! if($_POST["cat"]!=$cat->Category){ ! echo("<option>".$cat->Category.'</option>'); ! } ! } } ! ?></select><br> ! <input type=radio value=leave name=conflictaction>Leave as is (not recommended)<br>Note: If this option is selected, the files will not be accessible unless a category with the same name is created.</input><br><input type=submit value=OK> ! </form></td></tr></table> ! <?php ! } ! } ! else { ! switch($_POST["conflictaction"]){ ! case "delete": { ! ofirst_dbquery("DELETE FROM ofirst_downloads WHERE Category='".$_POST["cat"]."';"); ! break; ! } ! case "move": { ! ofirst_dbquery("UPDATE ofirst_downloads SET Category='".$_POST["movecat"]."' WHERE Category='".$_POST["cat"]."';"); ! break; ! } ! default: { ! break; ! } ! } ! } ! if(!$nodelete){ ! ofirst_dbquery("DELETE FROM ofirst_downloadcat WHERE Category='".$_POST["cat"]."';"); ! echo("Category " . $_POST["cat"] . " has been deleted. [ <a href='../index.php'>Main</a> ]"); ! } ! } ! else { ! if(isset($_POST["newcat"])){ ! if($_POST["customicon"]!=""){ ! $icon=$_POST["customicon"]; ! } ! else { ! $icon=$_POST["newicon"]; ! } ! ofirst_dbquery("INSERT INTO ofirst_downloadcat (Category, Description, Icon) VALUES ('" . $_POST["newcat"] . "', '" . $_POST["newdesc"] . "', '" .$icon. "');"); ! echo("Category " . $_POST["newcat"] . " has been created. [ <a href='../index.php'>Main</a> ]"); ! } ! } ! } } } ! else { ! echo("You must be logged on as an administrative user to edit categories."); } include($footer); |
From: <i-...@us...> - 2003-10-06 22:10:06
|
Update of /cvsroot/openfirst/downloads/files In directory sc8-pr-cvs1:/tmp/cvs-serv29941/files Log Message: Directory /cvsroot/openfirst/downloads/files added to the repository |
From: <xt...@us...> - 2003-10-05 23:16:39
|
Update of /cvsroot/openfirst/members In directory sc8-pr-cvs1:/tmp/cvs-serv15421 Modified Files: workspace.php Log Message: Add iCalendar support to the workspace so that every user may upload calendars to the events list. Index: workspace.php =================================================================== RCS file: /cvsroot/openfirst/members/workspace.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** workspace.php 13 Sep 2003 15:38:25 -0000 1.10 --- workspace.php 5 Oct 2003 23:16:33 -0000 1.11 *************** *** 193,197 **** echo("</td></tr> </table></td><td>"); ! if($fimg == "icons/mimetypes/html.png" || $fimg == "icons/mimetypes/txt.png") { if (($fi->division == $user->division && substr($fi->permissions, 5,1) == "w") || ($fi->owner == $user->user && substr($fi->permissions, 2,1) == "w") || (substr($fi->permissions, 8,1) == "w")) { echo("<form method='post' action='workspace.php'>"); --- 193,205 ---- echo("</td></tr> </table></td><td>"); ! if($fi->filetype == "ics") { ! if(file_exists("./phpicalendar/") && isset($_GET["transferics"]) == false) { ! echo("Would you like to send this file to PHP iCalendar? ! <a href='". $_SERVER["REQUEST_URI"] . "&transferics=true'>Yes, I would like to copy this file to PHP iCalendar</a>"); ! } elseif(file_exists("./phpicalendar/") && isset($_GET["transferics"]) == true) { ! copy("$ws->virtfspath$fi->location/$fi->name", "phpicalendar/calendars/$user->user-$fi->name"); ! echo("Calendar has been copied into PHP iCalendar. [ <a href='phpicalendar/'>View PHP iCalendar</a> ]"); ! } ! } elseif($fimg == "icons/mimetypes/html.png" || $fimg == "icons/mimetypes/txt.png") { if (($fi->division == $user->division && substr($fi->permissions, 5,1) == "w") || ($fi->owner == $user->user && substr($fi->permissions, 2,1) == "w") || (substr($fi->permissions, 8,1) == "w")) { echo("<form method='post' action='workspace.php'>"); |
Update of /cvsroot/openfirst/members/phpicalendar/styles/tan In directory sc8-pr-cvs1:/tmp/cvs-serv28958/tan Added Files: allday_dot.gif back.gif background.gif day_on.gif default.css download_arrow.gif event_dot.gif left_arrows.gif left_day.gif month_on.gif right_arrows.gif right_day.gif search.gif side_bg.gif smallicon.gif spacer.gif time_bg.gif week_on.gif year_on.gif Log Message: Add PHP iCalendar styles to the repository. --- NEW FILE: allday_dot.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: back.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: background.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: day_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: default.css --- /* Style sheet for the green calendar */ .eventborder { background-color: #979A65; border: 1px #616339 solid; } .eventbg { background-color: #A6A978; } .eventbg_1 { background-color: #A6A978; } .eventbg_2 { background-color: #CC8B00; } .eventbg_3 { background-color: #CC9966; } .eventbg_4 { background-color: #999900; } .eventbg_5 { background-color: #CC6600; } .eventbg_6 { background-color: #CCCC99; } .eventbg_7 { background-color: #666666; } .eventbg2 { background-color: #A6A978; border-right: 1px solid #FFFFFF; } .eventbg2_1 { background-color: #A6A978; border-right: 1px solid #FFFFFF; } .eventbg2_2 { background-color: #CC8B00; border-right: 1px solid #FFFFFF; } .eventbg2_3 { background-color: #CC9966; border-right: 1px solid #FFFFFF; } .eventbg2_4 { background-color: #999900; border-right: 1px solid #FFFFFF; } .eventbg2_5 { background-color: #CC6600; border-right: 1px solid #FFFFFF; } .eventbg2_6 { background-color: #CCCC99; border-right: 1px solid #FFFFFF; } .eventbg2_7 { background-color: #666666; border-right: 1px solid #FFFFFF; } .eventbg2week { background-color: #A6A978; border-right: 1px solid #A1A5A9; } .eventbg2week_1 { background-color: #A6A978; border-right: 1px solid #A1A5A9; } .eventbg2week_2 { background-color: #CC8B00; border-right: 1px solid #A1A5A9; } .eventbg2week_3 { background-color: #CC9966; border-right: 1px solid #A1A5A9; } .eventbg2week_4 { background-color: #999900; border-right: 1px solid #A1A5A9; } .eventbg2week_5 { background-color: #CC6600; border-right: 1px solid #A1A5A9; } .eventbg2week_6 { background-color: #CCCC99; border-right: 1px solid #A1A5A9; } .eventbg2week_7 { background-color: #666666; border-right: 1px solid #A1A5A9; } .calborder { background-color: #FFFFFF; border: 1px #A1A5A9 solid; } .dateback { background-color: #EEEEEE; } .dayborder { border-top: 1px solid #A1A5A9; } .dayborder2 { border-top: 1px dashed #CCCCCC; } .weekborder { border-top: 1px dashed #A1A5A9; border-right: 1px solid #A1A5A9; } .weekborder2 { border-right: 1px solid #A1A5A9; } .timeborder { border-right: 2px solid #A1A5A9; border-top: 1px dashed #A1A5A9; background-image: url(time_bg.gif); } .timeborder2 { border-right: 2px solid #A1A5A9; border-top: 1px solid #A1A5A9; background-image: url(time_bg.gif); } .navback { background-image: url(time_bg.gif); } .sideback { background-image: url(side_bg.gif); } .monthback { background-color: #A1A5A9; } .monthreg { background-color: #FFFFFF; } .monthoff { background-color: #F2F2F2; } .monthon { background-color: #F1F3D8; } .montheventtop { background-image: url(side_bg.gif); border-top: 1px solid #A1A5A9; } .montheventline { border-right: 1px dotted #A1A5A9; } .yearmonth { background: #CCCCCC; } /* Link colors and attributes */ /* This is the main link style */ a.psf { text-decoration: none; } a.psf:link { color: #999933; background-color: transparent; } a.psf:visited { color: #999933; background-color: transparent; } a.psf:active { color: #999933; background-color: transparent; } a.psf:hover { color: #333300; background-color: transparent; } /* This is the link style for the mini-cals */ a.ps2 { text-decoration: underline; } a.ps2:link { color: #999933; background-color: transparent; } a.ps2:visited { color: #999933; background-color: transparent; } a.ps2:active { color: #999933; background-color: transparent; } a.ps2:hover { color: #333300; background-color: transparent; } /* This is the link style for year months */ a.ps3 { text-decoration: none; } a.ps3:link { color: #000000; background-color: transparent; } a.ps3:visited { color: #000000; background-color: transparent; } a.ps3:active { color: #000000; background-color: transparent; } a.ps3:hover { color: #000000; background-color: transparent; text-decoration: underline;} /* Body attributes */ body { background-image: url(background.gif); } /* CSS definitions for fonts */ .V9 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #000000; } .V10W { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; } .V10WB { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; font-weight: 900; } .V9G { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #666666; } .V10 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; } .V9BOLD { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; font-weight: 900; } .G10 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #0066FF; } .G10B { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; } .G10BOLD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 900; } .G10G { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #A1A5A9; } .V12 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; } .H20 { font-family: Helvetica, sans-serif; font-size: 18px; color: #000000; } .eventfont { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #FFFFFF; } /* Length of the form drop downs */ .query_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 156px; margin-bottom: 0; } .search_style { font-size: 12px; font-family: verdana, geneva, arial, sans-serif; width: 134px; margin-bottom: 0; } --- NEW FILE: download_arrow.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: event_dot.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: left_arrows.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: left_day.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: month_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: right_arrows.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: right_day.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: search.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: side_bg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: smallicon.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spacer.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: time_bg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: week_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: year_on.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/openfirst/members/phpicalendar/styles/red In directory sc8-pr-cvs1:/tmp/cvs-serv28958/red Added Files: allday_dot.gif back.gif day_on.gif default.css download_arrow.gif event_dot.gif left_arrows.gif left_day.gif month_on.gif right_arrows.gif right_day.gif search.gif side_bg.gif smallicon.gif time_bg.gif week_on.gif year_on.gif Log Message: Add PHP iCalendar styles to the repository. --- NEW FILE: allday_dot.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: back.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: day_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: default.css --- /* Style sheet for the red calendar */ .eventborder { background-color: #802022; border: 1px #CC3300 solid; } .eventbg { background-color: #A04042; } .eventbg_1 { background-color: #A04042; } .eventbg_2 { background-color: #CC8B00; } .eventbg_3 { background-color: #FFAF5E; } .eventbg_4 { background-color: #CC9966; } .eventbg_5 { background-color: #CC6600; } .eventbg_6 { background-color: #FFCC33; } .eventbg_7 { background-color: #cc6666; } .eventbg2 { background-color: #A04042; border-right: 1px solid #FFFFFF; } .eventbg2_1 { background-color: #A04042; border-right: 1px solid #FFFFFF; } .eventbg2_2 { background-color: #CC8B00; border-right: 1px solid #FFFFFF; } .eventbg2_3 { background-color: #FFAF5E; border-right: 1px solid #FFFFFF; } .eventbg2_4 { background-color: #CC9966; border-right: 1px solid #FFFFFF; } .eventbg2_5 { background-color: #CC6600; border-right: 1px solid #FFFFFF; } .eventbg2_6 { background-color: #FFCC33; border-right: 1px solid #FFFFFF; } .eventbg2_7 { background-color: #cc6666; border-right: 1px solid #FFFFFF; } .eventbg2week { background-color: #6699CC; border-right: 1px solid #A1A5A9; } .eventbg2week_1 { background-color: #A04042; border-right: 1px solid #A1A5A9; } .eventbg2week_2 { background-color: #CC8B00; border-right: 1px solid #A1A5A9; } .eventbg2week_3 { background-color: #FFAF5E; border-right: 1px solid #A1A5A9; } .eventbg2week_4 { background-color: #CC9966; border-right: 1px solid #A1A5A9; } .eventbg2week_5 { background-color: #CC6600; border-right: 1px solid #A1A5A9; } .eventbg2week_6 { background-color: #FFCC33; border-right: 1px solid #A1A5A9; } .eventbg2week_7 { background-color: #cc6666; border-right: 1px solid #A1A5A9; } .eventbg2week { background-color: #A04042; border-right: 1px solid #A1A5A9; } .calborder { background-color: #FFFFFF; border: 1px #770000 solid; } .dateback { background-color: #EEEEEE; } .dayborder { border-top: 1px solid #A1A5A9; } .dayborder2 { border-top: 1px dashed #CCCCCC; } .weekborder { border-top: 1px dashed #A1A5A9; border-right: 1px solid #A1A5A9; } .weekborder2 { border-right: 1px solid #A1A5A9; } .timeborder { border-right: 2px solid #A1A5A9; border-top: 1px dashed #A1A5A9; background-image: url(time_bg.gif); } .timeborder2 { border-right: 2px solid #A1A5A9; border-top: 1px solid #A1A5A9; background-image: url(time_bg.gif); } .navback { background-image: url(time_bg.gif); } .sideback { background-image: url(side_bg.gif); } .monthback { background-color: #A1A5A9; } .monthreg { background-color: #FFFFFF; } .monthoff { background-color: #F2F2F2; } .monthon { background-color: #F2F9FF; } .montheventtop { background-image: url(side_bg.gif); border-top: 1px solid #A1A5A9; } .montheventline { border-right: 1px dotted #A1A5A9; } .yearmonth { background: #CCCCCC; } /* Link colors and attributes */ /* This is the main link style */ a.psf { text-decoration: none; } a.psf:link { color: #770000; background-color: transparent; } a.psf:visited { color: #770000; background-color: transparent; } a.psf:active { color: #3366cc; background-color: transparent; } a.psf:hover { color: #000099; background-color: transparent; } /* This is the link style for the mini-cals */ a.ps2 { text-decoration: underline; } a.ps2:link { color: #770000; background-color: transparent; } a.ps2:visited { color: #770000; background-color: transparent; } a.ps2:active { color: #3366cc; background-color: transparent; } a.ps2:hover { color: #000099; background-color: transparent; } /* This is the link style for year months */ a.ps3 { text-decoration: none; } a.ps3:link { color: #000000; background-color: transparent; } a.ps3:visited { color: #000000; background-color: transparent; } a.ps3:active { color: #000000; background-color: transparent; } a.ps3:hover { color: #000000; background-color: transparent; text-decoration: underline;} /* Body attributes */ body { background-color: #774444; } /* CSS definitions for fonts */ .V9 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #000000; } .V10W { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; } .V10WB { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; font-weight: 900; } .V9G { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #666666; } .V10 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; } .V9BOLD { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; font-weight: 900; } .G10 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #0066FF; } .G10B { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; } .G10BOLD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 900; } .G10G { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #A1A5A9; } .V12 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; } .H20 { font-family: Helvetica, sans-serif; font-size: 18px; color: #000000; } .eventfont { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #FFFFFF; } /* Length of the form drop downs */ .query_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 156px; margin-bottom: 0; } .search_style { font-size: 12px; font-family: verdana, geneva, arial, sans-serif; width: 134px; margin-bottom: 0; } --- NEW FILE: download_arrow.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: event_dot.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: left_arrows.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: left_day.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: month_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: right_arrows.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: right_day.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: search.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: side_bg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: smallicon.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: time_bg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: week_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: year_on.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/openfirst/members/phpicalendar/styles/silver In directory sc8-pr-cvs1:/tmp/cvs-serv28958/silver Added Files: allday_bg.gif allday_dot.gif back.gif day_on.gif day_title.gif default.css download_arrow.gif event_dot.gif left_arrows.gif left_day.gif month_on.gif printer.gif right_arrows.gif right_day.gif search.gif side_bg.gif smallicon.gif spacer.gif time_bg.gif week_on.gif year_on.gif Log Message: Add PHP iCalendar styles to the repository. --- NEW FILE: allday_bg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: allday_dot.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: back.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: day_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: day_title.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: default.css --- /* Style sheet for the silver calendar (default) */ .eventborder { background-image: url(day_title.gif); border: 1px #006699 solid; } .eventbg { background-color: #6699CC; } .eventbg_1 { background-color: #6699CC; } .eventbg_2 { background-color: #666699; } .eventbg_3 { background-color: #999999; } .eventbg_4 { background-color: #6B84C7; } .eventbg_5 { background-color: #9999CC; } .eventbg_6 { background-color: #6876E7; } .eventbg_7 { background-color: #73738C; } .eventbg2 { background-color: #6699CC; border-right: 1px solid #FFFFFF; } .eventbg2_1 { background-color: #6699CC; border-right: 1px solid #FFFFFF; } .eventbg2_2 { background-color: #666699; border-right: 1px solid #FFFFFF; } .eventbg2_3 { background-color: #999999; border-right: 1px solid #FFFFFF; } .eventbg2_4 { background-color: #6B84C7; border-right: 1px solid #FFFFFF; } .eventbg2_5 { background-color: #9999CC; border-right: 1px solid #FFFFFF; } .eventbg2_6 { background-color: #6876E7; border-right: 1px solid #FFFFFF; } .eventbg2_7 { background-color: #73738C; border-right: 1px solid #FFFFFF; } .eventbg2week { background-color: #6699CC; border-right: 1px solid #A1A5A9; } .eventbg2week_1 { background-color: #6699CC; border-right: 1px solid #A1A5A9; } .eventbg2week_2 { background-color: #666699; border-right: 1px solid #A1A5A9; } .eventbg2week_3 { background-color: #999999; border-right: 1px solid #A1A5A9; } .eventbg2week_4 { background-color: #6B84C7; border-right: 1px solid #A1A5A9; } .eventbg2week_5 { background-color: #9999CC; border-right: 1px solid #A1A5A9; } .eventbg2week_6 { background-color: #6876E7; border-right: 1px solid #A1A5A9; } .eventbg2week_7 { background-color: #73738C; border-right: 1px solid #A1A5A9; } .calborder { background-color: #FFFFFF; border: 1px #A1A5A9 solid; } .dateback { background-color: #EEEEEE; } .dayborder { border-top: 1px solid #A1A5A9; } .dayborder2 { border-top: 1px dashed #CCCCCC; } .weekborder { border-top: 1px dashed #A1A5A9; border-right: 1px solid #A1A5A9; } .weekborder2 { border-right: 1px solid #A1A5A9; } .timeborder { border-right: 2px solid #A1A5A9; border-top: 1px dashed #A1A5A9; background-image: url(time_bg.gif); } .timeborder2 { border-right: 2px solid #A1A5A9; border-top: 1px solid #A1A5A9; background-image: url(time_bg.gif); } .navback { background-image: url(time_bg.gif); } .sideback { background-image: url(side_bg.gif); } .monthback { background-color: #A1A5A9; } .monthreg { background-color: #FFFFFF; } .monthoff { background-color: #F2F2F2; } .monthon { background-color: #F2F9FF; } .montheventtop { background-image: url(side_bg.gif); border-top: 1px solid #A1A5A9; } .montheventline { border-right: 1px dotted #A1A5A9; } .yearmonth { background: #CCCCCC; } /* Link colors and attributes */ /* This is the main link style */ a.psf { text-decoration: none; } a.psf:link { color: #0066FF; background-color: transparent; } a.psf:visited { color: #0066FF; background-color: transparent; } a.psf:active { color: #3366CC; background-color: transparent; } a.psf:hover { color: #000099; background-color: transparent; } /* This is the link style for the mini-cals */ a.ps2 { text-decoration: underline; } a.ps2:link { color: #0066FF; background-color: transparent; } a.ps2:visited { color: #0066FF; background-color: transparent; } a.ps2:active { color: #3366CC; background-color: transparent; } a.ps2:hover { color: #000099; background-color: transparent; } /* This is the link style for year months */ a.ps3 { text-decoration: none; } a.ps3:link { color: #000000; background-color: transparent; } a.ps3:visited { color: #000000; background-color: transparent; } a.ps3:active { color: #000000; background-color: transparent; } a.ps3:hover { color: #000000; background-color: transparent; text-decoration: underline;} /* Body attributes */ body { background-color: #E5E5E5; } /* CSS definitions for fonts */ .V9 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #000000; } .V10W { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; } .V10WB { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; font-weight: 900; } .V9G { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #666666; } .V10 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; } .V9BOLD { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; font-weight: 900; } .G10 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #0066FF; } .G10B { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; } .G10BOLD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 900; } .G10G { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #A1A5A9; } .V12 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; } .H20 { font-family: Helvetica, sans-serif; font-size: 18px; color: #000000; } .eventfont { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #FFFFFF; } /* Length of the form drop downs */ .query_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 156px; margin-bottom: 0; } .search_style { font-size: 12px; font-family: verdana, geneva, arial, sans-serif; width: 134px; margin-bottom: 0; } --- NEW FILE: download_arrow.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: event_dot.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: left_arrows.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: left_day.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: month_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: printer.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: right_arrows.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: right_day.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: search.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: side_bg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: smallicon.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spacer.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: time_bg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: week_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: year_on.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/openfirst/members/phpicalendar/styles/orange In directory sc8-pr-cvs1:/tmp/cvs-serv28958/orange Added Files: allday_dot.gif back.gif day_on.gif default.css download_arrow.gif event_dot.gif left_arrows.gif left_day.gif month_on.gif right_arrows.gif right_day.gif search.gif side_bg.gif smallicon.gif time_bg.gif week_on.gif year_on.gif Log Message: Add PHP iCalendar styles to the repository. --- NEW FILE: allday_dot.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: back.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: day_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: default.css --- /* Style sheet for the orange calendar */ .eventborder { background-color: #F09000; border: 1px #996600 solid; } .eventbg { background-color: #FFAF5E; } .eventbg_1 { background-color: #FFAF5E; } .eventbg_2 { background-color: #CC8B00; } .eventbg_3 { background-color: #669933; } .eventbg_4 { background-color: #CC9966; } .eventbg_5 { background-color: #CC6600; } .eventbg_6 { background-color: #FFCC33; } .eventbg_7 { background-color: #6699FF; } .eventbg2 { background-color: #FFAF5E; border-right: 1px solid #FFFFFF; } .eventbg2_1 { background-color: #FFAF5E; border-right: 1px solid #FFFFFF; } .eventbg2_2 { background-color: #CC8B00; border-right: 1px solid #FFFFFF; } .eventbg2_3 { background-color: #669933; border-right: 1px solid #FFFFFF; } .eventbg2_4 { background-color: #CC9966; border-right: 1px solid #FFFFFF; } .eventbg2_5 { background-color: #CC6600; border-right: 1px solid #FFFFFF; } .eventbg2_6 { background-color: #FFCC33; border-right: 1px solid #FFFFFF; } .eventbg2_7 { background-color: #6699FF; border-right: 1px solid #FFFFFF; } .eventbg2week { background-color: #6699CC; border-right: 1px solid #A1A5A9; } .eventbg2week_1 { background-color: #FFAF5E; border-right: 1px solid #A1A5A9; } .eventbg2week_2 { background-color: #CC8B00; border-right: 1px solid #A1A5A9; } .eventbg2week_3 { background-color: #669933; border-right: 1px solid #A1A5A9; } .eventbg2week_4 { background-color: #CC9966; border-right: 1px solid #A1A5A9; } .eventbg2week_5 { background-color: #CC6600; border-right: 1px solid #A1A5A9; } .eventbg2week_6 { background-color: #FFCC33; border-right: 1px solid #A1A5A9; } .eventbg2week_7 { background-color: #6699FF; border-right: 1px solid #A1A5A9; } .eventbg2week { background-color: #FFAF5E; border-right: 1px solid #A1A5A9; } .calborder { background-color: #FFFFFF; border: 1px #A1A5A9 solid; } .dateback { background-color: #EEEEEE; } .dayborder { border-top: 1px solid #A1A5A9; } .dayborder2 { border-top: 1px dashed #CCCCCC; } .weekborder { border-top: 1px dashed #A1A5A9; border-right: 1px solid #A1A5A9; } .weekborder2 { border-right: 1px solid #A1A5A9; } .timeborder { border-right: 2px solid #A1A5A9; border-top: 1px dashed #A1A5A9; background-image: url(time_bg.gif); } .timeborder2 { border-right: 2px solid #A1A5A9; border-top: 1px solid #A1A5A9; background-image: url(time_bg.gif); } .navback { background-image: url(time_bg.gif); } .sideback { background-image: url(side_bg.gif); } .monthback { background-color: #A1A5A9; } .monthreg { background-color: #FFFFFF; } .monthoff { background-color: #F2F2F2; } .monthon { background-color: #F2F9FF; } .montheventtop { background-image: url(side_bg.gif); border-top: 1px solid #A1A5A9; } .montheventline { border-right: 1px dotted #A1A5A9; } .yearmonth { background: #CCCCCC; } /* Link colors and attributes */ /* This is the main link style */ a.psf { text-decoration: none; } a.psf:link { color: #0066FF; background-color: transparent; } a.psf:visited { color: #0066FF; background-color: transparent; } a.psf:active { color: #3366CC; background-color: transparent; } a.psf:hover { color: #000099; background-color: transparent; } /* This is the link style for the mini-cals */ a.ps2 { text-decoration: underline; } a.ps2:link { color: #0066FF; background-color: transparent; } a.ps2:visited { color: #0066FF; background-color: transparent; } a.ps2:active { color: #3366CC; background-color: transparent; } a.ps2:hover { color: #000099; background-color: transparent; } /* This is the link style for year months */ a.ps3 { text-decoration: none; } a.ps3:link { color: #000000; background-color: transparent; } a.ps3:visited { color: #000000; background-color: transparent; } a.ps3:active { color: #000000; background-color: transparent; } a.ps3:hover { color: #000000; background-color: transparent; text-decoration: underline;} /* Body attributes */ body { background-color: #E5E5E5; } /* CSS definitions for fonts */ .V9 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #000000; } .V10W { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; } .V10WB { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; font-weight: 900; } .V9G { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #666666; } .V10 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; } .V9BOLD { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; font-weight: 900; } .G10 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #0066FF; } .G10B { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; } .G10BOLD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 900; } .G10G { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #A1A5A9; } .V12 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; } .H20 { font-family: Helvetica, sans-serif; font-size: 18px; color: #000000; } .eventfont { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #FFFFFF; } /* Length of the form drop downs */ .query_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 156px; margin-bottom: 0; } .search_style { font-size: 12px; font-family: verdana, geneva, arial, sans-serif; width: 134px; margin-bottom: 0; } --- NEW FILE: download_arrow.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: event_dot.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: left_arrows.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: left_day.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: month_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: right_arrows.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: right_day.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: search.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: side_bg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: smallicon.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: time_bg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: week_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: year_on.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/openfirst/members/phpicalendar/styles/grey In directory sc8-pr-cvs1:/tmp/cvs-serv28958/grey Added Files: allday_dot.gif back.gif background.gif day_on.gif default.css download_arrow.gif event_dot.gif left_arrows.gif left_day.gif month_on.gif right_arrows.gif right_day.gif search.gif side_bg.gif smallicon.gif time_bg.gif week_on.gif year_on.gif Log Message: Add PHP iCalendar styles to the repository. --- NEW FILE: allday_dot.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: back.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: background.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: day_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: default.css --- /* Style sheet for the grey calendar */ .eventborder { background-color: #666666; border: 1px #000000 solid; } .eventbg { background-color: #AAAAAA; } .eventbg_1 { background-color: #6876E7; } .eventbg_2 { background-color: #666699; } .eventbg_3 { background-color: #999999; } .eventbg_4 { background-color: #CC6633; } .eventbg_5 { background-color: #9999CC; } .eventbg_6 { background-color: #CC9933; } .eventbg_7 { background-color: #73738C; } .eventbg2 { background-color: #AAAAAA; border-right: 1px solid #FFFFFF; } .eventbg2_1 { background-color: #6876E7; border-right: 1px solid #FFFFFF; } .eventbg2_2 { background-color: #666699; border-right: 1px solid #FFFFFF; } .eventbg2_3 { background-color: #999999; border-right: 1px solid #FFFFFF; } .eventbg2_4 { background-color: #CC6633; border-right: 1px solid #FFFFFF; } .eventbg2_5 { background-color: #9999CC; border-right: 1px solid #FFFFFF; } .eventbg2_6 { background-color: #CC9933; border-right: 1px solid #FFFFFF; } .eventbg2_7 { background-color: #73738C; border-right: 1px solid #FFFFFF; } ..eventbg2week { background-color: #AAAAAA; border-right: 1px solid #A1A5A9; } .eventbg2week_1 { background-color: #6876E7; border-right: 1px solid #A1A5A9; } .eventbg2week_2 { background-color: #666699; border-right: 1px solid #A1A5A9; } .eventbg2week_3 { background-color: #999999; border-right: 1px solid #A1A5A9; } .eventbg2week_4 { background-color: #CC6633; border-right: 1px solid #A1A5A9; } .eventbg2week_5 { background-color: #9999CC; border-right: 1px solid #A1A5A9; } .eventbg2week_6 { background-color: #CC9933; border-right: 1px solid #A1A5A9; } .eventbg2week_7 { background-color: #73738C; border-right: 1px solid #A1A5A9; } .calborder { background-color: #FFFFFF; border: 1px #A1A5A9 solid; } .dateback { background-color: #EEEEEE; } .dayborder { border-top: 1px solid #A1A5A9; } .dayborder2 { border-top: 1px dashed #CCCCCC; } .weekborder { border-top: 1px dashed #A1A5A9; border-right: 1px solid #A1A5A9; } .weekborder2 { border-right: 1px solid #A1A5A9; } .timeborder { border-right: 2px solid #A1A5A9; border-top: 1px dashed #A1A5A9; background-image: url(time_bg.gif); } .timeborder2 { border-right: 2px solid #A1A5A9; border-top: 1px solid #A1A5A9; background-image: url(time_bg.gif); } .navback { background-image: url(time_bg.gif); } .sideback { background-image: url(side_bg.gif); } .monthback { background-color: #A1A5A9; } .monthreg { background-color: #FFFFFF; } .monthoff { background-color: #F2F2F2; } .monthon { background-color: #F2F9FF; } .montheventtop { background-image: url(side_bg.gif); border-top: 1px solid #A1A5A9; } .montheventline { border-right: 1px dotted #A1A5A9; } .yearmonth { background: #CCCCCC; } /* Link colors and attributes */ /* This is the main link style */ a.psf { text-decoration: none; } a.psf:link { color: #0066FF; background-color: transparent; } a.psf:visited { color: #0066FF; background-color: transparent; } a.psf:active { color: #3366CC; background-color: transparent; } a.psf:hover { color: #000099; background-color: transparent; } /* This is the link style for the mini-cals */ a.ps2 { text-decoration: underline; } a.ps2:link { color: #0066FF; background-color: transparent; } a.ps2:visited { color: #0066FF; background-color: transparent; } a.ps2:active { color: #3366CC; background-color: transparent; } a.ps2:hover { color: #000099; background-color: transparent; } /* This is the link style for year months */ a.ps3 { text-decoration: none; } a.ps3:link { color: #000000; background-color: transparent; } a.ps3:visited { color: #000000; background-color: transparent; } a.ps3:active { color: #000000; background-color: transparent; } a.ps3:hover { color: #000000; background-color: transparent; text-decoration: underline;} /* Body attributes */ body { background-image: url(background.gif); } /* CSS definitions for fonts */ .V9 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #000000; } .V10W { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; } .V10WB { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; font-weight: 900; } .V9G { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #666666; } .V10 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; } .V9BOLD { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; font-weight: 900; } .G10 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #0066FF; } .G10B { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; } .G10BOLD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 900; } .G10G { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #A1A5A9; } .V12 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; } .H20 { font-family: Helvetica, sans-serif; font-size: 18px; color: #000000; } .eventfont { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #FFFFFF; } /* Length of the form drop downs */ .query_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 156px; margin-bottom: 0; } .search_style { font-size: 12px; font-family: verdana, geneva, arial, sans-serif; width: 134px; margin-bottom: 0; } --- NEW FILE: download_arrow.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: event_dot.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: left_arrows.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: left_day.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: month_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: right_arrows.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: right_day.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: search.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: side_bg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: smallicon.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: time_bg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: week_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: year_on.gif --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/openfirst/members/phpicalendar/styles/green In directory sc8-pr-cvs1:/tmp/cvs-serv28958/green Added Files: allday_dot.gif back.gif background.gif day_on.gif default.css download_arrow.gif event_dot.gif left_arrows.gif left_day.gif month_on.gif right_arrows.gif right_day.gif search.gif side_bg.gif smallicon.gif spacer.gif time_bg.gif week_on.gif year_on.gif Log Message: Add PHP iCalendar styles to the repository. --- NEW FILE: allday_dot.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: back.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: background.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: day_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: default.css --- /* Style sheet for the green calendar */ .eventborder { background-color: #006600; border: 1px #003300 solid; } .eventbg { background-color: #339933; } .eventbg_1 { background-color: #339933; } .eventbg_2 { background-color: #669966; } .eventbg_3 { background-color: #999999; } .eventbg_4 { background-color: #CC6633; } .eventbg_5 { background-color: #339966; } .eventbg_6 { background-color: #CC9933; } .eventbg_7 { background-color: #FFAF18; } .eventbg2 { background-color: #339933; border-right: 1px solid #FFFFFF; } .eventbg2_1 { background-color: #339933; border-right: 1px solid #FFFFFF; } .eventbg2_2 { background-color: #669966; border-right: 1px solid #FFFFFF; } .eventbg2_3 { background-color: #999999; border-right: 1px solid #FFFFFF; } .eventbg2_4 { background-color: #CC6633; border-right: 1px solid #FFFFFF; } .eventbg2_5 { background-color: #339966; border-right: 1px solid #FFFFFF; } .eventbg2_6 { background-color: #CC9933; border-right: 1px solid #FFFFFF; } .eventbg2_7 { background-color: #FFAF18; border-right: 1px solid #FFFFFF; } .eventbg2week { background-color: #339933; border-right: 1px solid #A1A5A9; } .eventbg2week_1 { background-color: #339933; border-right: 1px solid #A1A5A9; } .eventbg2week_2 { background-color: #669966; border-right: 1px solid #A1A5A9; } .eventbg2week_3 { background-color: #999999; border-right: 1px solid #A1A5A9; } .eventbg2week_4 { background-color: #CC6633; border-right: 1px solid #A1A5A9; } .eventbg2week_5 { background-color: #339966; border-right: 1px solid #A1A5A9; } .eventbg2week_6 { background-color: #CC9933; border-right: 1px solid #A1A5A9; } .eventbg2week_7 { background-color: #FFAF18; border-right: 1px solid #A1A5A9; } .calborder { background-color: #FFFFFF; border: 1px #A1A5A9 solid; } .dateback { background-color: #EEEEEE; } .dayborder { border-top: 1px solid #A1A5A9; } .dayborder2 { border-top: 1px dashed #CCCCCC; } .weekborder { border-top: 1px dashed #A1A5A9; border-right: 1px solid #A1A5A9; } .weekborder2 { border-right: 1px solid #A1A5A9; } .timeborder { border-right: 2px solid #A1A5A9; border-top: 1px dashed #A1A5A9; background-image: url(time_bg.gif); } .timeborder2 { border-right: 2px solid #A1A5A9; border-top: 1px solid #A1A5A9; background-image: url(time_bg.gif); } .navback { background-image: url(time_bg.gif); } .sideback { background-image: url(side_bg.gif); } .monthback { background-color: #A1A5A9; } .monthreg { background-color: #FFFFFF; } .monthoff { background-color: #F2F2F2; } .monthon { background-color: #E3FCE3; } .montheventtop { background-image: url(side_bg.gif); border-top: 1px solid #A1A5A9; } .montheventline { border-right: 1px dotted #A1A5A9; } .yearmonth { background: #CCCCCC; } /* Link colors and attributes */ /* This is the main link style */ a.psf { text-decoration: none; } a.psf:link { color: #009900; background-color: transparent; } a.psf:visited { color: #009900; background-color: transparent; } a.psf:active { color: #009900; background-color: transparent; } a.psf:hover { color: #003300; background-color: transparent; } /* This is the link style for the mini-cals */ a.ps2 { text-decoration: underline; } a.ps2:link { color: #009900; background-color: transparent; } a.ps2:visited { color: #009900; background-color: transparent; } a.ps2:active { color: #009900; background-color: transparent; } a.ps2:hover { color: #003300; background-color: transparent; } /* This is the link style for year months */ a.ps3 { text-decoration: none; } a.ps3:link { color: #000000; background-color: transparent; } a.ps3:visited { color: #000000; background-color: transparent; } a.ps3:active { color: #000000; background-color: transparent; } a.ps3:hover { color: #000000; background-color: transparent; text-decoration: underline;} /* Body attributes */ body { background-image: url(background.gif); } /* CSS definitions for fonts */ .V9 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #000000; } .V10W { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; } .V10WB { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #FFFFFF; font-weight: 900; } .V9G { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; color: #666666; } .V10 { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; } .V9BOLD { font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; font-weight: 900; } .G10 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #0066FF; } .G10B { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; } .G10BOLD { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 900; } .G10G { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #A1A5A9; } .V12 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; } .H20 { font-family: Helvetica, sans-serif; font-size: 18px; color: #000000; } .eventfont { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #FFFFFF; } /* Length of the form drop downs */ .query_style { font-size: 11px; font-family: verdana, geneva, arial, sans-serif; width: 156px; margin-bottom: 0; } .search_style { font-size: 12px; font-family: verdana, geneva, arial, sans-serif; width: 134px; margin-bottom: 0; } --- NEW FILE: download_arrow.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: event_dot.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: left_arrows.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: left_day.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: month_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: right_arrows.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: right_day.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: search.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: side_bg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: smallicon.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spacer.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: time_bg.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: week_on.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: year_on.gif --- (This appears to be a binary file; contents omitted.) |
From: <xt...@us...> - 2003-10-05 15:40:38
|
Update of /cvsroot/openfirst/members/phpicalendar/styles/grey In directory sc8-pr-cvs1:/tmp/cvs-serv28548/grey Log Message: Directory /cvsroot/openfirst/members/phpicalendar/styles/grey added to the repository |
From: <xt...@us...> - 2003-10-05 15:40:38
|
Update of /cvsroot/openfirst/members/phpicalendar/styles/orange In directory sc8-pr-cvs1:/tmp/cvs-serv28548/orange Log Message: Directory /cvsroot/openfirst/members/phpicalendar/styles/orange added to the repository |
From: <xt...@us...> - 2003-10-05 15:40:38
|
Update of /cvsroot/openfirst/members/phpicalendar/styles/red In directory sc8-pr-cvs1:/tmp/cvs-serv28548/red Log Message: Directory /cvsroot/openfirst/members/phpicalendar/styles/red added to the repository |
From: <xt...@us...> - 2003-10-05 15:40:38
|
Update of /cvsroot/openfirst/members/phpicalendar/styles/tan In directory sc8-pr-cvs1:/tmp/cvs-serv28548/tan Log Message: Directory /cvsroot/openfirst/members/phpicalendar/styles/tan added to the repository |
From: <xt...@us...> - 2003-10-05 15:40:38
|
Update of /cvsroot/openfirst/members/phpicalendar/styles/green In directory sc8-pr-cvs1:/tmp/cvs-serv28548/green Log Message: Directory /cvsroot/openfirst/members/phpicalendar/styles/green added to the repository |
From: <xt...@us...> - 2003-10-05 15:40:38
|
Update of /cvsroot/openfirst/members/phpicalendar/styles/silver In directory sc8-pr-cvs1:/tmp/cvs-serv28548/silver Log Message: Directory /cvsroot/openfirst/members/phpicalendar/styles/silver added to the repository |
From: <xt...@us...> - 2003-10-05 15:34:54
|
Update of /cvsroot/openfirst/members/phpicalendar/rss In directory sc8-pr-cvs1:/tmp/cvs-serv26097 Added Files: index.php rss.php Log Message: Add rss directory with its functionality. --- NEW FILE: index.php --- <?php define('BASE','../'); include(BASE.'functions/ical_parser.php'); $default_path = 'http://'.$HTTP_SERVER_VARS['SERVER_NAME'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'], '/rss/')); if (isset($HTTP_SERVER_VARS['HTTP_REFERER']) && $HTTP_SERVER_VARS['HTTP_REFERER'] != '') { $back_page = $HTTP_SERVER_VARS['HTTP_REFERER']; } else { $back_page = BASE.$default_view.'.php?cal='.$cal.'&getdate='.$getdate; } $current_view = "rssindex"; $display_date = "$calendar_lang - RSS Info"; include (BASE.'includes/header.inc.php'); ?> <center> <table border="0" width="700" cellspacing="0" cellpadding="0"> <tr> <td width="520" valign="top" align="center"> <table width="640" border="0" cellspacing="0" cellpadding="0" class="calborder"> <tr> <td align="center" valign="middle"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" width="120" class="navback"><?php echo '<a href="'.$back_page.'"><img src="'.BASE.'styles/'.$style_sheet.'/back.gif" alt=" " border="0" align="left"></a>'; ?></td> <td class="navback"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center" class="navback" nowrap valign="middle"><font class="H20"><?php echo 'RSS Information'; ?></font></td> </tr> </table> </td> <td align="right" width="120" class="navback"> <table width="120" border="0" cellpadding="0" cellspacing="0"> <tr> <td><?php echo '<a class="psf" href="'.BASE.'day.php?cal='.$cal.'&getdate='.$getdate.'"><img src="'.BASE.'styles/'.$style_sheet.'/day_on.gif" alt=" " border="0"></td>'; ?> <td><?php echo '<a class="psf" href="'.BASE.'week.php?cal='.$cal.'&getdate='.$getdate.'"><img src="'.BASE.'styles/'.$style_sheet.'/week_on.gif" alt=" " border="0"></td>'; ?> <td><?php echo '<a class="psf" href="'.BASE.'month.php?cal='.$cal.'&getdate='.$getdate.'"><img src="'.BASE.'styles/'.$style_sheet.'/month_on.gif" alt=" " border="0"></td>'; ?> <td><?php echo '<a class="psf" href="'.BASE.'year.php?cal='.$cal.'&getdate='.$getdate.'"><img src="'.BASE.'styles/'.$style_sheet.'/year_on.gif" alt=" " border="0"></td>'; ?> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td class="dayborder"><img src="../images/spacer.gif" width="1" height="5" alt=" "></td> </tr> <?php if ($enable_rss == "yes") { ?> <tr> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B"> <tr> <td width="2%"></td> <td width="98%" valign="top" align="left"> <br> <?php echo "$this_site_is_lang "; ?><a class="psf" href="http://www.oreillynet.com/rss/">RSS 0.91 enabled</a>.<br> <br> <?php // open file $dir_handle = @opendir($calendar_path) or die(error(sprintf($error_path_lang, $calendar_path), $cal_filename)); // build the <option> tags while ($file = readdir($dir_handle)) { if (preg_match("/^[^.].+\.ics$/", $file)) { // $cal_filename is the filename of the calendar without .ics // $cal is a urlencoded version of $cal_filename // $cal_displayname is $cal_filename with occurrences of "32" replaced with " " $cal_filename_tmp = substr($file,0,-4); $cal_tmp = urlencode($cal_filename_tmp); $cal_displayname_tmp = str_replace("32", " ", $cal_filename_tmp); if (!in_array($cal_filename_tmp, $blacklisted_cals)) { echo '<font class="V12" color="blue"><b>'.$cal_displayname_tmp.' '. $calendar_lang.'</b></font><br>'; echo $default_path.'/rss/rss.php?cal='.$cal_tmp.'&rssview=day<br>'; echo $default_path.'/rss/rss.php?cal='.$cal_tmp.'&rssview=week<br>'; echo $default_path.'/rss/rss.php?cal='.$cal_tmp.'&rssview=month<br>'; $footer_check = $default_path.'/rss/rss.php?cal='.$default_cal.'&rssview='.$default_view; echo '<br><br>'; } } } ?> </td> </tr> </table> </td> </tr> <?php } else { ?> <tr> <td align="center" class="navback" nowrap valign="middle"><font class="H20">RSS is not enabled on this site.</font></td> </tr> <?php } ?> </table> </td> </tr> </table> </center> <?php include (BASE.'includes/footer.inc.php'); ?> --- NEW FILE: rss.php --- <?php define('BASE', '../'); include(BASE.'functions/ical_parser.php'); if ($enable_rss != 'yes') { die ("RSS feeds are not enabled on this site."); } $default_path = 'http://'.$HTTP_SERVER_VARS['SERVER_NAME'].':'.$HTTP_SERVER_VARS['SERVER_PORT'].substr($HTTP_SERVER_VARS['PHP_SELF'],0,strpos($HTTP_SERVER_VARS['PHP_SELF'],'/rss/')); $start_week_time = strtotime(dateOfWeek($getdate, $week_start_day)); $end_week_time = $start_week_time + (6 * 25 * 60 * 60); $start_week = localizeDate($dateFormat_week, $start_week_time); $end_week = localizeDate($dateFormat_week, $end_week_time); $parse_month = date ("Ym", strtotime($getdate)); $rssview = $HTTP_GET_VARS['rssview']; $cal_displayname = str_replace("32", " ", $cal); $events_week = 0; // calculate a value for Last Modified and ETag $filemod = filemtime("../calendars/$cal.ics"); $filemodtime = date("r", $filemod); //send relevant headers header ("Last-Modified: $filemodtime"); header ("ETag:\"$filemodtime\""); // checks the user agents headers to see if they kept track of our // stuff, if so be nice and send back a 304 and exit. if ( ($_SERVER['HTTP_IF_MODIFIED_SINCE'] == $filemodtime) || ($_SERVER['HTTP_IF_NONE_MATCH'] == $filemodtime)) { header ("HTTP/1.1 304 Not Modified"); exit; } if ($rssview == "day") { $theview = $day_lang; } elseif ($rssview == "week") { $theview = $week_lang; } elseif ($rssview == "month") { $theview = $month_lang; } $rss = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"."\n"; $rss .= '<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">'."\n"; $rss .= '<rss version="0.91">'."\n"; $rss .= '<channel>'."\n"; $rss .= '<title>'.$cal_displayname.' - '.$theview.'</title>'."\n"; $rss .= '<link>'.htmlspecialchars ("$default_path").'</link>'."\n"; $rss .= '<description>'.$cal_displayname.' '.$calendar_lang.' - '.$theview.'</description>'."\n"; $rss .= '<language>'.$rss_language.'</language>'."\n"; $rss .= '<copyright>Copyright 2002, '.htmlspecialchars ("$default_path").'</copyright>'."\n"; if ($rssview == 'day') { if (isset($master_array[($getdate)]) && sizeof($master_array[($getdate)]) > 0) { foreach ($master_array[("$getdate")] as $event_times) { foreach ($event_times as $val) { $event_start = @$val["event_start"]; $event_start = date ($timeFormat, @strtotime ("$event_start")); $event_text = stripslashes(urldecode($val["event_text"])); $event_text = strip_tags($event_text, '<b><i><u>'); $event_text = word_wrap($event_text, 21, $tomorrows_events_lines); $description = stripslashes(urldecode($val["description"])); $description = strip_tags($description, '<b><i><u>'); $rss_title = htmlspecialchars ("$event_start $event_text"); $rss_link = htmlspecialchars ("$default_path/day.php?getdate=$getdate&cal=$cal"); $rss_description = htmlspecialchars ("$description"); $rss .= '<item>'."\n"; $rss .= '<title>'.$rss_title.'</title>'."\n"; $rss .= '<link>'.$rss_link.'</link>'."\n"; $rss .= '<description>'.$rss_description.'</description>'."\n"; $rss .= '</item>'."\n"; $events_week++; } } } if ($events_week < 1) { $rss .= '<item>'."\n"; $rss .= '<title>'.$no_events_day_lang.'</title>'."\n"; $rss .= '<link>'.htmlspecialchars ("$default_path").'</link>'."\n"; $rss .= '</item>'."\n"; } } $thisdate = $start_week_time; $i = 0; if ($rssview == "week") { do { $getdate = date("Ymd", $thisdate); $dayofweek = strtotime ($getdate); $dayofweek = localizeDate ($rss_week_date, $dayofweek); if (isset($master_array[($getdate)]) && sizeof($master_array[($getdate)]) > 0) { foreach ($master_array[("$getdate")] as $event_times) { foreach ($event_times as $val) { $event_start = @$val["event_start"]; $event_start = date ($timeFormat, @strtotime ("$event_start")); $event_text = stripslashes(urldecode($val["event_text"])); $event_text = strip_tags($event_text, '<b><i><u>'); $event_text = word_wrap($event_text, 21, $tomorrows_events_lines); $description = stripslashes(urldecode($val["description"])); $description = strip_tags($description, '<b><i><u>'); $rss_title = htmlspecialchars ("$dayofweek: $event_text"); $rss_link = htmlspecialchars ("$default_path/day.php?getdate=$getdate&cal=$cal"); $rss_description = htmlspecialchars ("$dayofweek $event_start: $description"); $rss .= '<item>'."\n"; $rss .= '<title>'.$rss_title.'</title>'."\n"; $rss .= '<link>'.$rss_link.'</link>'."\n"; $rss .= '<description>'.$rss_description.'</description>'."\n"; $rss .= '</item>'."\n"; $events_week++; } } } if (($events_week < 1) && ($i == 6)) { $rss .= '<item>'."\n"; $rss .= '<title>'.$no_events_week_lang.'</title>'."\n"; $rss .= '<link>'.htmlspecialchars ("$default_path").'</link>'."\n"; $rss .= '</item>'."\n"; } $thisdate = ($thisdate + (25 * 60 * 60)); $i++; } while ($i < 7); } if ($rssview == "month") { foreach($master_array as $key => $new_val2) { // Pull out only this months ereg ("([0-9]{6})([0-9]{2})", $key, $regs); if ($regs[1] == $parse_month) { $getdate = $key; $dayofmonth = strtotime ($getdate); $dayofmonth = localizeDate ($rss_month_date, $dayofmonth); // Pull out each day foreach ($new_val2 as $new_val) { // Pull out each time foreach ($new_val as $new_key2 => $val) { if ($val["event_text"]) { $event_start = @$val["event_start"]; $event_start = date ($timeFormat, @strtotime ("$event_start")); $event_text = stripslashes(urldecode($val["event_text"])); $event_text = strip_tags($event_text, '<b><i><u>'); $event_text = word_wrap($event_text, 21, $tomorrows_events_lines); $description = stripslashes(urldecode($val["description"])); $description = strip_tags($description, '<b><i><u>'); $rss_title = htmlspecialchars ("$dayofmonth: $event_text"); $rss_link = htmlspecialchars ("$default_path/day.php?getdate=$getdate&cal=$cal"); $rss_description = htmlspecialchars ("$dayofmonth $event_start: $description"); $rss .= '<item>'."\n"; $rss .= '<title>'.$rss_title.'</title>'."\n"; $rss .= '<link>'.$rss_link.'</link>'."\n"; $rss .= '<description>'.$rss_description.'</description>'."\n"; $rss .= '</item>'."\n"; $events_week++; } if ($events_week < 1) { $rss .= '<item>'."\n"; $rss .= '<title>'.$no_events_month_lang.'</title>'."\n"; $rss .= '<link>'.htmlspecialchars ("$default_path").'</link>'."\n"; $rss .= '</item>'."\n"; } } } } } } $rss .= '</channel>'."\n"; $rss .= '</rss>'."\n"; header ("Content-Type: text/xml"); echo "$rss"; ?> |