diff options
author | Brett Profitt <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-26 21:07:39 +0000 |
---|---|---|
committer | Brett Profitt <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-26 21:07:39 +0000 |
commit | a8aa4bceed8e7ad0c5af2646a83d6a2da2e0b23a (patch) | |
tree | bb3e25e40d98a445182632273495357bb28177e4 /views/default/widgets/videolist_view/edit.php | |
parent | ed69694b30a9ab913349a5d17ca0bde94056bac1 (diff) | |
download | elgg-a8aa4bceed8e7ad0c5af2646a83d6a2da2e0b23a.tar.gz elgg-a8aa4bceed8e7ad0c5af2646a83d6a2da2e0b23a.tar.bz2 |
Changed line endings to unix-style for videolist plugin.
Diffstat (limited to 'views/default/widgets/videolist_view/edit.php')
-rw-r--r-- | views/default/widgets/videolist_view/edit.php | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/views/default/widgets/videolist_view/edit.php b/views/default/widgets/videolist_view/edit.php index ec5b34bae..936d37c34 100644 --- a/views/default/widgets/videolist_view/edit.php +++ b/views/default/widgets/videolist_view/edit.php @@ -1,21 +1,21 @@ -<p>
- <?php echo elgg_echo("videolist:num_videos"); ?>:
-
- <?
- if($vars['entity']->num_display == '') $vars['entity']->num_display = 6;
- ?>
- <select name="params[num_display]">
- <option value="1" <?php if($vars['entity']->num_display == 1) echo "SELECTED"; ?>>1</option>
- <option value="2" <?php if($vars['entity']->num_display == 2) echo "SELECTED"; ?>>2</option>
- <option value="3" <?php if($vars['entity']->num_display == 3) echo "SELECTED"; ?>>3</option>
- <option value="4" <?php if($vars['entity']->num_display == 4) echo "SELECTED"; ?>>4</option>
- <option value="5" <?php if($vars['entity']->num_display == 5) echo "SELECTED"; ?>>5</option>
- <option value="6" <?php if($vars['entity']->num_display == 6) echo "SELECTED"; ?>>6</option>
- <option value="7" <?php if($vars['entity']->num_display == 7) echo "SELECTED"; ?>>7</option>
- <option value="8" <?php if($vars['entity']->num_display == 8) echo "SELECTED"; ?>>8</option>
- <option value="9" <?php if($vars['entity']->num_display == 9) echo "SELECTED"; ?>>9</option>
- <option value="10" <?php if($vars['entity']->num_display == 10) echo "SELECTED"; ?>>10</option>
- <option value="15" <?php if($vars['entity']->num_display == 15) echo "SELECTED"; ?>>15</option>
- <option value="20" <?php if($vars['entity']->num_display == 20) echo "SELECTED"; ?>>20</option>
- </select>
-</p>
+<p> + <?php echo elgg_echo("videolist:num_videos"); ?>: + + <? + if($vars['entity']->num_display == '') $vars['entity']->num_display = 6; + ?> + <select name="params[num_display]"> + <option value="1" <?php if($vars['entity']->num_display == 1) echo "SELECTED"; ?>>1</option> + <option value="2" <?php if($vars['entity']->num_display == 2) echo "SELECTED"; ?>>2</option> + <option value="3" <?php if($vars['entity']->num_display == 3) echo "SELECTED"; ?>>3</option> + <option value="4" <?php if($vars['entity']->num_display == 4) echo "SELECTED"; ?>>4</option> + <option value="5" <?php if($vars['entity']->num_display == 5) echo "SELECTED"; ?>>5</option> + <option value="6" <?php if($vars['entity']->num_display == 6) echo "SELECTED"; ?>>6</option> + <option value="7" <?php if($vars['entity']->num_display == 7) echo "SELECTED"; ?>>7</option> + <option value="8" <?php if($vars['entity']->num_display == 8) echo "SELECTED"; ?>>8</option> + <option value="9" <?php if($vars['entity']->num_display == 9) echo "SELECTED"; ?>>9</option> + <option value="10" <?php if($vars['entity']->num_display == 10) echo "SELECTED"; ?>>10</option> + <option value="15" <?php if($vars['entity']->num_display == 15) echo "SELECTED"; ?>>15</option> + <option value="20" <?php if($vars['entity']->num_display == 20) echo "SELECTED"; ?>>20</option> + </select> +</p> |