*/ /** * All DokuWiki plugins to extend the admin function * need to inherit from this class */ if(!defined('DOKU_INC')) die(); class admin_plugin_xcom extends DokuWiki_Admin_Plugin { private $local_user; function __construct() { global $INFO; $this->local_user = $INFO['client']; } function forAdminOnly(){ return false; } /** * handle user request */ function handle() { } /** * output appropriate html */ function html() { /** info panels */ /** Instructions */ ptln(''); /** Functions */ ptln(''); /** Toggles and function buttons */ ptln('
'); ptln(' '); ptln(' '); ptln(''); ptln(''); ptln(''); ptln(''); ptln(''); ptln(''); ptln(''); ptln('
'); ptln('
'); ptln(' '); ptln(' '); formSecurityToken(); /** credentials */ // Remote Credentials $textboxsize = $this->getConf('textbox_size'); ptln( $this->getLang('url').':  '); ptln( $this->getLang('user').':  '); ptln( $this->getLang('pwd').': '); ptln(' '); ptln('
'); /** Selection inputs and locals */ ptln ('
'); ptln('
'); ptln(' ' ); ptln('' . $this->getLang('pageid').':  '); ptln('' . $this->getLang('options').': '); ptln('
'); ptln(' ' ); ptln('  ' . $this->getLang('debug') . ' '); // Local User and Password ptln ('
   '); ptln( ' '); ptln( $this->getLang('locuser').':  '); ptln($this->getLang('localpwd'). ': '); ptln(' '); ptln('   
') ; // end local_side ptln('
'); //end xcom_sites ptln('
'); ptln( '
'); // end Selection inputs and locals /** Output */ ptln('
'); // ptln ('
'); ptln(''); //close/end results ptln( '
'); /** Status Bar */ ptln('
'); ptln($this->getLang('clear') . ': '); ptln('[' . $this->getLang('pre') . '] '); ptln('[' . $this->getLang('html') . '] '); ptln('[' . $this->getLang('editable') . ']  '); ptln('[' . $this->getLang('action') . '] '); ptln(' ' . $this->getLang('query') . ':'); ptln(' '); // ptln('[' . $this->getLang('send') .']  '); ptln( '
'); } }