From 6102759b7cb9fd23f4e7fa5f12137334ff30a410 Mon Sep 17 00:00:00 2001
From: Lukas Fleischer
Date: Fri, 21 Sep 2012 08:57:29 +0200
Subject: Use echo shortcut syntax
Replace all occurrences of "
---
web/html/addvote.php | 20 +++----
web/html/home.php | 16 ++---
web/html/login.php | 24 ++++----
web/html/packages.php | 2 +-
web/html/passreset.php | 18 +++---
web/html/pkgsubmit.php | 18 +++---
web/html/tu.php | 6 +-
web/html/voters.php | 4 +-
web/template/account_details.php | 28 ++++-----
web/template/account_edit_form.php | 58 +++++++++---------
web/template/account_search_results.php | 42 ++++++-------
web/template/actions_form.php | 26 ++++----
web/template/footer.php | 4 +-
web/template/header.php | 30 +++++-----
web/template/pkg_comment_form.php | 12 ++--
web/template/pkg_comments.php | 18 +++---
web/template/pkg_details.php | 96 +++++++++++++++---------------
web/template/pkg_search_form.php | 50 ++++++++--------
web/template/pkg_search_results.php | 80 ++++++++++++-------------
web/template/search_accounts_form.php | 38 ++++++------
web/template/stats/general_stats_table.php | 34 +++++------
web/template/stats/updates_table.php | 8 +--
web/template/stats/user_table.php | 12 ++--
web/template/tu_details.php | 52 ++++++++--------
web/template/tu_list.php | 36 +++++------
25 files changed, 366 insertions(+), 366 deletions(-)
(limited to 'web')
diff --git a/web/html/addvote.php b/web/html/addvote.php
index d1cd809a..55750317 100644
--- a/web/html/addvote.php
+++ b/web/html/addvote.php
@@ -62,29 +62,29 @@ if ($atype == "Trusted User" || $atype == "Developer") {
?>
-
+ = $error ?>
-
+
= __("Submit a proposal to vote on.") ?>
-
diff --git a/web/html/home.php b/web/html/home.php
index 8fecfd49..3050bd10 100644
--- a/web/html/home.php
+++ b/web/html/home.php
@@ -17,7 +17,7 @@ $dbh = db_connect();
-
AUR
+
AUR = __("Home"); ?>
-
-
+ = __('Remember to vote for your favourite packages!'); ?>
+ = __('Some packages may be provided as binaries in [community].'); ?>
-
+
= __('Discussion') ?>
-
+
= __('Bug Reporting') ?>
- :
+ = __('DISCLAIMER') ?> :
-
+ = __('Unsupported packages are user produced content. Any use of the provided files is at your own risk.'); ?>
@@ -91,7 +91,7 @@ $dbh = db_connect();
@@ -29,7 +29,7 @@
-
diff --git a/web/template/header.php b/web/template/header.php
index d87ddfef..3179a530 100644
--- a/web/template/header.php
+++ b/web/template/header.php
@@ -1,14 +1,14 @@
-'; ?>
+= ''; ?>
+ xml:lang="= htmlspecialchars($LANG, ENT_QUOTES) ?>" lang="= htmlspecialchars($LANG, ENT_QUOTES) ?>">