phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] phpgwapi/templates/default/addressbook-js.tpl, 1.1.2.


From: nomail
Subject: [Phpgroupware-cvs] phpgwapi/templates/default/addressbook-js.tpl, 1.1.2.3
Date: Sat, 6 Nov 2004 16:34:25 +0100

Update of /phpgwapi/templates/default
Modified Files:
        Branch: Version-0_9_16-branch
          addressbook-js.tpl

date: 2004/11/06 15:34:25;  author: powerstat;  state: Exp;  lines: +60 -60

Log Message:
Bugfixes HTML; makes it a bit more W3C conform;
see patch  #3503
=====================================================================
Index: phpgwapi/templates/default/addressbook-js.tpl
diff -u phpgwapi/templates/default/addressbook-js.tpl:1.1.2.2 
phpgwapi/templates/default/addressbook-js.tpl:1.1.2.3
--- phpgwapi/templates/default/addressbook-js.tpl:1.1.2.2       Fri Feb 27 
01:01:37 2004
+++ phpgwapi/templates/default/addressbook-js.tpl       Sat Nov  6 15:34:25 2004
@@ -3,15 +3,15 @@
 <head>
      
   <meta http-equiv="CONTENT-TYPE"
-        content="text/html; charset={charset}">
-  <STYLE TYPE="text/css">
-       SELECT { font-size: {widget_font_size};}
-       INPUT{ font-size: {widget_font_size};}
-       TEXTAREA { font-size: {widget_font_size};}
+        content="text/html; charset={charset}" />
+  <style type="text/css">
+       select { font-size: {widget_font_size};}
+       input{ font-size: {widget_font_size};}
+       textarea { font-size: {widget_font_size};}
         body { margin-top: 0px; margin-right: 0px; margin-left: 0px; 
font-family: "Arial", Helvetica, sans-serif; }
        #wait { visibility:hidden;}
        
-</STYLE>
+</style>
   <script src="{include_link}"> 
 
   
@@ -358,7 +358,7 @@
                        {first_column_label}
                </font>
                <font color="#ffffff">          
-                       <br>
+                       <br />
                </font>         
                </td>
                <td valign="top" align="center" bgcolor="#336699" style="width: 
30%">                         
@@ -367,12 +367,12 @@
                                      {second_column_label} 
                              </font>                   
                              <font   style="color:#ffffff; font-weight:bold;"> 
                        
-                                     <br>
+                                     <br />
                                      {selected_cat_name}
                                </font>         
                        </div>
                <font color="#ffffff">                  
-               <br>
+               <br />
                </font>         
                </td>
                <td valign="top"  style="text-align: center; background-color: 
rgb(51, 102, 153);"  rowspan="1" colspan="3">
@@ -380,21 +380,21 @@
                {third_column_label}
              </font>                   
              <font color="#ffffff">                    
-             <br>
+             <br />
              </font>           
              </div>
              </td>
              </tr>
     <tr bgcolor="#cccccc">
       <td colspan="5" valign="middle">
-        <div ID="wait">
+        <div id="wait">
        <center>
        <!--
                <font style="font-weight=bold; 
font-family=Helvetica,Arial,sans-serif">
                        Please Wait!
                </font>
        -->
-                <img src="{wait_img_path}">
+                <img src="{wait_img_path}" />
        </center>
 
        </div>
@@ -402,10 +402,10 @@
     </tr>
     <tr>
 
-     <form name="{main_form_name}" action="{main_form_action}" method="POST" 
onSubmit="
+     <form name="{main_form_name}" action="{main_form_action}" method="post" 
onsubmit="
                                                                                
                "> 
        <td rowspan="1" style="width: 30%" valign="top" align="center" 
bgcolor="#cccccc">             
-      <select name="cat_id"  size="30"   onChange="//A cat_id selection makes 
us submit the whole form
+      <select name="cat_id"  size="30"   onchange="//A cat_id selection makes 
us submit the whole form
                                                //We could make an event for 
this
                                                        window.savedestboxes=1;
                                                        window.submittheform=1;
@@ -415,11 +415,11 @@
        <option value="-3">Personal</option>
       </select>
       <!--jarg_SOG s -->
-      <br>
-      <input type="checkbox" name="sel_all_cat" {sel_all_cat_checked} onClick="
+      <br />
+      <input type="checkbox" name="sel_all_cat" {sel_all_cat_checked} onclick="
                                                                        
window.savedestboxes=1;
                                                                        
window.submittheform=1;
-                                                                       
window.go_triggers();">
+                                                                       
window.go_triggers();" />
           <font face="Helvetica, Arial, san-serif" size="-1" 
style="font-size:{widget_font_size};">Send to all category</font>
       <!--jarg_SOG e -->
 
@@ -429,10 +429,10 @@
       <tbody>
        <tr>
                <td style="width:50%">                  
