mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-10 08:39:28 +00:00
15f9762d01
- Removed parameter perform_sql from public method controllers/system/extensions/CLI_Manager->installExtension - Added new public method controllers/system/extensions/CLI_Manager->installExtensionNoSQL - Improved code quality in controllers/system/extensions/Manager->toggleExtension - controllers/system/extensions/Manager->uploadExtension better check of HTTP POST parameter notPerformSql - application/views/system/extensions/manager.php renamed checkbox performSql to notPerformSql - application/views/system/extensions/tableWidget.php removed PHP close tag at the end of the file - Improved code quality in application/widgets/TableWidget.php - Removed private method _getColumnsNames from application/widgets/TableWidget.php - Improved code quality in application/libraries/ExtensionsLib.php - Added new private methods _getExtensionsPath and _getUploadPath to application/libraries/ExtensionsLib.php - Changed application/libraries/ExtensionsLib->_toggleExtension to public method toggleExtension - Removed private properties UPLOAD_PATH and EXTENSIONS_PATH from application/libraries/ExtensionsLib - Added use imports in application/libraries/ExtensionsLib - application/libraries/ExtensionsLib->installExtension changed parameters default values
67 lines
1.4 KiB
PHP
67 lines
1.4 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 class="row">
|
|
<div class="col-xs-2">
|
|
<input type="file" name="extension" />
|
|
</div>
|
|
<div>
|
|
<input type="button" id="uploadExtension" value="<?php echo $this->p->t('extensions', 'uploadExtension'); ?>" />
|
|
</div>
|
|
</div>
|
|
|
|
<br/>
|
|
|
|
<div class="row">
|
|
<div class="col-xs-2">
|
|
<label for="notPerformSql"><?php echo $this->p->t('extensions', 'performSql'); ?></label>
|
|
</div>
|
|
<div>
|
|
<input type="checkbox" class="checkbox" id="notPerformSql" name="notPerformSql"/>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
|
|
<?php $this->load->view('templates/FHC-Footer'); ?>
|
|
|