small update, changed the libuserlist so it only shows id and type of the elements in the query db, also only manual syncing is possible when shard db is back online!

--HG--
branch : quitta-gsoc-2013
This commit is contained in:
Quitta 2013-07-03 06:03:01 +02:00
parent 25f479f3d0
commit 0275e11e48
2 changed files with 3 additions and 10 deletions

View file

@ -45,8 +45,8 @@ function libuserlist(){
$decode = json_decode($row['query']);
$pageResult['liblist'][$i]['id'] = $row['SID'];
$pageResult['liblist'][$i]['type'] = $row['type'];
$pageResult['liblist'][$i]['name'] = $decode[0];
$pageResult['liblist'][$i]['mail'] = $decode[2];
//$pageResult['liblist'][$i]['name'] = $decode[0];
//$pageResult['liblist'][$i]['mail'] = $decode[2];
$i++;
}
}

View file

@ -51,9 +51,6 @@
<tr>
<th>{$id}</th>
<th>{$type}</th>
<th>{$name}</th>
<th>{$email}</th>
<th>{$action}</th>
</tr>
</thead>
<tbody>
@ -61,11 +58,7 @@
<tr>
<td>{$element.id}</td>
<td class="center">{$element.type}</td>
<td class="center">{$element.name}</td>
<td class="center">{$element.mail}</td>
<td class="center">
<a class="btn btn-danger" href="index.php?page=libuserlist&action=remove&id={$element.id}"><i class="icon-trash icon-white"></i>Delete</a>
</td>
</tr>
{/foreach}