Revision 952
Added by Matthias over 16 years ago
| trunk/CHANGELOG | ||
|---|---|---|
| 12 | 12 |
|
| 13 | 13 |
------------------------------------- 2.8.0 ------------------------------------- |
| 14 | 14 |
25-Feb-2009 Matthias Gallas |
| 15 |
# fixed manage section is showed twice (ticket #694) |
|
| 15 | 16 |
- removed unneeded icons from wb_theme |
| 16 | 17 |
- removed unneeded stylesheet.css from account dir |
| 17 | 18 |
# renamed warning.htt to warning.html to fix display of sourcecode after invalid logins |
| trunk/wb/admin/pages/index.php | ||
|---|---|---|
| 213 | 213 |
<?php } ?> |
| 214 | 214 |
</td> |
| 215 | 215 |
<!-- MANAGE SECTIONS AND DATES BUTTONS --> |
| 216 |
|
|
| 217 |
<!-- 'MANAGE SECTIONS' BUTTON --> |
|
| 218 | 216 |
<td width="20"> |
| 219 |
<?php |
|
| 220 |
// Work-out if we should show the "manage sections" link |
|
| 221 |
$query_sections = $database->query("SELECT section_id FROM ".TABLE_PREFIX."sections WHERE page_id = '" . $page['page_id'] . "' AND module = 'menu_link'");
|
|
| 222 |
if(($query_sections->numRows() == 0) && (MANAGE_SECTIONS == 'enabled')) {
|
|
| 223 |
?> |
|
| 224 |
<a href="<?php echo ADMIN_URL; ?>/pages/sections.php?page_id=<?php echo $page['page_id']; ?>" title="<?php echo $HEADING['MANAGE_SECTIONS']; ?>"> |
|
| 225 |
<img src="<?php echo THEME_URL; ?>/images/sections_16.png" border="0" alt="<?php echo $HEADING['MANAGE_SECTIONS']; ?>" /> |
|
| 226 |
</a> |
|
| 227 |
<?php } ?> |
|
| 228 |
</td> |
|
| 229 |
|
|
| 230 |
<td width="20"> |
|
| 231 | 217 |
<?php |
| 232 | 218 |
// Work-out if we should show the "manage dates" link |
| 233 | 219 |
if(MANAGE_SECTIONS == 'enabled' && $admin->get_permission('pages_modify')==true && $can_modify==true) {
|
Also available in: Unified diff
fixed manage section is showed twice (ticket #694)