{include file="common/head.tpl.html" html5=true} {calendar->init}
{help->link name="ressource_window" class="help-overview"} {if $protocol && $ressource_id}{menubutton->image_window query="op=common_glog&modul=`$smarty.const.MODULE_RESSOURCES`&oid=`$ressource_id`" icon="protocol" width=19 height=19 title=$lang.global_protocol w_width=$smarty.const.GLOG_WIN_WIDTH scroll=1 w_height=$smarty.const.GLOG_WIN_HEIGHT}{/if}
{if !$read_permission}
{$lang.global_error_permissions}
{else} {include file=$ressource_template}
{if !$is_owner}
{$lang.global_error_permissions}
{else} {if $ressource_id} {/if} {/if}
{/if} {if $edit}{/if}
{if !$picture} {else} {/if}
170 x 254
{$lang.userinc_upload_here}
{cssbutton->sub id="delpic" name="delpic" string=$lang.global_delete}
{if !$new}
{/if}
{if $read_permission && !$new} {smartregister2->link query="op=ressources_versionsdeep&ressource_id=`$ressource_id`" string="`$lang.ressources_versions` (`$versions_count`)" rg2=1} {smartregister2->link query="op=ressources_bookings&ressource_id=`$ressource_id`" string="`$lang.ressources_booking` (`$booking_count`)" rg2=2} {if $access.documents} {docs->count modul="ressources" id=$ressource_id assign="docs_count"} {docs->link modul='ressources' id=$ressource_id assign="docs_link"} {smartregister2->link link=$docs_link string="`$lang.global_documents` (`$docs_count`)" rg2=3} {/if} {if $consumption} {smartregister2->link query="op=ressources_journaldeep&ressource_id=`$ressource_id`" string="`$lang.ressources_stock` (`$stock_count`)" rg2=4} {/if} {/if} {if !$new}{smartregister2->init obj_id="detailtab" user_option="ressources_smartreg"}{/if}
{include file="common/foot.tpl.html"}