예제 #1
0
 protected static function _templateHook($hookName, &$contents, array $hookParams, XenForo_Template_Abstract $template)
 {
     self::$_copyrightNotice = '';
     switch ($hookName) {
         case 'page_container_breadcrumb_bottom':
             if (self::$_copyrightNotice && self::$_setCopyright === null) {
                 $contents = $contents . self::$_copyrightNotice;
                 self::$_setCopyright = true;
             }
             break;
     }
 }
예제 #2
0
 protected static function _setCopyrightAddonList($copyrightNotice = '')
 {
     if ($copyrightNotice) {
         self::$_copyrightNotice = (string) $copyrightNotice;
     }
 }