diff options
author | chris <chris@jalakai.co.uk> | 2006-09-23 22:36:09 +0200 |
---|---|---|
committer | chris <chris@jalakai.co.uk> | 2006-09-23 22:36:09 +0200 |
commit | bb4866bd74ec6b55bf41e75c158d940dced91f2f (patch) | |
tree | fd3bf3458189d8ef7d5854720af2f825fd874d28 /inc/html.php | |
parent | a424cd8e52ec6e1e860e19467c8cea23871f611f (diff) | |
download | rpg-bb4866bd74ec6b55bf41e75c158d940dced91f2f.tar.gz rpg-bb4866bd74ec6b55bf41e75c158d940dced91f2f.tar.bz2 |
minor bugfix and boring error removal
darcs-hash:20060923203609-9b6ab-ecca679faa254a29772868508050fcf3206b0814.gz
Diffstat (limited to 'inc/html.php')
-rw-r--r-- | inc/html.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/html.php b/inc/html.php index ee1f60919..46e6bd8c6 100644 --- a/inc/html.php +++ b/inc/html.php @@ -1076,7 +1076,7 @@ function html_edit($text=null,$include='edit'){ //FIXME: include needed? <div style="width:99%;"> <div class="toolbar"> - <div id="draft__status"><?php if($INFO['draft']) echo $lang['draftdate'].' '.date($conf['dformat']);?></div> + <div id="draft__status"><?php if(!empty($INFO['draft'])) echo $lang['draftdate'].' '.date($conf['dformat']);?></div> <div id="tool__bar"><?php if(!$ro){?><a href="<?php echo DOKU_BASE?>lib/exe/mediamanager.php?ns=<?php echo $INFO['namespace']?>" target="_blank"><?php echo $lang['mediaselect'] ?></a><?php }?></div> @@ -1143,7 +1143,7 @@ function html_minoredit(){ $p['id'] = 'minoredit'; $p['tabindex'] = 3; $p['value'] = '1'; - if($_REQUEST['minor']) $p['checked']='checked'; + if(!empty($_REQUEST['minor'])) $p['checked']='checked'; $att = buildAttributes($p); print '<span class="nowrap">'; |