Commit 239d8c7f authored by felix's avatar felix

ZP-570 add an additional space after the username (and also add this space to the column header)


git-svn-id: https://z-push.org/svn/z-push/trunk@1932 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 64038d91
......@@ -442,7 +442,7 @@ class ZPushAdminCLI {
echo "\tno devices found\n";
else {
echo "All known devices and users and their last synchronization time\n\n";
echo str_pad("Device id", 36). str_pad("Synchronized user", 30)."Last sync time\n";
echo str_pad("Device id", 36). str_pad("Synchronized user", 31)."Last sync time\n";
echo "-----------------------------------------------------------------------------------------------------\n";
}
......@@ -450,7 +450,7 @@ class ZPushAdminCLI {
$users = ZPushAdmin::ListUsers($deviceId);
foreach ($users as $user) {
$device = ZPushAdmin::GetDeviceDetails($deviceId, $user);
echo str_pad($deviceId, 36) . str_pad($user, 30). ($device->GetLastSyncTime() ? strftime("%Y-%m-%d %H:%M", $device->GetLastSyncTime()) : "never") . "\n";
echo str_pad($deviceId, 36) . str_pad($user, 30) . " " . ($device->GetLastSyncTime() ? strftime("%Y-%m-%d %H:%M", $device->GetLastSyncTime()) : "never") . "\n";
}
}
}
......@@ -841,4 +841,4 @@ class ZPushAdminCLI {
}
?>
\ No newline at end of file
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment