index 9ba0e4dacaa1140070b794bccf403d8652e45344..82289820300c81a961f69b28b8b35a63711b7d59 100644 (file)
// To avoid recursion - restore original error handler.
restore_error_handler();
- /* Return if error reporting is set to zero */
+ /* Return if error reporting is set to zero
+ * Also exclude statements prefixed with @ - Comment out the block below to see suppressed errors.
+ * e.g. @call_function_but_hide_errors()
+ */
if (error_reporting() == 0){
set_error_handler('gosaRaiseError', E_WARNING | E_NOTICE | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_STRICT) ;
return;
</a>
</td>
<td align=right>
- <button onClick='GOsa_toggle(\"errorbox\")'>".
+ <button onClick=\"$('errorbox').toggle();\">".
_("Toggle information")."
</button>
</td>
</tr>
</table>
- <div id='errorbox' style='position:absolute; z-index:150; visibility: hidden'>";
+ <div id='errorbox' style='position:absolute; z-index:150; display: none;'>";
}
}
$smarty->caching= false;
$smarty->php_handling= SMARTY_PHP_REMOVE;
-// Try to load PDF library
+/* Global FPDF define */
define('FPDF_FONTPATH', '/usr/share/php/fpdf/font/');
-@include('fpdf/fpdf.php');
+
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler:
?>