diff options
author | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-16 20:54:48 +0000 |
---|---|---|
committer | brettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-10-16 20:54:48 +0000 |
commit | a1abec1d617c9330d9c06bda2f462d213f013f53 (patch) | |
tree | 7e2d2d3007f4b2155a056fb43d3c428b65a96f34 /views/default/upload | |
parent | 70b08afa64465f4d3457ba6e1c4cc2df1dd2069b (diff) | |
download | elgg-a1abec1d617c9330d9c06bda2f462d213f013f53.tar.gz elgg-a1abec1d617c9330d9c06bda2f462d213f013f53.tar.bz2 |
Finish up standardizing views/default/*
git-svn-id: http://code.elgg.org/elgg/trunk@3557 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/upload')
-rw-r--r-- | views/default/upload/upload_form_content.php | 54 |
1 files changed, 33 insertions, 21 deletions
diff --git a/views/default/upload/upload_form_content.php b/views/default/upload/upload_form_content.php index dd0938cc2..225560a3f 100644 --- a/views/default/upload/upload_form_content.php +++ b/views/default/upload/upload_form_content.php @@ -1,3 +1,17 @@ +<?php +/** + * Elgg system settings form + * The form to change system settings + * + * @package Elgg + * @subpackage Core + * @author Curverider Ltd + * @link http://elgg.org/ + * + * @uses $vars['action'] If set, the place to forward the form to (usually action/systemsettings/save) + */ +?> + <input type="hidden" name="number_of_files" value="1"> <?php @@ -23,10 +37,8 @@ if (!$vars['entity']) { <label><?php echo elgg_echo("title"); ?><br /> <?php - echo elgg_view("input/text", array( - "internalname" => "title_0" - )); - + echo elgg_view("input/text", array("internalname" => "title_0")); + ?> </label> </p> @@ -35,7 +47,7 @@ if (!$vars['entity']) { <?php echo elgg_view("input/file",array('internalname' => 'upload_0')); - + ?> </label> </p> @@ -50,10 +62,10 @@ if (!$vars['entity']) { <?php echo elgg_view("input/text", array( - "internalname" => "title", - "value" => $title, - )); - + "internalname" => "title", + "value" => $title, + )); + ?> </label> </p> @@ -65,9 +77,9 @@ if (!$vars['entity']) { <?php echo elgg_view("input/longtext",array( - "internalname" => "description", - "value" => $description, - )); + "internalname" => "description", + "value" => $description, + )); ?> </label> </p> @@ -77,10 +89,10 @@ if (!$vars['entity']) { <?php echo elgg_view("input/tags", array( - "internalname" => "tags", - "value" => $tags, - )); - + "internalname" => "tags", + "value" => $tags, + )); + ?> </label></p> <?php @@ -104,12 +116,12 @@ if (!$vars['entity']) { <?php echo elgg_view('input/access', array('internalname' => 'access_id','value' => $access_id)); ?> </label> </p> - + <?php - if (isset($vars['container_guid'])) + if (isset($vars['container_guid'])) { echo "<input type=\"hidden\" name=\"container_guid\" value=\"{$vars['container_guid']}\" />"; - if (isset($vars['entity'])) + } + if (isset($vars['entity'])) { echo "<input type=\"hidden\" name=\"file_guid\" value=\"{$vars['entity']->getGUID()}\" />"; - -?> + }
\ No newline at end of file |