moved feeds
authorjoel kronenberg <joel.kronenberg@utoronto.ca>
Thu, 8 Dec 2005 18:04:21 +0000 (18:04 -0000)
committerjoel kronenberg <joel.kronenberg@utoronto.ca>
Thu, 8 Dec 2005 18:04:21 +0000 (18:04 -0000)
docs/admin/rss_feeds/add_feed.php
docs/admin/rss_feeds/delete_feed.php
docs/admin/rss_feeds/edit_feed.php
docs/admin/rss_feeds/index.php [moved from docs/admin/rss_feeds/index_admin.php with 100% similarity]
docs/admin/rss_feeds/preview.php
docs/mods/_standard/rss_feeds/admin/add_feed.php [deleted file]
docs/mods/_standard/rss_feeds/admin/delete_feed.php [deleted file]
docs/mods/_standard/rss_feeds/admin/edit_feed.php [deleted file]
docs/mods/_standard/rss_feeds/admin/index_admin.php [deleted file]
docs/mods/_standard/rss_feeds/admin/preview.php [deleted file]
docs/mods/_standard/rss_feeds/module.php

index d491ee1..d0917e7 100644 (file)
@@ -53,7 +53,7 @@ if (isset($_POST['cancel'])) {
        $feed_id = mysql_insert_id($db);\r
        \r
        //copy load file\r
-       copy('../load_file.php', AT_CONTENT_DIR.'feeds/'.$feed_id.'_rss.inc.php');\r
+       copy('../../mods/_standard/rss_feeds/load_file.php', AT_CONTENT_DIR.'feeds/'.$feed_id.'_rss.inc.php');\r
 \r
        //add language\r
        $title_file = AT_CONTENT_DIR.'feeds/'.$feed_id.'_rss_title.cache';\r
@@ -63,7 +63,7 @@ if (isset($_POST['cancel'])) {
        }\r
 \r
        $msg->addFeedback('FEED_SAVED');\r
-       header("Location:index_admin.php");\r
+       header('Location: index.php');\r
        exit;\r
 } \r
 \r
index 3ae94d8..fde6eea 100644 (file)
@@ -19,7 +19,7 @@ admin_authenticate(AT_ADMIN_PRIV_RSS);
 \r
 if (isset($_POST['submit_no'])) {\r
        $msg->addFeedback('CANCELLED');\r
-       header('Location: index_admin.php');\r
+       header('Location: index.php');\r
        exit;\r
 } else if (isset($_POST['submit_yes'])) {\r
        $feed_id = intval($_POST['fid']);\r
@@ -38,7 +38,7 @@ if (isset($_POST['submit_no'])) {
        @unlink(AT_CONTENT_DIR.'/feeds/'.$feed_id.'_rss.inc.php');\r
 \r
        $msg->addFeedback('FEED_DELETED');\r
-       header('Location: index_admin.php');\r
+       header('Location: index.php');\r
        exit;\r
 }\r
 \r
index 41b8a20..812e2b1 100644 (file)
@@ -46,13 +46,13 @@ if (isset($_GET['submit'])) {
                @unlink(AT_CONTENT_DIR.'/feeds/'.$feed_id.'_rss.cache');\r
 \r
                $msg->addFeedback('FEED_SAVED');\r
-               header('Location: index_admin.php');\r
+               header('Location: index.php');\r
                exit;\r
        } \r
 \r
 } else if (isset($_GET['cancel'])) {\r
        $msg->addFeedback('CANCELLED');\r
-       header("Location:index_admin.php");\r
+       header("Location:index.php");\r
        exit;\r
 }\r
 \r
index b8c6b42..c1bb4b5 100644 (file)
@@ -18,7 +18,7 @@ require(AT_INCLUDE_PATH . 'vitals.inc.php');
 admin_authenticate(AT_ADMIN_PRIV_RSS);\r
 \r
 if (isset($_POST['back'])) {\r
-       header('Location: index_admin.php');\r
+       header('Location: index.php');\r
        exit;\r
 }\r
 \r
