1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Added record number to page title when editing records.

This commit is contained in:
Cameron
2014-12-10 17:30:01 -08:00
parent b7942691e0
commit dfa8ed4a8a

View File

@@ -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}();