2014-07-22 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/agent_manager.php: fixed to show the QR code image in the creation of a new agent. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10345 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
b670c9c922
commit
cb19580233
|
@ -1,3 +1,8 @@
|
|||
2014-07-22 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/agentes/agent_manager.php: fixed to show the QR code image
|
||||
in the creation of a new agent.
|
||||
|
||||
2014-07-21 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* pandoradb.postgreSQL.sql: fixed the SQL.
|
||||
|
|
|
@ -159,7 +159,8 @@ if ($id_agente) {
|
|||
|
||||
$table->data[0][1] .= " <b>" . __("ID") . "</b> $id_agente ";
|
||||
$table->data[0][1] .= ' <a href="index.php?sec=gagente&sec2=operation/agentes/ver_agente&id_agente='.$id_agente.'">';
|
||||
$table->data[0][1] .= html_print_image ("images/zoom.png", true, array ("border" => 0, "title" => __('Agent detail')));
|
||||
$table->data[0][1] .= html_print_image ("images/zoom.png",
|
||||
true, array ("border" => 0, "title" => __('Agent detail')));
|
||||
$table->data[0][1] .= '</a>';
|
||||
}
|
||||
|
||||
|
@ -215,9 +216,14 @@ if ($id_agente) {
|
|||
</style>
|
||||
<?php
|
||||
$table->rowspan[1][2] = 7;
|
||||
$table->data[1][2] =
|
||||
"<a id='qr_code_agent_view' href='javascript: show_dialog_qrcode(null, \"" .
|
||||
ui_get_full_url('index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente=' . $id_agente) . "\" );'></a>";
|
||||
if ($id_agente) {
|
||||
$table->data[1][2] =
|
||||
"<a id='qr_code_agent_view' href='javascript: show_dialog_qrcode(null, \"" .
|
||||
ui_get_full_url('index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente=' . $id_agente) . "\" );'></a>";
|
||||
}
|
||||
else {
|
||||
$table->data[1][2] = __("Only it is show when<br />the agent is saved.");
|
||||
}
|
||||
|
||||
$groups = users_get_groups ($config["id_user"], "AR",false);
|
||||
$agents = agents_get_group_agents (array_keys ($groups));
|
||||
|
|
Loading…
Reference in New Issue