diff options
| author | fisharebest <fisharebest@gmail.com> | 2011-12-12 11:47:53 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2011-12-12 11:47:53 +0000 |
| commit | c499fc2273b71f1df37c3f09c7e87c45e65ebf2d (patch) | |
| tree | 7d8d9539cf34f19e2663e6996668d74f683396ac /modules_v3 | |
| parent | 9fe7d3b40901f5ab54d580fbde3fc7199678e4e4 (diff) | |
| download | webtrees-c499fc2273b71f1df37c3f09c7e87c45e65ebf2d.tar.gz webtrees-c499fc2273b71f1df37c3f09c7e87c45e65ebf2d.tar.bz2 webtrees-c499fc2273b71f1df37c3f09c7e87c45e65ebf2d.zip | |
HTML validation: & => &
Diffstat (limited to 'modules_v3')
| -rw-r--r-- | modules_v3/GEDFact_assistant/_CENS/census_3_find.php | 2 | ||||
| -rw-r--r-- | modules_v3/GEDFact_assistant/module.php | 2 | ||||
| -rw-r--r-- | modules_v3/clippings/module.php | 8 | ||||
| -rw-r--r-- | modules_v3/descendancy/module.php | 6 | ||||
| -rw-r--r-- | modules_v3/families/module.php | 4 | ||||
| -rw-r--r-- | modules_v3/faq/module.php | 2 | ||||
| -rw-r--r-- | modules_v3/googlemap/admin_editconfig.php | 6 | ||||
| -rw-r--r-- | modules_v3/googlemap/admin_placecheck.php | 6 | ||||
| -rw-r--r-- | modules_v3/googlemap/admin_places.php | 6 | ||||
| -rw-r--r-- | modules_v3/googlemap/flags.php | 2 | ||||
| -rw-r--r-- | modules_v3/googlemap/googlemap.php | 2 | ||||
| -rw-r--r-- | modules_v3/googlemap/pedigree_map.php | 6 | ||||
| -rw-r--r-- | modules_v3/googlemap/placehierarchy.php | 4 | ||||
| -rw-r--r-- | modules_v3/googlemap/places_edit.php | 2 | ||||
| -rw-r--r-- | modules_v3/googlemap/wt_v3_pedigree_map.js.php | 8 | ||||
| -rw-r--r-- | modules_v3/individuals/module.php | 4 | ||||
| -rw-r--r-- | modules_v3/media/module.php | 6 | ||||
| -rw-r--r-- | modules_v3/sitemap/admin_index.php | 12 | ||||
| -rw-r--r-- | modules_v3/tree/class_treeview.php | 8 |
19 files changed, 48 insertions, 48 deletions
diff --git a/modules_v3/GEDFact_assistant/_CENS/census_3_find.php b/modules_v3/GEDFact_assistant/_CENS/census_3_find.php index b9f2127b24..2d3d45c876 100644 --- a/modules_v3/GEDFact_assistant/_CENS/census_3_find.php +++ b/modules_v3/GEDFact_assistant/_CENS/census_3_find.php @@ -63,7 +63,7 @@ function getPreselectedTags(&$preselDefault, &$preselCustom) { } if ($showthumb) { - $thumbget='&showthumb=true'; + $thumbget='&showthumb=true'; } else { $thumbget=''; } diff --git a/modules_v3/GEDFact_assistant/module.php b/modules_v3/GEDFact_assistant/module.php index fa05c3089d..8ea5481158 100644 --- a/modules_v3/GEDFact_assistant/module.php +++ b/modules_v3/GEDFact_assistant/module.php @@ -79,7 +79,7 @@ class GEDFact_assistant_WT_Module extends WT_Module { $level =safe_GET('level', WT_REGEX_INTEGER, 0); if ($showthumb) { - $thumbget='&showthumb=true'; + $thumbget='&showthumb=true'; } else { $thumbget=''; } diff --git a/modules_v3/clippings/module.php b/modules_v3/clippings/module.php index fc1df8cd19..6af8b9b7e3 100644 --- a/modules_v3/clippings/module.php +++ b/modules_v3/clippings/module.php @@ -472,7 +472,7 @@ class clippings_WT_Module extends WT_Module implements WT_Module_Menu, WT_Module $out .= ' ('.$record->getLifeSpan().')'; } $out .= '</a>'; - $out .= '<a class="remove_cart" href="module.php?mod='.$this->getName().'&mod_action=ajax&sb_action=clippings&remove='.$xref.'&pid='.$pid.'"> + $out .= '<a class="remove_cart" href="module.php?mod='.$this->getName().'&mod_action=ajax&sb_action=clippings&remove='.$xref.'&pid='.$pid.'"> <img src="'. $WT_IMAGES["remove"].'" alt="'.WT_I18N::translate('Remove').'" title="'.WT_I18N::translate('Remove').'"></a>'; $out .='</li>'; } @@ -483,17 +483,17 @@ class clippings_WT_Module extends WT_Module implements WT_Module_Menu, WT_Module if ($WT_SESSION->cart[WT_GED_ID]) { $out.= - '<br><a href="module.php?mod='.$this->getName().'&mod_action=ajax&sb_action=clippings&empty=true&pid='.$pid.'" class="remove_cart">'. + '<br><a href="module.php?mod='.$this->getName().'&mod_action=ajax&sb_action=clippings&empty=true&pid='.$pid.'" class="remove_cart">'. WT_I18N::translate('Empty Cart'). '</a>'.help_link('empty_cart', $this->getName()). '<br />'. - '<a href="module.php?mod='.$this->getName().'&mod_action=ajax&sb_action=clippings&download=true&pid='.$pid.'" class="add_cart">'. + '<a href="module.php?mod='.$this->getName().'&mod_action=ajax&sb_action=clippings&download=true&pid='.$pid.'" class="add_cart">'. WT_I18N::translate('Download Now'). '</a>'; } $record=WT_Person::getInstance($pid); if ($record && !array_key_exists($record->getXref(), $WT_SESSION->cart[WT_GED_ID])) { - $out .= '<br><a href="module.php?mod='.$this->getName().'&mod_action=ajax&sb_action=clippings&add='.$pid.'&pid='.$pid.'" class="add_cart"><img src="'.$WT_IMAGES['clippings'].'" width="20" /> '.WT_I18N::translate('Add %s to cart', $record->getFullName()).'</a>'; + $out .= '<br><a href="module.php?mod='.$this->getName().'&mod_action=ajax&sb_action=clippings&add='.$pid.'&pid='.$pid.'" class="add_cart"><img src="'.$WT_IMAGES['clippings'].'" width="20" /> '.WT_I18N::translate('Add %s to cart', $record->getFullName()).'</a>'; } return $out; } diff --git a/modules_v3/descendancy/module.php b/modules_v3/descendancy/module.php index 58ba53a080..e4065ad108 100644 --- a/modules_v3/descendancy/module.php +++ b/modules_v3/descendancy/module.php @@ -125,7 +125,7 @@ class descendancy_WT_Module extends WT_Module implements WT_Module_Sidebar { '); return - '<form method="post" action="module.php?mod='.$this->getName().'&mod_action=ajax" onsubmit="return false;">'. + '<form method="post" action="module.php?mod='.$this->getName().'&mod_action=ajax" onsubmit="return false;">'. '<input type="text" name="sb_desc_name" id="sb_desc_name" placeholder="'.WT_I18N::translate('Search').'">'. '</form>'. '<div id="sb_desc_content">'. @@ -136,7 +136,7 @@ class descendancy_WT_Module extends WT_Module implements WT_Module_Sidebar { public function getPersonLi(WT_Person $person, $generations=0) { global $WT_IMAGES; - $out = '<li id="sb_desc_'.$person->getXref().'" class="sb_desc_indi_li"><a href="module.php?mod='.$this->getName().'&mod_action=ajax&sb_action=descendancy&pid='.$person->getXref().'" title="'.$person->getXref().'" class="sb_desc_indi">'; + $out = '<li id="sb_desc_'.$person->getXref().'" class="sb_desc_indi_li"><a href="module.php?mod='.$this->getName().'&mod_action=ajax&sb_action=descendancy&pid='.$person->getXref().'" title="'.$person->getXref().'" class="sb_desc_indi">'; if ($generations>0) { $out .= '<img src="'.$WT_IMAGES['minus'].'" class="plusminus" alt="">'; } else { @@ -162,7 +162,7 @@ class descendancy_WT_Module extends WT_Module implements WT_Module_Sidebar { public function getFamilyLi(WT_Family $family, WT_Person $person, $generations=0) { global $WT_IMAGES; - $out = '<li id="sb_desc_'.$family->getXref().'" class="sb_desc_indi_li"><a href="module.php?mod='.$this->getName().'&mod_action=ajax&sb_action=descendancy&famid='.$family->getXref().'" title="'.$family->getXref().'" class="sb_desc_indi">'; + $out = '<li id="sb_desc_'.$family->getXref().'" class="sb_desc_indi_li"><a href="module.php?mod='.$this->getName().'&mod_action=ajax&sb_action=descendancy&famid='.$family->getXref().'" title="'.$family->getXref().'" class="sb_desc_indi">'; $out .= '<img src="'.$WT_IMAGES['minus'].'" class="plusminus" alt="">'; $out .= $person->getSexImage().$person->getFullName(); diff --git a/modules_v3/families/module.php b/modules_v3/families/module.php index 88ee4b7765..89786976d7 100644 --- a/modules_v3/families/module.php +++ b/modules_v3/families/module.php @@ -139,7 +139,7 @@ class families_WT_Module extends WT_Module implements WT_Module_Sidebar { }); '); $out= - '<form method="post" action="module.php?mod='.$this->getName().'&mod_action=ajax" onsubmit="return false;">'. + '<form method="post" action="module.php?mod='.$this->getName().'&mod_action=ajax" onsubmit="return false;">'. '<input type="text" name="sb_fam_name" id="sb_fam_name" placeholder="'.WT_I18N::translate('Search').'" />'. '<p>'; foreach ($initials as $letter=>$count) { @@ -157,7 +157,7 @@ class families_WT_Module extends WT_Module implements WT_Module_Sidebar { $html=$letter; break; } - $html='<a href="module.php?mod='.$this->getName().'&mod_action=ajax&sb_action=families&alpha='.urlencode($letter).'" class="sb_fam_letter">'.PrintReady($html).'</a>'; + $html='<a href="module.php?mod='.$this->getName().'&mod_action=ajax&sb_action=families&alpha='.urlencode($letter).'" class="sb_fam_letter">'.PrintReady($html).'</a>'; $out .= $html." "; } diff --git a/modules_v3/faq/module.php b/modules_v3/faq/module.php index c095b40a14..62218b4e58 100644 --- a/modules_v3/faq/module.php +++ b/modules_v3/faq/module.php @@ -293,7 +293,7 @@ class faq_WT_Module extends WT_Module implements WT_Module_Block, WT_Module_Conf echo '<div class="faq_italic">', WT_I18N::translate('Click on a title to go straight to it, or scroll down to read them all'); if (WT_USER_GEDCOM_ADMIN) { echo '<div class="faq_edit">', - '<a href="module.php?mod=faq&mod_action=admin_config">', WT_I18N::translate('Click here to Add, Edit, or Delete'), '</a>', + '<a href="module.php?mod=faq&mod_action=admin_config">', WT_I18N::translate('Click here to Add, Edit, or Delete'), '</a>', '</div>'; } echo '</div>'; diff --git a/modules_v3/googlemap/admin_editconfig.php b/modules_v3/googlemap/admin_editconfig.php index c2e965cac1..0d9cb37110 100644 --- a/modules_v3/googlemap/admin_editconfig.php +++ b/modules_v3/googlemap/admin_editconfig.php @@ -94,9 +94,9 @@ $controller ->pageHeader(); echo '<table id="gm_config"><tr>', - '<th><a ', (safe_GET('mod_action')=="admin_editconfig" ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_editconfig">', WT_I18N::translate('Google Maps configuration'), '</a>', '</th>', - '<th><a ', (safe_GET('mod_action')=="admin_places" ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_places">', WT_I18N::translate('Edit geographic place locations'), '</a>', '</th>', - '<th><a ', (safe_GET('mod_action')=="admin_placecheck" ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_placecheck">', WT_I18N::translate('Place Check'), '</a>', help_link('GOOGLEMAP_PLACECHECK','googlemap'), '</th>', + '<th><a ', (safe_GET('mod_action')=="admin_editconfig" ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_editconfig">', WT_I18N::translate('Google Maps configuration'), '</a>', '</th>', + '<th><a ', (safe_GET('mod_action')=="admin_places" ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_places">', WT_I18N::translate('Edit geographic place locations'), '</a>', '</th>', + '<th><a ', (safe_GET('mod_action')=="admin_placecheck" ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_placecheck">', WT_I18N::translate('Place Check'), '</a>', help_link('GOOGLEMAP_PLACECHECK','googlemap'), '</th>', '</tr></table>'; if ($action=="update" && !isset($security_user)) { diff --git a/modules_v3/googlemap/admin_placecheck.php b/modules_v3/googlemap/admin_placecheck.php index b14c5fed30..07e45a0e3f 100644 --- a/modules_v3/googlemap/admin_placecheck.php +++ b/modules_v3/googlemap/admin_placecheck.php @@ -77,9 +77,9 @@ $controller $target=$openinnew ? 'target="_blank"' : ''; echo '<table id="gm_config"><tr>', - '<th><a ', (safe_GET('mod_action')=="admin_editconfig" ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_editconfig">', WT_I18N::translate('Google Maps configuration'), '</a>', '</th>', - '<th><a ', (safe_GET('mod_action')=="admin_places" ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_places">', WT_I18N::translate('Edit geographic place locations'), '</a>', '</th>', - '<th><a ', (safe_GET('mod_action')=="admin_placecheck" ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_placecheck">', WT_I18N::translate('Place Check'), '</a>', help_link('GOOGLEMAP_PLACECHECK','googlemap'), '</th>', + '<th><a ', (safe_GET('mod_action')=="admin_editconfig" ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_editconfig">', WT_I18N::translate('Google Maps configuration'), '</a>', '</th>', + '<th><a ', (safe_GET('mod_action')=="admin_places" ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_places">', WT_I18N::translate('Edit geographic place locations'), '</a>', '</th>', + '<th><a ', (safe_GET('mod_action')=="admin_placecheck" ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_placecheck">', WT_I18N::translate('Place Check'), '</a>', help_link('GOOGLEMAP_PLACECHECK','googlemap'), '</th>', '</tr></table>'; //Start of User Defined options diff --git a/modules_v3/googlemap/admin_places.php b/modules_v3/googlemap/admin_places.php index 68d2101a07..9c99d436d6 100644 --- a/modules_v3/googlemap/admin_places.php +++ b/modules_v3/googlemap/admin_places.php @@ -175,9 +175,9 @@ $controller->setPageTitle(WT_I18N::translate('Edit geographic place locations')) $controller->pageHeader(); echo '<table id="gm_config"><tr>', - '<th><a ', (safe_GET('mod_action')=='admin_editconfig' ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_editconfig">', WT_I18N::translate('Google Maps configuration'), '</a>', '</th>', - '<th><a ', (safe_GET('mod_action')=='admin_places' ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_places">', WT_I18N::translate('Edit geographic place locations'), '</a>', '</th>', - '<th><a ', (safe_GET('mod_action')=='admin_placecheck' ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_placecheck">', WT_I18N::translate('Place Check'), '</a>', help_link('GOOGLEMAP_PLACECHECK','googlemap'), '</th>', + '<th><a ', (safe_GET('mod_action')=='admin_editconfig' ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_editconfig">', WT_I18N::translate('Google Maps configuration'), '</a>', '</th>', + '<th><a ', (safe_GET('mod_action')=='admin_places' ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_places">', WT_I18N::translate('Edit geographic place locations'), '</a>', '</th>', + '<th><a ', (safe_GET('mod_action')=='admin_placecheck' ? 'class="current" ' : ''), 'href="module.php?mod=googlemap&mod_action=admin_placecheck">', WT_I18N::translate('Place Check'), '</a>', help_link('GOOGLEMAP_PLACECHECK','googlemap'), '</th>', '</tr></table>'; if ($action=='ImportGedcom') { diff --git a/modules_v3/googlemap/flags.php b/modules_v3/googlemap/flags.php index f639a3e096..b378404210 100644 --- a/modules_v3/googlemap/flags.php +++ b/modules_v3/googlemap/flags.php @@ -170,7 +170,7 @@ else { } ?> -<form method="post" id="flags" name="flags" action="module.php?mod=googlemap&mod_action=flags&countrySelected=<?php echo $countrySelected; ?>&stateSelected=<?php echo $stateSelected; ?>"> +<form method="post" id="flags" name="flags" action="module.php?mod=googlemap&mod_action=flags&countrySelected=<?php echo $countrySelected; ?>&stateSelected=<?php echo $stateSelected; ?>"> <input type="hidden" name="action" value="ChangeFlag" /> <input type="hidden" name="selcountry" value="<?php echo $countrySelected; ?>" /> <input type="hidden" name="selstate" value="<?php echo $stateSelected; ?>" /> diff --git a/modules_v3/googlemap/googlemap.php b/modules_v3/googlemap/googlemap.php index bbe987bdf2..0dff9c5108 100644 --- a/modules_v3/googlemap/googlemap.php +++ b/modules_v3/googlemap/googlemap.php @@ -502,7 +502,7 @@ function build_indiv_map($indifacts, $famids) { echo '</td></tr>'; if (WT_USER_IS_ADMIN) { echo '<tr><td class="center" colspan="2">'; - echo '<a href="module.php?mod=googlemap&mod_action=admin_editconfig">', WT_I18N::translate('Google Maps configuration'), '</a>'; + echo '<a href="module.php?mod=googlemap&mod_action=admin_editconfig">', WT_I18N::translate('Google Maps configuration'), '</a>'; echo '</td></tr>'; } } else { diff --git a/modules_v3/googlemap/pedigree_map.php b/modules_v3/googlemap/pedigree_map.php index 66e7aa1cb2..5187aba245 100644 --- a/modules_v3/googlemap/pedigree_map.php +++ b/modules_v3/googlemap/pedigree_map.php @@ -225,13 +225,13 @@ echo " background-image: url('", WT_STATIC_URL, "images/loading.gif'); backgroun if (WT_USER_IS_ADMIN) { echo "<table width=\"100%\">"; echo "<tr><td align=\"left\">\n"; - echo "<a href=\"module.php?mod=googlemap&mod_action=admin_editconfig\">", WT_I18N::translate('Google Maps configuration'), "</a>"; + echo "<a href=\"module.php?mod=googlemap&mod_action=admin_editconfig\">", WT_I18N::translate('Google Maps configuration'), "</a>"; echo "</td>\n"; echo "<td align=\"center\">\n"; - echo "<a href=\"module.php?mod=googlemap&mod_action=admin_places\">", WT_I18N::translate('Edit geographic place locations'), "</a>"; + echo "<a href=\"module.php?mod=googlemap&mod_action=admin_places\">", WT_I18N::translate('Edit geographic place locations'), "</a>"; echo "</td>\n"; echo "<td align=\"right\">\n"; - echo "<a href=\"module.php?mod=googlemap&mod_action=admin_placecheck\">", WT_I18N::translate('Place Check'), "</a>"; + echo "<a href=\"module.php?mod=googlemap&mod_action=admin_placecheck\">", WT_I18N::translate('Place Check'), "</a>"; echo "</td></tr>\n"; echo "</table>\n"; } diff --git a/modules_v3/googlemap/placehierarchy.php b/modules_v3/googlemap/placehierarchy.php index 54e3c075fc..819e2429c8 100644 --- a/modules_v3/googlemap/placehierarchy.php +++ b/modules_v3/googlemap/placehierarchy.php @@ -242,7 +242,7 @@ function create_map($placelevels) { $_streetview = /* I18N: http://en.wikipedia.org/wiki/Google_street_view */ WT_I18N::translate('Google Street View'); ?> <div> - <iframe style="background:transparent; margin-top:-3px; margin-left:2px; width:530px;height:405px;padding:0;border:solid 0px black" src="<?php echo WT_STATIC_URL, WT_MODULES_DIR; ?>googlemap/wt_v3_street_view.php?x=<?php echo $sv_lng; ?>&y=<?php echo $sv_lat; ?>&z=18&t=2&c=1&s=1&b=<?php echo $sv_dir; ?>&p=<?php echo $sv_pitch; ?>&m=<?php echo $sv_zoom; ?>&j=1&k=1&v=1&map=<?php echo $_map; ?>&reset=<?php echo $_reset; ?>&streetview=<?php echo $_streetview; ?>" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe> + <iframe style="background:transparent; margin-top:-3px; margin-left:2px; width:530px;height:405px;padding:0;border:solid 0px black" src="<?php echo WT_STATIC_URL, WT_MODULES_DIR; ?>googlemap/wt_v3_street_view.php?x=<?php echo $sv_lng; ?>&y=<?php echo $sv_lat; ?>&z=18&t=2&c=1&s=1&b=<?php echo $sv_dir; ?>&p=<?php echo $sv_pitch; ?>&m=<?php echo $sv_zoom; ?>&j=1&k=1&v=1&map=<?php echo $_map; ?>&reset=<?php echo $_reset; ?>&streetview=<?php echo $_streetview; ?>" marginwidth="0" marginheight="0" frameborder="0" scrolling="no"></iframe> </div> <?php @@ -375,7 +375,7 @@ function print_gm_markers($place2, $level, $parent, $levelm, $linklevels, $place } echo '<br />', WT_I18N::translate('This place has no coordinates'); if (WT_USER_IS_ADMIN) - echo "<br /><a href='module.php?mod=googlemap&mod_action=admin_places&parent=", $levelm, "&display=inactive'>", WT_I18N::translate('Edit geographic location'), "</a>"; + echo "<br /><a href='module.php?mod=googlemap&mod_action=admin_places&parent=", $levelm, "&display=inactive'>", WT_I18N::translate('Edit geographic location'), "</a>"; echo "</div>\", icon_type, \"", str_replace(array('‎', '‏'), array(WT_UTF8_LRM, WT_UTF8_RLM), addslashes($place2['place'])), "\");\n"; } else { $lati = str_replace(array('N', 'S', ','), array('', '-', '.'), $place2['lati']); diff --git a/modules_v3/googlemap/places_edit.php b/modules_v3/googlemap/places_edit.php index 1ff32bb291..fe2c8df3d2 100644 --- a/modules_v3/googlemap/places_edit.php +++ b/modules_v3/googlemap/places_edit.php @@ -87,7 +87,7 @@ function getHighestIndex() { $where_am_i=place_id_to_hierarchy($placeid); $level=count($where_am_i); -$link = 'module.php?mod=googlemap&mod_action=admin_places&parent='.$placeid; +$link = 'module.php?mod=googlemap&mod_action=admin_places&parent='.$placeid; if ($action=='addrecord' && WT_USER_IS_ADMIN) { $statement= diff --git a/modules_v3/googlemap/wt_v3_pedigree_map.js.php b/modules_v3/googlemap/wt_v3_pedigree_map.js.php index 633d2efd2e..cc8b5c1524 100644 --- a/modules_v3/googlemap/wt_v3_pedigree_map.js.php +++ b/modules_v3/googlemap/wt_v3_pedigree_map.js.php @@ -552,10 +552,10 @@ for ($i=0; $i<($controller->treesize); $i++) { echo 'var point = new google.maps.LatLng(', $lat[$i], ',', $lon[$i], ');'; echo "var marker = createMarker(point, \"", addslashes($name), "\",\n\t\"<div>",$dataleft,$datamid,$dataright,"</div>\", \""; echo "<div class='iwstyle'>"; - echo "<a href='module.php?ged=", WT_GEDURL, "&mod=googlemap&mod_action=pedigree_map&rootid={$pid}&PEDIGREE_GENERATIONS={$PEDIGREE_GENERATIONS}"; - if ($hideflags) echo '&hideflags=1'; - if ($hidelines) echo '&hidelines=1'; - if ($clustersize != 5) echo '&clustersize=', $clustersize; // ignoring the default of 5 + echo "<a href='module.php?ged=", WT_GEDURL, "&mod=googlemap&mod_action=pedigree_map&rootid={$pid}&PEDIGREE_GENERATIONS={$PEDIGREE_GENERATIONS}"; + if ($hideflags) echo '&hideflags=1'; + if ($hidelines) echo '&hidelines=1'; + if ($clustersize != 5) echo '&clustersize=', $clustersize; // ignoring the default of 5 echo "' title='", WT_I18N::translate('Pedigree map'), "'>", $dataleft, "</a>", $datamid, $dataright, "</div>\", \"", $marker_number, "\");\n"; //BH echo "pm_map.addOverlay(marker);\n"; diff --git a/modules_v3/individuals/module.php b/modules_v3/individuals/module.php index 43ace2abd1..ccc907716b 100644 --- a/modules_v3/individuals/module.php +++ b/modules_v3/individuals/module.php @@ -141,7 +141,7 @@ class individuals_WT_Module extends WT_Module implements WT_Module_Sidebar { $out=' - <form method="post" action="module.php?mod='.$this->getName().'&mod_action=ajax" onsubmit="return false;"> + <form method="post" action="module.php?mod='.$this->getName().'&mod_action=ajax" onsubmit="return false;"> <input type="text" name="sb_indi_name" id="sb_indi_name" placeholder="'.WT_I18N::translate('Search').'" /> <p>'; foreach ($initials as $letter=>$count) { @@ -159,7 +159,7 @@ class individuals_WT_Module extends WT_Module implements WT_Module_Sidebar { $html=$letter; break; } - $html='<a href="module.php?mod='.$this->getName().'&mod_action=ajax&sb_action=individuals&alpha='.urlencode($letter).'" class="sb_indi_letter">'.PrintReady($html).'</a>'; + $html='<a href="module.php?mod='.$this->getName().'&mod_action=ajax&sb_action=individuals&alpha='.urlencode($letter).'" class="sb_indi_letter">'.PrintReady($html).'</a>'; $out .= $html." "; } diff --git a/modules_v3/media/module.php b/modules_v3/media/module.php index fb905bbcee..3a87863768 100644 --- a/modules_v3/media/module.php +++ b/modules_v3/media/module.php @@ -63,7 +63,7 @@ class media_WT_Module extends WT_Module implements WT_Module_Tab { <script type="text/javascript"> <!-- function reorder_media() { - var win02 = window.open("edit_interface.php?action=reorder_media&pid=<?php echo $controller->record->getXref(); ?>", "win02", "resizable=1, menubar=0, scrollbars=1, top=20, height=840, width=450 "); + var win02 = window.open("edit_interface.php?action=reorder_media&pid=<?php echo $controller->record->getXref(); ?>", "win02", "resizable=1, menubar=0, scrollbars=1, top=20, height=840, width=450 "); if (window.focus) {win02.focus();} } --> @@ -89,8 +89,8 @@ class media_WT_Module extends WT_Module implements WT_Module_Tab { <tr> <td class="facts_label"><?php echo WT_I18N::translate('Add media'), help_link('OBJE'); ?></td> <td class="facts_value"> - <a href="#" onclick="window.open('addmedia.php?action=showmediaform&linktoid=<?php echo $controller->record->getXref(); ?>', '_blank', 'top=50,left=50,width=600,height=500,resizable=1,scrollbars=1'); return false;"> <?php echo WT_I18N::translate('Add a new media object'); ?></a><br /> - <a href="#" onclick="window.open('inverselink.php?linktoid=<?php echo $controller->record->getXref(); ?>&linkto=person', '_blank', 'top=50,left=50,width=400,height=300,resizable=1,scrollbars=1'); return false;"><?php echo WT_I18N::translate('Link to an existing media object'); ?></a> + <a href="#" onclick="window.open('addmedia.php?action=showmediaform&linktoid=<?php echo $controller->record->getXref(); ?>', '_blank', 'top=50,left=50,width=600,height=500,resizable=1,scrollbars=1'); return false;"> <?php echo WT_I18N::translate('Add a new media object'); ?></a><br /> + <a href="#" onclick="window.open('inverselink.php?linktoid=<?php echo $controller->record->getXref(); ?>&linkto=person', '_blank', 'top=50,left=50,width=400,height=300,resizable=1,scrollbars=1'); return false;"><?php echo WT_I18N::translate('Link to an existing media object'); ?></a> </td> </tr> <?php diff --git a/modules_v3/sitemap/admin_index.php b/modules_v3/sitemap/admin_index.php index 04cd8f3da2..1229392871 100644 --- a/modules_v3/sitemap/admin_index.php +++ b/modules_v3/sitemap/admin_index.php @@ -200,12 +200,12 @@ if ($action=="generate") { if (isset($_POST["GEDCOM_{$ged_id}"])) { $filecounter += 1; $sitemapFilename = "SM_".str_ireplace(".ged",".xml",$gedcom); - echo "<tr><td class=\"optionbox\"><a href=\"module.php?mod=sitemap&mod_action=admin_index&action=sendFiles&index=", $ged_id, "&gedcom_name=", rawurlencode($gedcom), "&filename=", $sitemapFilename; - if (isset($_POST["welcome_page"])) echo "&welcome=true&welcome_priority=", $welcome_priority, "&welcome_update=", $welcome_update; - if (isset($_POST["indi_recs"])) echo "&indi_rec=true&indirec_priority=", $indirec_priority, "&indirec_update=", $indirec_update; - if (isset($_POST["indi_list"])) echo "&indi_lists=true&indilist_priority=", $indilist_priority, "&indilist_update=", $indilist_update; - if (isset($_POST["fam_recs"])) echo "&fam_rec=true&famrec_priority=", $famrec_priority, "&famrec_update=", $famrec_update; - if (isset($_POST["fam_list"])) echo "&fam_lists=true&famlist_priority=", $famlist_priority, "&famlist_update=", $famlist_update; + echo "<tr><td class=\"optionbox\"><a href=\"module.php?mod=sitemap&mod_action=admin_index&action=sendFiles&index=", $ged_id, "&gedcom_name=", rawurlencode($gedcom), "&filename=", $sitemapFilename; + if (isset($_POST["welcome_page"])) echo "&welcome=true&welcome_priority=", $welcome_priority, "&welcome_update=", $welcome_update; + if (isset($_POST["indi_recs"])) echo "&indi_rec=true&indirec_priority=", $indirec_priority, "&indirec_update=", $indirec_update; + if (isset($_POST["indi_list"])) echo "&indi_lists=true&indilist_priority=", $indilist_priority, "&indilist_update=", $indilist_update; + if (isset($_POST["fam_recs"])) echo "&fam_rec=true&famrec_priority=", $famrec_priority, "&famrec_update=", $famrec_update; + if (isset($_POST["fam_list"])) echo "&fam_lists=true&famlist_priority=", $famlist_priority, "&famlist_update=", $famlist_update; echo "\"><b>", $sitemapFilename, "</b></a></td></tr>\n"; } } diff --git a/modules_v3/tree/class_treeview.php b/modules_v3/tree/class_treeview.php index ab658c84e1..d94002c3d2 100644 --- a/modules_v3/tree/class_treeview.php +++ b/modules_v3/tree/class_treeview.php @@ -68,9 +68,9 @@ class TreeView { $rootPerson = new WT_Person(''); if (WT_SCRIPT_NAME == 'individual.php') - $path = 'individual.php?pid='.$rootPerson->getXref().'&ged='.$GEDCOM.'&allPartners='.($this->allPartners ? "false" : "true").'#tree'; + $path = 'individual.php?pid='.$rootPerson->getXref().'&ged='.$GEDCOM.'&allPartners='.($this->allPartners ? "false" : "true").'#tree'; else - $path = 'module.php?mod=tree&mod_action=treeview&rootid='.$rootPerson->getXref().'&allPartners='.($this->allPartners ? "false" : "true"); + $path = 'module.php?mod=tree&mod_action=treeview&rootid='.$rootPerson->getXref().'&allPartners='.($this->allPartners ? "false" : "true"); $r = '<a name="tv_content"></a><div id="'.$this->name.'_out" dir="ltr" class="tv_out">'; // Read styles (20 maxi) in a hidden list @@ -117,7 +117,7 @@ class TreeView { '<li id="tvbPrint" class="tv_button"><img src="'.WT_STATIC_URL.WT_MODULES_DIR.'tree/images/print.png" alt="p" title="'./* I18N: verb/action */ WT_I18N::translate('Print').'" /></li>'. '<li class="tv_button'.($this->allPartners ? ' tvPressed' : '').'"><a href="'.$path.'"><img src="'.$WT_IMAGES["sfamily"].'" alt="'.WT_I18N::translate('Show all spouses and ancestors').'" title="'.WT_I18N::translate('Show all spouses and ancestors').'" /></a></li>'; if (safe_GET('mod_action') != 'treeview') { - $r.='<li class="tv_button"><a href="module.php?mod=tree&mod_action=treeview&rootid='.$rootPerson->getXref().'#tv_content" title="'. /* I18N: Button label - view this chart in full-screen mode */ WT_I18N::translate('Full screen').'"><img src="'.$WT_IMAGES["fscreen"].'" alt="full screen" /></a></li>'; + $r.='<li class="tv_button"><a href="module.php?mod=tree&mod_action=treeview&rootid='.$rootPerson->getXref().'#tv_content" title="'. /* I18N: Button label - view this chart in full-screen mode */ WT_I18N::translate('Full screen').'"><img src="'.$WT_IMAGES["fscreen"].'" alt="full screen" /></a></li>'; } // Help, and hidden loading image $r.='<li class="tv_button">'.help_link("TV_MODULE", 'tree').'</li> @@ -209,7 +209,7 @@ class TreeView { $r = '<div class="tv'.$person->getSex().' tv_person_expanded">'; $r .= $this->getThumbnail($personGroup, $person); - $r .= '<a class="tv_link" href="'.$person->getHtmlUrl().'">'.$person->getFullName().'</a> <a href="module.php?mod=tree&mod_action=treeview&allPartners='.($this->allPartners ? 'true' : 'false').'&rootid='.$person->getXref().'" title="'.WT_I18N::translate('Interactive tree of %s', strip_tags($person->getFullName())).'"><img src="'.$WT_IMAGES['tree'].'" class="tv_link tv_treelink" /></a>'; + $r .= '<a class="tv_link" href="'.$person->getHtmlUrl().'">'.$person->getFullName().'</a> <a href="module.php?mod=tree&mod_action=treeview&allPartners='.($this->allPartners ? 'true' : 'false').'&rootid='.$person->getXref().'" title="'.WT_I18N::translate('Interactive tree of %s', strip_tags($person->getFullName())).'"><img src="'.$WT_IMAGES['tree'].'" class="tv_link tv_treelink" /></a>'; $r .= '<br /><b>'.WT_Gedcom_Tag::getAbbreviation('BIRT').'</b> '.$person->getBirthDate()->Display().' '.$person->getBirthPlace(); if ($family) { $r .= '<br /><b>'.WT_Gedcom_Tag::getAbbreviation('MARR').'</b> '.$family->getMarriageDate()->Display().' <a href="'.$family->getHtmlUrl().'"><img src="'.$WT_IMAGES['button_family'].'" class="tv_link tv_treelink" title="'.strip_tags($family->getFullName()).'" /></a>'.$family->getMarriagePlace(); |
