You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
	
	
		
			
				
					
						
						
							 | 
							- <?php
 - 
 - namespace dokuwiki\Action;
 - 
 - use dokuwiki\Ui\Editor;
 - use dokuwiki\Ui;
 - 
 - /**
 -  * Class Source
 -  *
 -  * Show the source of a page
 -  *
 -  * @package dokuwiki\Action
 -  */
 - class Source extends AbstractAction
 - {
 -     /** @inheritdoc */
 -     public function minimumPermission()
 -     {
 -         return AUTH_READ;
 -     }
 - 
 -     /** @inheritdoc */
 -     public function preProcess()
 -     {
 -         global $TEXT;
 -         global $INFO;
 -         global $ID;
 -         global $REV;
 - 
 -         if ($INFO['exists']) {
 -             $TEXT = rawWiki($ID, $REV);
 -         }
 -     }
 - 
 -     /** @inheritdoc */
 -     public function tplContent()
 -     {
 -         (new Editor())->show();
 -     }
 - }
 
 
  |