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.
 
 
 
 
 

25 lines
497 B

  1. <?php
  2. namespace dokuwiki\Menu\Item;
  3. /**
  4. * Class ImgBackto
  5. *
  6. * Links back to the originating page from a detail image view
  7. */
  8. class ImgBackto extends AbstractItem
  9. {
  10. /** @inheritdoc */
  11. public function __construct()
  12. {
  13. global $ID;
  14. parent::__construct();
  15. $this->svg = DOKU_INC . 'lib/images/menu/12-back_arrow-left.svg';
  16. $this->type = 'img_backto';
  17. $this->params = [];
  18. $this->accesskey = 'b';
  19. $this->replacement = $ID;
  20. }
  21. }