Project

General

Profile

« Previous | Next » 

Revision 847

Added by doc over 16 years ago

Added output of block number to section admin if no block name is specified

View differences:

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