xrow/cryptemail
Composer 安装命令:
composer require xrow/cryptemail
包简介
eZ Publish legacy extension providing cryptemail
README 文档
README
<code>
/*
Crypt Email for eZ publish
Copyright (C) 2005 xrow GbR, Hannover Germany, http://xrow.de
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/
### BEGIN INIT INFO
# Provides: cryptemail
# Depends: Javascript engine in browser
# OS: ALL
# Version: > eZ 3.5
# Short-Description: spam protection spamfilter
# Description: A better SPAM protection with encryted mailto: part.
# Resources: http://pubsvn.ez.no/community/trunk/extension/cryptemail/
### END INIT INFO
</code>
#### Setup ####
activate extension
#### Usage ####
Any time in a template do.
<code>
{'... <a href="mailto:bjoern@example.com">bjoern@example.com</a> ...'|cryptemail}
</code>
or
<code>
{'... bjoern@example.com ...'|cryptemail}
</code>
Result:
<code>
... <script type="text/javascript"><!--//--><![CDATA[//><!--
showmail('7583887891874197918896237778', 'bjoern<span class="spamfilter">SPAMFILTER</span>@example.com', '', '', '' )
//--><!]]></script> ...
</code>
If you would like to have email address without spam filter:
add in ezoe_attributes.ini.append.php something like that (important for us: LinkType[mailtonospamfilter:]=Mail (no spam filter))
[Attribute_href]
LinkType[]
LinkType[eznode://]=eznode
LinkType[ezobject://]=ezobject
LinkType[ftp://]=Ftp
LinkType[file://://]=File
LinkType[http://]=Http
LinkType[https://]=Https
LinkType[mailto:]=Mail
LinkType[mailtonospamfilter:]=Mail (no spam filter)
LinkType[#]=Anchor
LinkType[0]=Other
In eZ OE choose for a link 'Mail (no spam filter)' and enter your email...
xrow/cryptemail 适用场景与选型建议
xrow/cryptemail 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.27k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2017 年 04 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 xrow/cryptemail 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 xrow/cryptemail 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 3.27k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2017-04-27