diff --git a/docs/mods/_standard/rss_feeds/admin/add_feed.php b/docs/mods/_standard/rss_feeds/admin/add_feed.php
deleted file mode 100644 (file)
index 0733df7..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-<?php  \r
-/************************************************************************/\r
-/* ATutor                                                                                                                              */\r
-/************************************************************************/\r
-/* Copyright (c) 2002-2005 by Greg Gay, Joel Kronenberg & Heidi Hazelton*/\r
-/* Adaptive Technology Resource Centre / University of Toronto                 */\r
-/* http://atutor.ca                                                                                                            */\r
-/*                                                                                                                                             */\r
-/* This program is free software. You can redistribute it and/or               */\r
-/* modify it under the terms of the GNU General Public License                 */\r
-/* as published by the Free Software Foundation.                                               */\r
-/************************************************************************/\r
-// $Id: $\r
-\r
-define('AT_INCLUDE_PATH', '../../../../include/');\r
-require(AT_INCLUDE_PATH . 'vitals.inc.php');\r
-\r
-admin_authenticate(AT_ADMIN_PRIV_RSS);\r
-\r
-if (isset($_POST['cancel'])) {\r
-       $msg->addFeedback('CANCELLED');\r
-       header("Location: index_admin.php");\r
-       exit;\r
-} else if (isset($_POST['submit'])) {\r
-       //check both fields are not empty\r
-       if (trim($_POST['title']) == '') {\r
-               $msg->addError('TITLE_EMPTY');\r
-       }\r
-       if (trim($_POST['url']) == '') {\r
-               $msg->addError('URL_EMPTY');\r
-       }\r
-\r
-       if (!$msg->containsErrors()) {\r
-               $output = make_cache_file(0);\r
-               if (!isset($output) || empty($output)) {\r
-                       $msg->addError('FEED_NO_CONTENT');\r
-               }\r
-       }\r
-\r
-       if ($msg->containsErrors()) {\r
-               unset($_POST['confirm']);\r
-       }\r
-\r
-} else if (isset($_POST['submit_no'])) {\r
-       $msg->addFeedback('CANCELLED');\r
-\r
-} else if (isset($_POST['submit_yes'])) {\r
-       $_POST['url'] = $addslashes($_POST['url']);\r
-\r
-       $sql    = "INSERT INTO ".TABLE_PREFIX."feeds VALUES(0, '".$_POST['url']."')";\r
-       $result = mysql_query($sql, $db);\r
-\r
-       $feed_id = mysql_insert_id($db);\r
-       \r
-       //copy load file\r
-       copy('../load_file.php', AT_CONTENT_DIR.'feeds/'.$feed_id.'_rss.inc.php');\r
-\r
-       //add language\r
-       $title_file = AT_CONTENT_DIR.'feeds/'.$feed_id.'_rss_title.cache';\r
-       if ($f = @fopen($title_file, 'w')) {\r
-               fwrite ($f, $_POST['title'], strlen($_POST['title']));\r
-               fclose($f);\r
-       }\r
-\r
-       $msg->addFeedback('FEED_SAVED');\r
-       header("Location:index_admin.php");\r
-       exit;\r
-} \r
-\r
-$onload = 'document.form.title.focus();';\r
-\r
-require (AT_INCLUDE_PATH.'header.inc.php');\r
-\r
-if (!isset($_POST['confirm'])) {\r
-?>\r
-       <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" name="form">\r
-               <input type="hidden" name="confirm" value="1" />\r
-\r
-               <div class="input-form" style="max-width: 525px">\r
-                       <div class="row">\r
-                               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />\r
-                               <input id="title" name="title" type="text" size="60" maxlength="255" value="<?php echo stripslashes(htmlspecialchars($_POST['title'])); ?>" /><br />\r
-                       </div>\r
-\r
-                       <div class="row">\r
-                               <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="url"><?php echo _AT('url'); ?></label><br />\r
-                               <input id="url" name="url" type="text" size="60" maxlength="255" value="<?php echo stripslashes(htmlspecialchars($_POST['url'])); ?>" /><br />\r
-                       </div>\r
-\r
-                       <div class="row buttons">\r
-                               <input type="submit" name="submit" value=" <?php echo _AT('save'); ?> " accesskey="s" />\r
-                               <input type="submit" name="cancel" value=" <?php echo _AT('cancel'); ?> " />\r
-                       </div>\r
-               </div>\r
-       </form>\r
-<?php \r
-} else { ?>\r
-\r
-       <form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">\r
-       <input type="hidden" name="new" value="<?php echo $_POST['new']; ?>" />\r
-\r
-       <div class="input-form">\r
-               <div class="row">\r
-                       <h3><?php if (file_exists($title_file)) { \r
-                                       readfile($title_file); \r
-                               } else {\r
-                                       echo $_POST['title'];\r
-                               }?>\r
-                       </h3>\r
-               </div>\r
-\r
-               <div class="row">\r
-                       <?php echo $output; ?>\r
-               </div>\r
-       </div>\r
-       </form>\r
-\r
-       <?php\r
-               $hidden_vars['new'] = '1';\r
-               $hidden_vars['title'] = $_POST['title'];\r
-               $hidden_vars['url'] = $_POST['url'];\r
-\r
-               $msg->addConfirm('ADD_FEED', $hidden_vars);\r
-               $msg->printConfirm();\r
-       ?>\r
-\r
-<?php \r
-}\r
-?>\r
-\r
-<?php require (AT_INCLUDE_PATH.'footer.inc.php'); ?>
\ No newline at end of file
diff --git a/docs/mods/_standard/rss_feeds/admin/delete_feed.php b/docs/mods/_standard/rss_feeds/admin/delete_feed.php
deleted file mode 100644 (file)
index ccc7651..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-<?php\r
-/************************************************************************/\r
-/* ATutor                                                                                                                              */\r
-/************************************************************************/\r
-/* Copyright (c) 2002-2005 by Greg Gay, Joel Kronenberg & Heidi Hazelton*/\r
-/* Adaptive Technology Resource Centre / University of Toronto                 */\r
-/* http://atutor.ca                                                                                                            */\r
-/*                                                                                                                                             */\r
-/* This program is free software. You can redistribute it and/or               */\r
-/* modify it under the terms of the GNU General Public License                 */\r
-/* as published by the Free Software Foundation.                                               */\r
-/************************************************************************/\r
-// $Id$\r
-\r
-define('AT_INCLUDE_PATH', '../../../../include/');\r
-require(AT_INCLUDE_PATH.'vitals.inc.php');\r
-\r
-admin_authenticate(AT_ADMIN_PRIV_RSS);\r
-\r
-if (isset($_POST['submit_no'])) {\r
-       $msg->addFeedback('CANCELLED');\r
-       header('Location: index_admin.php');\r
-       exit;\r
-} else if (isset($_POST['submit_yes'])) {\r
-       $feed_id = intval($_POST['fid']);\r
-\r
-       //delete feed\r
-       $sql    = "DELETE FROM ".TABLE_PREFIX."feeds WHERE feed_id=$feed_id";\r
-       $result = mysql_query($sql, $db);\r
-\r
-       //delete feed title from lang\r
-       $sql    = "DELETE FROM ".TABLE_PREFIX."language_text WHERE term='".$feed_id."_rss_title'";\r
-       $result = mysql_query($sql, $db);\r
-\r
-       //delete files\r
-       @unlink(AT_CONTENT_DIR.'/feeds/'.$feed_id.'_rss.cache');\r
-       @unlink(AT_CONTENT_DIR.'/feeds/'.$feed_id.'_rss_title.cache');\r
-       @unlink(AT_CONTENT_DIR.'/feeds/'.$feed_id.'_rss.inc.php');\r
-\r
-       $msg->addFeedback('FEED_DELETED');\r
-       header('Location: index_admin.php');\r
-       exit;\r
-}\r
-\r
-require(AT_INCLUDE_PATH.'header.inc.php'); \r
-\r
-       $feed_id = intval($_GET['fid']);\r
-       $sql    = "SELECT * FROM ".TABLE_PREFIX."feeds WHERE feed_id=".$feed_id;\r
-       $result = mysql_query($sql, $db);\r
-       $row = mysql_fetch_assoc($result);\r
-\r
-       if (!$row) {\r
-               $msg->addError('FEED_NOT_FOUND');\r
-               $msg->printErrors();\r
-       } else {\r
-               $hidden_vars['delete_feed'] = TRUE;\r
-               $hidden_vars['fid'] = $feed_id;\r
-\r
-               $title = file_get_contents(AT_CONTENT_DIR.'/feeds/'.$feed_id.'_rss_title.cache');\r
-               $msg->addConfirm(array('DELETE_FEED', $title), $hidden_vars);\r
-               $msg->printConfirm();\r
-       }\r
-\r
-require(AT_INCLUDE_PATH.'footer.inc.php'); \r
-?>
\ No newline at end of file
diff --git a/docs/mods/_standard/rss_feeds/admin/edit_feed.php b/docs/mods/_standard/rss_feeds/admin/edit_feed.php
deleted file mode 100644 (file)
index f963680..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-<?php  \r
-/************************************************************************/\r
-/* ATutor                                                                                                                              */\r
-/************************************************************************/\r
-/* Copyright (c) 2002-2005 by Greg Gay, Joel Kronenberg & Heidi Hazelton*/\r
-/* Adaptive Technology Resource Centre / University of Toronto                 */\r
-/* http://atutor.ca                                                                                                            */\r
-/*                                                                                                                                             */\r
-/* This program is free software. You can redistribute it and/or               */\r
-/* modify it under the terms of the GNU General Public License                 */\r
-/* as published by the Free Software Foundation.                                               */\r
-/************************************************************************/\r
-// $Id: $\r
-\r
-define('AT_INCLUDE_PATH', '../../../../include/');\r
-require(AT_INCLUDE_PATH . 'vitals.inc.php');\r
-\r
-admin_authenticate(AT_ADMIN_PRIV_RSS);\r
-\r
-$feed_id = intval($_GET['fid']);\r
-$title_file = AT_CONTENT_DIR.'feeds/'.$feed_id.'_rss_title.cache';\r
-\r
-if (isset($_GET['submit'])) {\r
-\r
-       //check both fields are not empty\r
-       if (trim($_GET['title']) == '') {\r
-               $msg->addError('TITLE_EMPTY');\r
-       }\r
-       if (trim($_GET['url']) == '') {\r
-               $msg->addError('URL_EMPTY');\r
-       }\r
-\r
-       if (!$msg->containsErrors()) {\r
-               $_GET['url'] = $addslashes($_GET['url']);\r
-               \r
-               $sql    = "REPLACE INTO ".TABLE_PREFIX."feeds VALUES(".$feed_id.", '".$_GET['url']."')";\r
-               $result = mysql_query($sql, $db);\r
-\r
-               //update language\r
-               if ($f = @fopen($title_file, 'w')) {\r
-                       fwrite($f, $_GET['title'], strlen($_GET['title']));\r
-                       fclose($f);\r
-               }\r
-\r
-               //delete old cache file\r
-               @unlink(AT_CONTENT_DIR.'/feeds/'.$feed_id.'_rss.cache');\r
-\r
-               $msg->addFeedback('FEED_SAVED');\r
-               header("Location:index_admin.php");\r
-               exit;\r
-       } \r
-\r
-} else if (isset($_GET['cancel'])) {\r
-       $msg->addFeedback('CANCELLED');\r
-       header("Location:index_admin.php");\r
-       exit;\r
-}\r
-\r
-if ($feed_id != '') {\r
-\r
-       $sql    = "SELECT * FROM ".TABLE_PREFIX."feeds WHERE feed_id=".$feed_id;\r
-       $result = mysql_query($sql, $db);\r
-       $row = mysql_fetch_assoc($result);\r
-       \r
-       if (file_exists($title_file)) {\r
-               $_GET['title'] = file_get_contents($title_file);\r
-       }\r
-       $_GET['url'] = $row['url'];\r
-} \r
-\r
-$onload = 'document.form.title.focus();';\r
-\r
-require (AT_INCLUDE_PATH.'header.inc.php');\r
-?>\r
-\r
-<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get" name="form">\r
-       <input type="hidden" name="fid" value="<?php echo $feed_id; ?>" />\r
-       <div class="input-form" style="max-width: 525px">\r
-               <div class="row">\r
-                       <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="title"><?php echo _AT('title'); ?></label><br />\r
-                       <input id="title" name="title" type="text" size="60" maxlength="255" value="<?php echo stripslashes(htmlspecialchars($_GET['title'])); ?>" /><br />\r
-               </div>\r
-\r
-               <div class="row">\r
-                       <div class="required" title="<?php echo _AT('required_field'); ?>">*</div><label for="url"><?php echo _AT('url'); ?></label><br />\r
-                       <input id="url" name="url" type="text" size="60" maxlength="255" value="<?php echo stripslashes(htmlspecialchars($_GET['url'])); ?>" /><br />\r
-               </div>\r
-\r
-               <div class="row buttons">\r
-                       <input type="submit" name="submit" value=" <?php echo _AT('save'); ?> " accesskey="s" />\r
-                       <input type="submit" name="cancel" value=" <?php echo _AT('cancel'); ?> " />\r
-               </div>\r
-       </div>\r
-</form>\r
-\r
-<?php require (AT_INCLUDE_PATH.'footer.inc.php'); ?>
\ No newline at end of file
diff --git a/docs/mods/_standard/rss_feeds/admin/index_admin.php b/docs/mods/_standard/rss_feeds/admin/index_admin.php
deleted file mode 100644 (file)
index a59cc22..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-<?php  \r
-/************************************************************************/\r
-/* ATutor                                                                                                                              */\r
-/************************************************************************/\r
-/* Copyright (c) 2002-2005 by Greg Gay, Joel Kronenberg & Heidi Hazelton*/\r
-/* Adaptive Technology Resource Centre / University of Toronto                 */\r
-/* http://atutor.ca                                                                                                            */\r
-/*                                                                                                                                             */\r
-/* This program is free software. You can redistribute it and/or               */\r
-/* modify it under the terms of the GNU General Public License                 */\r
-/* as published by the Free Software Foundation.                                               */\r
-/************************************************************************/\r
-// $Id$\r
-\r
-define('AT_INCLUDE_PATH', '../../../../include/');\r
-require(AT_INCLUDE_PATH . 'vitals.inc.php');\r
-\r
-admin_authenticate(AT_ADMIN_PRIV_RSS);\r
-\r
-\r
-if ((isset($_GET['preview']) || isset($_GET['edit']) || isset($_GET['delete'])) && !isset($_GET['fid'])) {\r
-       $msg->addError('NO_ITEM_SELECTED');\r
-} else if (isset($_GET['edit'])) {\r
-       header("Location:edit_feed.php?fid=".intval($_GET['fid']));\r
-       exit;\r
-} else if (isset($_GET['delete'])) {\r
-       header("Location:delete_feed.php?fid=".intval($_GET['fid']));\r
-       exit;\r
-} else if (isset($_GET['preview'])) {\r
-       header("Location:preview.php?fid=".intval($_GET['fid']));\r
-       exit;\r
-}\r
-\r
-require (AT_INCLUDE_PATH.'header.inc.php');\r
-?>\r
-\r
-<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="get" name="form">\r
-\r
-<table class="data" summary="" rules="cols">\r
-<thead>\r
-<tr>\r
-       <th scope="col">&nbsp;</th>\r
-       <th scope="col"><?php echo _AT('title'); ?></th>\r
-       <th scope="col"><?php echo _AT('url'); ?></th>\r
-</tr>\r
-</thead>\r
-<tfoot>\r
-<tr>\r
-       <td colspan="3">\r
-               <input type="submit" name="preview" value="<?php echo _AT('preview'); ?>" />\r
-               <input type="submit" name="edit"    value="<?php echo _AT('edit'); ?>" />\r
-               <input type="submit" name="delete"  value="<?php echo _AT('delete'); ?>" />\r
-       </td>\r
-</tr>\r
-</tfoot>\r
-<tbody>\r
-<?php \r
-$sql   = "SELECT * FROM ".TABLE_PREFIX."feeds ORDER BY feed_id";\r
-$result = mysql_query($sql, $db);\r
-\r
-if (!($row = mysql_fetch_assoc($result))) { \r
-?>\r
-\r
-       <tr>\r
-               <td colspan="3"><?php echo _AT('none_found'); ?></td>\r
-       </tr>\r
-<?php } else { ?>\r
-       <?php do { \r
-               $title_file = AT_CONTENT_DIR.'feeds/'.$row['feed_id'].'_rss_title.cache'; ?>\r
-               <tr onmousedown="document.form['f_<?php echo $row['feed_id']; ?>'].checked = true; rowselect(this);" id="r_<?php echo $row['feed_id']; ?>">\r
-                       <td valign="top"><input type="radio" id="f_<?php echo $row['feed_id']; ?>" name="fid" value="<?php echo $row['feed_id']; ?>" /></td>\r
-                       <td><label for="f_<?php echo $row['feed_id']; ?>"><?php if (file_exists($title_file)) { readfile($title_file); } ?></label></td>\r
-                       <td><?php echo $row['url']; ?></td>\r
-               </tr>\r
-       <?php } while ($row = mysql_fetch_assoc($result)); ?>\r
-\r
-<?php } ?>\r
-</tbody>\r
-</table>\r
-</form>\r
-\r
-<?php require (AT_INCLUDE_PATH.'footer.inc.php'); ?>
\ No newline at end of file
diff --git a/docs/mods/_standard/rss_feeds/admin/preview.php b/docs/mods/_standard/rss_feeds/admin/preview.php
deleted file mode 100644 (file)
index ed1a1ba..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-<?php  \r
-/************************************************************************/\r
-/* ATutor                                                                                                                              */\r
-/************************************************************************/\r
-/* Copyright (c) 2002-2005 by Greg Gay, Joel Kronenberg & Heidi Hazelton*/\r
-/* Adaptive Technology Resource Centre / University of Toronto                 */\r
-/* http://atutor.ca                                                                                                            */\r
-/*                                                                                                                                             */\r
-/* This program is free software. You can redistribute it and/or               */\r
-/* modify it under the terms of the GNU General Public License                 */\r
-/* as published by the Free Software Foundation.                                               */\r
-/************************************************************************/\r
-// $Id: $\r
-\r
-define('AT_INCLUDE_PATH', '../../../../include/');\r
-require(AT_INCLUDE_PATH . 'vitals.inc.php');\r
-\r
-admin_authenticate(AT_ADMIN_PRIV_RSS);\r
-\r
-if (isset($_POST['back'])) {\r
-       header('Location: index_admin.php');\r
-       exit;\r
-}\r
-\r
-require (AT_INCLUDE_PATH.'header.inc.php');\r
-\r
-$feed_id    = intval($_GET['fid']);\r
-$cache_file = AT_CONTENT_DIR.'feeds/'.$feed_id.'_rss.cache';\r
-$title_file = AT_CONTENT_DIR.'feeds/'.$feed_id.'_rss_title.cache';\r
-\r
-if (!file_exists($cache_file) || ((time() - filemtime($cache_file)) > 21600) ) {\r
-       make_cache_file($feed_id);\r
-}\r
-?>\r
-\r
-<form method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">\r
-\r
-<div class="input-form">\r
-       <div class="row">\r
-               <h3><?php if (file_exists($title_file)) { readfile($title_file); } ?></h3>\r
-       </div>\r
-\r
-       <div class="row">\r
-               <?php if (file_exists($cache_file) && filesize($cache_file) > 0) { \r
-                       readfile($cache_file); \r
-                       echo '<p><br /><small>'._AT('new_window').'</small></p>';\r
-               } else {\r
-                       echo _AT('no_content_avail');\r
-               }?>\r
-       </div>\r
-\r
-       <div class="row buttons">\r
-               <input type="submit" name="back" value="<?php echo _AT('back'); ?>" />\r
-       </div>\r
-</div>\r
-</form>\r
-\r
-<?php require (AT_INCLUDE_PATH.'footer.inc.php'); ?>
\ No newline at end of file
index ec7abc6..6ac930a 100644 (file)
@@ -13,29 +13,28 @@ define('AT_FEED_SHOW_DESCRIPTION', FALSE);
 if (admin_authenticate(AT_ADMIN_PRIV_RSS, TRUE) || admin_authenticate(AT_ADMIN_PRIV_ADMIN, TRUE)) {\r
 \r
        if (admin_authenticate(AT_ADMIN_PRIV_ADMIN, TRUE)) {\r
-               $this->_pages['admin/index.php']['children']      = array('mods/_standard/rss_feeds/admin/index_admin.php');\r
-               $this->_pages['mods/_standard/rss_feeds/admin/index_admin.php']['parent'] = 'admin/index.php';\r
+               $this->_pages['admin/index.php']['children']      = array('admin/rss_feeds/index.php');\r
+               $this->_pages['admin/rss_feeds/index.php']['parent'] = 'admin/index.php';\r
        } else {\r
-               $this->_pages[AT_NAV_ADMIN] = array('mods/_standard/rss_feeds/admin/index_admin.php');\r
-               $this->_pages['mods/_standard/rss_feeds/admin/index_admin.php']['parent'] = AT_NAV_ADMIN;\r
+               $this->_pages[AT_NAV_ADMIN] = array('admin/rss_feeds/index.php');\r
+               $this->_pages['admin/rss_feeds/index.php']['parent'] = AT_NAV_ADMIN;\r
        }\r
 \r
-       $this->_pages['mods/_standard/rss_feeds/admin/index_admin.php']['title_var'] = 'rss_feeds';\r
-       $this->_pages['mods/_standard/rss_feeds/admin/index_admin.php']['children'] = array('mods/_standard/rss_feeds/admin/add_feed.php');\r
-       $this->_pages['mods/_standard/rss_feeds/admin/index_admin.php']['guide']     = 'admin/?p=2.6.feeds.php';\r
+       $this->_pages['admin/rss_feeds/index.php']['title_var'] = 'rss_feeds';\r
+       $this->_pages['admin/rss_feeds/index.php']['children']  = array('admin/rss_feeds/add_feed.php');\r
+       $this->_pages['admin/rss_feeds/index.php']['guide']     = 'admin/?p=2.6.feeds.php';\r
 \r
+               $this->_pages['admin/rss_feeds/add_feed.php']['title_var'] = 'add';\r
+               $this->_pages['admin/rss_feeds/add_feed.php']['parent'] = 'admin/rss_feeds/index.php';\r
 \r
-               $this->_pages['mods/_standard/rss_feeds/admin/add_feed.php']['title_var'] = 'add';\r
-               $this->_pages['mods/_standard/rss_feeds/admin/add_feed.php']['parent'] = 'mods/_standard/rss_feeds/admin/index_admin.php';\r
+               $this->_pages['admin/rss_feeds/edit_feed.php']['title_var'] = 'edit';\r
+               $this->_pages['admin/rss_feeds/edit_feed.php']['parent'] = 'admin/rss_feeds/index.php';\r
 \r
-               $this->_pages['mods/_standard/rss_feeds/admin/edit_feed.php']['title_var'] = 'edit';\r
-               $this->_pages['mods/_standard/rss_feeds/admin/edit_feed.php']['parent'] = 'mods/_standard/rss_feeds/admin/index_admin.php';\r
+               $this->_pages['admin/rss_feeds/delete_feed.php']['title_var'] = 'delete';\r
+               $this->_pages['admin/rss_feeds/delete_feed.php']['parent'] = 'admin/rss_feeds/index.php';\r
 \r
-               $this->_pages['mods/_standard/rss_feeds/admin/delete_feed.php']['title_var'] = 'delete';\r
-               $this->_pages['mods/_standard/rss_feeds/admin/delete_feed.php']['parent'] = 'mods/_standard/rss_feeds/admin/index_admin.php';\r
-\r
-               $this->_pages['mods/_standard/rss_feeds/admin/preview.php']['title_var'] = 'preview';\r
-               $this->_pages['mods/_standard/rss_feeds/admin/preview.php']['parent'] = 'mods/_standard/rss_feeds/admin/index_admin.php';\r
+               $this->_pages['admin/rss_feeds/preview.php']['title_var'] = 'preview';\r
+               $this->_pages['admin/rss_feeds/preview.php']['parent'] = 'admin/rss_feeds/index.php';\r
 }\r
 \r
 //make the rss files side menu stacks\r