[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/phpgwapi/templates/edge-it/ -> uiaccountsel.tpl (source)

   1  <!-- $Id: uiaccountsel.tpl 16511 2004-08-18 19:42:23Z mgalgoci $ -->
   2  
   3  <script LANGUAGE="JavaScript">
   4      window.focus();
   5  
   6  	function addOption(id,label,value)
   7      {
   8          opener.addOption(id,label,value);
   9  
  10          selectBox = document.getElementById('uiaccountsel_popup_selection');
  11          if (selectBox) {
  12              for (i=0; i < selectBox.length; i++) {
  13                  if (selectBox.options[i].value == value) {
  14                      selectBox.options[i].selected = true;
  15                      break;
  16                  }
  17              }
  18              if (i >= selectBox.length) {
  19                  selectBox.options[selectBox.length] = new Option(label,value,false,true);
  20              }
  21          }
  22      }
  23  
  24  	function removeSelectedOptions(id)
  25      {
  26          openerSelectBox = opener.document.getElementById(id);
  27          if (openerSelectBox == null) window.close();
  28          selectBox = document.getElementById('uiaccountsel_popup_selection');
  29          for (i=0; i < selectBox.length; i++) {
  30              if (selectBox.options[i].selected) {
  31                  for (j=0; j < openerSelectBox.length; j++) {
  32                      if (openerSelectBox[j].value == selectBox.options[i].value) {
  33                          openerSelectBox.removeChild(openerSelectBox[j]);
  34                      }
  35                  }
  36                  selectBox.options[i--] = null;
  37              }
  38          }
  39      }
  40  
  41  	function copyOptions(id)
  42      {
  43          openerSelectBox = opener.document.getElementById(id);
  44          selectBox = document.getElementById('uiaccountsel_popup_selection');
  45          for (i=0; i < openerSelectBox.length; i++) {
  46              with (openerSelectBox.options[i]) {
  47                  if (selected) {
  48                      selectBox.options[selectBox.length] =  new Option(text,value);
  49                  }
  50              }
  51          }
  52      }
  53  </script>
  54  
  55  <style type="text/css">
  56      .letter_box,.letter_box_active {
  57          background-color: #E8F0F0;
  58          width: 15px;
  59          border: 1px solid white;
  60          text-align: center;
  61          cursor: pointer;
  62          cusror: hand;
  63      }
  64      .letter_box_active {
  65          font-weight: bold;
  66          background-color: #D3DCE3;
  67      }
  68      .letter_box_active,.letter_box:hover {
  69          border: 1px solid black;
  70          background-color: #D3DCE3;
  71      }
  72  </style>
  73  
  74  <div id="divMain">
  75  <table border="0" width="100%">
  76      <tr>
  77          <td width="20%" rowspan="3">{accountsel_icon}</td>
  78          <td align="right" colspan="5">
  79              <form method="POST" action="{search_action}">
  80                   <select name="query_type" >
  81                          <option value="firstname">{lang_firstname}</option>
  82                          <option value="lastname">{lang_lastname}</option>
  83                      </select>
  84                  <!-- {query_type} -->
  85                  <input type="text" name="query" value="{prev_query}">
  86                  <input type="submit" name="search" value="{lang_search}">
  87              </form>
  88          </td>
  89      </tr>
  90      <tr>
  91          <td colspan="5">
  92              <table width="100%"><tr>
  93  <!-- BEGIN letter_search -->
  94                  <td class="{class}" onclick="location.href='{link}';">{letter}</td>
  95  <!-- END letter_search -->
  96              </tr></table>
  97          </td>
  98      </tr>
  99      <tr>
 100          {left}
 101          <td align="center">{lang_showing}</td>
 102          {right}
 103      </tr>
 104  </table>
 105  
 106  <table border="0" width="100%" cellpadding="0" cellspacing="0">
 107      <tr>
 108          <td valign="top" width="20%">
 109              <table border="0" width="100%" cellpadding="2" cellspacing="2">
 110                  <tr>
 111                      <td class="th" colspan="2" align="center"><b>{lang_groups}</b></td>
 112                  </tr>
 113  <!-- BEGIN bla_intro -->
 114                  <tr>
 115                      <td class="th" colspan="2">{lang_perm}</td>
 116                  </tr>
 117  
 118  <!-- END bla_intro -->
 119  
 120  <!-- BEGIN other_intro -->
 121                  <tr>
 122                      <td class="th" colspan="2">{lang_perm}</td>
 123                  </tr>
 124  <!-- END other_intro -->
 125  
 126  <!-- BEGIN group_cal -->
 127                  <tr class="{tr_color}">
 128                      <td><a href="{link_user_group}" title="{lang_list_members}">{name_user_group}</a></td>
 129                      <td align="center">
 130                          <input type="image" src="{img}" onclick="{onclick}; return false;" title="{lang_select_group}">
 131                      </td>
 132                  </tr>
 133  <!-- END group_cal -->
 134  
 135  <!-- BEGIN group_other -->
 136  
 137                  <tr class="{tr_color}">
 138                      <td><a href="{link_user_group}" title="{lang_list_members}">{name_user_group}</a></td>
 139                  </tr>
 140  
 141  <!-- END group_other -->
 142  
 143  <!-- BEGIN all_intro -->
 144                  <tr height="5">
 145                      <td>&nbsp;</td>
 146                  </tr>
 147                  <tr>
 148                      <td class="th" colspan="2">{lang_nonperm}</td>
 149                  </tr>
 150  
 151  <!-- END all_intro -->
 152  
 153  <!-- BEGIN group_all -->
 154  
 155                  <tr class="{tr_color}">
 156                      <td colspan="2"><a href="{link_all_group}" title="{lang_list_members}">{name_all_group}</a></td>
 157                  </tr>
 158  
 159  <!-- END group_all -->
 160  
 161  
 162              </table>
 163          </td>
 164          <td valign="top">
 165              <table border="0" width="100%" cellpadding="2" cellspacing="2">
 166                  <tr class="th">
 167                      <td width="100%" class="th" align="center" colspan="3"><b>{lang_accounts}</b></td>
 168                  </tr>
 169                  <tr class="th">
 170                      <!-- <td align="center">{sort_lid}</td> -->
 171                      <td align="center">{sort_firstname}</td>
 172                      <td align="center">{sort_lastname}</td>
 173                      <td width="10%">&nbsp;</td>
 174                  </tr>
 175  
 176  <!-- BEGIN accounts_list -->
 177  
 178      <tr class="{tr_color}">
 179          <!-- <td>{lid}</td> -->
 180          <td>{firstname}</td>
 181          <td>{lastname}</td>
 182          <td align="center">
 183              <input type="image" src="{img}" onclick="{onclick}; return false;" title="{lang_select_user}">
 184          </td>
 185      </tr>
 186  
 187  <!-- END accounts_list -->
 188  
 189              </table>
 190          </td>
 191          <td valign="top">
 192              <table border="0" width="100%" cellpadding="2" cellspacing="2">
 193                  <tr class="th">
 194                      <td align="center" colspan="2"><b>{lang_selection}</b> {remove}</td>
 195                  </tr>
 196                  <tr class="row_off">
 197                      <td align="center">
 198                          {selection}
 199                      </td>
 200                  </tr>
 201                  <tr>
 202                      <td align="center" colspan="2">
 203                          <input type="button" name="close" value="{lang_close}" onClick="window.close()">
 204                      </td>
 205                  </tr>
 206              </table>
 207          </td>
 208      </tr>
 209  </table>
 210  </div>
 211  


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7