1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 09:04:38 +02:00

Issue #6 - LANs: Replace all references to "Comments" with LAN_COMMENTS

This commit is contained in:
Cameron
2015-07-07 18:02:16 -07:00
parent 6b5d95388f
commit af53d2dd3d
29 changed files with 40 additions and 39 deletions

View File

@@ -51,7 +51,7 @@ define("POLLAN_23", "Create Poll");
define("POLLAN_24", "Preview");
define("POLLAN_25", "Clear form");
define("POLLAN_26", "votes");
define("POLLAN_27", "Comments");
// define("POLLAN_27", "Comments");
define("POLLAN_28", "Previous polls");
define("POLLAN_29", "posted by");
define("POLLAN_30", "Submit");

View File

@@ -450,7 +450,7 @@ class poll
$VOTE_TOTAL = POLLAN_31.": ".$voteTotal;
$COMMENTS = ($pollArray['poll_comment'] ? " <a href='".e_HTTP."comment.php?comment.poll.".$pollArray['poll_id']."'>".POLLAN_27.": ".$comment_total."</a>" : "");
$COMMENTS = ($pollArray['poll_comment'] ? " <a href='".e_HTTP."comment.php?comment.poll.".$pollArray['poll_id']."'>".LAN_COMMENTS.": ".$comment_total."</a>" : "");
$poll_count = $sql->count("polls", "(*)", "WHERE poll_id <= '".$pollArray['poll_id']."'");