summaryrefslogtreecommitdiff
path: root/includes/controllers
diff options
context:
space:
mode:
authorNigel Osborne <kiwi3685@me.com>2010-10-26 02:32:56 +0000
committerNigel Osborne <kiwi3685@me.com>2010-10-26 02:32:56 +0000
commitc64a0a85f7cbf2578a1b9b700a5c8c4c6d4aef5f (patch)
treef084de96d90a7938551aae3ea3f6df60a18555b5 /includes/controllers
parent298631b1d175a0fefc7f2fa9c678671a15d4c76d (diff)
downloadwebtrees-c64a0a85f7cbf2578a1b9b700a5c8c4c6d4aef5f.tar.gz
webtrees-c64a0a85f7cbf2578a1b9b700a5c8c4c6d4aef5f.tar.bz2
webtrees-c64a0a85f7cbf2578a1b9b700a5c8c4c6d4aef5f.zip
Make images optional
Diffstat (limited to 'includes/controllers')
-rw-r--r--includes/controllers/search_ctrl.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/controllers/search_ctrl.php b/includes/controllers/search_ctrl.php
index fbf2fffa40..34eadec4ae 100644
--- a/includes/controllers/search_ctrl.php
+++ b/includes/controllers/search_ctrl.php
@@ -854,7 +854,9 @@ class SearchController extends BaseController {
if (!$displayed_once) {
if (!$no_results_found) {
$no_results_found = true;
- print "<tr><td class=\"list_label\" colspan=\"2\" width=\"100%\"><img src=\"".$WT_IMAGES["indis"]."\" border=\"0\" width=\"25\" alt=\"\" /> ".i18n::translate('People')."</td></tr>";
+ print "<tr><td class=\"list_label\" colspan=\"2\" width=\"100%\">";
+ if (isset($WT_IMAGES["indis"])) echo "<img src=\"".$WT_IMAGES["indis"]."\" border=\"0\" width=\"25\" alt=\"\" /> ";
+ print i18n::translate('People')."</td></tr>";
print "<tr><td><table id=\"multiResultsInTbl\" align=\"center\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" ><tr>";
}
$displayed_once = true;