diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-06-03 20:56:54 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-06-03 20:56:54 +0000 |
| commit | c3f3c4bfa25a19e4d4e0d7b2a07faa7c9453f05a (patch) | |
| tree | f22665d1870a3805be5b5b3b0a84b4da047e3b30 /compact.php | |
| parent | 03bc9b91b808a8f230756b9cee30eb4e05781d35 (diff) | |
| download | webtrees-c3f3c4bfa25a19e4d4e0d7b2a07faa7c9453f05a.tar.gz webtrees-c3f3c4bfa25a19e4d4e0d7b2a07faa7c9453f05a.tar.bz2 webtrees-c3f3c4bfa25a19e4d4e0d7b2a07faa7c9453f05a.zip | |
Don't show XREF in brackets
Diffstat (limited to 'compact.php')
| -rw-r--r-- | compact.php | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/compact.php b/compact.php index abec70f535..36cf65e39b 100644 --- a/compact.php +++ b/compact.php @@ -33,7 +33,6 @@ require_once WT_ROOT.'includes/functions/functions_charts.php'; // Extract form variables $rootid =safe_GET_xref('rootid'); -$showids =safe_GET('showids' , '1', '0'); $showthumbs=safe_GET('showthumbs', '1', '0'); // Validate form variables @@ -92,17 +91,6 @@ if ($view != "preview") { echo "<input type=\"submit\" value=\"".i18n::translate('View')."\" />"; echo "</td>\n</tr>\n"; - if ($SHOW_ID_NUMBERS) { - echo "<tr>\n"; - echo "<td class=\"descriptionbox\">"; - echo i18n::translate('Show ID numbers next to names'), help_link('SHOW_ID_NUMBERS'); - echo "</td>\n"; - echo "<td class=\"optionbox\">\n"; - echo "<input name=\"showids\" type=\"checkbox\" value=\"1\""; - if ($showids) echo " checked=\"checked\""; - echo " /></td>\n</tr>\n"; - } - if ($SHOW_HIGHLIGHT_IMAGES) { echo "<tr>\n"; echo "<td class=\"descriptionbox\">"; @@ -303,7 +291,7 @@ print_footer(); function print_td_person($n) { global $treeid, $WT_IMAGE_DIR, $WT_IMAGES; global $TEXT_DIRECTION, $MULTI_MEDIA, $SHOW_HIGHLIGHT_IMAGES, $USE_SILHOUETTE, $WT_IMAGES; - global $showids, $showthumbs; + global $showthumbs; $text = ""; $pid = $treeid[$n]; @@ -380,12 +368,6 @@ function print_td_person($n) { $text .= PrintReady(htmlspecialchars(strip_tags($name),ENT_QUOTES,'UTF-8')); if ($addname) $text .= "<br />" . PrintReady($addname); $text .= "</a>"; - if ($showids) { - $text .= " <span class='details1' "; - if ($TEXT_DIRECTION=="ltr") $text .= "dir=\"ltr\">"; - else $text .= "dir=\"rtl\">"; - $text .= "(".$pid.")</span>"; - } $text .= "<br />"; if ($indi->canDisplayDetails()) { $text.="<span class='details1'>"; @@ -428,7 +410,7 @@ function print_td_person($n) { function print_arrow_person($n, $arrow_dir) { global $treeid; - global $view, $showids, $showthumbs; + global $view, $showthumbs; global $TEXT_DIRECTION, $WT_IMAGE_DIR, $WT_IMAGES; $pid = $treeid[$n]; @@ -454,7 +436,6 @@ function print_arrow_person($n, $arrow_dir) { $text = ""; if ($pid) { $text .= "<a href=\"?rootid=".$pid; - if ($showids) $text .="&showids=".$showids; if ($showthumbs) $text .= "&showthumbs=".$showthumbs; if ($view) $text .="&view=".$view; $text .= "\" onmouseover=\"swap_image('arrow$n',".$arrow_swap[$arrow_dir].");\" onmouseout=\"swap_image('arrow$n',".$arrow_swap[$arrow_dir].");\" >"; |
