mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
fixing renamed classes in calendar
This commit is contained in:
parent
7d2cc04b6c
commit
e22ed15774
@ -255,7 +255,7 @@ class bo_resources
|
|||||||
$this->remove_picture($res_id);
|
$this->remove_picture($res_id);
|
||||||
egw_link::unlink(0,'resources',$res_id);
|
egw_link::unlink(0,'resources',$res_id);
|
||||||
// delete the resource from the calendar
|
// delete the resource from the calendar
|
||||||
ExecMethod('calendar.socal.change_delete_user','r'.$res_id);
|
ExecMethod('calendar.calendar_so.deleteaccount','r'.$res_id);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return lang('Something went wrong by deleting resource');
|
return lang('Something went wrong by deleting resource');
|
||||||
|
File diff suppressed because one or more lines are too long
@ -59,7 +59,7 @@
|
|||||||
<description no_lang="1" id="${row}[location]"/>
|
<description no_lang="1" id="${row}[location]"/>
|
||||||
<description no_lang="1" id="${row}[storage_info]"/>
|
<description no_lang="1" id="${row}[storage_info]"/>
|
||||||
</vbox>
|
</vbox>
|
||||||
<grid>
|
<grid id="${row}">
|
||||||
<columns>
|
<columns>
|
||||||
<column/>
|
<column/>
|
||||||
<column/>
|
<column/>
|
||||||
@ -68,13 +68,13 @@
|
|||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row>
|
<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&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="bookable" ro_image="trams16x16" label="Book this resource" align="center" statustext="Book this resource" onclick="window.open(egw::link('/index.php','menuaction=calendar.calendar_uiforms.edit&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&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="edit" ro_image="trans16x16" label="Edit" align="center" statustext="Edit this entry" onclick="window.open(egw::link('/index.php','menuaction=resources.ui_resources.edit&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&res_id=0&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="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&res_id=0&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&res_id=$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&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>
|
||||||
<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.planner&sortby=user&owner=0,r$cont[res_id]'); return false;"/>
|
<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.calendar_uiviews.planner&sortby=user&owner=0,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 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"/>
|
<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]"/>
|
<checkbox align="right" id="checkbox[]" options="$cont[res_id]"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user