forminess

This commit is contained in:
Shish 2012-03-13 07:53:41 +00:00
parent 028457ec32
commit 8f020993ac
2 changed files with 4 additions and 9 deletions

View file

@ -5,12 +5,7 @@ class PrivMsgTheme extends Themelet {
global $user;
$html = "
<script type='text/javascript'>
$(document).ready(function() {
$(\"#pms\").tablesorter();
});
</script>
<table id='pms' class='zebra'>
<table id='pms' class='zebra sortable'>
<thead><tr><th>Subject</th><th>From</th><th>Date</th><th>Action</th></tr></thead>
<tbody>";
$n = 0;
@ -49,8 +44,8 @@ class PrivMsgTheme extends Themelet {
<form action="$post_url" method="POST">
$auth
<input type="hidden" name="to_id" value="$to_id">
<table style="width: 400px;">
<tr><td>Subject:</td><td><input type="text" name="subject" value="$h_subject"></td></tr>
<table style="width: 400px;" class="form">
<tr><th>Subject:</th><td><input type="text" name="subject" value="$h_subject"></td></tr>
<tr><td colspan="2"><textarea style="width: 100%" rows="6" name="message"></textarea></td></tr>
<tr><td colspan="2"><input type="submit" value="Send"></td></tr>
</table>

View file

@ -65,7 +65,7 @@ TABLE.zebra TR:nth-child(even) {background: #E0E0E0;}
TABLE.form TD, TABLE.form TH {vertical-align: middle;}
TABLE.form TBODY TD {text-align: left;}
TABLE.form TBODY TH {text-align: right; padding-right: 4px;}
TABLE.form TBODY TH {text-align: right; padding-right: 4px; width: 1%;}
FOOTER {
clear: both;