aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default/forms
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/views/default/forms')
-rw-r--r--mod/pages/views/default/forms/pages/edit.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/mod/pages/views/default/forms/pages/edit.php b/mod/pages/views/default/forms/pages/edit.php
index 2095e4fd8..bdd721b82 100644
--- a/mod/pages/views/default/forms/pages/edit.php
+++ b/mod/pages/views/default/forms/pages/edit.php
@@ -45,11 +45,6 @@ if (!$vars['entity']) {
echo elgg_view('input/securitytoken');
if (is_array($vars['config']->pages) && sizeof($vars['config']->pages) > 0) {
foreach($vars['config']->pages as $shortname => $valtype) {
- $disabled = "";
-
- if (!$new_page && ($shortname == 'title')) {
- $disabled = true;
- }
?>
<p>
@@ -57,8 +52,7 @@ if (is_array($vars['config']->pages) && sizeof($vars['config']->pages) > 0) {
<?php echo elgg_echo("pages:{$shortname}") ?><br />
<?php echo elgg_view("input/{$valtype}",array(
'internalname' => $shortname,
- 'value' => $vars['entity']->$shortname,
- 'disabled' => $disabled
+ 'value' => $vars['entity']->$shortname
)); ?>
</label>
</p>