はじまりの大地

このコミットが含まれているのは:
miteruzo
2024-07-08 03:32:47 +09:00
コミット c616a96f53
7749個のファイルの変更478270行の追加0行の削除
+26
ファイルの表示
@@ -0,0 +1,26 @@
<?php
namespace dokuwiki\Menu\Item;
/**
* Class PrintPage
*/
class PrintPage extends AbstractItem
{
/** @inheritdoc */
public function __construct()
{
parent::__construct();
if (!in_array('print', explode(',', tpl_getConf('pageIcons')))) {
throw new \RuntimeException("print is not available");
}
unset($this->params['do']);
$this->label = tpl_getLang('print');
$this->svg = tpl_incdir() . 'images/menu/printer.svg';
$this->id = '#';
}
}