1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

美化 Add clock to footer

本帖由 admin2012-02-23 发布。版面名称:XenForo中文版

  1. admin

    admin 管理员 管理成员

    注册:
    2011-11-01
    帖子:
    3,671
    赞:
    2,425
    Simply put, this adds the date and time to your footer. Clicking it will take you to the Preferences page, where you can change the time zone.
    (Note: I'm hoping to adjust it to make it to show just the time once I figure out that code.)

    To install, go to <ul class="footerLinks"> in the "footer" template, and add the following code before the </ul> tag.
    代码:
    <li><a href="{xen:link 'account/preferences'}"><div class="time muted">{xen:datetime $datetime, 'absolute'}</div></a></li>
    Then...you're done
     
正在加载...