mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Tabs support for Admin UI preference areas
This commit is contained in:
@@ -2339,14 +2339,14 @@ class e_admin_controller_ui extends e_admin_controller
|
|||||||
* TODO Example:
|
* TODO Example:
|
||||||
* Contains required data for auto-assembling URL from every record
|
* Contains required data for auto-assembling URL from every record
|
||||||
* For greater control - override url() method
|
* For greater control - override url() method
|
||||||
* @var array edit/create form tabs
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $url = array();
|
protected $url = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TODO Example:
|
* TODO Example:
|
||||||
* Contains required data for mapping featurebox fields
|
* Contains required data for mapping featurebox fields
|
||||||
* @var array edit/create form tabs
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $featurebox = array();
|
protected $featurebox = array();
|
||||||
|
|
||||||
@@ -4492,8 +4492,8 @@ class e_admin_ui extends e_admin_controller_ui
|
|||||||
*/
|
*/
|
||||||
public function ListHeader()
|
public function ListHeader()
|
||||||
{
|
{
|
||||||
e107::js('core','core/tabs.js','prototype');
|
//e107::js('core','core/tabs.js','prototype');
|
||||||
e107::js('core','core/admin.js','prototype');
|
//e107::js('core','core/admin.js','prototype');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -5146,6 +5146,7 @@ class e_admin_form_ui extends e_form
|
|||||||
'tabs' => false, // TODO - NOT IMPLEMENTED YET - enable tabs (only if fieldset count is > 1)
|
'tabs' => false, // TODO - NOT IMPLEMENTED YET - enable tabs (only if fieldset count is > 1)
|
||||||
'fieldsets' => array(
|
'fieldsets' => array(
|
||||||
'settings' => array(
|
'settings' => array(
|
||||||
|
'tabs' => $controller->getTabs(), //used within a single form.
|
||||||
'legend' => $legend,
|
'legend' => $legend,
|
||||||
'fields' => $controller->getPrefs(), //see e_admin_ui::$prefs
|
'fields' => $controller->getPrefs(), //see e_admin_ui::$prefs
|
||||||
'after_submit_options' => false,
|
'after_submit_options' => false,
|
||||||
|
Reference in New Issue
Block a user