Revision: 43539
Author:   raymond
Date:     2008-11-15 09:42:14 +0000 (Sat, 15 Nov 2008)

Log Message:
-----------
* Use existing CSS classes from core for table construction for proper RTL 
support

Modified Paths:
--------------
    trunk/extensions/Collection/Collection.templates.php

Modified: trunk/extensions/Collection/Collection.templates.php
===================================================================
--- trunk/extensions/Collection/Collection.templates.php        2008-11-15 
09:16:52 UTC (rev 43538)
+++ trunk/extensions/Collection/Collection.templates.php        2008-11-15 
09:42:14 UTC (rev 43539)
@@ -20,16 +20,16 @@
 
 <h2><span class="mw-headline"><?php $this->msg('coll-your_book') ?></span></h2>
 
-<form action="<?php echo 
htmlspecialchars(SkinTemplate::makeSpecialUrlSubpage('Collection', 
'set_titles/')) ?>" method="post">
-       <table style="width: 80%" align="center">
+<form action="<?php echo 
htmlspecialchars(SkinTemplate::makeSpecialUrlSubpage('Collection', 
'set_titles/')) ?>" method="post" id="mw-collection-title-form">
+       <table id="mw-collection-title-table" style="width: 80%" align="center">
                <tbody>
                        <tr>
-                               <th width="1%" style="text-align: right"><label 
for="titleInput"><?php $this->msg('coll-title') ?></label></th>
-                               <td><input id="titleInput" type="text" 
name="collectionTitle" value="<?php echo 
htmlspecialchars($this->data['collection']['title']) ?>" style="width: 98%" 
/></td>
+                               <td class="mw-label"><label 
for="titleInput"><?php $this->msg('coll-title') ?></label></td>
+                               <td class="mw-input"><input id="titleInput" 
type="text" name="collectionTitle" value="<?php echo 
htmlspecialchars($this->data['collection']['title']) ?>" /></td>
                        </tr>
                        <tr>
-                               <th style="text-align: right"><label 
for="subtitleInput"><?php $this->msg('coll-subtitle') ?></label></th>
-                               <td><input id="subtitleInput" type="text" 
name="collectionSubtitle" value="<?php echo 
htmlspecialchars($this->data['collection']['subtitle']) ?>" style="width: 98%" 
/></td>
+                               <td class="mw-label"><label 
for="subtitleInput"><?php $this->msg('coll-subtitle') ?></label></td>
+                               <td class="mw-input"><input id="subtitleInput" 
type="text" name="collectionSubtitle" value="<?php echo 
htmlspecialchars($this->data['collection']['subtitle']) ?>" /></td>
                        </tr>
                </tbody>
        </table>



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to