From 3170e659dc1f3be4e87c8cbf4d4c74b321b6f5eb Mon Sep 17 00:00:00 2001 From: fisharebest Date: Sat, 30 Oct 2010 11:06:15 +0000 Subject: #663955. Be explicit about which sorts of URL to generate: '&' for ones in html, and '&' for ones in HTTP headers and between WT_JS_START/WT_JS_END markers. Get rid of "encode_url()" function, which attempted to "magically" fix problems with the wrong URL style. --- find.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'find.php') diff --git a/find.php b/find.php index 548e4e70d5..6986e9222d 100644 --- a/find.php +++ b/find.php @@ -697,7 +697,7 @@ if ($action=="filter") { $levels = explode("/", $thumbdir); $pthumb = ""; for($i=0; $i   <-- ".$pdir."   
"; + $uplink = "   <-- ".$pdir."   
"; } // Start of media directory table @@ -720,11 +720,11 @@ if ($action=="filter") { echo $uplink, ""; } echo ""; - echo "", i18n::translate('External objects'), ""; + echo "", i18n::translate('External objects'), ""; echo ""; foreach ($dirs as $indexval => $dir) { echo ""; - echo "", $dir, ""; + echo "", $dir, ""; echo ""; } } @@ -800,7 +800,7 @@ if ($action=="filter") { foreach ($media["LINKS"] as $indi => $type_record) { if ($type_record!='INDI' && $type_record!='FAM' && $type_record!='SOUR' && $type_record!='OBJE') continue; $record=GedcomRecord::getInstance($indi); - echo '
'; + echo '
'; switch($type_record) { case 'INDI': echo i18n::translate('View Person'), ' - '; @@ -879,7 +879,7 @@ if ($action=="filter") { if ($repo_list) { echo ""; echo "", i18n::translate('Repositories found'), " ", count($repo_list); @@ -905,7 +905,7 @@ if ($action=="filter") { usort($mynotelist, array('GedcomRecord', 'Compare')); echo '', i18n::translate('Shared Notes found'), ' ', count($mynotelist), ''; } @@ -927,7 +927,7 @@ if ($action=="filter") { usort($mysourcelist, array('GedcomRecord', 'Compare')); echo '', i18n::translate('Total Sources'), ' ', count($mysourcelist), ''; } -- cgit v1.3