diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:27:40 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-15 01:27:40 +0000 |
commit | af2f3805095f8a91d85847e11faeb280fddf58c0 (patch) | |
tree | 221ef519a94523d494511ba33acb3f34f68f04c0 /mod/groups/views/default/forms | |
parent | 9af0f9be12346d2008cf6de6e5ab7bd083c09c8c (diff) | |
download | elgg-af2f3805095f8a91d85847e11faeb280fddf58c0.tar.gz elgg-af2f3805095f8a91d85847e11faeb280fddf58c0.tar.bz2 |
Fixes #2921: converted internalname => name and internalid => id
git-svn-id: http://code.elgg.org/elgg/trunk@8249 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default/forms')
-rw-r--r-- | mod/groups/views/default/forms/discussion/save.php | 14 | ||||
-rw-r--r-- | mod/groups/views/default/forms/groups/delete.php | 2 | ||||
-rw-r--r-- | mod/groups/views/default/forms/groups/edit.php | 14 | ||||
-rw-r--r-- | mod/groups/views/default/forms/groups/invite.php | 2 | ||||
-rw-r--r-- | mod/groups/views/default/forms/groups/search.php | 2 |
5 files changed, 17 insertions, 17 deletions
diff --git a/mod/groups/views/default/forms/discussion/save.php b/mod/groups/views/default/forms/discussion/save.php index af8d730d5..5d50d5c91 100644 --- a/mod/groups/views/default/forms/discussion/save.php +++ b/mod/groups/views/default/forms/discussion/save.php @@ -15,21 +15,21 @@ $guid = elgg_extract('guid', $vars, null); ?> <div> <label><?php echo elgg_echo('title'); ?></label><br /> - <?php echo elgg_view('input/text', array('internalname' => 'title', 'value' => $title)); ?> + <?php echo elgg_view('input/text', array('name' => 'title', 'value' => $title)); ?> </div> <div> <label><?php echo elgg_echo('groups:topicmessage'); ?></label> - <?php echo elgg_view('input/longtext', array('internalname' => 'description', 'value' => $desc)); ?> + <?php echo elgg_view('input/longtext', array('name' => 'description', 'value' => $desc)); ?> </div> <div> <label><?php echo elgg_echo('tags'); ?></label> - <?php echo elgg_view('input/tags', array('internalname' => 'tags', 'value' => $tags)); ?> + <?php echo elgg_view('input/tags', array('name' => 'tags', 'value' => $tags)); ?> </div> <div> <label><?php echo elgg_echo("groups:topicstatus"); ?></label><br /> <?php echo elgg_view('input/dropdown', array( - 'internalname' => 'status', + 'name' => 'status', 'value' => $status, 'options_values' => array( 'open' => elgg_echo('groups:topicopen'), @@ -40,15 +40,15 @@ $guid = elgg_extract('guid', $vars, null); </div> <div> <label><?php echo elgg_echo('access'); ?></label><br /> - <?php echo elgg_view('input/access', array('internalname' => 'access_id', 'value' => $access_id)); ?> + <?php echo elgg_view('input/access', array('name' => 'access_id', 'value' => $access_id)); ?> </div> <div> <?php -echo elgg_view('input/hidden', array('internalname' => 'container_guid', 'value' => $container_guid)); +echo elgg_view('input/hidden', array('name' => 'container_guid', 'value' => $container_guid)); if ($guid) { - echo elgg_view('input/hidden', array('internalname' => 'topic_guid', 'value' => $guid)); + echo elgg_view('input/hidden', array('name' => 'topic_guid', 'value' => $guid)); } echo elgg_view('input/submit', array('value' => elgg_echo("save"))); diff --git a/mod/groups/views/default/forms/groups/delete.php b/mod/groups/views/default/forms/groups/delete.php index 67a4bcd85..4c380718a 100644 --- a/mod/groups/views/default/forms/groups/delete.php +++ b/mod/groups/views/default/forms/groups/delete.php @@ -6,7 +6,7 @@ $warning = elgg_echo("groups:deletewarning"); echo elgg_view('input/hidden', array( - 'internalname' => 'group_guid', + 'name' => 'group_guid', 'value' => $vars['entity']->getGUID(), )); diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php index d4a2754ca..f9ef86296 100644 --- a/mod/groups/views/default/forms/groups/edit.php +++ b/mod/groups/views/default/forms/groups/edit.php @@ -15,12 +15,12 @@ if (isset($vars['entity'])) { ?> <div> <label><?php echo elgg_echo("groups:icon"); ?></label><br /> - <?php echo elgg_view("input/file", array('internalname' => 'icon')); ?> + <?php echo elgg_view("input/file", array('name' => 'icon')); ?> </div> <div> <label><?php echo elgg_echo("groups:name"); ?></label><br /> <?php echo elgg_view("input/text", array( - 'internalname' => 'name', + 'name' => 'name', 'value' => $vars['entity']->name, )); ?> @@ -38,7 +38,7 @@ if ($group_profile_fields > 0) { echo elgg_echo("groups:{$shortname}"); echo "</label>$line_break"; echo elgg_view("input/{$valtype}", array( - 'internalname' => $shortname, + 'name' => $shortname, 'value' => $vars['entity']->$shortname, )); echo '</div>'; @@ -50,7 +50,7 @@ if ($group_profile_fields > 0) { <label> <?php echo elgg_echo('groups:membership'); ?><br /> <?php echo elgg_view('input/access', array( - 'internalname' => 'membership', + 'name' => 'membership', 'value' => $membership, 'options' => array( ACCESS_PRIVATE => elgg_echo('groups:access:private'), @@ -87,7 +87,7 @@ if (elgg_get_plugin_setting('hidden_groups', 'groups') == 'yes') { <label> <?php echo elgg_echo('groups:visibility'); ?><br /> <?php echo elgg_view('input/access', array( - 'internalname' => 'vis', + 'name' => 'vis', 'value' => $current_access, 'options' => $access, )); @@ -115,7 +115,7 @@ if ($tools) { <?php echo $group_option->label; ?><br /> </label> <?php echo elgg_view("input/radio", array( - "internalname" => $group_option_toggle_name, + "name" => $group_option_toggle_name, "value" => $value, 'options' => array( elgg_echo('groups:yes') => 'yes', @@ -133,7 +133,7 @@ if ($tools) { if (isset($vars['entity'])) { echo elgg_view('input/hidden', array( - 'internalname' => 'group_guid', + 'name' => 'group_guid', 'value' => $vars['entity']->getGUID(), )); } diff --git a/mod/groups/views/default/forms/groups/invite.php b/mod/groups/views/default/forms/groups/invite.php index 2c89db384..73eadb024 100644 --- a/mod/groups/views/default/forms/groups/invite.php +++ b/mod/groups/views/default/forms/groups/invite.php @@ -17,7 +17,7 @@ if ($friends) { <?php echo elgg_view('input/securitytoken'); - echo elgg_view('core/friends/picker',array('entities' => $friends, 'internalname' => 'user_guid', 'highlight' => 'all')); + echo elgg_view('core/friends/picker',array('entities' => $friends, 'name' => 'user_guid', 'highlight' => 'all')); ?> <input type="hidden" name="forward_url" value="<?php echo $forward_url; ?>" /> <input type="hidden" name="group_guid" value="<?php echo $group->guid; ?>" /> diff --git a/mod/groups/views/default/forms/groups/search.php b/mod/groups/views/default/forms/groups/search.php index fbb01513d..8912b245c 100644 --- a/mod/groups/views/default/forms/groups/search.php +++ b/mod/groups/views/default/forms/groups/search.php @@ -3,7 +3,7 @@ $tag_string = elgg_echo('groups:search:tags'); $params = array( - 'internalname' => 'tag', + 'name' => 'tag', 'class' => 'search-input', 'value' => $tag_string, 'onclick' => "if (this.value=='$tag_string') { this.value='' }", |