Changeset 496 for temp/test-xoops.ec-cube.net
- Timestamp:
- 2006/12/05 13:54:28 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/test-xoops.ec-cube.net/html/modules/newbb/viewtopic.php
r491 r496 245 245 246 246 if ( $can_post == 1 ) { 247 $xoopsTpl->assign(array('viewer_can_post' => true, 'forum_post_or_register' => " <a href=\"newtopic.php?forum=".$forum."\"><img src=\"".$bbImage['post']."\" alt=\""._MD_POSTNEW."\" /></a>"));247 $xoopsTpl->assign(array('viewer_can_post' => true, 'forum_post_or_register' => "newtopic.php?forum=".$forum)); 248 248 } else { 249 249 $xoopsTpl->assign('viewer_can_post', false); 250 250 if ( $show_reg == 1 ) { 251 $xoopsTpl->assign('forum_post_or_register', '<a href="'.XOOPS_URL.'/user.php?xoops_redirect='.htmlspecialchars($xoopsRequestUri).'">'._MD_REGTOPOST.'</a>');251 $xoopsTpl->assign('forum_post_or_register', XOOPS_URL.'/user.php?xoops_redirect='.htmlspecialchars($xoopsRequestUri)); 252 252 } else { 253 253 $xoopsTpl->assign('forum_post_or_register', '');
Note: See TracChangeset
for help on using the changeset viewer.
