matthiaslohr / custom-links
插件,允许您向Roundcube添加自定义链接。
1.0.0
2023-12-14 08:34 UTC
README
为您的Roundcube实例添加自定义链接的Roundcube插件。
安装
要在您的roundcube实例中使用此插件,您可以使用以下安装方法之一
使用composer
使用 composer,您可以使用以下命令安装插件,需要在roundcube根目录下执行
composer require matthiaslohr/custom-links
有关composer包的更多信息,请参阅 https://packagist.org.cn/packages/matthiaslohr/custom-links。
手动安装
要手动安装此插件,请下载源代码并将其解压缩到plugins/custom_links
。
配置
该插件可以添加任意数量的额外链接到任务栏。为此,必须将配置变量custom_links_taskbar
设置为如下所示的关联数组列表。以下属性可以设置
label
:要显示的链接的标签(将不会进行翻译)。href
:链接指向的目标。target
:链接的目标框架(_blank
用于新窗口/标签页,_self
用于在当前窗口打开)。fontawesomeIcon
:添加fontawesome图标。
示例配置
$config['custom_links_taskbar'] = array(array(
"label" => "Visit mlohr.com",
"href" => "https://mlohr.com/",
"target" => "_blank",
"fontawesomeIcon" => "fas fa-external-link-alt"
));
许可协议
此项目根据GNU GPLv3许可证发布。
版权(c)2021-2023由Matthias Lohr <mail@mlohr.com>