| @@ 277-279 (lines=3) @@ | ||
| 274 | $link_blogs = '<a href="' . XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/view.blogs.php' . (empty($category_id) ? '' : '/c' . $category_id) . (empty($uid) ? '' : '/u' . $uid) . '" title="' . planet_constant('MD_BLOGS') . '">' . planet_constant('MD_BLOGS') . '</a>'; |
|
| 275 | $xoopsTpl->assign('link_blogs', $link_blogs); |
|
| 276 | ||
| 277 | if (empty($uid) && is_object($xoopsUser)) { |
|
| 278 | $xoopsTpl->assign('link_bookmark', '<a href="' . XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/index.php' . URL_DELIMITER . 'u' . $xoopsUser->getVar('uid') . '" title="' . planet_constant('MD_BOOKMARKS') . '" target="_self">' . planet_constant('MD_BOOKMARKS') . '</a>'); |
|
| 279 | } |
|
| 280 | ||
| 281 | if (1 == $helper->getConfig('newblog_submit') || is_object($xoopsUser)) { |
|
| 282 | $xoopsTpl->assign('link_submit', '<a href="' . XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/action.blog.php" title="' . _SUBMIT . '" target="_blank">' . _SUBMIT . '</a>'); |
|
| @@ 221-223 (lines=3) @@ | ||
| 218 | . '</a>'; |
|
| 219 | $xoopsTpl->assign('link_switch', $link_switch); |
|
| 220 | ||
| 221 | if (empty($uid) && is_object($xoopsUser)) { |
|
| 222 | $xoopsTpl->assign('link_bookmark', '<a href="' . XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/view.blogs.php' . URL_DELIMITER . 'u' . $xoopsUser->getVar('uid') . '" title="' . planet_constant('MD_BOOKMARKS') . '" target="_self">' . planet_constant('MD_BOOKMARKS') . '</a>'); |
|
| 223 | } |
|
| 224 | ||
| 225 | if (1 == $helper->getConfig('newblog_submit') || is_object($xoopsUser)) { |
|
| 226 | $xoopsTpl->assign('link_submit', '<a href="' . XOOPS_URL . '/modules/' . $GLOBALS['moddirname'] . '/action.blog.php" title="' . _SUBMIT . '" target="_blank">' . _SUBMIT . '</a>'); |
|