はじまりの大地

This commit is contained in:
miteruzo
2024-07-08 03:32:47 +09:00
commit c616a96f53
7749 changed files with 478270 additions and 0 deletions
@@ -0,0 +1,26 @@
<?php
namespace dokuwiki\Menu\Item;
/**
* Class SendMail
*/
class SendMail extends AbstractItem
{
/** @inheritdoc */
public function __construct()
{
parent::__construct();
if (!in_array('send-mail', explode(',', tpl_getConf('pageIcons')))) {
throw new \RuntimeException("send-mail is not available");
}
unset($this->params['do']);
$this->label = tpl_getLang('send_mail');
$this->svg = tpl_incdir() . 'images/menu/email-plus.svg';
$this->id = '#';
}
}