mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Added disabled options to plugin-builder admin config.
This commit is contained in:
@@ -1543,7 +1543,7 @@ function plugin_adminmenu()
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Plugin Admin Generator by CaMer0n. //TODO Incorporate plugin.xml generation
|
* Plugin Admin Generator by CaMer0n. //TODO - Added dummy template and shortcode creation, plus e_search, e_cron, e_xxxxx etc.
|
||||||
*/
|
*/
|
||||||
class pluginBuilder
|
class pluginBuilder
|
||||||
{
|
{
|
||||||
@@ -2666,6 +2666,15 @@ class ".$table." extends e_admin_ui
|
|||||||
protected \$table = '".$vars['table']."';
|
protected \$table = '".$vars['table']."';
|
||||||
protected \$pid = '".$vars['pid']."';
|
protected \$pid = '".$vars['pid']."';
|
||||||
protected \$perPage = 10;
|
protected \$perPage = 10;
|
||||||
|
protected \$batchDelete = true;
|
||||||
|
// protected \$batchCopy = true;
|
||||||
|
// protected \$sortField = 'somefield_order';
|
||||||
|
// protected \$orderStep = 10;
|
||||||
|
// protected \$tabs = array('Tabl 1','Tab 2'); // Use 'tab'=>0 OR 'tab'=>1 in the \$fields below to enable.
|
||||||
|
|
||||||
|
// protected \$listQry = \"SELECT * FROM #tableName WHERE field != '' \"; // Example Custom Query. LEFT JOINS allowed. Should be without any Order or Limit.
|
||||||
|
|
||||||
|
protected \$listOrder = '".$vars['pid']." DESC';
|
||||||
|
|
||||||
protected \$fields = ".$FIELDS.";
|
protected \$fields = ".$FIELDS.";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user