Usage: is the name of the preformatted Habari plugin you want '', 'name'=>'$argv[1]', 'license'=>'Apache License 2.0', 'author'=>'', 'version'=>'0.1', ); } } function action_update_check() { Update::add( '$argv[1]', '$myplugin_uuid', \$this->info->version ); ); } public function filter_plugin_config( \$actions, \$plugin_id ) { if ( \$plugin_id == \$this->plugin_id() ) { \$actions[] = _('Configure'); } return \$actions; } public function action_plugin_ui( \$plugin_id, \$action ) { if ( \$plugin_id == \$this->plugin_id() ) { switch ( \$action ) { case _('Configure') : \$ui = new FormUI( strtolower( get_class( \$this ) ) ); \$customvalue= \$ui->add( 'text', 'customvalue', _('Your custom value:') ); \$ui->on_success( array( \$this, 'updated_config' ) ); \$ui->out(); break; } } } public function updated_config( $ui ) { return true; } ?> EOT; echo $myplugin; } ?>