diff --git a/textpattern/include/txp_article.php b/textpattern/include/txp_article.php index a5573099df..6f9b4e9385 100644 --- a/textpattern/include/txp_article.php +++ b/textpattern/include/txp_article.php @@ -1259,11 +1259,11 @@ function get_status_message($Status) { switch ($Status) { case STATUS_PENDING: - return gTxt("article_saved_pending"); + return gTxt('article_saved_pending'); case STATUS_HIDDEN: - return gTxt("article_saved_hidden"); + return gTxt('article_saved_hidden'); case STATUS_DRAFT: - return gTxt("article_saved_draft"); + return gTxt('article_saved_draft'); default: return gTxt('article_posted'); } diff --git a/textpattern/publish/taghandlers.php b/textpattern/publish/taghandlers.php index 450fc06f4d..261124ec3f 100644 --- a/textpattern/publish/taghandlers.php +++ b/textpattern/publish/taghandlers.php @@ -2098,14 +2098,14 @@ function comments_form($atts, $thing = null) $blacklisted = is_blacklisted($ip); if (!checkCommentsAllowed($thisid)) { - $out = graf(gTxt("comments_closed"), ' id="comments_closed"'); + $out = graf(gTxt('comments_closed'), ' id="comments_closed"'); } elseif ($blacklisted) { $out = graf(gTxt('your_ip_is_blacklisted_by'.' '.$blacklisted), ' id="comments_blacklisted"'); } elseif (gps('commented') !== '') { - $out = gTxt("comment_posted"); + $out = gTxt('comment_posted'); if (gps('commented') === '0') { - $out .= " ".gTxt("comment_moderated"); + $out .= " ".gTxt('comment_moderated'); } $out = graf($out, ' id="txpCommentInputForm"'); diff --git a/textpattern/setup/index.php b/textpattern/setup/index.php index 87abbf8c7e..d402dc9d07 100644 --- a/textpattern/setup/index.php +++ b/textpattern/setup/index.php @@ -370,7 +370,7 @@ function printConfig() // exit; // } - echo hed(gTxt("checking_database"), 2); + echo hed(gTxt('checking_database'), 2); if (strpos($_SESSION['dhost'], ':') === false) { $dhost = $_SESSION['dhost'];