// $links[] = lm(t("unpublish"), array ("mod" => "comment", "op" => "Moderate comment", "moderation[$comment->cid]" => "offline", "edit[nid]" => $comment->nid), "", array ("title" => t("hide this comment by marking it non-published")));
}
...
...
@@ -332,9 +332,9 @@ function comment_links($comment, $return = 1) {
if(node_comment_mode($comment->nid)==2){
if(user_access("post comments")){
if(comment_access("edit",$comment)){
$links[]=lm("<span style=\"color: $theme->type\">".t("edit your comment")."</span>",array("mod"=>"comment","op"=>"edit","id"=>$comment->cid),"",array("title"=>t("Make changes to your comment.")));
$links[]=lm(t("edit your comment"),array("mod"=>"comment","op"=>"edit","id"=>$comment->cid),"",array("title"=>t("Make changes to your comment.")));
}
$links[]=lm("<span style=\"color: $theme->type;\">".t("reply to this comment")."</span>",array("mod"=>"comment","op"=>"reply","id"=>$comment->nid,"pid"=>$comment->cid));
$links[]=lm(t("reply to this comment"),array("mod"=>"comment","op"=>"reply","id"=>$comment->nid,"pid"=>$comment->cid));
}
else{
$links[]=theme_invoke("comment_post_forbidden");
...
...
@@ -588,7 +588,7 @@ function comment_render($node, $cid = 0) {
// $links[] = lm(t("unpublish"), array ("mod" => "comment", "op" => "Moderate comment", "moderation[$comment->cid]" => "offline", "edit[nid]" => $comment->nid), "", array ("title" => t("hide this comment by marking it non-published")));
}
...
...
@@ -332,9 +332,9 @@ function comment_links($comment, $return = 1) {
if(node_comment_mode($comment->nid)==2){
if(user_access("post comments")){
if(comment_access("edit",$comment)){
$links[]=lm("<span style=\"color: $theme->type\">".t("edit your comment")."</span>",array("mod"=>"comment","op"=>"edit","id"=>$comment->cid),"",array("title"=>t("Make changes to your comment.")));
$links[]=lm(t("edit your comment"),array("mod"=>"comment","op"=>"edit","id"=>$comment->cid),"",array("title"=>t("Make changes to your comment.")));
}
$links[]=lm("<span style=\"color: $theme->type;\">".t("reply to this comment")."</span>",array("mod"=>"comment","op"=>"reply","id"=>$comment->nid,"pid"=>$comment->cid));
$links[]=lm(t("reply to this comment"),array("mod"=>"comment","op"=>"reply","id"=>$comment->nid,"pid"=>$comment->cid));
}
else{
$links[]=theme_invoke("comment_post_forbidden");
...
...
@@ -588,7 +588,7 @@ function comment_render($node, $cid = 0) {