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/reportedcontent/views/default/forms/reportedcontent/add.php | 6 +++--- mod/reportedcontent/views/default/object/reported_content.php | 2 +- mod/reportedcontent/views/default/widgets/reportedcontent/edit.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'mod/reportedcontent') 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(); 'title', + 'name' => 'title', 'value' => $title, )); ?> @@ -30,7 +30,7 @@ $owner = elgg_get_logged_in_user_entity(); 'address', + 'name' => 'address', 'value' => $address, )); @@ -43,7 +43,7 @@ $owner = elgg_get_logged_in_user_entity(); '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", )); ?>

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), ); -- cgit v1.2.3