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:
parent
25f479f3d0
commit
0275e11e48
2 changed files with 3 additions and 10 deletions
|
@ -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++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue