Revision 847
Added by doc over 16 years ago
trunk/CHANGELOG | ||
---|---|---|
11 | 11 |
! = Update/Change |
12 | 12 |
|
13 | 13 |
------------------------------------- 2.7.1 ------------------------------------- |
14 |
22-June-2008 Christian Sommer |
|
15 |
! added output of block number to section admin if no block name is specified |
|
14 | 16 |
21-June-2008 Christian Sommer |
15 | 17 |
+ added output of block names to modify pages dialogue if blocks are enabled |
16 | 18 |
! updated show_menu2 to version 4.60 (to avoid disappearing menus) |
trunk/wb/admin/pages/sections.php | ||
---|---|---|
188 | 188 |
<?php |
189 | 189 |
foreach($block AS $number => $name) { |
190 | 190 |
?> |
191 |
<option value="<?php echo $number; ?>"<?php if($number == $section['block']) { echo ' selected'; } ?>><?php echo $name; ?></option> |
|
191 |
<option value="<?php echo $number; ?>"<?php |
|
192 |
if($number == $section['block']) { echo ' selected'; } ?>><?php |
|
193 |
$block_name = htmlentities(strip_tags($name)); |
|
194 |
$block_name = ($block_name == '') ? $TEXT['BLOCK'] . '#' . (int) $number : $block_name; |
|
195 |
echo $block_name; ?></option> |
|
192 | 196 |
<?php |
193 | 197 |
} |
194 | 198 |
?> |
Also available in: Unified diff
Added output of block number to section admin if no block name is specified