adjustments for tinymce

updated xet's for release
This commit is contained in:
Cornelius Weiß 2005-11-14 21:40:50 +00:00
parent 96a2aad962
commit c44e280838
4 changed files with 261 additions and 27 deletions

View File

@ -1,5 +1,5 @@
<?php
// eTemplates for Application 'resources', generated by soetemplate::dump4setup() 2005-11-14 19:14
// eTemplates for Application 'resources', generated by soetemplate::dump4setup() 2005-11-14 22:39
/* $Id$ */
@ -27,7 +27,7 @@ $templ_data[] = array('name' => 'resources.edit_tabs.general','template' => '','
$templ_data[] = array('name' => 'resources.edit_tabs.links','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:6:{i:0;a:7:{s:1:"A";s:3:"100";s:2:"c1";s:2:"th";s:2:"c2";s:3:"row";s:2:"c3";s:2:"th";s:2:"c4";s:11:"row_off,top";s:2:"h4";s:3:"164";s:2:"h5";s:4:"100%";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"span";s:3:"all";s:5:"label";s:16:"Create new links";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:3:{s:4:"type";s:7:"link-to";s:4:"span";s:3:"all";s:4:"name";s:7:"link_to";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:3;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"span";s:3:"all";s:5:"label";s:14:"Existing links";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:4;a:2:{s:1:"A";a:3:{s:4:"type";s:9:"link-list";s:4:"span";s:3:"all";s:4:"name";s:7:"link_to";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:5;a:2:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:5;s:4:"cols";i:2;s:4:"size";s:7:"700,380";s:7:"options";a:2:{i:0;s:3:"700";i:1;s:3:"380";}}}','size' => '700,380','style' => '','modified' => '1109248913',);
$templ_data[] = array('name' => 'resources.edit_tabs.page','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:1:{s:2:"c1";s:4:",top";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:8:"htmlarea";s:4:"name";s:16:"long_description";s:4:"help";s:26:"Web-Site for this resource";s:4:"size";s:40:"width: 690px; height :365px;,FontChooser";}}}s:4:"rows";i:1;s:4:"cols";i:1;s:4:"size";s:8:"100%,380";s:7:"options";a:2:{i:0;s:4:"100%";i:1;s:3:"380";}}}','size' => '100%,380','style' => '','modified' => '1093599237',);
$templ_data[] = array('name' => 'resources.edit_tabs.page','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:1:{s:2:"c1";s:4:",top";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:8:"htmlarea";s:4:"name";s:16:"long_description";s:4:"help";s:26:"Web-Site for this resource";s:4:"size";s:94:"width: 690px; height :365px;,ContextMenu,ColorChooser,FontChooser,SearchReplace,InsertDateTime";}}}s:4:"rows";i:1;s:4:"cols";i:1;s:4:"size";s:8:"100%,380";s:7:"options";a:2:{i:0;s:4:"100%";i:1;s:3:"380";}}}','size' => '100%,380','style' => '','modified' => '1093599237',);
$templ_data[] = array('name' => 'resources.edit_tabs.pictures','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:2:{s:2:"c1";s:4:",top";s:2:"h2";s:4:"100%";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"2";i:1;a:2:{s:4:"type";s:5:"image";s:4:"name";s:16:"resource_picture";}i:2;a:1:{s:4:"type";s:5:"label";}}i:2;a:4:{s:4:"type";s:8:"groupbox";s:4:"size";s:1:"1";i:1;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:0:{}i:1;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:26:"Use general resources icon";s:5:"align";s:5:"right";}s:1:"B";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:7:"gen_src";s:4:"name";s:11:"picture_src";}s:1:"C";a:3:{s:4:"type";s:6:"select";s:7:"no_lang";s:1:"1";s:4:"name";s:12:"gen_src_list";}}i:2;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:23:"Use the category\'s icon";s:5:"align";s:5:"right";}s:1:"B";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:7:"cat_src";s:4:"name";s:11:"picture_src";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:3;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:15:"Use own picture";s:5:"align";s:5:"right";}s:1:"B";a:3:{s:4:"type";s:5:"radio";s:4:"size";s:7:"own_src";s:4:"name";s:11:"picture_src";}s:1:"C";a:2:{s:4:"type";s:4:"file";s:4:"name";s:8:"own_file";}}}s:4:"rows";i:3;s:4:"cols";i:3;}s:5:"label";s:14:"picture source";}}}i:2;a:1:{s:1:"A";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:2;s:4:"cols";i:1;s:4:"size";s:7:"700,380";s:7:"options";a:2:{i:0;s:3:"700";i:1;s:3:"380";}}}','size' => '700,380','style' => '','modified' => '1131048665',);

View File

@ -0,0 +1,139 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<template id="resources.edit.general" template="" lang="" group="0" version="">
<grid>
<columns>
<column/>
</columns>
<rows>
<row>
<description/>
</row>
</rows>
</grid>
</template>
<template id="resources.edit.page" template="" lang="" group="0" version="">
<grid>
<columns>
<column/>
</columns>
<rows>
<row>
<description/>
</row>
</rows>
</grid>
</template>
<template id="resources.edit.pictures" template="" lang="" group="0" version="">
<grid>
<columns>
<column/>
</columns>
<rows>
<row>
<description/>
</row>
</rows>
</grid>
</template>
<template id="resources.edit.links" template="" lang="" group="0" version="">
<grid>
<columns>
<column/>
</columns>
<rows>
<row>
<description/>
</row>
</rows>
</grid>
</template>
<template id="resources.edit.custom" template="" lang="" group="0" version="">
<grid>
<columns>
<column/>
</columns>
<rows>
<row>
<description/>
</row>
</rows>
</grid>
</template>
<template id="resources.edit_tabs" template="" lang="" group="0" version="">
<grid>
<columns>
<column width="700"/>
<column/>
<column/>
</columns>
<rows>
<row class="row_off">
<tabbox span="all">
<tabs>
<tab label="General" statustext="General informations about resource"/>
<tab label="Description" statustext="Informations about the location of resource"/>
<tab label="Picture" statustext="Prizeing information for booking or buying"/>
<tab label="Links" statustext="Web-Page of resource"/>
<tab label="Custom" statustext="Pictures or resource"/>
</tabs>
<tabpanels>
<template id="resources.edit.general"/>
<template id="resources.edit.page"/>
<template id="resources.edit.pictures"/>
<template id="resources.edit.links"/>
<template id="resources.edit.custom"/>
</tabpanels>
</tabbox>
</row>
<row height="100%">
<description span="all"/>
</row>
</rows>
</grid>
</template>
<template id="resources.edit_buttons" template="" lang="" group="0" version="">
<grid>
<columns>
<column/>
<column/>
<column width="100%"/>
</columns>
<rows>
<row>
<button label="Save" id="save" statustext="Saves entry and exits"/>
<button label="Cancel" onclick="window.close();"/>
<button label="Delete" align="right" id="delete" onclick="return confirm('Do you really want do delte this resource?');"/>
</row>
</rows>
</grid>
</template>
<template id="resources.edit" template="" lang="" group="0" version="">
<grid>
<columns>
<column width="700"/>
</columns>
<rows>
<row>
<description no_lang="1" id="msg"/>
</row>
<row>
<hbox>
<textbox label="Name" id="name" statustext="Name of resource" needed="1"/>
<textbox label="Inventory number" id="inventory_number"/>
<menulist>
<menupopup label="Category" no_lang="1" id="cat_id" needed="1" statustext="Which category does this resource belong to?" align="right"/>
</menulist>
</hbox>
</row>
<row>
<template id="resources.edit_tabs"/>
</row>
<row>
<template id="resources.edit_buttons"/>
</row>
</rows>
</grid>
</template>
</overlay>

View File

@ -34,11 +34,11 @@
<description value="Actions"/>
<description/>
<description needed="1"/>
<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('checkbox[]')); return false;"/>
<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;"/>
</hbox>
</row>
<row class="nmr" valign="top">
<image align="center" src="${row}[picture_thumb]"/>
<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;"/>
<vbox>
<description no_lang="1" id="${row}[name]"/>
<description no_lang="1" id="${row}[short_description]"/>
@ -57,26 +57,30 @@
</vbox>
<vbox>
<description no_lang="1" id="${row}[location]"/>
<description no_lang="1"/>
<description no_lang="1" id="${row}[storage_info]"/>
</vbox>
<hbox align="right">
<vbox class="buttonbox">
<button image="bookable.gif" label="Book this resource" align="center" id="bookable[$row_cont[id]]" statustext="Book this resource" onclick="window.open(egw::link('/index.php','menuaction=calendar.uiforms.edit&amp;participants=r$row_cont[id]'),'','dependent=yes,width=750,height=400,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes'); return false;"/>
<button image="buyable.gif" label="Buy this resource" align="center" id="buyable[$row_cont[id]]" statustext="Buy this resource"/>
</vbox>
<vbox needed="1" align="right" class="buttonbox">
<button image="edit.gif" label="Edit" align="center" id="edit[$row_cont[id]]" statustext="Edit this entry" onclick="window.open(egw::link('/index.php','menuaction=resources.ui_resources.edit&amp;id=$row_cont[id]'),'','dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes'); return false;"/>
<button label="Delete" align="center" id="delete[$row_cont[id]]" statustext="Delete this entry" onclick="return confirm('Do you really want do delte this resource?');" image="delete.gif"/>
</vbox>
<vbox class="buttonbox">
<button image="new.gif" label="Create new accessory for this resource" align="center" id="new_acc[$row_cont[id]]" statustext="Create new accessory for this resource" onclick="window.open(egw::link('/index.php','menuaction=resources.ui_resources.edit&amp;id=0&amp;accessory_of=$row_cont[id]'),'','dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes'); return false;"/>
<button image="view_acc.gif" label="View accessories for this resource" align="center" id="view_acc[$row_cont[id]]" statustext="View accessories for this resource"/>
</vbox>
<vbox align="right" class="buttonbox">
<button image="view.gif" label="View" align="right" id="view[$row_cont[id]]" statustext="View this entry" onclick="window.open(egw::link('/index.php','menuaction=resources.ui_resources.show&amp;id=$row_cont[id]'),'','dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes'); return false;"/>
<checkbox align="right" id="checkbox[]" options="$row_cont[id]"/>
</vbox>
</hbox>
<grid>
<columns>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row>
<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]]"/>
<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]]"/>
<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;"/>
<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;"/>
</row>
<row>
<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;"/>
<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"/>
<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"/>
<checkbox align="right" id="checkbox[]" options="$cont[res_id]"/>
</row>
</rows>
</grid>
</row>
</rows>
</grid>
@ -102,12 +106,12 @@
<rows>
<row>
<description/>
<button image="bookable" label="book selected resources" id="btn_book_selected" statustext="book selected resources" align="right" onclick="window.open(egw::link('/index.php','menuaction=calendar.uiforms.edit&amp;participants=r$row_cont[id]'),'','dependent=yes,width=750,height=400,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes'); return false;"/>
<button label="buy selected resources" no_lang="1" image="buyable" id="btn_buy_selected" statustext="buy selected resources" align="right"/>
<button image="delete" label="delete selected resources" id="btn_delete_selected" statustext="delete selected resources" align="right" onclick="return confirm('Do you really want do delte the selected resources?');"/>
<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"/>
<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"/>
<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"/>
<vbox>
<description/>
<button image="arrow_ltr" label="select/deselect all" statustext="select/deselect all" onclick="toggle_all(this.form,form::name('nm[rows][checkbox][]')); return false;" needed="1"/>
<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"/>
<description/>
</vbox>
</row>

