From af2f3805095f8a91d85847e11faeb280fddf58c0 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Tue, 15 Feb 2011 01:27:40 +0000 Subject: Fixes #2921: converted internalname => name and internalid => id git-svn-id: http://code.elgg.org/elgg/trunk@8249 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/views/default/forms/discussion/save.php | 14 +++++++------- mod/groups/views/default/forms/groups/delete.php | 2 +- mod/groups/views/default/forms/groups/edit.php | 14 +++++++------- mod/groups/views/default/forms/groups/invite.php | 2 +- mod/groups/views/default/forms/groups/search.php | 2 +- mod/groups/views/default/settings/groups/edit.php | 2 +- mod/groups/views/default/widgets/a_users_groups/edit.php | 2 +- 7 files changed, 19 insertions(+), 19 deletions(-) (limited to 'mod/groups') 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); ?>

- 'title', 'value' => $title)); ?> + 'title', 'value' => $title)); ?>
- 'description', 'value' => $desc)); ?> + 'description', 'value' => $desc)); ?>
- 'tags', 'value' => $tags)); ?> + 'tags', 'value' => $tags)); ?>

'status', + 'name' => 'status', 'value' => $status, 'options_values' => array( 'open' => elgg_echo('groups:topicopen'), @@ -40,15 +40,15 @@ $guid = elgg_extract('guid', $vars, null);

- 'access_id', 'value' => $access_id)); ?> + 'access_id', 'value' => $access_id)); ?>
'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'])) { ?>

- 'icon')); ?> + 'icon')); ?>

'name', + 'name' => 'name', 'value' => $vars['entity']->name, )); ?> @@ -38,7 +38,7 @@ if ($group_profile_fields > 0) { echo elgg_echo("groups:{$shortname}"); echo "$line_break"; echo elgg_view("input/{$valtype}", array( - 'internalname' => $shortname, + 'name' => $shortname, 'value' => $vars['entity']->$shortname, )); echo '
'; @@ -50,7 +50,7 @@ if ($group_profile_fields > 0) {