From f755bebe39d82b05dc69698316c4050be5018d03 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 7 Feb 2015 22:24:16 -0800 Subject: [PATCH] Plugin Builder added more types on prefs. --- e107_admin/plugin.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/e107_admin/plugin.php b/e107_admin/plugin.php index 565ac6fc4..201204fcd 100644 --- a/e107_admin/plugin.php +++ b/e107_admin/plugin.php @@ -2378,11 +2378,22 @@ class pluginBuilder $options = array( 'text' => "Text Box", + 'number' => "Text Box (number)", + 'url' => "Text Box (url)", 'textarea' => "Text Area", 'bbarea' => "Rich-Text Area", 'boolean' => "True/False", "method" => "Custom Function", "image" => "Image", + + "dropdown" => "DropDown", + "userclass" => "DropDown (userclasses)", + "language" => "DropDown (languages)", + + "icon" => "Icon", + + "file" => "File", + ); @@ -2851,8 +2862,8 @@ TEMPLATE; ".$frm->checkbox($this->table."[fields][".$name."][validate]", true)." ".$frm->checkbox($this->table."[fields][".$name."][fieldpref]", true, $this->guess($name, $val,'fieldpref'))." ".$frm->text($this->table."[fields][".$name."][help]",'', 50,'size=medium')." - ".$frm->text($this->table."[fields][".$name."][readParms]",'', 20,'size=small')." - ".$frm->text($this->table."[fields][".$name."][writeParms]",'', 20,'size=small'). + ".$frm->text($this->table."[fields][".$name."][readParms]",'', 60,'size=small')." + ".$frm->text($this->table."[fields][".$name."][writeParms]",'', 60,'size=small'). $frm->hidden($this->table."[fields][".$name."][class]", $this->guess($name, $val,'class')). $frm->hidden($this->table."[fields][".$name."][thclass]", $this->guess($name, $val,'thclass')). "