From be37104ac63cd25f2eac831ca03d6d2b19976e1c Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 22 Aug 2010 21:53:48 +0000 Subject: Merged r6684:6694 from 1.7 branch to trunk (pages plugin was manually merged due to standardization of code in trunk but not branch) git-svn-id: http://code.elgg.org/elgg/trunk@6848 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/pages/views/default/forms/pages/edit.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'mod/pages/views/default') 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; - } ?>

@@ -57,8 +52,7 @@ if (is_array($vars['config']->pages) && sizeof($vars['config']->pages) > 0) {
$shortname, - 'value' => $vars['entity']->$shortname, - 'disabled' => $disabled + 'value' => $vars['entity']->$shortname )); ?>

-- cgit v1.2.3