/* THIS LICENSE HEADER MUST REMAIN INTACT FOR LEGAL USE! Pagefusion; Pagefusion Core Platform Description: A powerful, easy-to-use, and highly customizable content management system. Copyright (C), 2009 Pagefusion.com, All Rights Reserved. Author: Chris Davis, chris@pagefusion.com Support site: www.pagefusion.com Filename: /modules/pf_breadcrumb/actions.php Description: (see schema.xml for detailed description) 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */ include_once($_SERVER["DOCUMENT_ROOT"] . "/modules/pf_breadcrumb/functions.php"); $tab_id = $_REQUEST["tab_id"]; $actions_passed = "Y"; if ($A == "pf_breadcrumb" && $SA == "deleteMod" && $MID == $currentMID) { // DELETE (move to recycle bin) include_once($_SERVER["DOCUMENT_ROOT"] . "/libraries/core/actions/module_delete.php"); } elseif ($A == "pf_breadcrumb" && $SA == "restoreMod" && $MID == $currentMID) { // RESTORE include_once($_SERVER["DOCUMENT_ROOT"] . "/libraries/core/actions/module_restore.php"); } elseif($A == "pf_breadcrumb" && $SA == "purgeMod" && $MID == $currentMID) { // PURGE include_once($_SERVER["DOCUMENT_ROOT"] . "/libraries/core/actions/module_purge.php"); } elseif($A == "pf_breadcrumb" && $SA == "config" && $MID == $currentMID && $_SESSION["acct_admin"] == "Y") { // ADDITIONAL CONFIG include_once($_SERVER["DOCUMENT_ROOT"] . "/modules/pf_breadcrumb/actions/config.php"); } elseif ($A == "pf_breadcrumb" && $SA == "configUpdate" && $tab_id == "1" && $MID == $currentMID && $_SESSION["acct_admin"] == "Y") { // ADDITIONAL CONFIGUPDATE include_once($_SERVER["DOCUMENT_ROOT"] . "/modules/pf_breadcrumb/actions/config_update.php"); } // if // config if ($_REQUEST["areq"]) { include_once($_SERVER["DOCUMENT_ROOT"] . "/libraries/core/actions/module_config.php"); } // if // OUTPUT if (!$noOutput) { include_once($_SERVER["DOCUMENT_ROOT"] . "/modules/pf_breadcrumb/actions/output.php"); } // if ?>
|