mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 15:16:30 +02:00
Added record number to page title when editing records.
This commit is contained in:
@@ -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.
|
if($action != 'Prefs' && $action != 'Create' && $action !='Edit' && $action != 'List') // Custom Page method in use, so add the title.
|
||||||
{
|
{
|
||||||
$this->addTitle();
|
$this->addTitle();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($action == 'Edit')
|
||||||
|
{
|
||||||
|
$this->addTitle('#'.$this->getId()); // Inform user of which record is being edited.
|
||||||
|
}
|
||||||
|
|
||||||
ob_start(); //catch any output
|
ob_start(); //catch any output
|
||||||
$ret = $this->{$actionName}();
|
$ret = $this->{$actionName}();
|
||||||
|
Reference in New Issue
Block a user