Author: vargenau
Date: 2014-06-04 16:52:22 +0200 (Wed, 04 Jun 2014)
New Revision: 20299
Modified:
trunk/src/plugins/wiki/www/themes/Crao/templates/editpage.tmpl
trunk/src/plugins/wiki/www/themes/Crao/templates/navbar.tmpl
trunk/src/plugins/wiki/www/themes/Portland/templates/navbar.tmpl
trunk/src/plugins/wiki/www/themes/Wordpress/templates/editpage.tmpl
trunk/src/plugins/wiki/www/themes/blog/templates/debug.tmpl
trunk/src/plugins/wiki/www/themes/default/templates/pagelink.tmpl
trunk/src/plugins/wiki/www/themes/default/templates/userprefs.tmpl
trunk/src/plugins/wiki/www/themes/default/templates/wikiforum.tmpl
trunk/src/plugins/wiki/www/themes/shamino_com/templates/top.tmpl
trunk/src/plugins/wiki/www/themes/wikilens/templates/top.tmpl
trunk/src/plugins/wiki/www/wikiadmin.php
Log:
wiki: use CSS
Modified: trunk/src/plugins/wiki/www/themes/Crao/templates/editpage.tmpl
===================================================================
--- trunk/src/plugins/wiki/www/themes/Crao/templates/editpage.tmpl
2014-06-04 13:47:52 UTC (rev 20298)
+++ trunk/src/plugins/wiki/www/themes/Crao/templates/editpage.tmpl
2014-06-04 14:52:22 UTC (rev 20299)
@@ -31,7 +31,7 @@
<br class="clear-floats" />
<table class="fullwidth">
<tr><td><?php echo $EDIT_TOOLBAR ?></td>
- <td align="right"><div id="editarea-size">
+ <td class="align-right"><div id="editarea-size">
<?php echo _("Size").':'?>
<label for="pref-editHeight"><b><?php echo _("H")?></b></label> <?php echo
$HEIGHT_PREF?>
<label for="pref-editWidth"><b><?php echo _("W")?></b></label> <?php echo
$WIDTH_PREF?>
Modified: trunk/src/plugins/wiki/www/themes/Crao/templates/navbar.tmpl
===================================================================
--- trunk/src/plugins/wiki/www/themes/Crao/templates/navbar.tmpl
2014-06-04 13:47:52 UTC (rev 20298)
+++ trunk/src/plugins/wiki/www/themes/Crao/templates/navbar.tmpl
2014-06-04 14:52:22 UTC (rev 20299)
@@ -7,7 +7,7 @@
<?php } ?>
<div id="navbuttons">
<table width="fullwidth">
-<tr class="middle"><td align="left">
+<tr class="middle"><td class="align-left">
<?php echo WikiLink(_("RecentChanges"), "button") ?>
<?php if (!empty($revision)) { ?>
<?php echo $SEP?><?php echo Button("RelatedChanges", _("RelatedChanges")) ?>
@@ -15,7 +15,7 @@
<?php echo $SEP?><?php echo Button(_("BackLinks"), _("BackLinks")) ?>
<?php } ?>
</td>
-<td align="right" width="150">
+<td class="align-right" width="150">
<div id="search">
<?php if (!empty($user) && $user->isSignedIn()) { ?>
<?php echo WikiLink(_("UserPreferences"),'button',_("Preferences"))
?><?php echo $SEP?>
@@ -44,7 +44,7 @@
title="<?php echo _("LiveSearch")?>"
onKeypress="liveSearchStart()"
onblur="setTimeout('closeResults()',2000); if (this.value == '')
{this.value = '<?php echo _("Search")?>';}" />
- </div><br /><div align="left" id="LSResult"></div>
+ </div><br /><div class="align-left" id="LSResult"></div>
<?php } else { ?>
title="<?php echo _("TitleSearch")?>" />
</div>
Modified: trunk/src/plugins/wiki/www/themes/Portland/templates/navbar.tmpl
===================================================================
--- trunk/src/plugins/wiki/www/themes/Portland/templates/navbar.tmpl
2014-06-04 13:47:52 UTC (rev 20298)
+++ trunk/src/plugins/wiki/www/themes/Portland/templates/navbar.tmpl
2014-06-04 14:52:22 UTC (rev 20299)
@@ -22,7 +22,7 @@
<?php echo $SEP?><?php echo WikiLink(_("PhpWikiAdministration"),
"button") ?>
<?php } ?>
</td>
- <td align="right">
+ <td class="align-right">
<?php echo Template('signin') ?>
</td>
</tr></table>
Modified: trunk/src/plugins/wiki/www/themes/Wordpress/templates/editpage.tmpl
===================================================================
--- trunk/src/plugins/wiki/www/themes/Wordpress/templates/editpage.tmpl
2014-06-04 13:47:52 UTC (rev 20298)
+++ trunk/src/plugins/wiki/www/themes/Wordpress/templates/editpage.tmpl
2014-06-04 14:52:22 UTC (rev 20299)
@@ -14,7 +14,7 @@
accept-charset="UTF-8">
<?php if (!empty($_GET['start_debug'])) echo '<input type="hidden"
name="start_debug" value="1">'; ?>
<table class="toolbar fullwidth">
-<tr align="bottom">
+<tr class="bottom">
<td>
<?php echo $PAGE_LOCKED_MESSAGE ?>
<?php echo $CONCURRENT_UPDATE_MESSAGE ?>
@@ -33,7 +33,7 @@
</table>
<table class="fullwidth">
<tr><td><?php echo $EDIT_TOOLBAR ?></td>
- <td align="right"><div id="editarea-size">
+ <td class="align-right"><div id="editarea-size">
<?php echo _("Size").':'?>
<label for="pref-editHeight"><b><?php echo _("H")?></b></label> <?php echo
$HEIGHT_PREF?>
<label for="pref-editWidth"><b><?php echo _("W")?></b></label> <?php echo
$WIDTH_PREF?>
Modified: trunk/src/plugins/wiki/www/themes/blog/templates/debug.tmpl
===================================================================
--- trunk/src/plugins/wiki/www/themes/blog/templates/debug.tmpl 2014-06-04
13:47:52 UTC (rev 20298)
+++ trunk/src/plugins/wiki/www/themes/blog/templates/debug.tmpl 2014-06-04
14:52:22 UTC (rev 20299)
@@ -1,4 +1,4 @@
<?php global $RUNTIMER; ?>
-<p align="center" id="xhtml-validator"><a
href="http://validator.w3.org/check/referer">Valid XHTML 1.0</a> <a
href="http://jigsaw.w3.org/css-validator/check/referer">Valid CSS!</a>
+<p class="align-center" id="xhtml-validator"><a
href="http://validator.w3.org/check/referer">Valid XHTML 1.0</a> <a
href="http://jigsaw.w3.org/css-validator/check/referer">Valid CSS!</a>
<span class="debug"><?php echo fmt("Page Execution took %s seconds",
$RUNTIMER->getStats())?></span>
</p>
Modified: trunk/src/plugins/wiki/www/themes/default/templates/pagelink.tmpl
===================================================================
--- trunk/src/plugins/wiki/www/themes/default/templates/pagelink.tmpl
2014-06-04 13:47:52 UTC (rev 20298)
+++ trunk/src/plugins/wiki/www/themes/default/templates/pagelink.tmpl
2014-06-04 14:52:22 UTC (rev 20299)
@@ -12,15 +12,15 @@
}
?>
<tr><td style="width:100%" colspan="<?php echo $COLS ?>"><table
class="fullwidth wikipaging"><tr class="wikipaging">
- <td class="wikipaging<?php echo $PREV ? "-enabled" : "-disabled" ?>"
align="left">
+ <td class="align-left wikipaging<?php echo $PREV ? "-enabled" : "-disabled"
?>">
<?php echo $PREV ? HTML::a(array('href'=>$FIRST_LINK), "|<<") : "|<<" ?>
<?php echo $PREV ? HTML::a(array('href'=>$PREV_LINK), "<< " . _("Prev"))
: "<<" ?>
</td>
- <td class="wikipaging-enabled" align="center">
+ <td class="wikipaging-enabled align-center">
<?php echo fmt(" - %d / %d - ", $ACTPAGE, $NUMPAGES) ?>
</td>
- <td class="wikipaging<?php echo $NEXT ? "-enabled" : "-disabled" ?>"
align="right">
+ <td class="align-right wikipaging<?php echo $NEXT ? "-enabled" : "-disabled"
?>">
<?php echo $NEXT ? HTML::a(array('href'=>$NEXT_LINK), _("Next") . " >>")
: ">>" ?>
<?php echo $NEXT ? HTML::a(array('href'=>$LAST_LINK), ">>|") : ">>|" ?>
Modified: trunk/src/plugins/wiki/www/themes/default/templates/userprefs.tmpl
===================================================================
--- trunk/src/plugins/wiki/www/themes/default/templates/userprefs.tmpl
2014-06-04 13:47:52 UTC (rev 20298)
+++ trunk/src/plugins/wiki/www/themes/default/templates/userprefs.tmpl
2014-06-04 14:52:22 UTC (rev 20299)
@@ -138,10 +138,10 @@
<?php if ($isForm and $user->mayChangePass()) { ?>
<tr><td colspan="2"><h2><?php echo ($request->getPref('passwd') ? _("Change
Password") : _("Set Password")) ?></h2></td></tr>
- <tr><td align="right"><?php echo _("New password") . _(":")?></td>
+ <tr><td class="align-right"><?php echo _("New password") . _(":")?></td>
<td><input type="password" name="pref[passwd]" size="16"
maxlength="16" class="text" value="" /></td>
<td></td></tr>
- <tr><td align="right"><?php echo _("Type it again") . _(":")?></td>
+ <tr><td class="align-right"><?php echo _("Type it again") . _(":")?></td>
<td><input type="password" name="pref[passwd2]" size="16"
maxlength="16" class="text" value="" /></td>
<td></td></tr>
<?php } ?>
Modified: trunk/src/plugins/wiki/www/themes/default/templates/wikiforum.tmpl
===================================================================
--- trunk/src/plugins/wiki/www/themes/default/templates/wikiforum.tmpl
2014-06-04 13:47:52 UTC (rev 20298)
+++ trunk/src/plugins/wiki/www/themes/default/templates/wikiforum.tmpl
2014-06-04 14:52:22 UTC (rev 20299)
@@ -18,14 +18,14 @@
<table class="wikiforum wikiforum-list">
<caption><?php echo _("New Topic")?> <?php echo _("Post
new")?> </caption>
<col class="label" width="10%" /><col width="100%" />
- <tr><th align="center"><?php echo _("Author")?></th><th
align="center"><?php echo _("Message")?></th></tr>
+ <tr><th class="align-center"><?php echo _("Author")?></th><th
class="align-center"><?php echo _("Message")?></th></tr>
<tr>
- <td align="left"><?php echo WikiLink($FORUM_CREATOR, 'if_known')?></td>
+ <td class="align-left"><?php echo WikiLink($FORUM_CREATOR,
'if_known')?></td>
<td>
<table class="wikiforum wikiforum-message">
- <tr><td align="left"><?php echo fmt("Posted: %s",$CDATE)?></td>
- <td align="right"><?php echo _("Reply")?></td></tr>
+ <tr><td class="align-left"><?php echo fmt("Posted: %s",$CDATE)?></td>
+ <td class="align-right"><?php echo _("Reply")?></td></tr>
<tr><td><?php echo $CONTENT ?></td></tr>
</table>
</td>
Modified: trunk/src/plugins/wiki/www/themes/shamino_com/templates/top.tmpl
===================================================================
--- trunk/src/plugins/wiki/www/themes/shamino_com/templates/top.tmpl
2014-06-04 13:47:52 UTC (rev 20298)
+++ trunk/src/plugins/wiki/www/themes/shamino_com/templates/top.tmpl
2014-06-04 14:52:22 UTC (rev 20299)
@@ -3,7 +3,7 @@
href="<?php echo WikiURL(HOME_PAGE)?>"
><img src="<?php echo $WikiTheme->getImageURL('logo')?>" id="logo-img"
border="0" alt="<?php echo fmt(_("%s: %s"), WIKI_NAME, HOME_PAGE) ?>"
- align="right" /></a></div>
+ class="align-right" /></a></div>
<!-- The top navigation/search bar -->
<div class="wikinavbar">
<a class="wikilink" href="<?php echo WikiURL(HOME_PAGE)?>">
Modified: trunk/src/plugins/wiki/www/themes/wikilens/templates/top.tmpl
===================================================================
--- trunk/src/plugins/wiki/www/themes/wikilens/templates/top.tmpl
2014-06-04 13:47:52 UTC (rev 20298)
+++ trunk/src/plugins/wiki/www/themes/wikilens/templates/top.tmpl
2014-06-04 14:52:22 UTC (rev 20299)
@@ -7,6 +7,6 @@
><a class="wikilink"
href="<?php echo WikiURL(HOME_PAGE)?>"
><img src="<?php echo $WikiTheme->getImageURL('logo')?>" id="logo-img"
- border="0" alt="<?php echo fmt(_("%s: %s"), WIKI_NAME, HOME_PAGE) ?>"
align="right" /></a>
+ alt="<?php echo fmt(_("%s: %s"), WIKI_NAME, HOME_PAGE) ?>"
class="align-right" /></a>
</div>
<?php } ?>
Modified: trunk/src/plugins/wiki/www/wikiadmin.php
===================================================================
--- trunk/src/plugins/wiki/www/wikiadmin.php 2014-06-04 13:47:52 UTC (rev
20298)
+++ trunk/src/plugins/wiki/www/wikiadmin.php 2014-06-04 14:52:22 UTC (rev
20299)
@@ -147,12 +147,12 @@
$desc = $wc->getWikiConfigDescription($c);
print "<tr>\n<td>$desc</td>\n" .
- "<td align=\"center\">" .
+ '<td class="align-center">' .
"<input type=\"checkbox\" name=\"config[$c]\"
value=\"1\"$checked /></td>\n" .
"</tr>\n";
}
print "</table>\n";
- print "<p align=\"right\"><input type=\"submit\" value=\"" .
+ print '<p class="align-right"><input type="submit" value="' .
_("Save Configuration") .
"\" /></p>";
print "</form>\n";
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits