mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 20:51:53 +02:00
commit
136c0e39ad
@ -63,7 +63,7 @@ class page_admin extends e_admin_dispatcher
|
||||
);
|
||||
|
||||
protected $adminMenu = array(
|
||||
'overview/list' => array('caption'=> "Overview", 'perm' => '5|J'), //TODO LAN
|
||||
'overview/list' => array('caption'=> CUSLAN_1, 'perm' => '5|J'),
|
||||
'page/list' => array('caption'=> CUSLAN_48, 'perm' => '5'),
|
||||
'menu/list' => array('caption'=> CUSLAN_49, 'perm' => 'J', 'tab' => 2),
|
||||
|
||||
@ -205,7 +205,7 @@ class page_chapters_ui extends e_admin_ui
|
||||
{
|
||||
$this->addTitle(CUSLAN_63);
|
||||
// e107::getMessage()->addWarning("Experimental: Custom Fields");
|
||||
$this->tabs = array(LAN_GENERAL,"Custom Fields");
|
||||
$this->tabs = array(LAN_GENERAL,CUSLAN_4);
|
||||
$this->fields['chapter_fields'] = array('title'=>"Fields", 'tab'=>1, 'type'=>'method', 'data'=>'json', 'writeParms'=>array('nolabel'=>2));
|
||||
|
||||
if($this->getAction() === 'list')
|
||||
@ -220,7 +220,7 @@ class page_chapters_ui extends e_admin_ui
|
||||
|
||||
$sql = e107::getDb();
|
||||
$sql->gen("SELECT chapter_id,chapter_name FROM #page_chapters WHERE chapter_parent =0");
|
||||
$this->books[0] = "(New Book)";
|
||||
$this->books[0] = CUSLAN_5;
|
||||
|
||||
while($row = $sql->fetch())
|
||||
{
|
||||
@ -568,7 +568,7 @@ class page_admin_ui extends e_admin_ui
|
||||
protected $fields = array(
|
||||
'checkboxes' => array('title'=> '', 'type' => null, 'width' =>'3%', 'forced'=> TRUE, 'thclass'=>'center', 'class'=>'center'),
|
||||
'page_id' => array('title'=> LAN_ID, 'type' => 'text', 'tab' => 0, 'width'=>'5%', 'forced'=> TRUE, 'readParms'=>'link=sef&target=blank'),
|
||||
'page_title' => array('title'=> "Page Title", 'tab' => 0, 'type' => 'text', 'data'=>'str', 'inline'=>true, 'width'=>'25%', 'writeParms'=>'size=block-level'),
|
||||
'page_title' => array('title'=> CUSLAN_2, 'tab' => 0, 'type' => 'text', 'data'=>'str', 'inline'=>true, 'width'=>'25%', 'writeParms'=>'size=block-level'),
|
||||
'page_chapter' => array('title'=> CUSLAN_63, 'tab' => 0, 'type' => 'dropdown', 'width' => '20%', 'filter' => true, 'batch'=>true, 'inline'=>true),
|
||||
|
||||
'page_template' => array('title'=> LAN_TEMPLATE, 'tab' => 0, 'type' => 'dropdown', 'width' => 'auto','filter' => true, 'batch'=>true, 'inline'=>true, 'writeParms'=>array()),
|
||||
@ -619,7 +619,7 @@ class page_admin_ui extends e_admin_ui
|
||||
'listBooks' => array('title'=> CUSLAN_50, 'type'=>'boolean'),
|
||||
'listBooksTemplate' => array('title'=> CUSLAN_72, 'type'=>'dropdown'),
|
||||
'pageCookieExpire' => array('title'=> CUSLAN_30, 'type'=>'number'), //TODO Set default value to 84600
|
||||
'admin_page_perpage' => array('title'=> "Items per Page", 'type'=>'number'), //TODO Set default value to 84600
|
||||
'admin_page_perpage' => array('title'=> CUSLAN_3, 'type'=>'number'), //TODO Set default value to 84600
|
||||
);
|
||||
|
||||
protected $books = array();
|
||||
|
@ -6,6 +6,12 @@
|
||||
*
|
||||
*/
|
||||
|
||||
define("CUSLAN_1", "Overview");
|
||||
define("CUSLAN_2", "Page Title");
|
||||
define("CUSLAN_3", "Items per Page");
|
||||
define("CUSLAN_4", "Custom Fields");
|
||||
define("CUSLAN_5", "(New Book)");
|
||||
|
||||
define("CUSLAN_9", "Text");
|
||||
define("CUSLAN_11", "Meta description");
|
||||
define("CUSLAN_12", "Create Page/Menu");
|
||||
@ -92,4 +98,4 @@ define("CUSLAN_79", "You must enter either a page title or a menu name.");
|
||||
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user