aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views
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/pages/views
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/pages/views')
-rw-r--r--mod/pages/views/default/forms/pages/edit.php8
-rw-r--r--mod/pages/views/default/widgets/pages/edit.php2
2 files changed, 5 insertions, 5 deletions
diff --git a/mod/pages/views/default/forms/pages/edit.php b/mod/pages/views/default/forms/pages/edit.php
index 793e5c39e..abb6716fd 100644
--- a/mod/pages/views/default/forms/pages/edit.php
+++ b/mod/pages/views/default/forms/pages/edit.php
@@ -11,7 +11,7 @@ foreach ($variables as $name => $type) {
<div>
<label><?php echo elgg_echo("pages:$name") ?></label><br />
<?php echo elgg_view("input/$type", array(
- 'internalname' => $name,
+ 'name' => $name,
'value' => $vars[$name],
));
?>
@@ -28,17 +28,17 @@ if (!empty($cats)) {
echo '<div>';
if ($vars['guid']) {
echo elgg_view('input/hidden', array(
- 'internalname' => 'page_guid',
+ 'name' => 'page_guid',
'value' => $vars['guid'],
));
}
echo elgg_view('input/hidden', array(
- 'internalname' => 'container_guid',
+ 'name' => 'container_guid',
'value' => $vars['container_guid'],
));
if ($vars['parent_guid']) {
echo elgg_view('input/hidden', array(
- 'internalname' => 'parent_guid',
+ 'name' => 'parent_guid',
'value' => $vars['parent_guid'],
));
}
diff --git a/mod/pages/views/default/widgets/pages/edit.php b/mod/pages/views/default/widgets/pages/edit.php
index 69710e50a..f23514380 100644
--- a/mod/pages/views/default/widgets/pages/edit.php
+++ b/mod/pages/views/default/widgets/pages/edit.php
@@ -11,7 +11,7 @@ if (!isset($vars['entity']->pages_num)) {
}
$params = array(
- 'internalname' => 'params[pages_num]',
+ 'name' => 'params[pages_num]',
'value' => $vars['entity']->pages_num,
'options' => array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10),
);