Project

General

Profile

« Previous | Next » 

Revision 1457

Added by Dietmar almost 13 years ago

Preparing 2.8.2 stable, last tests

View differences:

details.php
11 11
 * @platform        WebsiteBaker 2.8.x
12 12
 * @requirements    PHP 5.2.2 and higher
13 13
 * @version         $Id$
14
 * @filesource		$HeadURL: http://svn.websitebaker2.org/branches/2.8.x/wb/admin/users/save.php $
15
 * @lastmodified    $Date: 2011-01-10 13:21:47 +0100 (Mo, 10. Jan 2011) $
14
 * @filesource		$HeadURL$
15
 * @lastmodified    $Date$
16 16
 *
17 17
 */
18 18

  
......
22 22
require_once(WB_PATH.'/framework/class.admin.php');
23 23
// No print admin header
24 24
$admin = new admin('Addons', 'modules_view', false);
25
if( !$admin->checkFTAN() )
26
{
27
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS']);
28
}
29
// After check print the header
30
$admin->print_header();
25 31

  
26 32
// Get module name
27 33
if(!isset($_POST['file']) OR $_POST['file'] == "")
......
40 46
	exit(0);
41 47
}
42 48

  
43
// Print admin header
44
$admin = new admin('Addons', 'modules_view');
45

  
46 49
// Setup module object
47 50
$template = new Template(THEME_PATH.'/templates');
48 51
$template->set_file('page', 'modules_details.htt');
49 52

  

Also available in: Unified diff