aboutsummaryrefslogtreecommitdiff
path: root/mod/pages
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages')
-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),
);