skin
authorPierre Habouzit <madcoder@debian.org>
Mon, 8 Sep 2003 17:29:21 +0000 (17:29 +0000)
committerPierre Habouzit <madcoder@debian.org>
Mon, 8 Sep 2003 17:29:21 +0000 (17:29 +0000)
philter/philter/include/emails.inc.php
philter/philter/index.php

index 074cc32..766d91c 100644 (file)
@@ -98,7 +98,7 @@ class EmailPool {
      */
     function to_form() {
         $res = "<form action=\"{$_SERVER['REQUEST_URI']}\" method=\"post\" onsubmit=\"return del_onsubmit()\">\n"
-            .  "<table class=\"bicol\" width=\"100%\">\n";
+            .  "<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n";
 
         $pair = true;
         foreach($this->emails as $id => $email) {
@@ -118,7 +118,7 @@ class EmailPool {
         $val = 'your email ...';
         
         $res .= "<form action=\"{$_SERVER['REQUEST_URI']}\" method=\"post\">\n"
-            .   "<table class=\"bicol\" width=\"100%\">\n"
+            .   "<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n"
             .   "<tr><td colspan=\"2\">\n"
             .   "   <input type=\"text\" name=\"emails[new]\" size=\"60\" value='$val' "
             .   "onfocus=\"text_onfocus(this,'$val')\" onblur=\"text_onblur(this,'$val')\" />\n"
index b8819ce..cb7a870 100644 (file)
@@ -41,7 +41,7 @@ require("include/js_factory.inc.php");
 
 if(count($philter->config['global_plugin'])) {
     echo "<form action=\"{$_SERVER['REQUEST_URI']}\" method=\"post\">\n"
-        ."<table width=\"100%\">\n"
+        ."<table width=\"100%\" class=\"bicol\">\n"
         ."<tr><th>Global rules</th></tr>\n";
 
     foreach($philter->config['global_plugin'] as $g_plugin) {
@@ -58,7 +58,7 @@ if(count($philter->config['global_plugin'])) {
 /********** emails **********/
 ?>
 
-<table width="100%">
+<table width="100%" class="bicol">
 <tr><th>Emails pool</th></tr>
 <tr><td>
 <?php
@@ -70,9 +70,9 @@ echo $mail_pool->to_form();
 /********** filters **********/
 ?>
 
-<table width="100%">
-<tr><th colspan="2">Filtering rules</th></tr>
-<tr><td width="25%" valign="top">
+<table width="100%" class="bicol">
+<tr class="impair"><th colspan="2">Filtering rules</th></tr>
+<tr class="impair"><td width="25%" valign="top">
         <form action="<?php echo $_SERVER['REQUEST_URI']?>" method="post" id="order" name="order" onsubmit="return false;">
         <table width="100%">
         <tr><td>
@@ -83,7 +83,7 @@ echo $mail_pool->to_form();
             $presel = (isset($_POST['rule']['id']) ? $_POST['rule']['id']
                         : (isset($_POST['order']['select']) ? $_POST['order']['select'] : 0));
                 
-            echo "<select size=\"16\" id=\"orderSelect\" name=\"order[select]\" onchange=\"createRuleForm()\">\n";
+            echo "<select size=\"16\" style=\"width:100%;\" id=\"orderSelect\" name=\"order[select]\" onchange=\"createRuleForm()\">\n";
             echo "<option value=\"0\" ".($presel ? "" : " selected=\"selected\"")
                 .">[ new rule ]</option>\n";
             
@@ -105,9 +105,9 @@ echo $mail_pool->to_form();
     </td>
     <td valign="top">
         <form action="<?php echo $_SERVER['REQUEST_URI']?>" method="post" id="rule" name="rule" onsubmit="return false;">
-        <table width="100%">
-        <tr><th>Rule Configuration
-        </th></tr><tr><td>
+        <table width="100%" class="bicol">
+        <tr class="pair"><th>Rule Configuration
+        </th></tr><tr class="pair"><td>
             <input type="hidden" value="0" id="ruleId" name="rule[id]" />
             Name of this rule :
             <input type="text" size="60" value="" id="ruleName" name="rule[name]"
@@ -117,11 +117,11 @@ echo $mail_pool->to_form();
             <input type="radio" value="0" id="ruleAll0" name="rule[all]" />One match
             <br />
             <input type="checkbox" checked="checked" id="ruleBlock" name="rule[block]" />Blocking Rule
-        </td></tr><tr><th>Matches List
-        </th></tr><tr><td id="matchesRow">
-        </td></tr><tr><th>Actions List
-        </th></tr><tr><td id="actionsRow">
-        </td></tr><tr><td>
+        </td></tr><tr class="pair"><th>Matches List
+        </th></tr><tr class="pair"><td id="matchesRow">
+        </td></tr><tr class="pair"><th>Actions List
+        </th></tr><tr class="pair"><td id="actionsRow">
+        </td></tr><tr class="impair"><td>
             <input type="submit" value="New Match" name="rule[new_match]" onclick="newMatch() "/>
             <input type="submit" value="New Action" name="rule[new_action]" onclick="newAction()" />
             <input type="submit" value="Submit" name="rule[submit]" onclick="this.form.submit()" />