aboutsummaryrefslogtreecommitdiff
path: root/views/default/widgets/latest_photos/edit.php
blob: 06693648d90cd4723a3c0554b75a48ecf1d2f689 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<p>
<?php 
echo elgg_echo("tidypics:widget:num_latest") . ": ";

if ($vars['entity']->num_display == '') {
	$vars['entity']->num_display = 6;
}

?>
	<select name="params[num_display]">
		<option value="6" <?php if($vars['entity']->num_display == 6) echo "SELECTED"; ?>>6</option>
		<option value="9" <?php if($vars['entity']->num_display == 9) echo "SELECTED"; ?>>9</option>
		<option value="12" <?php if($vars['entity']->num_display == 12) echo "SELECTED"; ?>>12</option>
		<option value="15" <?php if($vars['entity']->num_display == 15) echo "SELECTED"; ?>>15</option>
		<option value="18" <?php if($vars['entity']->num_display == 18) echo "SELECTED"; ?>>18</option>
	</select>
</p>