2011-11-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* operation/events/events_list.php: Removed traces.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-11-28 14:15:16 +00:00
parent 72322d6f01
commit e5cd09d100
2 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2011-11-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events_list.php: Removed traces.
2011-11-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es> 2011-11-28 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/events/events_list.php * operation/events/events_list.php

View File

@ -691,14 +691,10 @@ foreach ($result as $event) {
$string .= '<tr class="' . $odd . '"><td align="left" valign="top">' . '<b>' . __('Tags') . '</td><td align="left">'; $string .= '<tr class="' . $odd . '"><td align="left" valign="top">' . '<b>' . __('Tags') . '</td><td align="left">';
if ($event["tags"] != '') { if ($event["tags"] != '') {
$tag_array = explode(',', $event["tags"]); $tag_array = explode(',', $event["tags"]);
//html_debug_print($tag_array);
foreach ($tag_array as $tag_element){ foreach ($tag_array as $tag_element){
$blank_char_pos = strpos($tag_element, ' '); $blank_char_pos = strpos($tag_element, ' ');
//html_debug_print($blank_char_pos);
$tag_name = substr($tag_element, 0, $blank_char_pos); $tag_name = substr($tag_element, 0, $blank_char_pos);
$tag_url = substr($tag_element, $blank_char_pos + 1); $tag_url = substr($tag_element, $blank_char_pos + 1);
//html_debug_print("Tag name " . $tag_name);
//html_debug_print($tag_url);
$string .= ' ' .$tag_name; $string .= ' ' .$tag_name;
if (!empty($tag_url)){ if (!empty($tag_url)){
$string .= ' <a href="javascript: openURLTagWindow(\'' . $tag_url . '\');">' . html_print_image('images/lupa.png', true, array('title' => __('Click here to open a popup window with URL tag'))) . '</a> '; $string .= ' <a href="javascript: openURLTagWindow(\'' . $tag_url . '\');">' . html_print_image('images/lupa.png', true, array('title' => __('Click here to open a popup window with URL tag'))) . '</a> ';