Revision 1112
Added by Matthias over 15 years ago
trunk/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.8.0 ------------------------------------- |
14 |
8-Aug-2009 Matthias Gallas |
|
15 |
# Added some missing variables to backend_themes (Thanks to Stefek) |
|
14 | 16 |
6-Aug-2009 Matthias Gallas |
15 | 17 |
! Set Version to 2.8 |
16 | 18 |
! Updated upgrade_script to make use of the changed news settings |
trunk/wb/admin/groups/index.php | ||
---|---|---|
33 | 33 |
$template->set_file('page', 'groups.htt'); |
34 | 34 |
$template->set_block('page', 'main_block', 'main'); |
35 | 35 |
$template->set_block('main_block', 'manage_users_block', 'users'); |
36 |
$template->set_var('ADMIN_URL', ADMIN_URL); |
|
36 |
// insert urls |
|
37 |
$template->set_var(array( |
|
38 |
'ADMIN_URL' => ADMIN_URL, |
|
39 |
'WB_URL' => WB_URL, |
|
40 |
'WB_PATH' => WB_PATH, |
|
41 |
'THEME_URL' => THEME_URL |
|
42 |
) |
|
43 |
); |
|
37 | 44 |
|
38 | 45 |
// Get existing value from database |
39 | 46 |
$database = new database(); |
... | ... | |
181 | 188 |
'TEXT_ADVANCED' => $TEXT['ADVANCED'], |
182 | 189 |
'CHANGING_PASSWORD' => $MESSAGE['USERS']['CHANGING_PASSWORD'], |
183 | 190 |
'CHECKED' => ' checked="checked"', |
191 |
'ADMIN_URL' => ADMIN_URL, |
|
192 |
'WB_URL' => WB_URL, |
|
193 |
'WB_PATH' => WB_PATH, |
|
194 |
'THEME_URL' => THEME_URL |
|
184 | 195 |
) |
185 | 196 |
); |
186 | 197 |
|
trunk/wb/admin/media/index.php | ||
---|---|---|
87 | 87 |
'HEADING_UPLOAD_FILES' => $HEADING['UPLOAD_FILES'] |
88 | 88 |
) |
89 | 89 |
); |
90 |
// insert urls |
|
91 |
$template->set_var(array( |
|
92 |
'ADMIN_URL' => ADMIN_URL, |
|
93 |
'WB_URL' => WB_URL, |
|
94 |
'WB_PATH' => WB_PATH, |
|
95 |
'THEME_URL' => THEME_URL |
|
96 |
) |
|
97 |
); |
|
90 | 98 |
// Insert language text and messages |
91 | 99 |
$template->set_var(array( |
92 | 100 |
'MEDIA_DIRECTORY' => MEDIA_DIRECTORY, |
trunk/wb/admin/pages/settings.php | ||
---|---|---|
97 | 97 |
'ADMIN_URL' => ADMIN_URL, |
98 | 98 |
'WB_URL' => WB_URL, |
99 | 99 |
'WB_PATH' => WB_PATH, |
100 |
'THEME_URL' => THEME_URL, |
|
101 |
) ); |
|
100 |
'THEME_URL' => THEME_URL |
|
101 |
) |
|
102 |
); |
|
102 | 103 |
|
103 | 104 |
// Work-out if we should show the "manage sections" link |
104 | 105 |
$query_sections = $database->query("SELECT section_id FROM ".TABLE_PREFIX."sections WHERE page_id = '$page_id' AND module = 'menu_link'"); |
trunk/wb/admin/pages/sections.php | ||
---|---|---|
171 | 171 |
'ADMIN_URL' => ADMIN_URL, |
172 | 172 |
'WB_URL' => WB_URL, |
173 | 173 |
'WB_PATH' => WB_PATH, |
174 |
'THEME_URL' => THEME_URL, |
|
175 |
) ); |
|
174 |
'THEME_URL' => THEME_URL |
|
175 |
) |
|
176 |
); |
|
176 | 177 |
|
177 | 178 |
// Insert variables |
178 | 179 |
$template->set_var(array( |
trunk/wb/admin/pages/modify.php | ||
---|---|---|
64 | 64 |
'MODIFIED_BY' => $user['display_name'], |
65 | 65 |
'MODIFIED_BY_USERNAME' => $user['username'], |
66 | 66 |
'MODIFIED_WHEN' => $modified_ts, |
67 |
'ADMIN_URL' => ADMIN_URL |
|
67 |
'ADMIN_URL' => ADMIN_URL, |
|
68 |
'WB_URL' => WB_URL, |
|
69 |
'WB_PATH' => WB_PATH, |
|
70 |
'THEME_URL' => THEME_URL |
|
68 | 71 |
) |
69 | 72 |
); |
70 | 73 |
if($modified_ts == 'Unknown') { |
trunk/wb/admin/users/users.php | ||
---|---|---|
58 | 58 |
'USER_ID' => $user['user_id'], |
59 | 59 |
'USERNAME' => $user['username'], |
60 | 60 |
'DISPLAY_NAME' => $user['display_name'], |
61 |
'EMAIL' => $user['email'] |
|
61 |
'EMAIL' => $user['email'], |
|
62 |
'ADMIN_URL' => ADMIN_URL, |
|
63 |
'WB_URL' => WB_URL, |
|
64 |
'WB_PATH' => WB_PATH, |
|
65 |
'THEME_URL' => THEME_URL |
|
62 | 66 |
) |
63 |
); |
|
67 |
);
|
|
64 | 68 |
if($user['active'] == 1) { |
65 | 69 |
$template->set_var('ACTIVE_CHECKED', ' checked="checked"'); |
66 | 70 |
} else { |
trunk/wb/admin/users/index.php | ||
---|---|---|
78 | 78 |
'HEADING_ADD_USER' => $HEADING['ADD_USER'] |
79 | 79 |
) |
80 | 80 |
); |
81 |
// insert urls |
|
82 |
$template->set_var(array( |
|
83 |
'ADMIN_URL' => ADMIN_URL, |
|
84 |
'WB_URL' => WB_URL, |
|
85 |
'WB_PATH' => WB_PATH, |
|
86 |
'THEME_URL' => THEME_URL |
|
87 |
) |
|
88 |
); |
|
81 | 89 |
// Insert language text and messages |
82 | 90 |
$template->set_var(array( |
83 | 91 |
'TEXT_MODIFY' => $TEXT['MODIFY'], |
... | ... | |
99 | 107 |
$template->set_var('ACTIVE_CHECKED', ' checked="checked"'); |
100 | 108 |
$template->set_var('ACTION_URL', ADMIN_URL.'/users/add.php'); |
101 | 109 |
$template->set_var('SUBMIT_TITLE', $TEXT['ADD']); |
110 |
// insert urls |
|
111 |
$template->set_var(array( |
|
112 |
'ADMIN_URL' => ADMIN_URL, |
|
113 |
'WB_URL' => WB_URL, |
|
114 |
'WB_PATH' => WB_PATH, |
|
115 |
'THEME_URL' => THEME_URL |
|
116 |
) |
|
117 |
); |
|
102 | 118 |
|
103 | 119 |
// Add groups to list |
104 | 120 |
$template->set_block('main_block', 'group_list_block', 'group_list'); |
trunk/wb/admin/languages/details.php | ||
---|---|---|
56 | 56 |
'NAME' => $language_name, |
57 | 57 |
'AUTHOR' => $language_author, |
58 | 58 |
'VERSION' => $language_version, |
59 |
'DESIGNED_FOR' => $language_platform |
|
59 |
'DESIGNED_FOR' => $language_platform, |
|
60 |
'ADMIN_URL' => ADMIN_URL, |
|
61 |
'WB_URL' => WB_URL, |
|
62 |
'WB_PATH' => WB_PATH, |
|
63 |
'THEME_URL' => THEME_URL |
|
60 | 64 |
) |
61 | 65 |
); |
62 | 66 |
|
trunk/wb/admin/languages/index.php | ||
---|---|---|
62 | 62 |
'HEADING_LANGUAGE_DETAILS' => $HEADING['LANGUAGE_DETAILS'] |
63 | 63 |
) |
64 | 64 |
); |
65 |
// insert urls |
|
66 |
$template->set_var(array( |
|
67 |
'ADMIN_URL' => ADMIN_URL, |
|
68 |
'WB_URL' => WB_URL, |
|
69 |
'WB_PATH' => WB_PATH, |
|
70 |
'THEME_URL' => THEME_URL |
|
71 |
) |
|
72 |
); |
|
65 | 73 |
// Insert language text and messages |
66 | 74 |
$template->set_var(array( |
67 | 75 |
'URL_MODULES' => $admin->get_permission('modules') ? |
trunk/wb/admin/modules/details.php | ||
---|---|---|
80 | 80 |
'AUTHOR' => $module['author'], |
81 | 81 |
'DESCRIPTION' => $module['description'], |
82 | 82 |
'VERSION' => $module['version'], |
83 |
'DESIGNED_FOR' => $module['platform'] |
|
83 |
'DESIGNED_FOR' => $module['platform'], |
|
84 |
'ADMIN_URL' => ADMIN_URL, |
|
85 |
'WB_URL' => WB_URL, |
|
86 |
'WB_PATH' => WB_PATH, |
|
87 |
'THEME_URL' => THEME_URL |
|
84 | 88 |
) |
85 | 89 |
); |
86 | 90 |
|
trunk/wb/admin/modules/index.php | ||
---|---|---|
106 | 106 |
'HEADING_INVOKE_MODULE_FILES' => $HEADING['INVOKE_MODULE_FILES'] |
107 | 107 |
) |
108 | 108 |
); |
109 |
// insert urls |
|
110 |
$template->set_var(array( |
|
111 |
'ADMIN_URL' => ADMIN_URL, |
|
112 |
'WB_URL' => WB_URL, |
|
113 |
'WB_PATH' => WB_PATH, |
|
114 |
'THEME_URL' => THEME_URL |
|
115 |
) |
|
116 |
); |
|
109 | 117 |
// Insert language text and messages |
110 | 118 |
$template->set_var(array( |
111 | 119 |
'URL_TEMPLATES' => $admin->get_permission('templates') ? |
Also available in: Unified diff
Added some missing variables to backend_themes (Thanks to Stefek)