first commit
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<?php use_helper('stProduct', 'stAdminGenerator') ?>
|
||||
|
||||
<div class="close"></div>
|
||||
<h2><?php echo __('Edycja opisu zdjęcia') ?></h2>
|
||||
<div class="content">
|
||||
<form class="admin_form" action="<?php echo st_url_for('stProduct/imageGalleryEdit?culture='.$asset->getCulture()) ?>?image_id=<?php echo $asset->getId() ?>">
|
||||
<div style="text-align: center">
|
||||
<?php echo st_product_image_tag($asset, 'icon') ?>
|
||||
</div>
|
||||
|
||||
<?php echo textarea_tag('plupload_edit[description]', $asset->getDescription(), array('style' => 'width: 100%; height: 150px')) ?>
|
||||
|
||||
<?php echo st_get_admin_actions(array(
|
||||
array('type' => 'save', 'label' => __('Zapisz', null, 'stBackend')),
|
||||
)); ?>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
jQuery(function($) {
|
||||
$('#plupload_edit_overlay form').submit(function() {
|
||||
var overlay = $('#plupload_edit_overlay');
|
||||
|
||||
overlay.addClass('preloader_160x24');
|
||||
|
||||
$.post(this.action, $(this).serializeArray(), function() {
|
||||
overlay.removeClass('preloader_160x24');
|
||||
overlay.data('overlay').close();
|
||||
});
|
||||
|
||||
return false;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user