mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-03 11:59:29 +00:00
023e0fc934
- Renamed uploadExtension to installExtension in application/controllers/system/extensions/CLI_Manager.php - Adapted controller system/extensions/Manager.php to use FHC_Controller functionalities - Changed controller system/extensions/Manager->uploadExtension to get parameters from HTTP post and HTTP file - Changed view system/extensions/manager.php to use templates/FHC-Header, ajaxlib, tablewidget, phrases and the CI upload library - Added new column type array to application/widgets/TableWidget.php - Added new type boolean to the public/js/AjaxLib.js result when checked by the hasData method - Added new JS public/js/ExtensionsManager.js that contains the extensions manager JS - Added new view system/extensions/tableWidget.php to display the extensions manager TableWidget
59 lines
1.3 KiB
PHP
59 lines
1.3 KiB
PHP
<?php
|
|
$this->load->view(
|
|
'templates/FHC-Header',
|
|
array(
|
|
// Title
|
|
'title' => 'Extensions manager',
|
|
|
|
// JS & CSS includes
|
|
'jquery' => true,
|
|
'jqueryui' => true,
|
|
'jquerycheckboxes' => true,
|
|
'bootstrap' => true,
|
|
|
|
// Styles includes
|
|
'fontawesome' => true,
|
|
'sbadmintemplate' => true,
|
|
|
|
// FHC JS & CSS includes
|
|
'ajaxlib' => true,
|
|
'dialoglib' => true,
|
|
'tabulator' => true,
|
|
'tablewidget' => true,
|
|
'phrases' => array(
|
|
'extensions'
|
|
),
|
|
'customJSs' => array('public/js/ExtensionsManager.js')
|
|
)
|
|
);
|
|
?>
|
|
|
|
<body>
|
|
<div>
|
|
<h3 class="page-header">
|
|
<?php echo $this->p->t('extensions', 'title'); ?>
|
|
</h3>
|
|
|
|
<div>
|
|
<?php $this->load->view('system/extensions/tableWidget.php'); ?>
|
|
</div>
|
|
|
|
<?php echo form_open_multipart(current_url().'/uploadExtension'); ?>
|
|
<div>
|
|
<input type="file" name="extension" />
|
|
<input type="button" id="uploadExtension" value="<?php echo $this->p->t('extensions', 'uploadExtension'); ?>" />
|
|
</div>
|
|
|
|
<br/>
|
|
|
|
<div>
|
|
<label for="performSql"><?php echo $this->p->t('extensions', 'performSql'); ?></label>
|
|
<input type="checkbox" class="checkbox" id="performSql" name="performSql"/>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
|
|
<?php $this->load->view('templates/FHC-Footer'); ?>
|
|
|