PHP Classes

File: modules/system/controllers/updates/manage.php

Recommend this page to a friend!
  Packages of Luke Towers   Winter   modules/system/controllers/updates/manage.php   Download  
File: modules/system/controllers/updates/manage.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: 825 bytes
 

Contents

Class file image Download
<?php Block::put('breadcrumb') ?>
<ul>
        <li><a href="<?= Backend::url('system/updates') ?>"><?= e(trans('system::lang.updates.menu_label')) ?></a></li>
        <li><?= e(trans($this->pageTitle)) ?></li>
    </ul>
<?php Block::endPut() ?>

<?= $this->listRender('manage') ?>

<!-- Specific assets for this page only -->
<style>
    td { vertical-align: middle !important; }
</style>
<script>
    jQuery(document).ready(function($) {
        function checkSwitches() {
            $("[data-check|='oc']").each(function() {
                $(this).find('input').on('change', function() {
                  this.value = this.checked ? 1 : 0;
                });
            });
        }
        checkSwitches();
        $(document).ajaxComplete(function() {
            checkSwitches();
        });
    });
</script>