mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Issue #361 - Missing text box for 'Book or Chapter Title'
This commit is contained in:
@@ -179,6 +179,8 @@ class page_chapters_form_ui extends e_admin_form_ui
|
|||||||
function chapter_name($curVal,$mode,$parm)
|
function chapter_name($curVal,$mode,$parm)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
$frm = e107::getForm();
|
||||||
|
|
||||||
if($mode == 'read')
|
if($mode == 'read')
|
||||||
{
|
{
|
||||||
$parent = $this->getController()->getListModel()->get('chapter_parent');
|
$parent = $this->getController()->getListModel()->get('chapter_parent');
|
||||||
@@ -192,7 +194,7 @@ class page_chapters_form_ui extends e_admin_form_ui
|
|||||||
|
|
||||||
if($mode == 'write')
|
if($mode == 'write')
|
||||||
{
|
{
|
||||||
return;
|
return $frm->text('chapter_name',$curVal);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($mode == 'filter')
|
if($mode == 'filter')
|
||||||
|
Reference in New Issue
Block a user