132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
{if $can_write && $file->getEditor()}
{linkbutton href="!common/files/edit.php?p=%s"|args:$file.path label="Modifier" shape="edit" target="_dialog" data-dialog-height="90%"}
{/if}
{if $file->canPreview()}
{linkbutton href="!common/files/preview.php?p=%s"|args:$file.path label="Voir" shape="eye" target="_dialog" data-mime=$file.mime}
{/if}
{linkbutton href=$file->url(true) label="Télécharger" shape="download"}
{if $can_write && ($context == File::CONTEXT_SKELETON || $context == File::CONTEXT_DOCUMENTS)}
{linkbutton href="!common/files/rename.php?p=%s"|args:$file.path label="Renommer" shape="minus" target="_dialog"}
{/if}
{if $can_delete}
{linkbutton href="!common/files/delete.php?p=%s"|args:$file.path label="Supprimer" shape="delete" target="_dialog"}
{/if}
</td>
</tr>
|
|
|
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
{if $can_write && $file->getEditor()}
{linkbutton href="!common/files/edit.php?p=%s"|args:$file.path label="Modifier" shape="edit" target="_dialog" data-dialog-height="90%"}
{/if}
{if $file->canPreview()}
{linkbutton href="!common/files/preview.php?p=%s"|args:$file.path label="Voir" shape="eye" target="_dialog" data-mime=$file.mime}
{/if}
{linkbutton href=$file->url(true) label="Télécharger" shape="download"}
{if $can_write}
{linkbutton href="!common/files/rename.php?p=%s"|args:$file.path label="Renommer" shape="minus" target="_dialog"}
{/if}
{if $can_delete}
{linkbutton href="!common/files/delete.php?p=%s"|args:$file.path label="Supprimer" shape="delete" target="_dialog"}
{/if}
</td>
</tr>
|