mirror of
https://github.com/e107inc/e107.git
synced 2025-04-18 03:31:54 +02:00
_blank plugin added type = 'user' example
and fixed default database table (_blank)
This commit is contained in:
parent
d5a4881412
commit
51879cc939
@ -37,7 +37,7 @@ if(!class_exists("_blank_setup"))
|
||||
'blank_name' =>'My Name',
|
||||
'blank_folder' =>'Folder Value',
|
||||
'blank_version' =>'1',
|
||||
'blank_author' =>'bill',
|
||||
'blank_author' =>'1',
|
||||
'blank_authorURL' =>'http://e107.org',
|
||||
'blank_date' =>'1352871240',
|
||||
'blank_compatibility' =>'2',
|
||||
|
@ -8,11 +8,6 @@
|
||||
*
|
||||
* e107 blank Plugin
|
||||
*
|
||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/blank/admin_config.php,v $
|
||||
* $Revision$
|
||||
* $Date$
|
||||
* $Author$
|
||||
*
|
||||
*/
|
||||
|
||||
require_once("../../class2.php");
|
||||
@ -96,7 +91,7 @@ class plugin_blank_admin_ui extends e_admin_ui
|
||||
* Example: 'r.blank'
|
||||
* @var string
|
||||
*/
|
||||
protected $table = "blank";
|
||||
protected $table = "_blank";
|
||||
|
||||
/**
|
||||
* 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_name' => array('title'=> 'Name', 'type' => 'text', '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_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' ),
|
||||
@ -379,5 +374,4 @@ function headerjs() // needed for the checkboxes - how can we remove the need to
|
||||
{
|
||||
return e107::getAdminUI()->getHeader();
|
||||
}
|
||||
*/
|
||||
?>
|
||||
*/
|
Loading…
x
Reference in New Issue
Block a user