{include file="common/head.tpl.html"} {calendar->init} {help->link name="ressource_window" class="help-overview"}
{if !$read_permission}
{$lang.global_error_permissions}
{else} {include file=$ressource_template}
{if !$is_owner}
{$lang.global_error_permissions}
{else} {/if}
{/if} {if $edit} {/if}
{if !$picture} {else} {/if}
170 x 250
{$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"}