File indexing completed on 2025-05-04 05:29:02
0001 <?php 0002 /** 0003 * ocs-webserver 0004 * 0005 * Copyright 2016 by pling GmbH. 0006 * 0007 * This file is part of ocs-webserver. 0008 * 0009 * This program is free software: you can redistribute it and/or modify 0010 * it under the terms of the GNU Affero General Public License as 0011 * published by the Free Software Foundation, either version 3 of the 0012 * License, or (at your option) any later version. 0013 * 0014 * This program is distributed in the hope that it will be useful, 0015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0017 * GNU Affero General Public License for more details. 0018 * 0019 * You should have received a copy of the GNU Affero General Public License 0020 * along with this program. If not, see <http://www.gnu.org/licenses/>. 0021 **/ 0022 ?> 0023 <div class="messages"> 0024 <?php foreach (Zend_Controller_Action_HelperBroker::getStaticHelper('flashMessenger') 0025 ->getCurrentMessages() as $message) : ?> 0026 <p><?php echo $this->escape($message); ?></p> 0027 <?php endforeach; ?> 0028 </div> 0029 <div id="TableContainer"></div> 0030 <script type="text/javascript"> 0031 $(document).ready(function () { 0032 $('#TableContainer').jtable({ 0033 jqueryuiTheme: true, 0034 paging: true, 0035 sorting: true, 0036 defaultSorting: 'name asc', 0037 title: 'Table of Operating Systems', 0038 actions: { 0039 listAction: '/backend/operatingsystem/list', 0040 createAction: '/backend/operatingsystem/create', 0041 updateAction: '/backend/operatingsystem/update', 0042 deleteAction: '/backend/operatingsystem/delete' 0043 }, 0044 fields: { 0045 os_id: { 0046 key: true, 0047 create: false, 0048 edit: false, 0049 list: false 0050 }, 0051 name: { 0052 title: 'name', 0053 width: '10%', 0054 list: true, 0055 create: true 0056 }, 0057 displayname: { 0058 title: 'os displayname', 0059 width: '10%', 0060 list: true, 0061 create: true 0062 }, 0063 order: { 0064 title: 'display order', 0065 width: '10%', 0066 list: true, 0067 create: true 0068 } 0069 } 0070 }); 0071 0072 $('#TableContainer').jtable('load'); 0073 }); 0074 </script>