1
0
mirror of https://github.com/e107inc/e107.git synced 2025-03-13 08:59:44 +01:00

Issue #5350 Add default values for admin links when creating a plugin from scratch.

This commit is contained in:
camer0n 2025-03-03 14:17:44 -08:00
parent ff26bcd96b
commit f19607c780

View File

@ -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;