From 4beabca98b78dc832f53bb31d96a2afe55bc0303 Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Sat, 14 Jan 2006 17:35:58 +0100 Subject: better_xhtml_compliance_1.patch darcs-hash:20060114163558-d5083-0d8e27162de2b0bfe9783e31cf4ca45a99006dd5.gz --- inc/html.php | 16 ++++++++-------- inc/parser/xhtml.php | 4 ++-- inc/pluginutils.php | 4 ++-- inc/template.php | 12 ++++++------ 4 files changed, 18 insertions(+), 18 deletions(-) (limited to 'inc') diff --git a/inc/html.php b/inc/html.php index 74047035b..b46176897 100644 --- a/inc/html.php +++ b/inc/html.php @@ -186,7 +186,7 @@ function html_backtomedia_button($params,$akey=''){ global $conf; global $lang; - $ret = '
'; + $ret = '
'; reset($params); while (list($key, $val) = each($params)) { @@ -200,7 +200,7 @@ function html_backtomedia_button($params,$akey=''){ $ret .= 'accesskey="'.$akey.'" '; } $ret .= '/>'; - $ret .= ''; + $ret .= '
'; return $ret; } @@ -231,7 +231,7 @@ function html_btn($name,$id,$akey,$params,$method='get'){ $params['id'] = $id; } - $ret .= '
'; + $ret .= '
'; reset($params); while (list($key, $val) = each($params)) { @@ -245,7 +245,7 @@ function html_btn($name,$id,$akey,$params,$method='get'){ $ret .= 'accesskey="'.$akey.'" '; } $ret .= '/>'; - $ret .= ''; + $ret .= '
'; return $ret; } @@ -327,8 +327,8 @@ function html_search(){ flush(); //show progressbar - print '
'; - print ''; print '
'; @@ -371,7 +371,7 @@ function html_search(){ } //hide progressbar - print ''; } @@ -979,7 +979,7 @@ function html_edit($text=null,$include='edit'){ //FIXME: include needed?
- diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php index 3b253bb89..dc8922ee7 100644 --- a/inc/parser/xhtml.php +++ b/inc/parser/xhtml.php @@ -162,7 +162,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { } function hr() { - $this->doc .= '
'.DOKU_LF; + $this->doc .= '
'.DOKU_LF; } function strong_open() { @@ -400,7 +400,7 @@ class Doku_Renderer_xhtml extends Doku_Renderer { if ( array_key_exists($smiley, $this->smileys) ) { $title = $this->_xmlEntities($this->smileys[$smiley]); $this->doc .= ''.
+                ''; } else { $this->doc .= $this->_xmlEntities($smiley); diff --git a/inc/pluginutils.php b/inc/pluginutils.php index 4c81f9abb..2b1dd4aa8 100644 --- a/inc/pluginutils.php +++ b/inc/pluginutils.php @@ -29,7 +29,7 @@ function plugin_printCSSJS(){ print ' '."\n"; } if(@file_exists(DOKU_INC.$dir.'script.js')){ - print ' '."\n"; + print ' '."\n"; } } else { // no plugin manager (or aggregate files not setup) so individual instances of these files for any plugin that uses them @@ -46,7 +46,7 @@ function plugin_printCSSJS(){ print ' '."\n"; } if(@file_exists(DOKU_INC.$dir.'script.js')){ - print ' '."\n"; + print ' '."\n"; } } } diff --git a/inc/template.php b/inc/template.php index 4993de19c..f2f214bd9 100644 --- a/inc/template.php +++ b/inc/template.php @@ -206,7 +206,7 @@ function tpl_metaheaders($alt=true){ $js_edit = ($ACT=='edit' || $ACT=='preview') ? 1 : 0; $js_write = ($INFO['writable']) ? 1 : 0; if($js_edit && $js_write){ - ptln('',$it); } - ptln('',$it); } @@ -489,7 +489,7 @@ function tpl_searchform($ajax=true,$autocomplete=true){ global $lang; global $ACT; - print ''; } /** @@ -691,7 +691,7 @@ function tpl_mediafilelist(){ $del = ''. ''.$lang['btn_delete'].''; + 'title="'.$lang['btn_delete'].'" />'; }else{ $del = ''; } @@ -806,7 +806,7 @@ function tpl_mediauploadform(){ ptln('',4); ptln('',4); if($AUTH >= AUTH_DELETE){ - ptln('',4); + ptln('',4); } ptln('',2); } -- cgit v1.2.3