summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
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 1c15af0..9ed4f22 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 897423a..daa785f 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 068305a..89b4fe5 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 da89e9e..8c90551 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"))