Exemplo n.º 1
0
 /**
  * function    ckgedit_edit
  * @author     Pierre Spring <*****@*****.**>
  * edit screen using fck
  *
  * @param & $event
  * @access public
  * @return void
  */
 function ckgedit_edit(&$event)
 {
     global $INFO;
     // we only change the edit behaviour
     if ($event->data != 'edit') {
         return;
     }
     // load xml and acl
     if (!$this->_preprocess()) {
         return;
     }
     // print out the edit screen
     $this->_print();
     // prevent Dokuwiki normal processing of $ACT (it would clean the variable and destroy our 'index' value.
     $event->preventDefault();
     // index command belongs to us, there is no need to hold up Dokuwiki letting other plugins see if its for them
     $event->stopPropagation();
 }