View File

@ -0,0 +1,91 @@
<?xml version="1.0"?>
<!-- $Id$ -->
<overlay>
<template id="resources.showdetails" template="" lang="" group="0" version="">
<grid width="750" height="480">
<columns>
<column width="43%"/>
<column width="100%"/>
</columns>
<rows>
<row class="nmh" height="240px">
<image src="resource_picture" align="center"/>
<grid>
<columns>
<column/>
<column/>
</columns>
<rows>
<row>
<description options="b" value="Name:"/>
<description options="b" no_lang="1" id="name"/>
</row>
<row>
<description value="Inventory number:"/>
<description no_lang="1" id="inventory_number"/>
</row>
<row>
<description value="Category:"/>
<menulist>
<menupopup type="select-cat" id="cat_id" readonly="true"/>
</menulist>
</row>
<row>
<description value="Responsible: "/>
<menulist>
<menupopup type="select-account" id="cat_admin" readonly="true"/>
</menulist>
</row>
<row valign="top">
<description value="Quantity: "/>
<description id="quantity"/>
</row>
<row>
<description value="Useable:"/>
<description id="useable"/>
</row>
<row>
<description value="Location:"/>
<description no_lang="1" id="location"/>
</row>
<row>
<description value="Storage information:"/>
<description id="storage_info"/>
</row>
</rows>
</grid>
</row>
<row>
<description/>
<description/>
</row>
<row height="1%">
<html span="2" id="description" readonly="true"/>
</row>
<row>
<description/>
<description/>
</row>
<row class="th" disabled="@!link_to">
<description span="2" data="" rows="1" cols="4" value="Related links"/>
</row>
<row class="row_off" valign="top">
<link-list span="all" id="link_to" readonly="true"/>
</row>
<row>
<hbox label="Cancel" span="2" 3="label" 4="button">
<hbox label="Edit" span="2" id="btn_edit">
<button label="Edit" span="2" id="btn_edit" statustext="Buy this article"/>
<button label="Cancel" onclick="window.close()"/>
<button label="Calendar" span="2" id="btn_calendar" statustext="Show calendar of resource" onclick="opener.location=egw::link('/index.php','menuaction=calendar.uiviews.month&amp;owner=r$cont[res_id]'); return false;"/>
<button label="Book" 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');" id="btn_book" statustext="Book this resource"/>
</hbox>
<hbox align="right">
<button label="Delete" onclick="return confirm('Do you really want do delte this resource?');" id="btn_delete"/>
</hbox>
</hbox>
</row>
</rows>
</grid>
</template>
</overlay>