|
|
|
|
@ -113,7 +113,7 @@ if (api_is_allowed_to_edit()) |
|
|
|
|
echo "<a href=\"".$_SERVER['PHP_SELF']."?forum=".$_GET['forum']."&thread=".$_GET['thread']."&action=delete&content=post&id=".$rows[$display_post_id]['post_id']."\" onclick=\"javascript:if(!confirm('".addslashes(htmlentities(get_lang("DeletePost")))."')) return false;\">".icon('../img/delete.gif',get_lang('Delete'))."</a>\n"; |
|
|
|
|
display_visible_invisible_icon('post', $rows[$display_post_id]['post_id'], $rows[$display_post_id]['visible'],array('forum'=>$_GET['forum'],'thread'=>$_GET['thread'], 'post'=>$_GET['post'] )); |
|
|
|
|
echo "\n"; |
|
|
|
|
echo "<a href=\"viewthread.php?forum=".$_GET['forum']."&thread=".$_GET['thread']."&action=move&post=".$rows[$display_post_id]['post_id']."\">".icon('../img/forummovepost.gif',get_lang('Edit'))."</a>\n"; |
|
|
|
|
echo "<a href=\"viewthread.php?forum=".$_GET['forum']."&thread=".$_GET['thread']."&action=move&post=".$rows[$display_post_id]['post_id']."\">".icon('../img/deplacer_fichier.gif',get_lang('Edit'))."</a>\n"; |
|
|
|
|
} |
|
|
|
|
echo '<br /><br />'; |
|
|
|
|
//if (($current_forum_category['locked']==0 AND $current_forum['locked']==0 AND $current_thread['locked']==0) OR api_is_allowed_to_edit()) |
|
|
|
|
@ -155,7 +155,7 @@ if ($rows[$display_post_id]['post_notification']=='1' AND $rows[$display_post_id |
|
|
|
|
$post_image.=icon('../img/forumnotification.gif',get_lang('YouWillBeNotified')); |
|
|
|
|
} |
|
|
|
|
// The post title |
|
|
|
|
echo "\t\t<td class=\"$titleclass\">".$post_image." ".prepare4display($rows[$display_post_id]['post_title'])."</td>\n"; |
|
|
|
|
echo "\t\t<td class=\"$titleclass\">".prepare4display($rows[$display_post_id]['post_title'])."</td>\n"; |
|
|
|
|
echo "\t</tr>\n"; |
|
|
|
|
|
|
|
|
|
// The post message |
|
|
|
|
|