diff options
Diffstat (limited to 'views/default/forms/videolist/edit.php')
-rw-r--r-- | views/default/forms/videolist/edit.php | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/views/default/forms/videolist/edit.php b/views/default/forms/videolist/edit.php deleted file mode 100644 index 18fb6ded4..000000000 --- a/views/default/forms/videolist/edit.php +++ /dev/null @@ -1,55 +0,0 @@ -<?php -/** - * Videolist edit form body - * - * @package ElggVideolist - */ - -$variables = elgg_get_config('videolist'); - -if(empty($vars['guid'])){ - unset($variables['title']); - unset($variables['description']); -} else { - unset($variables['video_url']); -} - -foreach ($variables as $name => $type) { -?> -<div> - <label><?php echo elgg_echo("videolist:$name") ?></label> - <?php - if ($type != 'longtext') { - echo '<br />'; - } - ?> - <?php echo elgg_view("input/$type", array( - 'name' => $name, - 'value' => $vars[$name], - )); - ?> -</div> -<?php -} - -$cats = elgg_view('categories', $vars); -if (!empty($cats)) { - echo $cats; -} - - -echo '<div class="elgg-foot">'; -if ($vars['guid']) { - echo elgg_view('input/hidden', array( - 'name' => 'video_guid', - 'value' => $vars['guid'], - )); -} -echo elgg_view('input/hidden', array( - 'name' => 'container_guid', - 'value' => $vars['container_guid'], -)); - -echo elgg_view('input/submit', array('value' => elgg_echo('save'))); - -echo '</div>'; |