diff options
| author | fisharebest <fisharebest@gmail.com> | 2012-02-29 18:20:49 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2012-02-29 18:20:49 +0000 |
| commit | de25291baa290496098b5e7636275c9c335d7f7e (patch) | |
| tree | 89694cb3bb1eb208d496eaa3f680249cf45044a6 /modules_v3/googlemap/admin_placecheck.php | |
| parent | 9b2a5bfe7b07ea73759b0721929c8bd6b3dfc73f (diff) | |
| download | webtrees-de25291baa290496098b5e7636275c9c335d7f7e.tar.gz webtrees-de25291baa290496098b5e7636275c9c335d7f7e.tar.bz2 webtrees-de25291baa290496098b5e7636275c9c335d7f7e.zip | |
Use HTML5 markup instead of PrintReady(), hasRTLText(), utf8_direction(), etc. The browser will do a much faster and better job than we can. Unfortunately, only Webkit supports this at the moment. Presto and Gecko should support it soon. Trident support is unknown.
Diffstat (limited to 'modules_v3/googlemap/admin_placecheck.php')
| -rw-r--r-- | modules_v3/googlemap/admin_placecheck.php | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/modules_v3/googlemap/admin_placecheck.php b/modules_v3/googlemap/admin_placecheck.php index 5f7e0046fd..f26e4ea089 100644 --- a/modules_v3/googlemap/admin_placecheck.php +++ b/modules_v3/googlemap/admin_placecheck.php @@ -239,26 +239,26 @@ case 'go': //start to produce the display table $cols=0; $span=$max*3+3; - echo "<div class='gm_check_details'>"; - echo "<table class='gm_check_details'><tr>"; - echo "<th rowspan='3'>", WT_I18N::translate('GEDCOM File Place Data<br />(2 PLAC tag)'), "</th>"; - echo "<th colspan='", $span, "'>", WT_I18N::translate('GoogleMap Places Table Data'), "</th></tr>"; - echo "<tr>"; + echo '<div class="gm_check_details">'; + echo '<table class="gm_check_details"><tr>'; + echo '<th rowspan="3">', WT_I18N::translate('GEDCOM File Place Data<br />(2 PLAC tag)'), '</th>'; + echo '<th colspan="', $span, '">', WT_I18N::translate('GoogleMap Places Table Data'), '</th></tr>'; + echo '<tr>'; while ($cols<$max) { if ($cols == 0) { - echo "<th colspan='3'>", PrintReady(WT_I18N::translate('Country')), "</th>"; + echo '<th colspan="3">', WT_I18N::translate('Country'), '</th>'; } else { - echo "<th colspan='3'>", PrintReady(WT_I18N::translate('Level')), " ", $cols+1, "</th>"; + echo '<th colspan="3">', WT_I18N::translate('Level'), ' ', $cols+1, '</th>'; } $cols++; } - echo "</tr><tr>"; + echo '</tr><tr>'; $cols=0; while ($cols<$max) { - echo "<th>", WT_Gedcom_Tag::getLabel('PLAC'), "</th><th>", WT_I18N::translate('Latitude'), "</th><th>", WT_I18N::translate('Longitude'), "</th></td>"; + echo '<th>', WT_Gedcom_Tag::getLabel('PLAC'), '</th><th>', WT_I18N::translate('Latitude'), '</th><th>', WT_I18N::translate('Longitude'), '</th></td>'; $cols++; } - echo "</tr>"; + echo '</tr>'; $countrows=0; while ($x<$i) { $placestr=""; @@ -334,8 +334,8 @@ case 'go': $long[$z]="<td class='error' align='center'><strong>X</strong></td>";$matched[$x]++; } $level++; - $mapstr3=$mapstr3."&parent[".$z."]=".addslashes(PrintReady($row['pl_placerequested'])); - $mapstr4=$mapstr4."&parent[".$z."]=".addslashes(PrintReady(rtrim(ltrim($levels[$z])))); + $mapstr3=$mapstr3."&parent[".$z."]=".addslashes($row['pl_placerequested']); + $mapstr4=$mapstr4."&parent[".$z."]=".addslashes(rtrim(ltrim($levels[$z]))); $z++; } if ($matching) { |
