0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
7.0-0
/
standard
/
htdocs
/
[
Home
]
File: tiki-plugins.php
<?php // (c) Copyright 2002-2011 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: tiki-plugins.php 33195 2011-03-02 17:43:40Z changi67 $ require_once 'tiki-setup.php'; $access->check_feature('wiki_validate_plugin'); $access->check_permission('tiki_p_plugin_approve'); $smarty->assign('headtitle', tra('Plugin Approval')); if (isset($_POST['submit_mult']) && ($_POST['submit_mult'] == 'clear') && is_array($_POST['clear'])) { foreach($_POST['clear'] as $fp) { $tikilib->plugin_clear_fingerprint($fp); } } if (isset($_POST['submit_mult']) && ($_POST['submit_mult'] == 'approve') && is_array($_POST['clear'])) { foreach($_POST['clear'] as $fp) { $tikilib->approve_selected_pending_plugings($fp); } } if (isset($_REQUEST['approveone'])) { $tikilib->approve_selected_pending_plugings($_REQUEST['approveone']); } if (isset($_REQUEST['clearone'])) { $tikilib->plugin_clear_fingerprint($_REQUEST['clearone']); } if (isset($_POST['approveall'])) { $tikilib->approve_all_pending_plugins(); } $smarty->assign('plugin_list', $tikilib->list_plugins_pending_approval()); $smarty->assign('mid', 'tiki-plugins.tpl'); $smarty->display("tiki.tpl");