Revision 557
Added by thorn almost 17 years ago
trunk/CHANGELOG | ||
---|---|---|
10 | 10 |
# = Bugfix |
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 |
------------------------------------- 2.7.0 ------------------------------------- |
|
13 |
------------------------------------- 2.7.0 ------------------------------------- |
|
14 |
18-Jan-2008 Thomas Hornik |
|
15 |
# fixed two E_NOTICE-warnings in admin/pages/index.php |
|
14 | 16 |
18-Jan-2008 Matthias Gallas |
15 | 17 |
+ Added example .htaccess to parse .html files, fixed bug in changeset 555 |
16 | 18 |
! Revoked parts of changeset 547 and again introduced changeset 540 |
trunk/wb/admin/pages/index.php | ||
---|---|---|
101 | 101 |
// Get objects and vars from outside this function |
102 | 102 |
global $admin, $template, $database, $TEXT, $MESSAGE, $HEADING; |
103 | 103 |
?> |
104 |
<ul id="p<?php echo $parent; ?>" <?php if($parent != 0) { echo 'class="page_list" '; if($_COOKIE["p".$parent] =="1"){echo'style="display:block;"'; }} ?>> |
|
104 |
<ul id="p<?php echo $parent; ?>" <?php if($parent != 0) { echo 'class="page_list" '; if(isset($_COOKIE["p".$parent]) && $_COOKIE["p".$parent] =="1"){echo'style="display:block;"'; }} ?>>
|
|
105 | 105 |
<?php |
106 | 106 |
// Get page list from database |
107 | 107 |
$database = new database(); |
... | ... | |
170 | 170 |
if($display_plus == true) { |
171 | 171 |
?> |
172 | 172 |
<a href="javascript: toggle_visibility('p<?php echo $page['page_id']; ?>');" title="<?php echo $TEXT['EXPAND'].'/'.$TEXT['COLLAPSE']; ?>"> |
173 |
<img src="<?php echo ADMIN_URL; ?>/images/<?php if($_COOKIE["p".$page['page_id']] =="1"){echo"minus";}else{echo"plus";}?>_16.png" onclick="toggle_plus_minus('<?php echo $page['page_id']; ?>');" name="plus_minus_<?php echo $page['page_id']; ?>" border="0" alt="+" /> |
|
173 |
<img src="<?php echo ADMIN_URL; ?>/images/<?php if(isset($_COOKIE["p".$page['page_id']]) && $_COOKIE["p".$page['page_id']] =="1"){echo"minus";}else{echo"plus";}?>_16.png" onclick="toggle_plus_minus('<?php echo $page['page_id']; ?>');" name="plus_minus_<?php echo $page['page_id']; ?>" border="0" alt="+" />
|
|
174 | 174 |
</a> |
175 | 175 |
<?php |
176 | 176 |
} |
Also available in: Unified diff
fixed two E_NOTICE-warnings in admin/pages/index.php