summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 304ac0e)
raw | patch | inline | side by side (parent: 304ac0e)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Nov 2007 08:01:20 +0000 (08:01 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Nov 2007 08:01:20 +0000 (08:01 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7883 594d385d-05f5-0310-b6e9-bd551577e9d8
include/php_setup.inc | patch | blob | history |
diff --git a/include/php_setup.inc b/include/php_setup.inc
index b3f839dcaa4d9c5e33fb80483683bd74b5843f0e..3ad89e47e3a41a94f2f5930a668f0869771284b7 100644 (file)
--- a/include/php_setup.inc
+++ b/include/php_setup.inc
$error_collector= "
<table summary=\"\" width=\"100%\" style='background-color:#E0E0E0;border-bottom:1px solid black;z-index:150;'>
<tr>
- <td>
- <img alt=\"\" align=\"middle\" src='".get_template_path('images/warning.png')."'>
+ <td>";
+ if (function_exists("get_template_path")){
+ $error_collector.= "<img alt=\"\" align=\"middle\" src='".get_template_path('images/warning.png')."'> ";
+ }
+ $error_collector.= "
<font style='font-size:14px;font-weight:bold'>".
_("Generating this page caused the PHP interpreter to raise some errors!")."
</font>