PHP Classes

File: modules/cms/controllers/index/_common_toolbar_actions.php

Recommend this page to a friend!
  Packages of Luke Towers   Winter   modules/cms/controllers/index/_common_toolbar_actions.php   Download  
File: modules/cms/controllers/index/_common_toolbar_actions.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Winter
Content management system that uses MVC
Author: By
Last change:
Date: 7 months ago
Size: 614 bytes
 

Contents

Class file image Download
<?= $this->makePartial('button_commit'); ?>

<?= $this->makePartial('button_reset'); ?>

<button
    type="button"
    class="
        btn btn-danger empty wn-icon-trash-o
        <?php if (!$templatePath): ?>
hide
        <?php endif ?>
"
    data-request="onDelete"
    data-request-confirm="<?= e(trans('cms::lang.' . $toolbarSource . '.delete_confirm_single')) ?>"
    data-request-success="$.wn.cmsPage.updateTemplateList('<?= $toolbarSource ?>'); $(this).trigger('close.oc.tab', [{force: true}])"
    data-control="delete-button">
</button>

<?= $this->makePartial('button_lastmodified'); ?>