diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-02 16:08:48 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-02 16:08:48 -0400 |
commit | 1289beb53ba11693cba6d74c5a7da5c29e7cf7fa (patch) | |
tree | 8e46379198b58282870947a2041d66731d030c05 | |
parent | 895faed6428f3523871d29ed82b0ab3326453b75 (diff) | |
download | ikiwiki-1289beb53ba11693cba6d74c5a7da5c29e7cf7fa.tar ikiwiki-1289beb53ba11693cba6d74c5a7da5c29e7cf7fa.tar.gz |
xhtml fixes
-rw-r--r-- | IkiWiki/Plugin/attachment.pm | 2 | ||||
-rw-r--r-- | templates/editpage.tmpl | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/IkiWiki/Plugin/attachment.pm b/IkiWiki/Plugin/attachment.pm index a58f696eb..c1d1d1c60 100644 --- a/IkiWiki/Plugin/attachment.pm +++ b/IkiWiki/Plugin/attachment.pm @@ -180,7 +180,7 @@ sub attachment_list ($) { $f=~m/^\Q$loc\E[^\/]+$/ && -e "$config{srcdir}/$f") { push @ret, { - "field-select" => '<input type="checkbox" name="attachment_select" value="'.$f.'">', + "field-select" => '<input type="checkbox" name="attachment_select" value="'.$f.'" />', link => htmllink($page, $page, $f, noimageinline => 1), size => humansize((stat(_))[7]), mtime => displaytime($IkiWiki::pagemtime{$f}), diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl index fdb142c70..42d61c188 100644 --- a/templates/editpage.tmpl +++ b/templates/editpage.tmpl @@ -64,14 +64,13 @@ Optional comment about this change:<br /> <TMPL_IF NAME="FIELD-ATTACHMENT"> <div class="<TMPL_VAR ATTACHMENTS-CLASS>" id="attachments"> <table> -<tr><td colspan=5><TMPL_VAR FIELD-ATTACHMENT><TMPL_VAR FIELD-UPLOAD></td></tr> +<tr><td colspan="5"><TMPL_VAR FIELD-ATTACHMENT><TMPL_VAR FIELD-UPLOAD></td></tr> <TMPL_LOOP NAME="ATTACHMENT_LIST"> <tr><td><TMPL_VAR FIELD-SELECT><TMPL_VAR LINK></td><td><TMPL_VAR SIZE></td><td><TMPL_VAR MTIME></td></tr> </TMPL_LOOP> <TMPL_IF NAME="ATTACHMENT_LIST"> -<tr><td colspan=2><TMPL_VAR FIELD-LINK><TMPL_VAR FIELD-DELETE><TMPL_VAR FIELD-RENAME></td></tr> +<tr><td colspan="2"><TMPL_VAR FIELD-LINK><TMPL_VAR FIELD-DELETE><TMPL_VAR FIELD-RENAME></td></tr> </TMPL_IF> -</tr> </table> </div> </TMPL_IF> |