Initial commit
This commit is contained in:
		
							
								
								
									
										24
									
								
								content/inc/Menu/Item/ImgBackto.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								content/inc/Menu/Item/ImgBackto.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
namespace dokuwiki\Menu\Item;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Class ImgBackto
 | 
			
		||||
 *
 | 
			
		||||
 * Links back to the originating page from a detail image view
 | 
			
		||||
 */
 | 
			
		||||
class ImgBackto extends AbstractItem {
 | 
			
		||||
 | 
			
		||||
    /** @inheritdoc */
 | 
			
		||||
    public function __construct() {
 | 
			
		||||
        global $ID;
 | 
			
		||||
        parent::__construct();
 | 
			
		||||
 | 
			
		||||
        $this->svg = DOKU_INC . 'lib/images/menu/12-back_arrow-left.svg';
 | 
			
		||||
        $this->type = 'img_backto';
 | 
			
		||||
        $this->params = array();
 | 
			
		||||
        $this->accesskey = 'b';
 | 
			
		||||
        $this->replacement = $ID;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user