Changeset 744
- Timestamp:
- 12/25/07 11:25:42 (11 months ago)
- Files:
-
- 1 modified
-
trunk/common/mvblog.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/common/mvblog.php
r733 r744 274 274 if ($this->limit_text($text)) { 275 275 echo $text; 276 ?><br /><br /><a href="<?php echo $link; ?>" class="link_readmore"><?php echo gettext("read more"); ?></a><?php276 ?><br /><br /><a href="<?php echo sprintf($link, $row["id"]); ?>" class="link_readmore"><?php echo gettext("read more"); ?></a><?php 277 277 } else { 278 278 echo $text; … … 283 283 <div class="log_post_foot"> 284 284 <?php if ($row["aside"] !=1) { ?> 285 <span class="log_post_commentslink"><a href="<?php echo $link; ?>#comments"><?php echo sprintf(ngettext("%d Comment", "%d Comments", $comments_count[0]), $comments_count[0]); ?></a><br /></span>285 <span class="log_post_commentslink"><a href="<?php echo sprintf($link, $row["id"]); ?>#comments"><?php echo sprintf(ngettext("%d Comment", "%d Comments", $comments_count[0]), $comments_count[0]); ?></a><br /></span> 286 286 <span class="log_post_author"><?php echo gettext("By").": <i>".htmlspecialchars($this->authors[$row["authors_id"]]["fullname"]); ?></i></span> 287 287 <span class="log_post_date">| <?php echo gettext("On").": <i>".date("d-m-Y H:i", $row["date"]); ?></i></span> … … 807 807 <li class="default_list_item"><a href="admin/index.php" title="admin"><?php echo gettext("Admin"); ?></a></li> 808 808 <?php } ?> 809 <?php if (array_key_exists("blog_user", $_SESSION) ) { ?>809 <?php if (array_key_exists("blog_user", $_SESSION) && !array_key_exists("author_id", $_SESSION)) { ?> 810 810 <li class="default_list_item"><a href="index.php?action=user_settings" title="settings"><?php echo gettext("Settings"); ?></a></li> 811 811 <?php } ?>
