public function getInboxLink($text) { if (!$text) { $text = JText::_('COM_KUNENA_PMS_INBOX'); } return CKunenaLink::GetSefHrefLink($this->uddeim->getLinkToBox('inbox', false), $text, '', 'follow'); }
public function getInboxLink($text) { if (!$text) { $text = JText::_('COM_KUNENA_PMS_INBOX'); } return CKunenaLink::GetSefHrefLink('index.php?option=com_community&view=inbox', $text, '', 'follow'); }
public function getInboxLink($text) { if (!$text) { $text = JText::_('COM_KUNENA_PMS_INBOX'); } global $_CB_framework; $cbpath = KUNENA_ROOT_PATH_ADMIN . '/components/com_comprofiler/plugin.foundation.php'; if (file_exists($cbpath)) { require_once $cbpath; } else { return; } $userid = $_CB_framework->myId(); $cbUser =& CBuser::getInstance((int) $userid); if ($cbUser === null) { return; } $itemid = getCBprofileItemid(); return CKunenaLink::GetSefHrefLink('index.php?option=com_comprofiler&task=userProfile&user='******'', 'follow'); }
function GetThreadPageSpecialLink($func, $catid, $threadid, $page, $limit, $name, $anker = '', $rel = 'follow', $class = '', $title='') { $kunena_config = KunenaFactory::getConfig (); if ($page == 1 || ! is_numeric ( $page ) || ! is_numeric ( $limit )) { // page 1 is identical to a link to the top of the thread $pagelink = CKunenaLink::GetSefHrefLink ( 'index.php?option=com_kunena&func=' . $func . '&catid=' . $catid . '&id=' . $threadid, $name, $title, $rel, $class, $anker ); } else { $pagelink = CKunenaLink::GetSefHrefLink ( 'index.php?option=com_kunena&func=' . $func . '&catid=' . $catid . '&id=' . $threadid . '&limit=' . $limit . '&limitstart=' . (($page - 1) * $limit), $name, $title, $rel, $class, $anker ); } return $pagelink; }
function GetUserLayoutLink($layout, $text, $title='', $rel = 'nofollow', $class = '') { $token = '&'.JUtility::getToken().'=1'; return CKunenaLink::GetSefHrefLink ( "index.php?option=com_kunena&view=user&task=change&topic_layout={$layout}{$token}", $text, $title, 'nofollow', $class ); }
function GetSearchLink($fbConfig, $func, $searchword, $limitstart, $limit, $name, $params = '', $rel = 'nofollow') { $fbConfig =& CKunenaConfig::getInstance(); $limitstr = ""; if ($limitstart > 0) { $limitstr .= "&limitstart={$limitstart}"; } if ($limit > 0 && $limit != $fbConfig->messages_per_page_search) { $limitstr .= "&limit={$limit}"; } if ($searchword) { $searchword = '&q=' . urlencode($searchword); } return CKunenaLink::GetSefHrefLink(KUNENA_LIVEURLREL . "&func={$func}{$searchword}{$params}{$limitstr}", $name, '', $rel); }
function GetStatsLink($name, $class = '', $rel = 'follow') { return CKunenaLink::GetSefHrefLink(KUNENA_LIVEURLREL . '&func=stats', $name, '', $rel, $class); }