47 lines
1.6 KiB
PHP
47 lines
1.6 KiB
PHP
|
|
<?php
|
||
|
|
/**
|
||
|
|
* This file is part of Wemag Sidebar Management.
|
||
|
|
*
|
||
|
|
* Wemag Sidebar Management 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 3 of the License, or
|
||
|
|
* (at your option) any later version.
|
||
|
|
*
|
||
|
|
* Wemag Sidebar Management 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 Wemag Sidebar Management.
|
||
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
||
|
|
*
|
||
|
|
* Copyright 2008 Aart-Jan Boor <aart-jan@wemag.nl>
|
||
|
|
* Wemag Advisering <http://www.wemag.nl>
|
||
|
|
*/
|
||
|
|
|
||
|
|
require_once(KT_LIB_DIR . '/dispatcher.inc.php');
|
||
|
|
require_once("portlets.php");
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Takes care of displaying and editing folder portlets
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
class FolderPortletsDispatcher extends PortletsAdminDispatcher {
|
||
|
|
var $type = 'folder';
|
||
|
|
var $portlets_page_title = 'Folder sidebar';
|
||
|
|
var $portlets_edit_page_title = 'Edit folder portlet';
|
||
|
|
var $about_portlet_title = "Acerca del directorio"; //"About this folder";
|
||
|
|
var $actions_portlet_title = "Acciones en Directorio"; //"Actions on this folder";
|
||
|
|
var $config_file;
|
||
|
|
|
||
|
|
function FolderPortletsDispatcher(){
|
||
|
|
$this->config_file = KT_DIR."/plugins/WemagSidebarManagement/var/folder_config.php";
|
||
|
|
return parent::PortletsAdminDispatcher();
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
?>
|