Location: PHPKode > projects > Geeklog Plugins, Static Pages and Blocks > multifaq/admin/index.php
<?php
//
// +---------------------------------------------------------------------------+
// | Multilingual FAQ Plugin           |
// +---------------------------------------------------------------------------+
// | administration index.php                                                  |
// +---------------------------------------------------------------------------+
// | Copyright (C) 2009 by the following authors:                              |
// |                                                                           |
// | Author:  http://lior.weissbrod.com                                               |
//
// | Copyright (C) 2006 by the following authors:                              |
// |                                                                           |
// | Author:  Oliver Spiesshofer                                               |
// | Constructed with the Universal Plugin                                     |
// | Copyright (C) 2002 by the following authors:                              |
// | Tom Willett                 -    hide@address.com           |
// | Blaine Lang                 -    hide@address.com                    |
// | The Universal Plugin is based on prior work by:                           |
// | Tony Bibbs                  -    hide@address.com                       |
// +---------------------------------------------------------------------------+
// |                                                                           |
// | 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.           |
// |                                                                           |
// +---------------------------------------------------------------------------+
//

require_once('../../../lib-common.php');

// Only let authorized users access this page
plg_mfaq_checkright(array('admin', 'edit'), 'general editor');

/**
* Main
*/

$display = COM_siteHeader();
$plg_mfaq_action=$_REQUEST['plg_mfaq_action'];
if (empty($plg_mfaq_action)) {$plg_mfaq_action = "plg_mfaq_sel";}
if (!empty($plg_mfaq_action) && substr($plg_mfaq_action, 0, 8) == "plg_mfaq") {
    $display.=$plg_mfaq_action();
}
$display.= plg_mfaq_siteFooter() . COM_siteFooter(true);

plg_mfaq_finalecho($display);

?>
Return current item: Geeklog Plugins, Static Pages and Blocks