Zurmo之商标及修改

53 篇文章 0 订阅
49 篇文章 0 订阅

1:简介

关于Zurmo的商标和Logo,官方源码中是这样说的:在 zurmo/app/protected/modules/zurmo/views/FooterView.php 48行

  Do not remove the Zurmo logo or Zurmo Copyright notice.The interactive user interfaces in original and modified versions of this program must display Appropriate Legal Notices, as required under Section 5 of the GNU Affero General Public License version 3.In accordance with Section 7(b) of the GNU Affero General Public License version 3,these Appropriate Legal Notices must retain the display of the Zurmo logo and Zurmo copyright notice. If the display of the logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices must display the words "Copyright Zurmo Inc. 2015. All rights reserved".

中文的意思是:

不要删除Zurmo标志或Zurmo版权声明。根据GNU Affero通用公共许可证版本3的第5节的要求,此程序的原始和修改版本中的交互式用户界面必须显示适当的法律声明。根据第7节( b)的GNU Affero通用公共许可证版本3,这些适当的法律声明必须保留显示的Zurmo标志和Zurmo版权声明。如果由于技术原因,徽标的显示不合理,则适当的法律声明必须显示“版权Zurmo Inc. 2015保留所有权利”。

PS : 大概的意思是叫开发者不要改动,至于改与不改,就看大家的具体的需求了。

2:如果要修改的话,步骤如下:

  1. 在相同的文件中 zurmo/app/protected/modules/zurmo/views/FooterView.php 修改如下代码:

    protected function renderContent()
    {
        $copyrightHtml  = '<a href="http://www.zurmo.com" id="credit-link" class="clearfix"><span>' .
                         'Copyright &#169; Zurmo Inc., 2015. All rights reserved.</span></a>';
        $copyrightHtml .= $this->renderPerformance();
        $content = ZurmoHtml::tag('div', array('class' => 'container'), $copyrightHtml);
        return $content;
    }
    

        $copyrightHtml  = '<a href="http://www.zurmo.com" id="credit-link" class="clearfix"><span>' .
                         'Copyright &#169; Zurmo Inc., 2015. All rights reserved.</span></a>';
    

    改成

        $copyrightHtml  = '';
    
  2. 去到 zurmo/app/protected/core/components/ClientScript.php里的85

    public function render(& $output)
    {
        if ($this->isAjaxMode())
        {
            $this->removeAllPageLoadedScriptFilesWhenRenderingInAjaxMode();
        }
        parent::render($output);
        if (!$this->isAjaxMode())
        {
            cleanAndSanitizeScriptHeader($output);   注释掉这一行,就可以了
        }
    }
    
  3. 刷新页面,就可以把每个页面底部的商标和Logo都清除了,PS:如果不行的话,清除缓存。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 5
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值