summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-06-25 06:05:44 +0200
committerLoui Chang <louipc.ist@gmail.com>2009-06-25 06:05:44 +0200
commit610733eafd62e14a7293151fb735bac1f3d55590 (patch)
tree0811f9b6132789c5cfa1395286f6ba591690eb2c /web/lib
parent928945bd5141c2f97cfc78ddb305547bf3d9246e (diff)
downloadaur-1.5.6.3.tar.gz
aur-1.5.6.3.tar.xz
Remove excess whitespace.1.5.6.3
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/acctfuncs.inc6
-rw-r--r--web/lib/aurjson.class.php2
-rw-r--r--web/lib/config.inc.proto2
-rw-r--r--web/lib/translator.inc2
4 files changed, 6 insertions, 6 deletions
diff --git a/web/lib/acctfuncs.inc b/web/lib/acctfuncs.inc
index 1c15af0c..9ed4f224 100644
--- a/web/lib/acctfuncs.inc
+++ b/web/lib/acctfuncs.inc
@@ -176,7 +176,7 @@ function process_account_form($UTYPE,$TYPE,$A,$U="",$T="",$S="",$E="",
global $SUPPORTED_LANGS;
if(isset($_COOKIE['AURSID']))
- $editor_user = uid_from_sid($_COOKIE['AURSID']);
+ $editor_user = uid_from_sid($_COOKIE['AURSID']);
else
$editor_user = null;
@@ -237,7 +237,7 @@ function process_account_form($UTYPE,$TYPE,$A,$U="",$T="",$S="",$E="",
$row = mysql_fetch_array($result);
if ($row[0]) {
$error = __("The username, %h%s%h, is already in use.",
- "<b>", $U, "</b>");
+ "<b>", $U, "</b>");
}
}
}
@@ -607,7 +607,7 @@ function display_account_info($U="",$T="",
* SID of 0 means login failed.
*/
function try_login() {
- $login_error = "";
+ $login_error = "";
$new_sid = "";
$userID = null;
diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php
index 897423aa..daa785f2 100644
--- a/web/lib/aurjson.class.php
+++ b/web/lib/aurjson.class.php
@@ -1,7 +1,7 @@
<?php
/**
* AurJSON
- *
+ *
* This file contains the AurRPC remote handling class
**/
if (!extension_loaded('json'))
diff --git a/web/lib/config.inc.proto b/web/lib/config.inc.proto
index 068305a0..89b4fe56 100644
--- a/web/lib/config.inc.proto
+++ b/web/lib/config.inc.proto
@@ -3,7 +3,7 @@
#
define( "AUR_db_host", "localhost:/tmp/mysql.sock" );
define( "AUR_db_name", "AUR" );
-define( "AUR_db_user", "aur" );
+define( "AUR_db_user", "aur" );
define( "AUR_db_pass", "aur" );
# Configuration of directories where things live
diff --git a/web/lib/translator.inc b/web/lib/translator.inc
index da89e9e3..8c905515 100644
--- a/web/lib/translator.inc
+++ b/web/lib/translator.inc
@@ -61,7 +61,7 @@ function __() {
}
}
- $translated = htmlspecialchars($translated, ENT_QUOTES);
+ $translated = htmlspecialchars($translated, ENT_QUOTES);
# This condition is to reorganise the arguments in case of
# deprecated usage. __("string", array("string","string"))