mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
_blank plugin added type = 'user' example
and fixed default database table (_blank)
This commit is contained in:
@@ -37,7 +37,7 @@ if(!class_exists("_blank_setup"))
|
|||||||
'blank_name' =>'My Name',
|
'blank_name' =>'My Name',
|
||||||
'blank_folder' =>'Folder Value',
|
'blank_folder' =>'Folder Value',
|
||||||
'blank_version' =>'1',
|
'blank_version' =>'1',
|
||||||
'blank_author' =>'bill',
|
'blank_author' =>'1',
|
||||||
'blank_authorURL' =>'http://e107.org',
|
'blank_authorURL' =>'http://e107.org',
|
||||||
'blank_date' =>'1352871240',
|
'blank_date' =>'1352871240',
|
||||||
'blank_compatibility' =>'2',
|
'blank_compatibility' =>'2',
|
||||||
|
@@ -8,11 +8,6 @@
|
|||||||
*
|
*
|
||||||
* e107 blank Plugin
|
* e107 blank Plugin
|
||||||
*
|
*
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/blank/admin_config.php,v $
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once("../../class2.php");
|
require_once("../../class2.php");
|
||||||
@@ -96,7 +91,7 @@ class plugin_blank_admin_ui extends e_admin_ui
|
|||||||
* Example: 'r.blank'
|
* Example: 'r.blank'
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $table = "blank";
|
protected $table = "_blank";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is only needed if you need to JOIN tables AND don't wanna use $tableJoin
|
* This is only needed if you need to JOIN tables AND don't wanna use $tableJoin
|
||||||
@@ -256,7 +251,7 @@ class plugin_blank_admin_ui extends e_admin_ui
|
|||||||
'blank_folder' => array('title'=> 'Folder', 'type' => 'text', 'data' => 'str', 'width' => 'auto', 'thclass' => ''),
|
'blank_folder' => array('title'=> 'Folder', 'type' => 'text', 'data' => 'str', 'width' => 'auto', 'thclass' => ''),
|
||||||
'blank_name' => array('title'=> 'Name', 'type' => 'text', 'data' => 'str', 'width' => 'auto', 'thclass' => ''),
|
'blank_name' => array('title'=> 'Name', 'type' => 'text', 'data' => 'str', 'width' => 'auto', 'thclass' => ''),
|
||||||
'blank_version' => array('title'=> 'Version', 'type' => 'number', 'data' => 'str', 'width' => 'auto', 'thclass' => ''),
|
'blank_version' => array('title'=> 'Version', 'type' => 'number', 'data' => 'str', 'width' => 'auto', 'thclass' => ''),
|
||||||
'blank_author' => array('title'=> LAN_AUTHOR, 'type' => 'text', 'data' => 'str', 'width' => 'auto', 'thclass' => 'left'),
|
'blank_author' => array('title'=> LAN_AUTHOR, 'type' => 'user', 'data' => 'str', 'width' => 'auto', 'thclass' => 'left'),
|
||||||
'blank_authorURL' => array('title'=> "Url", 'type' => 'url', 'data' => 'str', 'width' => 'auto', 'thclass' => 'left'),
|
'blank_authorURL' => array('title'=> "Url", 'type' => 'url', 'data' => 'str', 'width' => 'auto', 'thclass' => 'left'),
|
||||||
'blank_date' => array('title'=> LAN_DATE, 'type' => 'datestamp', 'data' => 'int', 'width' => 'auto', 'thclass' => '', 'readParms' => 'long', 'writeParms' => 'type=datetime'),
|
'blank_date' => array('title'=> LAN_DATE, 'type' => 'datestamp', 'data' => 'int', 'width' => 'auto', 'thclass' => '', 'readParms' => 'long', 'writeParms' => 'type=datetime'),
|
||||||
'blank_compatibility' => array('title'=> 'Compatible', 'type' => 'text', 'data' => 'str', 'width' => '10%', 'thclass' => 'center' ),
|
'blank_compatibility' => array('title'=> 'Compatible', 'type' => 'text', 'data' => 'str', 'width' => '10%', 'thclass' => 'center' ),
|
||||||
@@ -380,4 +375,3 @@ function headerjs() // needed for the checkboxes - how can we remove the need to
|
|||||||
return e107::getAdminUI()->getHeader();
|
return e107::getAdminUI()->getHeader();
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
?>
|
|
Reference in New Issue
Block a user