mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 00:41:52 +02:00
Issue #5350 Add default values for admin links when creating a plugin from scratch.
This commit is contained in:
@@ -658,9 +658,6 @@ $content .= '}';
|
||||
function pluginXml()
|
||||
{
|
||||
|
||||
|
||||
//TODO Plugin.xml Form Fields. .
|
||||
|
||||
$data = array(
|
||||
'main' => array('name','lang','version','date', 'compatibility'),
|
||||
'author' => array('name','url'),
|
||||
@@ -890,6 +887,30 @@ $content .= '}';
|
||||
$size = 20;
|
||||
break;
|
||||
|
||||
case 'adminLinks-url':
|
||||
// $help = '';
|
||||
$default = 'admin_config.php';
|
||||
$size = 20;
|
||||
break;
|
||||
|
||||
case 'adminLinks-description':
|
||||
$default = 'LAN_CONFIGURE';
|
||||
$type = 'text';
|
||||
break;
|
||||
|
||||
case 'adminLinks-icon':
|
||||
$default = 'images/icon_32.png';
|
||||
break;
|
||||
|
||||
case 'adminLinks-iconSmall':
|
||||
$default = 'images/icon_16.png';
|
||||
break;
|
||||
|
||||
|
||||
case 'adminLinks-icon128':
|
||||
$default = 'images/icon_128.png';
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
break;
|
||||
|
Reference in New Issue
Block a user