phpgroupware-cvs
[Top][All Lists]
Advanced

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

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


From: nomail
Subject: [Phpgroupware-cvs] addressbook/templates/default/widget_lists.tpl, 1.1.2.2
Date: Thu, 20 May 2004 18:47:09 -0000

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

date: 2004/04/13 22:24:44;  author: jarg;  state: Exp;  lines: +34 -5

Log Message:
Add support for filters and now use the functions of 
phpgwapi/js/contacts/selectboxes.js in the next comiit i will remove my js 
function i only want be sure that this not give problems.
=====================================================================
Index: addressbook/templates/default/widget_lists.tpl
diff -u addressbook/templates/default/widget_lists.tpl:1.1.2.1 
addressbook/templates/default/widget_lists.tpl:1.1.2.2
--- addressbook/templates/default/widget_lists.tpl:1.1.2.1      Thu Nov 27 
18:21:29 2003
+++ addressbook/templates/default/widget_lists.tpl      Tue Apr 13 22:24:44 2004
@@ -13,6 +13,7 @@
                                <td width="10%"></td>
                                <td 
width="45%">{lang_selected_option_list_title}</td>
                        </tr>
+
                        <tr bgcolor="{row_off}">
                        <td width="45%">
                                <select multiple size="5" 
name="{all_option_list_name}" style="width:220">{all_option_list}</select>
@@ -22,14 +23,16 @@
                                <tbody align="center">
                                        <tr>
                                        <td>
-                                               <input type="button" 
onClick="move('{all_option_list_name}','{selected_option_list_name}',
-                                                                       
'{current_opt}','{selected_option_list_name}')" value=">>">
+                                               <input type="button" 
onClick="selectMover('{widget_list_form_name}'); 
+                                                                       
moveSelectedOptions('{all_option_list_name}','{selected_option_list_name}'); 
+                                                                       
move_cbo('{current_opt}','{selected_option_list_name}');" value=">>">
                                        </td>
                                        </tr>
                                        <tr>
                                        <td>
-                                               <input type="button" 
onClick="move('{selected_option_list_name}','{all_option_list_name}',
-                                                                       
'{current_opt}','{selected_option_list_name}')" value="<<">
+                                               <input type="button" 
onClick="selectMover('{widget_list_form_name}'); 
+                                                                       
moveSelectedOptions('{selected_option_list_name}','{all_option_list_name}'); 
+                                                                       
move_cbo('{current_opt}','{selected_option_list_name}');" value="<<">
                                        </td>
                                        </tr>
                                </tbody>
@@ -57,8 +60,34 @@
                        <td width="10%"></td>
                        <td width="45%">{lang_right_combo_title} 
{right_combo}</td>
                        </tr>
+
+                       {all_option_list_filter_body}
                </tbody>
                </table>
          </td>
     </tr>
-<!-- END combos -->
\ No newline at end of file
+<!-- END combos -->
+
+<!-- BEGIN option_filter -->
+                       <tr bgcolor="{row_on}">
+                               <td width="45%">
+                                       {filter_by_label} <select 
name="list_filter_by" 
+onChange="process_list('{all_option_list_name}','{selected_option_list_name}');
 this.form.submit();" style="width:200" >{filter_by_option_list}</select>
+                                       <br>
+                                       {search_by_label} &nbsp;<input 
type="text" name="searchautocomplete" value="{search_ac_value}" size="30"  
onkeyup="
+                                                                               
                        javascript:
+                                                                               
                        //We only care if
+                                                                               
                        //a key was hit
+                                                                               
                        //so we can update
+                                                                               
                        ///the nameselectbox
+                                                                               
                        //to autolimit itself
+                                                                               
                        //to what it should
+                                                                               
                                obj1.bldUpdate();
+                                                                               
                                
+                                                                               
                                ">
+
+                               </td>
+                               <td width="10%"></td>
+                               <td width="45%"></td>
+                       </tr>
+<!-- END option_filter -->
\ No newline at end of file




reply via email to

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