-                       <input type="text" size="15" name="searchbox" 
value="{searchbox_value}">
+                       <input type="text" size="15" name="searchbox" 
value="{searchbox_value}" />
                </td>
                <td style="width:50%">          
-                       <select name="querycommand"  onChange=" 
+                       <select name="querycommand"  onchange=" 
                                                                //Get what was 
selected
                                                                                
                var selidx;
                                                                                
                selidx=mover.getSelectedIdx('querycommand');
@@ -454,7 +454,7 @@
                                                                                
                window.savedestboxes=1;
                                                                                
                window.submittheform=1;
                                                                                
                window.go_triggers();">
-                       <option value="selectquery" 
selected>{select_query_command} </option> 
+                       <option value="selectquery" 
selected="selected">{select_query_command} </option> 
                        <option value="goquery">{go_query_command} </option> 
                        <option value="cleanquery">{clear_query_command} 
</option> 
                        </select>
@@ -478,10 +478,10 @@
                                                                                
                        //to what it should
                                                                                
                                obj1.bldUpdate();
                                                                                
                                
-                                                                               
                                ">      
+                                                                               
                                " />    
                    </td>
                    <td style="width:50%;align:left;">
-                   <select name="filter" onChange="
+                   <select name="filter" onchange="
                                                        //Get what was selected
                                                        var selidx;
                                                        
selidx=mover.getSelectedIdx('filter');
@@ -507,8 +507,8 @@
                          
         </tbody>             
       </table>
-      <br>
-      <select name="nameselect[]" size="15" multiple="multiple" onChange="
+      <br />
+      <select name="nameselect[]" size="15" multiple="multiple" onchange="
                                                                                
        var selidx;
        //Im not crazy...all this is necesary. If we hit an option in the 
selectbox
        //...one and only one, we need to see if the view more data checkbox is 
on
@@ -555,7 +555,7 @@
 
                        <font face="Helvetica, Arial, san-serif" size="-1" 
style="font-size:{widget_font_size};">
                                More Data </font>
-                               <input type="checkbox" name="viewmore" 
{viewmore_checked} onClick="
+                               <input type="checkbox" name="viewmore" 
{viewmore_checked} onclick="
                                //If u click the viewmore checkbox, it checks 
what is selected in the
                                //nameselect selectbox. If only one value is 
selected, it fetches that user
                                //and unselects every other selection in the 
rest of the selectboxes
@@ -602,7 +602,7 @@
                                                                                
                                
                                                                                
                                return true;
                                                                                
                                
-                                                                               
                                ">        
+                                                                               
                                " />        
                        </td>
                        <td style="width:100%">
                                <tr valign="middle" align="center">
@@ -617,10 +617,10 @@
                <td rowspan="1" style="width:48" valign="top" align="center" 
bgcolor="#cccccc">                                 
                
                {hideto_open}
-                       <br>
-                       <br>
+                       <br />
+                       <br />
                        <p>
-                               <input type="button" name="tobutton" 
value="{top_dest_button_value} :" onClick="
+                               <input type="button" name="tobutton" 
value="{top_dest_button_value} :" onclick="
                                                                                
                javascript:
                                                                //See? this is 
cool, for every button we hit
                                                                //to move 
something to the destination boxes, we flag
@@ -630,36 +630,36 @@
                                                                //like when we 
click done or remove (which respectively need
                                                                //to save the 
destination boxes content in cache or get fresh
                                                                //email data 
from them)
-                                                                               
                
mover.moveSelectedOptions('nameselect[]','toselectbox[]');window.savedestboxes=1;
 ">
+                                                                               
                
mover.moveSelectedOptions('nameselect[]','toselectbox[]');window.savedestboxes=1;
 " />
                        </p>
-                       <br>
-                       <br>
+                       <br />
+                       <br />
                {hideto_close}
                {hidecc_open}
                
-                       <br>
-                       <br>
+                       <br />
+                       <br />
 
                        <p>
-                               <input type="button" 
style="color:blue;font-weight:bold;" name="ccbutton" 
value="{middle_dest_button_value} :" 
onClick="javascript:mover.moveSelectedOptions('nameselect[]','ccselectbox[]');window.savedestboxes=1;
 ">
+                               <input type="button" 
style="color:blue;font-weight:bold;" name="ccbutton" 
value="{middle_dest_button_value} :" 
onclick="javascript:mover.moveSelectedOptions('nameselect[]','ccselectbox[]');window.savedestboxes=1;
 " />
                        </p>
-                       <br>
+                       <br />
                {hidecc_close}
                {hidebcc_open}
 
-                       <br>
-                       <br>
-                       <br>
+                       <br />
+                       <br />
+                       <br />
 
                        <p>
