/** * @see EventListener::execute() */ public function execute($eventObj, $className, $eventName) { // ip address if (WCF::getUser()->getPermission('admin.general.canViewIpAddress') && $eventObj->container instanceof ThreadPage) { foreach ($eventObj->messageSidebars as $id => $sidebar) { if ($sidebar->getSidebarObject()->ipAddress) { $title = WCF::getLanguage()->getDynamicVariable('wbb.thread.ipAddress', array('username' => $sidebar->getUser()->username, 'ipAddress' => $sidebar->getSidebarObject()->ipAddress)); $sidebar->addUserContact('<a href="index.php?page=IpAddress&postID=' . $sidebar->getSidebarObject()->postID . SID_ARG_2ND . '"><img src="' . StyleManager::getStyle()->getIconPath('ipAddressS.png') . '" alt="' . $title . '" title="' . $title . '" /></a>'); } } } // thread starter icon if (MESSAGE_SIDEBAR_ENABLE_THREAD_STARTER_ICON == 1 && $eventObj->container instanceof ThreadPage && $eventObj->container->thread->userID != 0) { foreach ($eventObj->messageSidebars as $id => $sidebar) { if ($eventObj->container->thread->userID == $sidebar->getUser()->userID) { $title = WCF::getLanguage()->getDynamicVariable('wbb.thread.starter', array('username' => $sidebar->getUser()->username)); $sidebar->addUserSymbol('<img src="' . StyleManager::getStyle()->getIconPath('threadStarterS.png') . '" alt="' . $title . '" title="' . $title . '" />'); } } } // post count if (MESSAGE_SIDEBAR_ENABLE_USER_POSTS == 1) { foreach ($eventObj->messageSidebars as $id => $sidebar) { if ($sidebar->getUser()->userID != 0 && $sidebar->getSidebarObject()->posts !== null) { $sidebar->userCredits = array_merge(array(array('name' => WCF::getLanguage()->get('wcf.user.posts'), 'value' => StringUtil::formatInteger($sidebar->getSidebarObject()->posts), 'url' => 'index.php?form=Search&types[]=post&userID=' . $sidebar->getUser()->userID . SID_ARG_2ND)), $sidebar->userCredits); } } } }
/** * @see EventListener::execute() */ public function execute($eventObj, $className, $eventName) { if ($eventName == 'init') { $eventObj->sqlSelects .= 'wbb_user.posts,'; $eventObj->sqlJoins .= ' LEFT JOIN wbb' . WBB_N . '_user wbb_user ON (wbb_user.userID = user.userID) '; } else { if ($eventName == 'assignVariables') { $user = $eventObj->frame->getUser(); $eventObj->generalInformation[] = array('icon' => StyleManager::getStyle()->getIconPath('postM.png'), 'title' => WCF::getLanguage()->get('wcf.user.posts'), 'value' => '<a href="index.php?form=Search&types[]=post&userID=' . $user->userID . SID_ARG_2ND . '" title="' . WCF::getLanguage()->get('wcf.user.profile.search', array('$username' => StringUtil::encodeHTML($user->username))) . '">' . StringUtil::formatInteger(intval($user->posts)) . ($user->getProfileAge() > 1 ? ' ' . WCF::getLanguage()->get('wcf.user.postsPerDay', array('$posts' => StringUtil::formatDouble($user->posts / $user->getProfileAge()))) : '') . '</a>'); // show last 5 posts if (PROFILE_SHOW_LAST_POSTS) { require_once WBB_DIR . 'lib/data/post/ViewablePost.class.php'; require_once WBB_DIR . 'lib/data/board/Board.class.php'; $boardIDArray = Board::getAccessibleBoardIDArray(array('canViewBoard', 'canEnterBoard', 'canReadThread')); if (count($boardIDArray)) { $posts = array(); $sql = "SELECT\t\tpost.postID, post.time,\n\t\t\t\t\t\t\t\tCASE WHEN post.subject <> '' THEN post.subject ELSE thread.topic END AS subject\n\t\t\t\t\t\tFROM\t\twbb" . WBB_N . "_user_last_post user_last_post\n\t\t\t\t\t\tLEFT JOIN\twbb" . WBB_N . "_post post\n\t\t\t\t\t\tON\t\t(post.postID = user_last_post.postID)\n\t\t\t\t\t\tLEFT JOIN\twbb" . WBB_N . "_thread thread\n\t\t\t\t\t\tON\t\t(thread.threadID = post.threadID)\n\t\t\t\t\t\tWHERE\t\tuser_last_post.userID = " . $user->userID . "\n\t\t\t\t\t\t\t\tAND post.isDeleted = 0\n\t\t\t\t\t\t\t\tAND post.isDisabled = 0\n\t\t\t\t\t\t\t\tAND thread.boardID IN (" . implode(',', $boardIDArray) . ")\n\t\t\t\t\t\t\t\t" . (count(WCF::getSession()->getVisibleLanguageIDArray()) ? "AND thread.languageID IN (" . implode(',', WCF::getSession()->getVisibleLanguageIDArray()) . ")" : "") . "\n\t\t\t\t\t\tORDER BY\tuser_last_post.time DESC"; $result = WCF::getDB()->sendQuery($sql, 5); while ($row = WCF::getDB()->fetchArray($result)) { $posts[] = new ViewablePost(null, $row); } if (count($posts)) { WCF::getTPL()->assign(array('posts' => $posts, 'user' => $user)); WCF::getTPL()->append('additionalContent2', WCF::getTPL()->fetch('userProfileLastPosts')); } } } } } }
/** * Returns the icon html code. * * @return string */ protected function getImage(User $user, $imageSize = 'M') { $title = WCF::getLanguage()->get('wcf.user.profile.' . $this->type . '.title', array('$username' => StringUtil::encodeHTML($user->username))); if (class_exists('StyleManager')) { return '<img src="' . StyleManager::getStyle()->getIconPath($this->type . $imageSize . '.png') . '" alt="" title="' . $title . '" />'; } return '<img src="' . RELATIVE_WCF_DIR . 'icon/' . $this->type . $imageSize . '.png' . '" alt="" title="' . $title . '" />'; }
/** * @see EventListener::execute() */ public function execute($eventObj, $className, $eventName) { if (MODULE_TEAM_LIST) { WCF::getCache()->addResource('teamCount', WCF_DIR . 'cache/cache.teamCount.php', WCF_DIR . 'lib/system/cache/CacheBuilderTeamCount.class.php', 0, 1800); if (WCF::getCache()->get('teamCount') > 0) { WCF::getTPL()->append('additionalTabs', '<li><a href="index.php?page=Team' . SID_ARG_2ND . '"><img src="' . StyleManager::getStyle()->getIconPath('teamM.png') . '" alt="" /> <span>' . WCF::getLanguage()->get('wcf.user.team.title') . '</span></a></li>'); } } }
/** * Generates an image button. * * @see UserOptionOutput::getShortOutput() */ protected function getImage(User $user, $value, $imageSize = 'M') { if (empty($value) || $value == 'http://') { return ''; } $value = self::getURL($value); $title = WCF::getLanguage()->get('wcf.user.profile.homepage.title', array('$username' => StringUtil::encodeHTML($user->username))); return '<a href="' . StringUtil::encodeHTML($value) . '"><img src="' . StyleManager::getStyle()->getIconPath('website' . $imageSize . '.png') . '" alt="" title="' . $title . '" /></a>'; }
/** * @see EventListener::execute() */ public function execute($eventObj, $className, $eventName) { // pm link if (MODULE_PM) { foreach ($eventObj->messageSidebars as $id => $sidebar) { if ($sidebar->getUser()->userID) { $sidebar->addUserContact('<a href="index.php?form=PMNew&userID=' . $sidebar->getUser()->userID . SID_ARG_2ND . '"><img src="' . StyleManager::getStyle()->getIconPath('pmEmptyS.png') . '" alt="' . WCF::getLanguage()->get('wcf.pm.profile.sendPM') . '" title="' . WCF::getLanguage()->get('wcf.pm.profile.sendPM') . '" /></a>'); } } } }
/** * @see EventListener::execute() */ public function execute($eventObj, $className, $eventName) { if (MODULE_PM == 1) { if (WCF::getUser()->userID) { $user = $eventObj->getUser(); // check user otpions and permissions if (WCF::getUser()->userID != $user->userID && $user->getPermission('user.pm.canUsePm') && $user->acceptPm && !$user->ignoredUser && (!$user->onlyBuddyCanPm || $user->buddy) && $user->pmTotalCount < $user->getPermission('user.pm.maxPm')) { WCF::getTPL()->append('additionalUserCardOptions', '<li><a href="index.php?form=PMNew&userID=' . $user->userID . SID_ARG_2ND . '"><img src="' . StyleManager::getStyle()->getIconPath('pmM.png') . '" alt="" /> <span>' . WCF::getLanguage()->get('wcf.pm.profile.sendPM') . '</span></a></li>'); } } } }
/** * @see UserOptionOutput::getShortOutput() */ public function getShortOutput(User $user, $optionData, $value) { if ($value == 1) { $title = WCF::getLanguage()->getDynamicVariable('wcf.user.profile.gender.male', array('username' => $user->username)); return '<img src="' . StyleManager::getStyle()->getIconPath('genderMaleS.png') . '" alt="' . $title . '" title="' . $title . '" />'; } else { if ($value == 2) { $title = WCF::getLanguage()->getDynamicVariable('wcf.user.profile.gender.female', array('username' => $user->username)); return '<img src="' . StyleManager::getStyle()->getIconPath('genderFemaleS.png') . '" alt="' . $title . '" title="' . $title . '" />'; } else { return ''; } } }
/** * Gets the solutions rating result for template output. * * @return string solution rating result for template output */ public function getMyRatingOutput() { $score = $this->myscore; $roundedScore = $score === false ? 0 : round($score, 0); $identifier = $this->ratingID ? $this->ratingID : rand(-1, -999); $identifier = 'contestRating' . $identifier; return '<img id="' . $identifier . '" src="' . StyleManager::getStyle()->getIconPath('contestRating' . $roundedScore . '.png') . '" alt="" /> <script type="text/javascript" src="' . RELATIVE_WCF_DIR . 'js/ContestRating.class.js"></script> <script type="text/javascript"> //<![CDATA[ new ContestRating(\'' . $identifier . '\', ' . intval($this->optionID) . ', ' . $roundedScore . '); //]]> </script>'; }
public static function getIconPath($icons) { if (self::$iconCache === null) self::$iconCache = WCF::getCache()->get('icon-'.PACKAGE_ID.'-'.StyleManager::getStyle()->styleID); $icon = ''; $icons = ArrayUtil::trim(explode(',', $icons)); foreach ($icons as $icon) { if (isset(self::$iconCache[$icon])) return self::$iconCache[$icon]; } return RELATIVE_WCF_DIR.'icon/'.$icon; }
/** * @see UserOptionOutput::getShortOutput() */ public function getShortOutput(User $user, $optionData, $value) { if ($optionData['optionType'] == 'birthday') { // show cake icon if (empty($value) || $value == '0000-00-00') { return ''; } $age = 0; $date = self::splitDate($value); if ($date['year']) { $age = self::calcAge($date['year'], $date['month'], $date['day']); } if ($date['month'] == intval(DateUtil::formatDate('%m', null, false, true)) && $date['day'] == DateUtil::formatDate('%e', null, false, true)) { WCF::getTPL()->assign(array('age' => $age, 'username' => $user->username)); return '<img src="' . StyleManager::getStyle()->getIconPath('birthdayS.png') . '" alt="' . WCF::getLanguage()->getDynamicVariable('wcf.user.profile.birthday') . '" title="' . WCF::getLanguage()->getDynamicVariable('wcf.user.profile.birthday') . '" />'; } } else { return $this->getOutput($user, $optionData, $value); } }
/** * Parses the menu items. */ protected function parseMenuItems() { foreach ($this->menuItems as $key => $item) { // get relative path $path = $applicationPath = ''; if (empty($item['packageDir'])) { $path = RELATIVE_WCF_DIR; } else { if ($item['packageID'] != PACKAGE_ID) { $path = $applicationPath = FileUtil::getRealPath(RELATIVE_WCF_DIR . $item['packageDir']); } } // add path and session id to link if (!empty($applicationPath) && !preg_match('~^(?:https?://|/)~', $item['menuItemLink'])) { $item['menuItemLink'] = $applicationPath . $item['menuItemLink']; } // append session id if (!preg_match('~^https?://~', $item['menuItemLink'])) { if (strpos($item['menuItemLink'], '?') !== false) { $item['menuItemLink'] .= SID_ARG_2ND_NOT_ENCODED; } else { $item['menuItemLink'] .= SID_ARG_1ST; } } // add path to image link if (!empty($item['menuItemIconS'])) { $item['menuItemIconS'] = StyleManager::getStyle()->getIconPath($item['menuItemIconS']); } if (!empty($item['menuItemIconM'])) { $item['menuItemIconM'] = StyleManager::getStyle()->getIconPath($item['menuItemIconM']); } // check active menu item $item['activeMenuItem'] = $item['menuItem'] == self::$activeMenuItem; $this->menuItems[$key] = $item; } }
/** * @see EventListener::execute() */ public function execute($eventObj, $className, $eventName) { if (MODULE_USERS_ONLINE == 1) { if ($eventObj->frame->getUser()->isOnline()) { $data = array('userID' => $eventObj->frame->getUser()->userID, 'requestURI' => $eventObj->frame->getUser()->requestURI, 'requestMethod' => $eventObj->frame->getUser()->requestMethod); $location = new UsersOnlineLocation(); $location->cacheLocation($data); $userLocation = $location->getLocation($data); if (!empty($userLocation)) { $eventObj->generalInformation[] = array('icon' => StyleManager::getStyle()->getIconPath('onlineM.png'), 'title' => WCF::getLanguage()->get('wcf.user.profile.currentLocation'), 'value' => $userLocation); } // show ip address and user agent if (WCF::getUser()->getPermission('admin.general.canViewIpAddress')) { if ($eventObj->frame->getUser()->ipAddress) { $eventObj->generalInformation[] = array('icon' => StyleManager::getStyle()->getIconPath('ipAddressM.png'), 'title' => WCF::getLanguage()->get('wcf.usersOnline.ipAddress'), 'value' => StringUtil::encodeHTML($eventObj->frame->getUser()->ipAddress)); } if ($eventObj->frame->getUser()->userAgent) { $icon = UsersOnlineUtil::getUserAgentIcon($eventObj->frame->getUser()->userAgent); $eventObj->generalInformation[] = array('icon' => $icon ? StyleManager::getStyle()->getIconPath('browsers/' . $icon . 'M.png') : '', 'title' => WCF::getLanguage()->get('wcf.usersOnline.userAgent'), 'value' => StringUtil::encodeHTML($eventObj->frame->getUser()->userAgent)); } } } } }
?> </div> <?php } ?> <div class="pageOptions"> <?php if (isset($this->v['additionalPageOptions'])) { echo $this->v['additionalPageOptions']; } ?> <a href="index.php?action=BoardMarkAllAsRead&t=<?php echo SECURITY_TOKEN; echo SID_ARG_2ND; ?> "><img src="<?php echo StyleManager::getStyle()->getIconPath('boardMarkAsReadS.png'); ?> " alt="" /> <span>Alle Foren als gelesen markieren</span></a> </div> </div> <?php $outerTemplateNamedb09557baf4e76ac06f6d67b8dc1cacb829f6c57 = $this->v['tpl']['template']; $this->includeTemplate('footer', array(), false ? 1 : 0); $this->v['tpl']['template'] = $outerTemplateNamedb09557baf4e76ac06f6d67b8dc1cacb829f6c57; $this->v['tpl']['includedTemplates']['footer'] = 1; ?> </body> </html>
* Template: boardQuickJump * Compiled at: Tue, 13 Aug 2013 17:19:27 +0000 * * DO NOT EDIT THIS FILE */ $this->v['tpl']['template'] = 'boardQuickJump'; if (!isset($this->pluginObjects['TemplatePluginFunctionHtmloptions'])) { require_once WCF_DIR . 'lib/system/template/plugin/TemplatePluginFunctionHtmloptions.class.php'; $this->pluginObjects['TemplatePluginFunctionHtmloptions'] = new TemplatePluginFunctionHtmloptions(); } ?> <form method="get" action="index.php" class="quickJump"> <div> <input type="hidden" name="page" value="Board" /> <select name="boardID" onchange="if (this.options[this.selectedIndex].value != 0) this.form.submit()"> <option value="0">Jump to:</option> <option value="0">-----------------------</option> <?php echo $this->pluginObjects['TemplatePluginFunctionHtmloptions']->execute(array('options' => $this->v['boardQuickJumpOptions'], 'selected' => $this->v['board']->boardID, 'disableEncoding' => true), $this); ?> </select> <?php echo SID_INPUT_TAG; ?> <input type="image" class="inputImage" src="<?php echo StyleManager::getStyle()->getIconPath('submitS.png'); ?> " alt="Submit" /> </div> </form>
/** * @see WCF::assignDefaultTemplateVariables() */ protected function assignDefaultTemplateVariables() { parent::assignDefaultTemplateVariables(); self::getTPL()->registerPrefilter('icon'); self::getTPL()->assign(array('timezone' => DateUtil::getTimezone(), 'stylePickerOptions' => SHOW_STYLE_CHOOSER ? StyleManager::getAvailableStyles() : array())); }
} ?> </ul> <div class="buttonBar"> <div class="smallButtons"> <ul> <li class="extraButton"><a href="#top" title="Go to the top of the page"><img src="<?php echo StyleManager::getStyle()->getIconPath('upS.png'); ?> " alt="Go to the top of the page" /> <span class="hidden">Go to the top of the page</span></a></li> <li><a href="index.php?page=UserFriendList&userID=<?php echo $this->v['userID']; echo SID_ARG_2ND; ?> " title="Show all friends"><img src="<?php echo StyleManager::getStyle()->getIconPath('friendsS.png'); ?> " alt="" /> <span>Show all friends</span></a></li> </ul> </div> </div> </div> <?php } ?> <?php if (isset($this->v['additionalContent3'])) { echo $this->v['additionalContent3']; } ?>
/** * Returns the right file type icon for the given attachment. * * @param array $data * @return string */ protected static function getFileTypeIcon($data) { // get file extension $extension = StringUtil::firstCharToUpperCase(StringUtil::toLowerCase(StringUtil::substring($data['attachmentName'], StringUtil::lastIndexOf($data['attachmentName'], '.') + 1))); // get file type icon if (file_exists(WCF_DIR . 'icon/fileTypeIcon' . $extension . 'M.png')) { return StyleManager::getStyle()->getIconPath('fileTypeIcon' . $extension . 'M.png'); } else { foreach (self::$fileTypeGroups as $key => $group) { if (in_array($extension, $group)) { return StyleManager::getStyle()->getIconPath('fileTypeIcon' . $key . 'M.png'); } } return StyleManager::getStyle()->getIconPath('fileTypeIconDefaultM.png'); } }
/** * @see EventListener::execute() */ public function execute($eventObj, $className, $eventName) { if (!WCF::getUser()->userID && GUEST_STYLE) StyleManager::changeStyle(GUEST_STYLE, true); }
/** * @see Taggable::getLargeSymbol() */ public function getLargeSymbol() { return StyleManager::getStyle()->getIconPath('threadL.png'); }
} } ?> document.observe("dom:loaded", function() { }); // ie fix document.observe("dom:loaded", function() { multiQuoteManagerObj = new MultiQuoteManager(quotes, { langInsertQuote: 'Zitat in Text einfügen', langRemoveQuote: 'Zitat entfernen', langNoQuotes: 'Sie haben keine Zitate gespeichert.', langSelectedQuotes: '(count > 1 ? "Die ausgewählten Zitate werden" : "Das ausgewählte Zitat wird") + " nach dem Absenden des Formulars gelöscht."', imgInsertSrc: '<?php echo StyleManager::getStyle()->getIconPath('messageS.png'); ?> ', imgRemoveSrc: '<?php echo StyleManager::getStyle()->getIconPath('deleteS.png'); ?> ' }); if (typeof(multiQuoteObj) != 'undefined') { multiQuoteObj.setManager(multiQuoteManagerObj); } if (!$('multiQuoteList').down('li') && !$('multiQuoteTab').hasClassName('activeTabMenu')) { showQuoteTab = false; //$('multiQuoteTab').setOpacity('0.5'); $('multiQuoteTab').addClassName('disabled'); var a = $('multiQuoteTab').down('a'); if (Prototype.Browser.IE) a.setOpacity('0.5'); a.onclick = '';
" alt="" title="<?php $this->tagStack[] = array('lang', array('username' => StringUtil::encodeHTML($this->v['sidebar']->getUser()->username))); ob_start(); ?> wcf.user.online<?php $_langc825dd8dde37f1c72ea1bd1037e6d0ac81aba22f = ob_get_contents(); ob_end_clean(); echo WCF::getLanguage()->getDynamicVariable($_langc825dd8dde37f1c72ea1bd1037e6d0ac81aba22f, $this->tagStack[count($this->tagStack) - 1][1]); array_pop($this->tagStack); ?> " /> <?php } else { ?> <img src="<?php echo StyleManager::getStyle()->getIconPath('offlineS.png'); ?> " alt="" title="<?php $this->tagStack[] = array('lang', array('username' => StringUtil::encodeHTML($this->v['sidebar']->getUser()->username))); ob_start(); ?> wcf.user.offline<?php $_lang4459f995d283d0bac4ebbfb51c8b22ba1df499c5 = ob_get_contents(); ob_end_clean(); echo WCF::getLanguage()->getDynamicVariable($_lang4459f995d283d0bac4ebbfb51c8b22ba1df499c5, $this->tagStack[count($this->tagStack) - 1][1]); array_pop($this->tagStack); ?> " /> <?php } ?>
/** * Loads the cached styles. */ protected static function getCache() { if (self::$cache === null) { WCF::getCache()->addResource('style', WCF_DIR . 'cache/cache.style.php', WCF_DIR . 'lib/system/cache/CacheBuilderStyle.class.php'); self::$cache = WCF::getCache()->get('style'); } }
?> js/MultiQuote.class.js"></script> <script type="text/javascript"> //<![CDATA[ var quoteData = new Hash(); document.observe("dom:loaded", function() { multiQuoteObj = new MultiQuote(quoteData, '<?php if (isset($this->v['formURL'])) { echo $this->pluginObjects['TemplatePluginModifierEncodejs']->execute(array($this->v['formURL']), $this); } ?> ', { langButtonQuote : 'Quote', langButtonQuoteMultiple : '"Quote" + (objectValue.quotes > 0 ? " ("+objectValue.quotes+")" : "")', langQuoteDirectly : 'Quote message directly', langMarkToQuote : 'Select message to quote', langQuoteTextDirectly : 'Quote selected text directly', langMarkTextToQuote : 'Quote selected text', langRemoveQuotes : 'Remove selected quotes', langQuoteParagraphDirectly : 'Quote selected paragraph directly', langMarkParagraphToQuote : 'Quote selected paragraph', langQuoteParagraphsDirectly : 'Quote paragraphs directly', langMarkParagraphsToQuote : 'Quote paragraphs', iconMessageQuoteOptions : '<?php echo StyleManager::getStyle()->getIconPath('messageQuoteOptionsS.png'); ?> ' }); }); //]]> </script>
/** * Returns the right file type icon for the given attachment. * * @return string */ public function getFileTypeIcon() { if ($this->fileTypeIcon === null) { $this->fileTypeIcon = ''; // get file extension $extension = StringUtil::firstCharToUpperCase(StringUtil::toLowerCase(StringUtil::substring($this->attachmentName, StringUtil::lastIndexOf($this->attachmentName, '.') + 1))); // get file type icon if (file_exists(WCF_DIR . 'icon/fileTypeIcon' . $extension . 'M.png')) { $this->fileTypeIcon = 'fileTypeIcon' . $extension . 'M.png'; } else { foreach (self::$fileTypeGroups as $key => $group) { if (in_array($extension, $group)) { $this->fileTypeIcon = 'fileTypeIcon' . $key . 'M.png'; break; } } if (empty($this->fileTypeIcon)) { $this->fileTypeIcon = 'fileTypeIconDefaultM.png'; } } } if (!class_exists('StyleManager')) { return RELATIVE_WCF_DIR . 'icon/' . $this->fileTypeIcon; } else { return StyleManager::getStyle()->getIconPath($this->fileTypeIcon); } }
/** * Initializes the user status symbols. */ protected function initUserSymbols() { // gender icon if ($this->user->getUserOption('gender')) { $title = WCF::getLanguage()->getDynamicVariable('wcf.user.profile.gender.' . ($this->user->getUserOption('gender') == 1 ? 'male' : 'female'), array('username' => $this->user->username)); $this->userSymbols[] = '<img src="' . StyleManager::getStyle()->getIconPath('gender' . ($this->user->getUserOption('gender') == 1 ? 'Male' : 'Female') . 'S.png') . '" alt="" title="' . $title . '" /> <span class="hidden">' . $title . '</span>'; } // birthday icon if ($this->user->birthday) { if (substr($this->user->birthday, 5) == DateUtil::formatDate('%m-%d', TIME_NOW, false, true)) { $title = WCF::getLanguage()->getDynamicVariable('wcf.user.profile.birthday', array('username' => $this->user->username, 'age' => $this->user->getAge())); $this->userSymbols[] = '<img src="' . StyleManager::getStyle()->getIconPath('birthdayS.png') . '" alt="" title="' . $title . '" /> <span class="hidden">' . $title . '</span>'; } } // friend icon if ($this->user->buddy) { $title = WCF::getLanguage()->getDynamicVariable('wcf.user.profile.friend', array('username' => $this->user->username)); $this->userSymbols[] = '<img src="' . StyleManager::getStyle()->getIconPath('friendsS.png') . '" alt="" title="' . $title . '" /> <span class="hidden">' . $title . '</span>'; } // banned icon if ($this->user->banned) { $title = WCF::getLanguage()->getDynamicVariable('wcf.user.profile.banned', array('username' => $this->user->username)); $this->userSymbols[] = '<img src="' . StyleManager::getStyle()->getIconPath('bannedS.png') . '" alt="" title="' . $title . '" /> <span class="hidden">' . $title . '</span>'; } }
echo StringUtil::formatNumeric($this->v['thread']->views); ?> </td> <td class="columnLastPost"> <?php if ($this->v['thread']->replies != 0) { ?> <div class="containerIconSmall"> <a href="index.php?page=Thread&threadID=<?php echo $this->v['thread']->threadID; ?> &action=lastPost<?php echo SID_ARG_2ND; ?> "><img src="<?php echo StyleManager::getStyle()->getIconPath('goToLastPostS.png'); ?> " alt="" title="Zum letzten Beitrag dieses Themas springen" /></a> </div> <div class="containerContentSmall"> <p>Von <?php if ($this->v['thread']->lastPosterID) { ?> <a href="index.php?page=User&userID=<?php echo $this->v['thread']->lastPosterID; echo SID_ARG_2ND; ?> "><?php echo StringUtil::encodeHTML($this->v['thread']->lastPoster); ?> </a><?php
?> boardlistCols-3<?php } else { if (BOARD_LIST_ENABLE_LAST_POST || BOARD_LIST_ENABLE_STATS) { ?> boardlistCols-2<?php } } ?> "> <div class="containerIcon"> <img src="<?php if ($this->v['board']->image && !$this->v['board']->imageShowAsBackground) { echo StringUtil::encodeHTML($this->v['board']->image); } else { echo StyleManager::getStyle()->getIconPath('boardRedirectM.png'); } ?> " alt="" /> </div> <div class="containerContent"> <?php if ($this->v['depth'] > 3) { ?> <h6 class="boardTitle"><?php } else { ?> <h<?php echo $this->v['depth'] + 2; ?> class="boardTitle"><?php
/** * @see Page::readData() */ public function readData() { parent::readData(); $this->availableStyles = StyleManager::getAvailableStyles(); }
</p></td> <td class="columnUserAgent" style="width: 30%"> <div class="containerIcon"> <?php if ($this->v['spider']['userAgentIcon']) { ?> <img src="<?php ob_start(); ?> browsers/<?php echo $this->v['spider']['userAgentIcon']; ?> M.png<?php $_iconf00f3484ecd3f1af89945e186df1468d89ef3025 = ob_get_contents(); ob_end_clean(); echo StyleManager::getStyle()->getIconPath($_iconf00f3484ecd3f1af89945e186df1468d89ef3025); ?> " alt="" /><?php } ?> </div> <div class="containerContent"> <p><?php echo StringUtil::encodeHTML($this->v['spider']['userAgent']); ?> </p> </div> </td> <?php } ?>