diff --git a/e107_handlers/e_pluginbuilder_class.php b/e107_handlers/e_pluginbuilder_class.php index add136960b..589ee8c6a7 100644 --- a/e107_handlers/e_pluginbuilder_class.php +++ b/e107_handlers/e_pluginbuilder_class.php @@ -319,11 +319,13 @@ private function step2() $text = $frm->open('buildTab', 'get', e_REQUEST_SELF); + $lanSelectTable = e107::getParser()->lanVars(EPL_ADLAN_258, "".$this->pluginName."_sql.php"); + $text .= "
".ucfirst(LAN_OPTIONAL)." | ||
| To generate your ".$this->pluginName."_sql.php table creation file, please select your sql table then click 'Refresh' | +".$lanSelectTable." | "; $text .= $frm->select('build', $tables, null, array('useValues'=>1), "(".LAN_OPTIONAL.")"); @@ -568,11 +570,11 @@ private function addons() //Todo LANS $dizOther = array( - '_blank' => "Simple frontend script", - '_blank_setup' => "Create default table data during install, upgrade, uninstall etc", - '_blank_menu' => "Menu item for use in the menu manager.", - '_blank_template' => "Template to allow layout customization by themes.", - '_blank_shortcodes' => "Shortcodes for the template." + '_blank' => EPL_ADLAN_259, // Simple frontend script + '_blank_setup' => EPL_ADLAN_260, // Create default table data during install, upgrade, uninstall etc + '_blank_menu' => EPL_ADLAN_261, // Menu item for use in the menu manager. + '_blank_template' => EPL_ADLAN_262, // Template to allow layout customization by themes. + '_blank_shortcodes' => EPL_ADLAN_263, // Shortcodes for the template. ); array_unshift($list,'_blank', '_blank_setup', '_blank_menu', '_blank_template', '_blank_shortcodes'); diff --git a/e107_handlers/plugin_class.php b/e107_handlers/plugin_class.php index 11896d0637..f1158b7246 100644 --- a/e107_handlers/plugin_class.php +++ b/e107_handlers/plugin_class.php @@ -1452,33 +1452,7 @@ class e107plugin - private $plugin_addons_diz = array( - 'e_admin' => "Add form elements to existing core admin areas.", - 'e_cron' => "Include your plugin's cron in the 'Scheduled Tasks' admin area.", - 'e_notify' => "Include your plugin's notification to the Notify admin area.", - 'e_linkgen' => "Add link generation into the sitelinks area.", - 'e_frontpage' => "Add your plugin as a frontpage option.", - 'e_menu' => "Gives your plugin's menu(s) configuration options in the Menu Manager.", - 'e_featurebox' => "Allow your plugin to generate content for the featurebox plugin.", - 'e_search' => "Add your plugin to the search page.", - 'e_shortcode' => "Add a global shortcode which can be used site-wide. (use sparingly)", - 'e_module' => "Include a file within class2.php (every page of the site).", - 'e_event' => "Hook into core events and process them with custom functions.", - 'e_comment' => "Override the core commenting system.", - 'e_dashboard' => "Add something to the default admin dashboard panel.", // Admin Front-Page addon. - 'e_header' => "Have your plugin include code in the head of every page of the site. eg. css", // loaded in header prior to javascript manager. - 'e_footer' => "Have your plugin include code in the foot of every page of the site. eg. javascript", // Loaded in footer prior to javascript manager. - 'e_url' => "Give your plugin search-engine-friendly URLs", // simple mod-rewrite. - 'e_mailout' => "Allow the mailing engine to use data from your plugin's database tables.", - 'e_sitelink' => "Create dynamic navigation links for your plugin.", // sitelinks generator. - 'e_related' => "Allow your plugin to be included in the 'related' links.", - 'e_rss' => "Give your plugin an rss feed.", - 'e_upload' => "Use data from your plugin in the user upload form.", - 'e_user' => "Have your plugin include data on the user-profile page.", - 'e_library' => "Include a third-party library", - 'e_parse' => "Hook into e107's text/html parser", - 'e_output' => "Hook into all pages at the end (after closing |