From 63e967bdfd6d3bd52960647f8490dfd9678353f9 Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Sun, 5 Aug 2012 13:04:35 +0100 Subject: html validity fixes (removed name and align in some plugins) --- inc/media.php | 12 ++++++------ lib/plugins/acl/admin.php | 10 +++++----- lib/plugins/acl/style.css | 8 ++++++++ lib/plugins/config/admin.php | 2 +- lib/scripts/media.js | 4 ++-- 5 files changed, 22 insertions(+), 14 deletions(-) diff --git a/inc/media.php b/inc/media.php index 6941aa61a..6335bf210 100644 --- a/inc/media.php +++ b/inc/media.php @@ -1383,9 +1383,9 @@ function media_printfile($item,$auth,$jump,$display_namespace=false){ // output echo '
'.NL; if (!$display_namespace) { - echo ''.hsc($file).' '; + echo ''.hsc($file).' '; } else { - echo ''.hsc($item['id']).'
'; + echo ''.hsc($item['id']).'
'; } echo '('.$info.')'.NL; @@ -1449,7 +1449,7 @@ function media_printfile_thumbs($item,$auth,$jump=false,$display_namespace=false media_printimgdetail($item, true); } else { - echo ''; echo media_printicon($item['id']); @@ -1462,7 +1462,7 @@ function media_printfile_thumbs($item,$auth,$jump=false,$display_namespace=false $name = hsc($item['id']); } echo '
'.$name.'
'.NL; + 'tab_details' => 'view')).'" id="h_:'.$item['id'].'">'.$name.''.NL; if($item['isimg']){ $size = ''; @@ -1510,7 +1510,7 @@ function media_printimgdetail($item, $fullscreen=false){ // output if ($fullscreen) { - echo ''; echo ''; echo ''; @@ -1520,7 +1520,7 @@ function media_printimgdetail($item, $fullscreen=false){ echo '
'; echo '
'; - echo ''; + echo ''; echo ''; echo ''; echo '
'; diff --git a/lib/plugins/acl/admin.php b/lib/plugins/acl/admin.php index a0d2e430e..64d6ff3ca 100644 --- a/lib/plugins/acl/admin.php +++ b/lib/plugins/acl/admin.php @@ -191,7 +191,7 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin { echo '
'.NL; echo '
'.NL; - echo '1)'.NL; + echo '1)'.NL; echo $this->getLang('p_include'); echo '
'; @@ -602,7 +602,7 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin { echo ''; echo ''.$this->getLang('where').''; echo ''.$this->getLang('who').''; - echo ''.$this->getLang('perm').'1)'; + echo ''.$this->getLang('perm').'1)'; echo ''.$lang['btn_delete'].''; echo ''; foreach($this->acl as $where => $set){ @@ -630,7 +630,7 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin { echo $this->_html_checkboxes($perm,$ispage,'acl['.$where.']['.$who.']'); echo ''; - echo ''; + echo ''; echo ''; echo ''; echo ''; @@ -638,7 +638,7 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin { } echo ''; - echo ''; + echo ''; echo ''; echo ''; echo ''; @@ -746,7 +746,7 @@ class admin_plugin_acl extends DokuWiki_Admin_Plugin { } //build code - $ret .= '