From dfa8ed4a8a0b13f6b6a0f5d8fcb5b4b7719562a9 Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 10 Dec 2014 17:30:01 -0800 Subject: [PATCH] Added record number to page title when editing records. --- e107_handlers/admin_ui.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/e107_handlers/admin_ui.php b/e107_handlers/admin_ui.php index bf07ca8d8..946aabeb9 100644 --- a/e107_handlers/admin_ui.php +++ b/e107_handlers/admin_ui.php @@ -2059,7 +2059,12 @@ class e_admin_controller if($action != 'Prefs' && $action != 'Create' && $action !='Edit' && $action != 'List') // Custom Page method in use, so add the title. { $this->addTitle(); - } + } + + if($action == 'Edit') + { + $this->addTitle('#'.$this->getId()); // Inform user of which record is being edited. + } ob_start(); //catch any output $ret = $this->{$actionName}();