[ Index ]
 

Code source de eGroupWare 1.2.106-2

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

title

Body

[fermer]

/resources/templates/default/ -> show.xet (source)

   1  <?xml version="1.0"?>
   2  <!-- $Id: show.xet 19840 2005-11-14 21:40:50Z nelius_weiss $ -->
   3  <overlay>
   4      <template id="resources.show.rows" template="" lang="" group="0" version="">
   5          <grid>
   6              <columns>
   7                  <column/>
   8                  <column/>
   9                  <column width="3%"/>
  10                  <column/>
  11                  <column/>
  12                  <column width="5%"/>
  13              </columns>
  14              <rows>
  15                  <row class="nmh">
  16                      <description/>
  17                      <vbox>
  18                          <nextmatch-sortheader label="Name" id="name"/>
  19                          <nextmatch-sortheader label="Short description" id="short_description"/>
  20                      </vbox>
  21                      <vbox>
  22                          <nextmatch-sortheader label="Useable" id="useable" statustext="How many of this resource are usable"/>
  23                          <nextmatch-sortheader label="Quantity" id="quantity" statustext="How many of this resource exists"/>
  24                      </vbox>
  25                      <vbox>
  26                          <nextmatch-sortheader label="Category" id="cat_id"/>
  27                          <description value="Administrator"/>
  28                      </vbox>
  29                      <vbox>
  30                          <nextmatch-sortheader label="Location" id="location"/>
  31                          <description value="Storage Inforation"/>
  32                      </vbox>
  33                      <hbox align="right">
  34                          <description value="Actions"/>
  35                          <description/>
  36                          <description needed="1"/>
  37                          <button image="check.png" label="Check all" align="right" id="check_all" statustext="Check all" 1="label" 2="label" 3="label" needed="1" onclick="toggle_all(this.form,form::name('nm[rows][checkbox][]'),true); return false;"/>
  38                      </hbox>
  39                  </row>
  40                  <row class="nmr" valign="top">
  41                      <button align="center" id="$row}[picture_thumb]" image="$row_cont[picture_thumb]" onclick="window.open(egw::link('/index.php','menuaction=resources.ui_resources.show&amp;res_id=$row_cont[res_id]'),'','dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes');return false;"/>
  42                      <vbox>
  43                          <description no_lang="1" id="$row}[name]"/>
  44                          <description no_lang="1" id="$row}[short_description]"/>
  45                      </vbox>
  46                      <vbox align="right">
  47                          <description no_lang="1" align="right" id="$row}[useable]"/>
  48                          <description no_lang="1" align="right" id="$row}[quantity]"/>
  49                      </vbox>
  50                      <vbox>
  51                          <menulist>
  52                              <menupopup type="select-cat" no_lang="1" id="$row}[cat_id]" readonly="true"/>
  53                          </menulist>
  54                          <menulist>
  55                              <menupopup type="select-account" no_lang="1" id="$row}[admin]" readonly="true"/>
  56                          </menulist>
  57                      </vbox>
  58                      <vbox>
  59                          <description no_lang="1" id="$row}[location]"/>
  60                          <description no_lang="1" id="$row}[storage_info]"/>
  61                      </vbox>
  62                      <grid>
  63                          <columns>
  64                              <column/>
  65                              <column/>
  66                              <column/>
  67                              <column/>
  68                          </columns>
  69                          <rows>
  70                              <row>
  71                                  <button image="bookable" ro_image="trams16x16" label="Book this resource" align="center" statustext="Book this resource" onclick="window.open(egw::link('/index.php','menuaction=calendar.uiforms.edit&amp;participants=r$cont[res_id]'),'','dependent=yes,width=750,height=400,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes'); return false;" id="bookable[$cont[res_id]]"/>
  72                                  <button image="edit" ro_image="trans16x16" label="Edit" align="center" statustext="Edit this entry" onclick="window.open(egw::link('/index.php','menuaction=resources.ui_resources.edit&amp;res_id=$cont[res_id]'),'','dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes'); return false;" id="edit[$cont[res_id]]"/>
  73                                  <button image="new" ro_image="trans16x16" label="Create new accessory for this resource" align="center" id="new_acc[$cont[res_id]]" statustext="Create new accessory for this resource" onclick="window.open(egw::link('/index.php','menuaction=resources.ui_resources.edit&amp;res_id=0&amp;accessory_of=$cont[res_id]'),'','dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes'); return false;"/>
  74                                  <button image="view" ro_image="trans16x16" label="View" align="right" id="view[$cont[res_id]]" statustext="View this entry" onclick="window.open(egw::link('/index.php','menuaction=resources.ui_resources.show&amp;res_id=$cont[res_id]'),'','dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes'); return false;"/>
  75                              </row>
  76                              <row>
  77                                  <button image="calendar" ro_image="trans16x16" label="Show calendar of resource" align="center" statustext="Show calendar of resource" id="calendar[$cont[res_id]]" onclick="location=egw::link('/index.php','menuaction=calendar.uiviews.month&amp;owner=r$cont[res_id]'); return false;"/>
  78                                  <button label="Delete" align="center" id="delete[$cont[res_id]]" statustext="Delete this entry" onclick="return confirm('Do you really want do delte this resource?');" image="delete" ro_image="trans16x16"/>
  79                                  <button image="view_acc" ro_image="trans16x16" label="View accessories for this resource" align="center" id="view_acc[$cont[res_id]]" statustext="View accessories for this resource"/>
  80                                  <checkbox align="right" id="checkbox[]" options="$cont[res_id]"/>
  81                              </row>
  82                          </rows>
  83                      </grid>
  84                  </row>
  85              </rows>
  86          </grid>
  87      </template>
  88      <template id="resources.show" template="" lang="" group="0" version="">
  89          <grid width="100%">
  90              <columns>
  91                  <column width="100%"/>
  92              </columns>
  93              <rows>
  94                  <row>
  95                      <nextmatch options="resources.show.rows" no_lang="1" id="nm"/>
  96                  </row>
  97                  <row>
  98                      <grid width="100%">
  99                          <columns>
 100                              <column/>
 101                              <column width="1%"/>
 102                              <column width="1%"/>
 103                              <column width="1%"/>
 104                              <column width="47px"/>
 105                          </columns>
 106                          <rows>
 107                              <row>
 108                                  <description/>
 109                                  <button image="bookable" ro_image="trans16x16" label="book selected resources" statustext="book selected resources" align="right" onclick="var resources = js_btn_book_selected(this.form); if(resources == false) { return false; } else { window.open(egw::link('/index.php','menuaction=calendar.uiforms.edit')+'&amp;participants='+resources,'','dependent=yes,width=750,height=400,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes'); return false; }" needed="1" id="btn_book_selected"/>
 110                                  <button label="Show calendar of resource" image="calendar" ro_image="trans16x16" id="btn_cal_selected" statustext="Show calendar of resource" align="right" onclick="var resources = js_btn_book_selected(this.form); if(resources == false) { return false; } else { location=egw::link('/index.php','menuaction=calendar.uiviews.planner')+'&amp;sortby=user&amp;owner='+resources; return false; }" needed="1"/>
 111                                  <button image="delete" label="delete selected resources" id="btn_delete_selected" statustext="delete selected resources" align="right" onclick="var resources = js_btn_book_selected(this.form); if(resources == false) { return false; } else { return confirm('Do you really want do delete the selected resources?'); }" needed="1"/>
 112                                  <vbox>
 113                                      <description/>
 114                                      <button image="arrow_ltr" label="select/deselect all" statustext="select/deselect all" onclick="toggle_all(this.form,form::name('nm[rows][checkbox][]'),true); return false;" needed="1"/>
 115                                      <description/>
 116                                  </vbox>
 117                              </row>
 118                          </rows>
 119                      </grid>
 120                  </row>
 121                  <row>
 122                      <hbox>
 123                          <button label="Add" onclick="window.open(egw::link('/index.php','menuaction=resources.ui_resources.edit'),'','dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes'); return false; return false;" id="add"/>
 124                          <button label="Add accessory" id="add_sub" onclick="window.open(egw::link('/index.php','menuaction=resources.ui_resources.edit&amp;content=0&amp;accessory_of=$cont[view_accs_of]'),'','dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes'); return false;"/>
 125                          <button label="Back" id="back"/>
 126                      </hbox>
 127                  </row>
 128              </rows>
 129          </grid>
 130      </template>
 131  </overlay>


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