Project

General

Profile

« Previous | Next » 

Revision 944

Added by Matthias almost 16 years ago

added skinable Admin Interface

View differences:

rename.php
31 31
// Include the WB functions file
32 32
require_once(WB_PATH.'/framework/functions.php');
33 33

  
34
// Include the basic header file
35
require(ADMIN_PATH.'/media/basic_header.html');
36

  
37 34
// Get the current dir
38 35
$directory = $admin->get_get('dir');
39 36
if($directory == '/') {
......
97 94
}
98 95

  
99 96
// Setup template object
100
$template = new Template(ADMIN_PATH.'/media');
101
$template->set_file('page', 'rename.html');
97
$template = new Template(THEME_PATH.'/templates');
98
$template->set_file('page', 'media_rename.htt');
102 99
$template->set_block('page', 'main_block', 'main');
103 100
//echo WB_PATH.'/media/'.$directory.'/'.$rename_file;
104 101
if($type == 'folder') {
......
116 113
}
117 114

  
118 115
$template->set_var(array(
116
								'THEME_URL' => THEME_URL,
119 117
								'FILENAME' => $rename_file,
120 118
								'DIR' => $directory,
121 119
								'FILE_ID' => $file_id,

Also available in: Unified diff