2014-05-30 Miguel de Dios <miguel.dedios@artica.es>

* extensions/files_repo/files_repo_list.php: fixed PHP warnings.
	
	Incident: #847




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10056 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2014-05-30 17:18:59 +00:00
parent c3ad65f4b9
commit ba0af0e707
2 changed files with 26 additions and 14 deletions

View File

@ -1,3 +1,9 @@
2014-05-30 Miguel de Dios <miguel.dedios@artica.es>
* extensions/files_repo/files_repo_list.php: fixed PHP warnings.
Incident: #847
2014-05-30 Sergio Martin <sergio.martin@artica.es> 2014-05-30 Sergio Martin <sergio.martin@artica.es>
* godmode/servers/recon_script.php: Improve layout of recon scripts * godmode/servers/recon_script.php: Improve layout of recon scripts

View File

@ -31,10 +31,15 @@ if (!empty($files)) {
echo "<br>"; echo "<br>";
if (!isset($manage)) {
$manage = false;
}
// Pagination // Pagination
if ($manage) { if ($manage) {
$url = ui_get_full_url("index.php?sec=gextensions&sec2=extensions/files_repo"); $url = ui_get_full_url("index.php?sec=gextensions&sec2=extensions/files_repo");
} else { }
else {
$url = ui_get_full_url("index.php?sec=extensions&sec2=extensions/files_repo"); $url = ui_get_full_url("index.php?sec=extensions&sec2=extensions/files_repo");
} }
$total_files = files_repo_get_files(false, true); $total_files = files_repo_get_files(false, true);
@ -100,7 +105,8 @@ if (!empty($files)) {
} }
html_print_table($table); html_print_table($table);
} else { }
else {
ui_print_info_message(__('No items')); ui_print_info_message(__('No items'));
} }