[Openfirst-cvscommit] members workspace.php,1.24.2.1,1.24.2.2
Brought to you by:
xtimg
From: Jamie <ast...@us...> - 2005-11-06 19:13:35
|
Update of /cvsroot/openfirst/members In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3753/members Modified Files: Tag: REL1_1_BRANCH workspace.php Log Message: Buf #196 (removing php iCalendar) Index: workspace.php =================================================================== RCS file: /cvsroot/openfirst/members/workspace.php,v retrieving revision 1.24.2.1 retrieving revision 1.24.2.2 diff -C2 -d -r1.24.2.1 -r1.24.2.2 *** workspace.php 6 Nov 2005 19:11:24 -0000 1.24.2.1 --- workspace.php 6 Nov 2005 19:13:23 -0000 1.24.2.2 *************** *** 218,230 **** 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'>"); --- 218,222 ---- 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'>"); |