Revision 978
Added by Matthias over 15 years ago
trunk/CHANGELOG | ||
---|---|---|
12 | 12 |
|
13 | 13 |
------------------------------------- 2.8.0 ------------------------------------- |
14 | 14 |
27-Apr-2009 Matthias Gallas |
15 |
# Fixed bug with missing option for admin-tools in advanced view of access |
|
16 |
settings (ticket #714) |
|
15 | 17 |
# Fixed bug with backup fails if a user has only permissions to admin-tools (ticket #715) |
16 | 18 |
# Fixed bug with missing template object in groups and user settings(ticket #716) |
17 | 19 |
25-Apr-2009 Matthias Gallas |
trunk/wb/admin/groups/get_permissions.php | ||
---|---|---|
77 | 77 |
$system_permissions['groups_modify'] = $system_permissions['groups']; |
78 | 78 |
$system_permissions['groups_delete'] = $system_permissions['groups']; |
79 | 79 |
$system_permissions['admintools'] = $admin->get_post('admintools'); |
80 |
$system_permissions['admintools_settings'] = $system_permissions['admintools']; |
|
80 | 81 |
} else { |
81 | 82 |
// Pages |
82 | 83 |
$system_permissions['pages_view'] = $admin->get_post('pages_view'); |
... | ... | |
133 | 134 |
} else { |
134 | 135 |
$system_permissions['languages'] = ''; |
135 | 136 |
} |
137 |
// Admintools |
|
138 |
$system_permissions['admintools_settings'] = $admin->get_post('admintools_settings'); |
|
139 |
if($system_permissions['admintools_settings'] == 1) { |
|
140 |
$system_permissions['admintools'] = 1; |
|
141 |
} else { |
|
142 |
$system_permissions['admintools'] = ''; |
|
143 |
} |
|
136 | 144 |
if($system_permissions['modules'] == 1 OR $system_permissions['templates'] == 1 OR $system_permissions['languages'] == 1) { |
137 | 145 |
$system_permissions['addons'] = 1; |
138 | 146 |
} else { |
trunk/wb/templates/classic/templates/groups_form.htt | ||
---|---|---|
222 | 222 |
<td><input name="groups_delete" id="groups_delete" type="checkbox" value="1" {groups_delete_checked}></td> |
223 | 223 |
<td><label for="groups_delete">{TEXT_DELETE}</label></td> |
224 | 224 |
</tr> |
225 |
<tr> |
|
226 |
<td colspan="4"> |
|
227 |
<h3>{SECTION_ADMINTOOLS}</h3> |
|
228 |
</td> |
|
229 |
</tr> |
|
230 |
<tr> |
|
231 |
<td><input name="admintools_settings" id="admintools_settings" type="checkbox" value="1" {admintools_settings_checked}></td> |
|
232 |
<td><label for="admintools_settings">{TEXT_MODIFY_SETTINGS}</label></td> |
|
233 |
<td> </td> |
|
234 |
<td> </td> |
|
235 |
</tr> |
|
225 | 236 |
</table> |
226 | 237 |
|
227 | 238 |
|
trunk/wb/templates/wb_theme/templates/groups_form.htt | ||
---|---|---|
222 | 222 |
<td><input name="groups_delete" id="groups_delete" type="checkbox" value="1" {groups_delete_checked}></td> |
223 | 223 |
<td><label for="groups_delete">{TEXT_DELETE}</label></td> |
224 | 224 |
</tr> |
225 |
<tr> |
|
226 |
<td colspan="4"> |
|
227 |
<h3>{SECTION_ADMINTOOLS}</h3> |
|
228 |
</td> |
|
229 |
</tr> |
|
230 |
<tr> |
|
231 |
<td><input name="admintools_settings" id="admintools_settings" type="checkbox" value="1" {admintools_settings_checked}></td> |
|
232 |
<td><label for="admintools_settings">{TEXT_MODIFY_SETTINGS}</label></td> |
|
233 |
<td> </td> |
|
234 |
<td> </td> |
|
235 |
</tr> |
|
225 | 236 |
</table> |
226 | 237 |
|
227 | 238 |
|
Also available in: Unified diff
Fixed bug with missing option for admin-tools in advanced view of access settings (ticket #714)