bernd commited on 2007-11-30 16:58:07
Zeige 2 geänderte Dateien mit 3 Einfügungen und 3 Löschungen.
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@819 87cf0b9e-d624-0410-a070-f6ee81989793
... | ... |
@@ -28,7 +28,7 @@ else |
28 | 28 |
output($acc->username); |
29 | 29 |
else |
30 | 30 |
output(internal_link('edit.php', $acc->username, "uid={$acc->uid}")); |
31 |
- output("</td><td>{$acc->name}</td><td>{$acc->erstellungsdatum}</td><td>{$acc->softquota} MB</td></tr>"); |
|
31 |
+ output("</td><td>{$acc->name}</td><td>{$acc->erstellungsdatum}</td><td>{$acc->quota} MB</td></tr>"); |
|
32 | 32 |
} |
33 | 33 |
output("</table><br />"); |
34 | 34 |
} |
... | ... |
@@ -36,7 +36,7 @@ function primary_useraccount() |
36 | 36 |
function list_useraccounts() |
37 | 37 |
{ |
38 | 38 |
$customerno = (int) $_SESSION['customerinfo']['customerno']; |
39 |
- $result = db_query("SELECT uid,username,name,erstellungsdatum,softquota FROM system.useraccounts WHERE kunde={$customerno}"); |
|
39 |
+ $result = db_query("SELECT uid,username,name,erstellungsdatum,quota FROM system.useraccounts WHERE kunde={$customerno}"); |
|
40 | 40 |
$ret = array(); |
41 | 41 |
while ($item = mysql_fetch_object($result)) |
42 | 42 |
{ |
... | ... |
@@ -51,7 +51,7 @@ function get_account_details($uid) |
51 | 51 |
{ |
52 | 52 |
$uid = (int) $uid; |
53 | 53 |
$customerno = (int) $_SESSION['customerinfo']['customerno']; |
54 |
- $result = db_query("SELECT uid,username,name,softquota FROM system.useraccounts WHERE kunde={$customerno} AND uid={$uid}"); |
|
54 |
+ $result = db_query("SELECT uid,username,name FROM system.useraccounts WHERE kunde={$customerno} AND uid={$uid}"); |
|
55 | 55 |
if (mysql_num_rows($result) == 0) |
56 | 56 |
system_failure("Cannot find the requestes useraccount (for this customer)."); |
57 | 57 |
return mysql_fetch_array($result); |
58 | 58 |