|
From: Verdon V. <ve...@us...> - 2008-01-02 05:12:08
|
Update of /cvsroot/phpwebsite-comm/modules/podcaster In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30728 Modified Files: index.php Removed Files: README Log Message: Rewrite for phpws 1.x --- README DELETED --- Index: index.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/podcaster/index.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** index.php 19 Jul 2005 01:23:51 -0000 1.1.1.1 --- index.php 2 Jan 2008 05:12:10 -0000 1.2 *************** *** 1,38 **** <?php /** ! * podcaster ! * ! * See docs/AUTHORS and docs/COPYRIGHT for relevant info. ! * ! * 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. ! * ! * 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 ! * ! * @version $Id$ ! */ ! ! $CNT_podcaster['content'] = NULL; ! ! if (!isset($_SESSION['PODCASTS_Manager'])) ! $_SESSION['PODCASTS_Manager'] = new PODCASTS_Manager; ! ! if (isset($_REQUEST['PODCASTS_MAN_OP'])) ! $_SESSION['PODCASTS_Manager']->action(); ! if (isset($_REQUEST['PODCASTS_Podcast_OP']) && isset($_SESSION['PODCASTS_Manager']->podcast)) ! $_SESSION['PODCASTS_Manager']->podcast->action(); ! if (isset($_REQUEST['PODCASTS_Channel_OP']) && isset($_SESSION['PODCASTS_Manager']->channel)) ! $_SESSION['PODCASTS_Manager']->channel->action(); ! ?> --- 1,41 ---- <?php /** ! * podcaster - phpwebsite module ! * ! * See docs/AUTHORS and docs/COPYRIGHT for relevant info. ! * ! * 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. ! * ! * 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 ! * ! * @version $Id$ ! * @author Verdon Vaillancourt <verdonv at users dot sourceforge dot net> ! */ ! if (!defined('PHPWS_SOURCE_DIR')) { ! exit(); ! } ! PHPWS_Core::initModClass('podcaster', 'Podcaster.php'); ! $podcaster = new Podcaster; ! if (isset($_REQUEST['aop'])) { ! $podcaster->adminMenu(); ! } elseif (isset($_REQUEST['uop'])) { ! $podcaster->userMenu(); ! } elseif (isset($_REQUEST['id'])) { ! $podcaster->userMenu('view_channel'); ! } else { ! PHPWS_Core::home(); ! } ! ?> \ No newline at end of file |