summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
authorBen Coburn <btcoburn@silicodon.net>2006-07-10 11:18:20 +0200
committerBen Coburn <btcoburn@silicodon.net>2006-07-10 11:18:20 +0200
commit746855cf48e51565e70ed332fac9025865c52d8d (patch)
tree7ebdfd61c48f2fd815a21cb4d3d84a51410453b2 /inc/html.php
parentbad905f13d90b80add3f028b9f6c77e071e0d746 (diff)
downloadrpg-746855cf48e51565e70ed332fac9025865c52d8d.tar.gz
rpg-746855cf48e51565e70ed332fac9025865c52d8d.tar.bz2
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
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php4
1 files changed, 2 insertions, 2 deletions
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 '<div class="search_quickresult">';
- print '<h3>'.$lang[quickhits].':</h3>';
+ print '<h3>'.$lang['quickhits'].':</h3>';
print '<ul class="search_quickhits">';
foreach($data as $id){
print '<li> ';
@@ -1201,7 +1201,7 @@ function html_admin(){
);
}
- usort($menu, p_sort_modes);
+ usort($menu, 'p_sort_modes');
// output the menu
ptln('<ul>');