/var/www/vhosts/ihelp.ro/httpdocs/templates/Dashboard/Products
NameSizeModeActions
add.php73140644editdlrm
edit.php75500644editdlrm
edit_gallery.php34690644editdlrm
index.php228930644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/templates/Dashboard/Products/edit_gallery.php (3469B)
assign('title', __('Editare galerie')); ?> Breadcrumbs->reset()->add(__('Editare galerie'), null); $this->Breadcrumbs->prepend([ ['title' => __('Contul meu'), 'url' => ['controller' => 'Profiles', 'action' => 'view']], ]); $this->Breadcrumbs->prepend([ ['title' => __('Acasă'), 'url' => ['controller' => 'Pages', 'action' => 'home']], ]); ?>
Breadcrumbs->render() ?>

Html->link( ' ' . __('Înapoi') . ' ', ['prefix' => 'Dashboard', 'plugin' => false, 'controller' => 'Products', 'action' => 'edit', $product->uuid], [ 'escape' => false, 'class' => 'btn outline gray size-xs my-auto ml-auto svg-on-left has-svg' ] ) ?>
element('GalleryImages/dropzone', ['foreignKey' => $product->id, 'model' => $model]); ?>
Html->image($this->Custom->generateUrlHdy( [ 'model_name' => $image->model, 'uuid' => $image->foreign_uuid, 'image_name' => 'resize-' . $image->image_path ], true, 1024, 960, true ), ['class' => 'img-fluid']) ?>

name); ?>

description); ?>
Form->postLink('', ['prefix' => 'Dashboard', 'controller' => 'GalleryImages', 'action' => 'setFeaturedImage', $product->id, $model, $image->id], ['confirm' => __('Are you sure you want to change featured image?'), 'class' => ($image->is_featured) ? 'btn outline secondary size-xs has-svg disabled' : 'btn outline primary size-xs has-svg', 'escape' => false]); ?> Form->postLink('', ['controller' => 'GalleryImages', 'action' => 'delete', $image->id], ['confirm' => __('Are you sure you want to delete # {0}?', $image->title), 'class' => 'btn outline primary size-xs has-svg', 'escape' => false]); ?>