2012-06-01 Santiago Munín <burnin1@gmail.com>

* src/pandroid_event_viewer/pandorafms/EventList.java: Now Agent's link points to mobile console.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6398 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
santimunin 2012-06-01 10:33:11 +00:00
parent 0b134f827c
commit f1c23d2c7c
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,6 @@
2012-06-01 Santiago Munín <burnin1@gmail.com>
* src/pandroid_event_viewer/pandorafms/EventList.java: Now Agent's link points to mobile console.
2012-05-31 Santiago Munín <burnin1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Core.java: Added a method which performs http petitions.
* src/pandroid_event_viewer/pandorafms/EventList.java: Added javadoc comments.

View File

@ -71,7 +71,6 @@ public class EventList extends ListActivity {
// private HashMap<Integer, Boolean> openedItem;
private HashMap<String, Bitmap> imgGroups;
private HashMap<String, Bitmap> imgType;
private BroadcastReceiver onBroadcast;
@Override
@ -585,8 +584,10 @@ public class EventList extends ListActivity {
text.setText(Html
.fromHtml("<a href='"
+ this.object.url
+ "/index.php?sec=estado&sec2=operation/agentes/ver_agente&id_agente="
+ item.id_agent + "'>"
+ "/mobile/index.php?page=agent&id="
+ item.id_agent
+" &autologin=1&user="+this.object.user+"&password="+ this.object.password
+"'>"
+ item.agent_name + "</a>"));
text.setMovementMethod(LinkMovementMethod.getInstance());
}