aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/views')
-rw-r--r--mod/groups/views/default/forms/discussion/save.php14
-rw-r--r--mod/groups/views/default/forms/groups/delete.php2
-rw-r--r--mod/groups/views/default/forms/groups/edit.php14
-rw-r--r--mod/groups/views/default/forms/groups/invite.php2
-rw-r--r--mod/groups/views/default/forms/groups/search.php2
-rw-r--r--mod/groups/views/default/settings/groups/edit.php2
-rw-r--r--mod/groups/views/default/widgets/a_users_groups/edit.php2
7 files changed, 19 insertions, 19 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='' }",
diff --git a/mod/groups/views/default/settings/groups/edit.php b/mod/groups/views/default/settings/groups/edit.php
index 362d355af..1cf6be466 100644
--- a/mod/groups/views/default/settings/groups/edit.php
+++ b/mod/groups/views/default/settings/groups/edit.php
@@ -12,7 +12,7 @@ echo '<p>';
echo elgg_echo('groups:allowhiddengroups');
echo ' ';
echo elgg_view('input/dropdown', array(
- 'internalname' => 'params[hidden_groups]',
+ 'name' => 'params[hidden_groups]',
'options_values' => array(
'no' => elgg_echo('option:no'),
'yes' => elgg_echo('option:yes')
diff --git a/mod/groups/views/default/widgets/a_users_groups/edit.php b/mod/groups/views/default/widgets/a_users_groups/edit.php
index 4d61b3259..e49a996b7 100644
--- a/mod/groups/views/default/widgets/a_users_groups/edit.php
+++ b/mod/groups/views/default/widgets/a_users_groups/edit.php
@@ -12,7 +12,7 @@ if (!isset($vars['entity']->num_display)) {
}
$params = array(
- 'internalname' => 'params[num_display]',
+ 'name' => 'params[num_display]',
'value' => $vars['entity']->num_display,
'options' => array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20),
);