Files
FHC-Core/application/views/system/extensions/manager.php
T
Paolo 023e0fc934 - Added new phrases fot the extension manager
- 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
2021-09-27 12:45:55 +02:00

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'); ?>