ajout de la partie slam dans le dossier web
This commit is contained in:
		
							
								
								
									
										24
									
								
								ap23/web/doku/inc/Action/Revisions.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								ap23/web/doku/inc/Action/Revisions.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | ||||
| <?php | ||||
|  | ||||
| namespace dokuwiki\Action; | ||||
|  | ||||
| /** | ||||
|  * Class Revisions | ||||
|  * | ||||
|  * Show the list of old revisions of the current page | ||||
|  * | ||||
|  * @package dokuwiki\Action | ||||
|  */ | ||||
| class Revisions extends AbstractAction { | ||||
|  | ||||
|     /** @inheritdoc */ | ||||
|     public function minimumPermission() { | ||||
|         return AUTH_READ; | ||||
|     } | ||||
|  | ||||
|     /** @inheritdoc */ | ||||
|     public function tplContent() { | ||||
|         global $INPUT; | ||||
|         html_revisions($INPUT->int('first')); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user