mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 05:02:02 +02:00
More require_once clean-up (#125)
This commit is contained in:
parent
94a4c1e1d2
commit
38c03a48b1
@ -1925,8 +1925,6 @@ class admin_newspost
|
||||
$this->_pre_create();
|
||||
|
||||
require_once(e_HANDLER."userclass_class.php");
|
||||
// require_once(e_HANDLER."form_handler.php");
|
||||
// $frm = new e_form(true); //enable inner tabindex counter
|
||||
$frm = e107::getForm();
|
||||
|
||||
$text = '';
|
||||
@ -3068,10 +3066,8 @@ class admin_newspost
|
||||
|
||||
function showMaintenance()
|
||||
{
|
||||
require_once(e_HANDLER."form_handler.php");
|
||||
$frm = e107::getForm();
|
||||
|
||||
|
||||
$text = "
|
||||
<form method='post' action='".e_SELF."?maint' id='core-newspost-maintenance-form'>
|
||||
<fieldset id='core-newspost-maintenance'>
|
||||
|
@ -6,18 +6,11 @@
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
*
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_admin/notify.php,v $
|
||||
* $Revision$
|
||||
* $Date$
|
||||
* $Author$
|
||||
*/
|
||||
|
||||
/**
|
||||
* @package e107
|
||||
* @subpackage admin
|
||||
* @version $Id$;
|
||||
*
|
||||
* 'Notify' admin page - selects action on various events
|
||||
*/
|
||||
@ -34,14 +27,8 @@ include_lan(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_'.e_PAGE);
|
||||
$e_sub_cat = 'notify';
|
||||
|
||||
require_once('auth.php');
|
||||
|
||||
require_once(e_HANDLER.'userclass_class.php');
|
||||
require_once(e_HANDLER.'form_handler.php');
|
||||
|
||||
|
||||
//$emessage = &eMessage::getInstance();
|
||||
|
||||
$rs = new form;
|
||||
$frm = e107::getForm();
|
||||
$nc = new notify_config;
|
||||
$uc = new user_class;
|
||||
|
Loading…
x
Reference in New Issue
Block a user