-                               <input type="button" name="bccbutton" 
style="color:#ff6600;font-weight:bold;" value="{bottom_dest_button_value}:" 
onClick="javascript:mover.moveSelectedOptions('nameselect[]','bccselectbox[]');window.savedestboxes=1;">
+                               <input type="button" name="bccbutton" 
style="color:#ff6600;font-weight:bold;" value="{bottom_dest_button_value}:" 
onclick="javascript:mover.moveSelectedOptions('nameselect[]','bccselectbox[]');window.savedestboxes=1;"
 />
                        </p>
-                       <br>
+                       <br />
                {hidebcc_close}
-                       <br>
-                       <hr>
+                       <br />
+                       <hr />
                        <p>
-                               <input type="button" name="nonebutton" 
value="{none_button_value}" onClick="javascript:
+                               <input type="button" name="nonebutton" 
value="{none_button_value}" onclick="javascript:
                                                                                
                window.hidetoselect={hidetoselectjs};
                                                                                
                window.hideccselect={hideccselectjs};
                                                                                
                window.hidebccselect={hidebccselectjs};
@@ -677,17 +677,17 @@
                                                                                
                }
                                                                                
                window.remove_selections=1;
                                                                                
                window.savedestboxes=1;
-                                                                               
                window.go_triggers();">
+                                                                               
                window.go_triggers();" />
                        </p>
                        <p>
-                               <br>
+                               <br />
                        </p>
                </td>
                <td rowspan="1" style="width:30%" align="center" valign="top" 
colspan="1" bgcolor="#cccccc">
                
                {hideto_open}
                <p>             
-                       <select name="toselectbox[]" size="6" 
multiple="multiple" onChange="javascript:
+                       <select name="toselectbox[]" size="6" 
multiple="multiple" onchange="javascript:
                                                                                
        var selidx;
                                                                                
        selidx=mover.getSelectedIdx('toselectbox[]');
                                                                                
        if(mover.numberSelectedOptions('toselectbox[]') == 1)
@@ -721,7 +721,7 @@
 
                {hidecc_open}
                <p>             
-                       <select style="color:blue;" name="ccselectbox[]" 
size="6" multiple="multiple" onChange="javascript:
+                       <select style="color:blue;" name="ccselectbox[]" 
size="6" multiple="multiple" onchange="javascript:
                                                                                
        var selidx;
                                                                                
        selidx=mover.getSelectedIdx('ccselectbox[]');
                                                                                
        if(mover.numberSelectedOptions('ccselectbox[]') == 1)
@@ -750,13 +750,13 @@
                                                                                
>
                        {V_ccselectbox}
                        </select>
-                       <br>
+                       <br />
                </p>
 
                {hidecc_close}
                {hidebcc_open}
                <p style="margin-bottom: 0cm;">             
-                       <select name="bccselectbox[]" style="color:#ff6600;" 
size="6" multiple="multiple" onChange="javascript:
+                       <select name="bccselectbox[]" style="color:#ff6600;" 
size="6" multiple="multiple" onchange="javascript:
                                                                        
if(this.form.viewmore.checked)
                                                                                
{
                                                                                
        var selidx;
@@ -795,19 +795,19 @@
                <table cellspacing="3">
                <tr>
                <td valign="left">
-               <input type="button" name="removeselectedbutton" 
value="{remove_button_value}" onClick="javascript:
+               <input type="button" name="removeselectedbutton" 
value="{remove_button_value}" onclick="javascript:
                                                                                
                        window.remove_selections=1;
                                                                                
                        window.savedestboxes=1;
-                                                                               
                        window.go_triggers();">
+                                                                               
                        window.go_triggers();" />
                </td>
                <td>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
                <td valign="right">
-               <input type="button" name="cancel" 
value="{cancel_button_value}" onClick="javascript:
+               <input type="button" name="cancel" 
value="{cancel_button_value}" onclick="javascript:
                                                                                
window.closewhenfinished=1;
                                                                                
window.forget=1;
-                                                                               
window.go_triggers();">
+                                                                               
window.go_triggers();" />
                </td>
                </tr>
                <tr>
@@ -816,8 +816,8 @@
 
                <td colspan="1" valign="left">
                <p>
-               <br>
-               <input type="button" name="done" value="{done_button_value}" 
onClick="javascript:
+               <br />
+               <input type="button" name="done" value="{done_button_value}" 
onclick="javascript:
                                                        ///last documentation 
on event flags
                                                        //savedestboxes = 1 ... 
gotriggers will go and save the destboxes data
                                                        //backtobox =1 event 
savedestboxes will update the destination boxes
@@ -835,19 +835,19 @@
                                                                        
window.forget_after=0;
                                                                        
window.fetch_udata=false;
                                                                        
window.go_triggers();
-                                                                        ">
+                                                                        " />
                </p>
                </td>
                </tr>
                </table>
                
-               <br>
-               <br>
+               <br />
+               <br />
        </td>
        </tr>
        </thead>     
 </form>
 </table>
-<br>
+<br />
 </body>
 </html>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]