. * * Version 0.1 * Author: Octavio Benedi Sanchez */ // Those variables will help you to load css, javascript and some page information // // $_main_title This variable will load the page title. $_main_title="Join Networks"; // You can define an array with the css files you want to load. The css must be // on the plugin css folder. // $_plugin_css=Array('plugin_1.css','plugin_2.css'); // Will load files // plugins/section_name/plugin_name/css/plugin1.css // plugins/section_name/plugin_name/css/plugin1.css $_plugin_css=Array("basic.css"); // You can define an array with the javascript files you want to load. // javascript files must be under the plugin javascript folder // $_plugin_javascript=Array('plugin_1.js','plugin_2.js'); // Will load files // plugins/section_name/plugin_name/javascript/plugin1.js // plugins/section_name/plugin_name/javascript/plugin1.js $_plugin_javascript=Array("jquery-1.3.2.min.js","ajax.js","jquery-ui-personalized-1.6rc6.min.js","join.js"); // Predefined variables: // $section contains the section folder name. // $plugin contains the plugin folder name. // $section and $plugin can be used to make a link to this plugin by just reference // $html="This plugin"; // $base_plugin contains the path that must be used as start to includes for // plugin includes that need the local path. // example: include_once $base_plugin.'php/my_include.php'; // $url_plugin contains the url base that must be used to include html items // such as images. // example: // $API_core contains the path to the core API folder. // example: include_once $API_core.'is_active.php'; // Plugin produced data will be output between a
structure. //
// Plugin output will be here. //
// Once plugin is finished core will check $html variable and output its content if any is stored. // Is better to use $html variable to avoid direct call of the plugin from browsers. include_once $base_plugin.'php/interface_generator.php'; $html=generate_interface(); /* $html='

This is a skeleton for a plugin


'; */ // $html will be printed by core if $html is defined. But you can uncomment following // lines if you know what you are doing. // echo $html; // unset($html); ?>