mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Remove excess whitespace.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
928945bd51
commit
610733eafd
8 changed files with 14 additions and 15 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
/**
|
||||
* AurJSON
|
||||
*
|
||||
*
|
||||
* This file contains the AurRPC remote handling class
|
||||
**/
|
||||
if (!extension_loaded('json'))
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue