From 746855cf48e51565e70ed332fac9025865c52d8d Mon Sep 17 00:00:00 2001 From: Ben Coburn Date: Mon, 10 Jul 2006 11:18:20 +0200 Subject: cleanup undefined constant notices Undefined constants replaced with strings, see http://www.php.net/manual/en/language.types.array.php#language.types.array.foo-bar darcs-hash:20060710091820-05dcb-cfccff2bdd633b929470c60d8eee096f50ab4c18.gz --- inc/actions.php | 2 +- inc/html.php | 4 ++-- inc/template.php | 4 ++-- inc/toolbar.php | 4 ++-- lib/plugins/config/admin.php | 2 +- lib/plugins/plugin/admin.php | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/inc/actions.php b/inc/actions.php index 51fb0a84a..cbbbeead6 100644 --- a/inc/actions.php +++ b/inc/actions.php @@ -113,7 +113,7 @@ function act_dispatch(){ //call template FIXME: all needed vars available? $headers[] = 'Content-Type: text/html; charset=utf-8'; - trigger_event('ACTION_HEADERS_SEND',$headers,act_sendheaders); + trigger_event('ACTION_HEADERS_SEND',$headers,'act_sendheaders'); include(template('main.php')); // output for the commands is now handled in inc/templates.php diff --git a/inc/html.php b/inc/html.php index 7f5050b8d..8906491ef 100644 --- a/inc/html.php +++ b/inc/html.php @@ -371,7 +371,7 @@ function html_search(){ if(count($data)){ sort($data); print '
'; - print '

'.$lang[quickhits].':

'; + print '

'.$lang['quickhits'].':

'; print '