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!

This commit is contained in:
Quitta 2013-07-03 06:03:01 +02:00
parent ebca9d0a48
commit e0691ab9f5
2 changed files with 3 additions and 10 deletions

View file

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

View file

@ -51,9 +51,6 @@
<tr> <tr>
<th>{$id}</th> <th>{$id}</th>
<th>{$type}</th> <th>{$type}</th>
<th>{$name}</th>
<th>{$email}</th>
<th>{$action}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -61,11 +58,7 @@
<tr> <tr>
<td>{$element.id}</td> <td>{$element.id}</td>
<td class="center">{$element.type}</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> </tr>
{/foreach} {/foreach}