2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
* operation/search_modules.php: fixed the image to edit. * include/functions_html.php: fixed check string values in function "html_print_input_hidden". Fixes: #3603084 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7569 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
a924c8d2dd
commit
70a09b3625
|
@ -1,3 +1,12 @@
|
|||
2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* operation/search_modules.php: fixed the image to edit.
|
||||
|
||||
* include/functions_html.php: fixed check string values in function
|
||||
"html_print_input_hidden".
|
||||
|
||||
Fixes: #3603084
|
||||
|
||||
2013-02-04 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* operation/search_modules.php: added edit button when the user can
|
||||
|
|
|
@ -792,8 +792,11 @@ function html_print_input_hidden ($name, $value, $return = false, $class = false
|
|||
}
|
||||
|
||||
$separator = '"';
|
||||
if (strstr($value, '"')) {
|
||||
$separator = "'";
|
||||
|
||||
if (is_string($value)) {
|
||||
if (strstr($value, '"')) {
|
||||
$separator = "'";
|
||||
}
|
||||
}
|
||||
|
||||
$output = '<input id="hidden-' . $name . '" ' .
|
||||
|
|
|
@ -275,7 +275,7 @@ else {
|
|||
$module["id_agente_modulo"] . "&edit_module=1";
|
||||
|
||||
$edit_module = '<a href="' . $url_edit . '">' .
|
||||
html_print_image("images/config.png") . '</a>';
|
||||
html_print_image("images/config.png", true) . '</a>';
|
||||
}
|
||||
else {
|
||||
$edit_module = '';
|
||||
|
|
Loading…
Reference in New Issue