From: <var...@us...> - 2008-08-26 16:44:57
|
Revision: 6211 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6211&view=rev Author: vargenau Date: 2008-08-26 16:45:07 +0000 (Tue, 26 Aug 2008) Log Message: ----------- Valid XHTML code Modified Paths: -------------- trunk/themes/MonoBook/templates/info.tmpl trunk/themes/Portland/templates/editpage.tmpl trunk/themes/Portland/templates/viewsource.tmpl trunk/themes/Wordpress/templates/viewsource.tmpl trunk/themes/blog/templates/blogform.tmpl trunk/themes/blog/templates/viewsource.tmpl Modified: trunk/themes/MonoBook/templates/info.tmpl =================================================================== --- trunk/themes/MonoBook/templates/info.tmpl 2008-08-26 16:30:49 UTC (rev 6210) +++ trunk/themes/MonoBook/templates/info.tmpl 2008-08-26 16:45:07 UTC (rev 6211) @@ -49,7 +49,7 @@ 'rows' => $request->getPref('editHeight')/4, 'cols' => $request->getPref('editWidth')/2, 'readonly' => 'readonly', - 'wrap' => 'virtual'), /* for Netscape 4 */ + ), $revision->get('summary')); if ($is_current = $revision->isCurrent()) { Modified: trunk/themes/Portland/templates/editpage.tmpl =================================================================== --- trunk/themes/Portland/templates/editpage.tmpl 2008-08-26 16:30:49 UTC (rev 6210) +++ trunk/themes/Portland/templates/editpage.tmpl 2008-08-26 16:45:07 UTC (rev 6211) @@ -7,9 +7,6 @@ * page won't work with some browsers. (NS4 and Mozilla 0.97 won't accept * a redirect from a page to itself.) * - * <textarea wrap="virtual"> is not valid xhtml but Netscape 4 requires it - * to wrap long lines. - * */ ?> <form method="post" name="editpage" @@ -96,4 +93,4 @@ // --> </script> -<hr /> \ No newline at end of file +<hr /> Modified: trunk/themes/Portland/templates/viewsource.tmpl =================================================================== --- trunk/themes/Portland/templates/viewsource.tmpl 2008-08-26 16:30:49 UTC (rev 6210) +++ trunk/themes/Portland/templates/viewsource.tmpl 2008-08-26 16:45:07 UTC (rev 6211) @@ -13,16 +13,15 @@ <!-- Dummy form else NS4 does not like the textarea --> <form method="post" action="<?=$request->getPostURL()?>" accept-charset="<?=CHARSET?>"> -<!-- wrap=virtual is not HTML4, but without it NS4 does not wrap long lines --> <textarea class="wikiedit" name="content" rows="<?=$request->getPref('editHeight')?>" cols="<?=$request->getPref('editWidth')?>" readonly="readonly" - wrap="virtual"><?= $PAGE_SOURCE ?></textarea> + ><?= $PAGE_SOURCE ?></textarea> <?= HiddenInputs($request->getArgs()) ?> </form> <hr /> <a href="<?=WikiURL($page,array('action'=>_("PageHistory")))?>" ><?= $WikiTheme->getLastModifiedMessage($revision) ?></a> -<br /> \ No newline at end of file +<br /> Modified: trunk/themes/Wordpress/templates/viewsource.tmpl =================================================================== --- trunk/themes/Wordpress/templates/viewsource.tmpl 2008-08-26 16:30:49 UTC (rev 6210) +++ trunk/themes/Wordpress/templates/viewsource.tmpl 2008-08-26 16:45:07 UTC (rev 6211) @@ -17,13 +17,12 @@ <!-- Dummy form else NS4 does not like the textarea --> <form method="post" action="<?=$request->getPostURL()?>" accept-charset="<?=CHARSET?>"> -<!-- wrap=virtual is not HTML4, but without it NS4 does not wrap long lines --> <textarea class="wikiedit" name="content" rows="<?=$request->getPref('editHeight')?>" cols="<?=$request->getPref('editWidth')?>" readonly="readonly" - wrap="virtual"><?= $PAGE_SOURCE ?></textarea> + ><?= $PAGE_SOURCE ?></textarea> <?= HiddenInputs($request->getArgs()) ?> </form> <hr /> @@ -31,4 +30,4 @@ ><?= $WikiTheme->getLastModifiedMessage($revision) ?></a> <br /> -</div> \ No newline at end of file +</div> Modified: trunk/themes/blog/templates/blogform.tmpl =================================================================== --- trunk/themes/blog/templates/blogform.tmpl 2008-08-26 16:30:49 UTC (rev 6210) +++ trunk/themes/blog/templates/blogform.tmpl 2008-08-26 16:45:07 UTC (rev 6211) @@ -13,7 +13,7 @@ <?= $EDIT_TOOLBAR ?> <a name="editarea"></a> <textarea id="edit-content" class="edit-content" rows="8" style="width:540px" - name="edit[content]" wrap="virtual"></textarea> + name="edit[content]"></textarea> <br /> <input id="wikiblog-submit" type="submit" value="<?=_("Add Entry")?>" name="edit[save]" class="wikiaction" /> Modified: trunk/themes/blog/templates/viewsource.tmpl =================================================================== --- trunk/themes/blog/templates/viewsource.tmpl 2008-08-26 16:30:49 UTC (rev 6210) +++ trunk/themes/blog/templates/viewsource.tmpl 2008-08-26 16:45:07 UTC (rev 6211) @@ -17,12 +17,11 @@ action="<?=$request->getPostURL()?>" accept-charset="<?=CHARSET?>"> <?php /* To clear beyond a larger logo, such as in the Hawaiian theme */ ?> <!br clear="all" class="clear-floats" /> -<!-- wrap=virtual is not HTML4, but without it NS4 does not wrap long lines --> <textarea class="wikiedit" name="content" rows="<?=$request->getPref('editHeight')?>" cols="<?=$request->getPref('editWidth')?>" readonly="readonly" -wrap="virtual"><?= $PAGE_SOURCE ?></textarea> +><?= $PAGE_SOURCE ?></textarea> <?=$HIDDEN_INPUTS?> </form> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |