aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 01:27:40 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-15 01:27:40 +0000
commitaf2f3805095f8a91d85847e11faeb280fddf58c0 (patch)
tree221ef519a94523d494511ba33acb3f34f68f04c0 /mod/reportedcontent
parent9af0f9be12346d2008cf6de6e5ab7bd083c09c8c (diff)
downloadelgg-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/reportedcontent')
-rw-r--r--mod/reportedcontent/views/default/forms/reportedcontent/add.php6
-rw-r--r--mod/reportedcontent/views/default/object/reported_content.php2
-rw-r--r--mod/reportedcontent/views/default/widgets/reportedcontent/edit.php2
3 files changed, 5 insertions, 5 deletions
diff --git a/mod/reportedcontent/views/default/forms/reportedcontent/add.php b/mod/reportedcontent/views/default/forms/reportedcontent/add.php
index abc53e750..0b1716a35 100644
--- a/mod/reportedcontent/views/default/forms/reportedcontent/add.php
+++ b/mod/reportedcontent/views/default/forms/reportedcontent/add.php
@@ -19,7 +19,7 @@ $owner = elgg_get_logged_in_user_entity();
<?php
echo elgg_echo('reportedcontent:title');
echo elgg_view('input/text', array(
- 'internalname' => 'title',
+ 'name' => 'title',
'value' => $title,
));
?>
@@ -30,7 +30,7 @@ $owner = elgg_get_logged_in_user_entity();
<?php
echo elgg_echo('reportedcontent:address');
echo elgg_view('input/url', array(
- 'internalname' => 'address',
+ 'name' => 'address',
'value' => $address,
));
@@ -43,7 +43,7 @@ $owner = elgg_get_logged_in_user_entity();
</label>
<?php
echo elgg_view('input/longtext',array(
- 'internalname' => 'description',
+ 'name' => 'description',
'value' => $description,
));
?>
diff --git a/mod/reportedcontent/views/default/object/reported_content.php b/mod/reportedcontent/views/default/object/reported_content.php
index 83e49142c..e755fae5b 100644
--- a/mod/reportedcontent/views/default/object/reported_content.php
+++ b/mod/reportedcontent/views/default/object/reported_content.php
@@ -58,7 +58,7 @@ if ($report->state == 'archived') {
'href' => '#',
'text' => elgg_echo('reportedcontent:moreinfo'),
'class' => "elgg-toggle",
- 'internalid' => "elgg-toggler-report-$report->guid",
+ 'id' => "elgg-toggler-report-$report->guid",
));
?>
</p>
diff --git a/mod/reportedcontent/views/default/widgets/reportedcontent/edit.php b/mod/reportedcontent/views/default/widgets/reportedcontent/edit.php
index 810d549af..ecd732d23 100644
--- a/mod/reportedcontent/views/default/widgets/reportedcontent/edit.php
+++ b/mod/reportedcontent/views/default/widgets/reportedcontent/edit.php
@@ -9,7 +9,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),
);