This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
Incam_SGD/plugins/WemagSidebarManagement/admin/document_portlets.php

44 lines
1.5 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 document portlets
*
*/
class DocumentPortletsDispatcher extends PortletsAdminDispatcher {
var $type = 'document';
var $portlets_page_title = 'Document sidebar';
var $portlets_edit_page_title = 'Edit document portlet';
var $about_portlet_title = "Document info";
var $actions_portlet_title = "Document actions";
var $config_file;
function DocumentPortletsDispatcher(){
$this->config_file = KT_DIR."/plugins/WemagSidebarManagement/var/document_config.php";
return parent::PortletsAdminDispatcher();
}
}
?>