bludit/bl-kernel/admin/views/configure-plugin.php

23 lines
561 B
PHP
Raw Normal View History

2015-10-19 00:45:58 +02:00
<?php
2015-07-14 04:16:28 +02:00
2015-10-19 00:45:58 +02:00
HTML::title(array('title'=>$_Plugin->name(), 'icon'=>'puzzle-piece'));
2015-07-14 04:16:28 +02:00
2015-10-19 00:45:58 +02:00
HTML::formOpen(array('id'=>'jsformplugin'));
2015-07-14 04:16:28 +02:00
2015-10-19 00:45:58 +02:00
// Security token
HTML::formInputHidden(array(
2015-10-20 05:14:28 +02:00
'name'=>'tokenCSRF',
'value'=>$Security->getTokenCSRF()
2015-10-19 00:45:58 +02:00
));
2015-07-14 04:16:28 +02:00
2015-10-19 00:45:58 +02:00
// Print the plugin form
echo $_Plugin->form();
2015-07-14 04:16:28 +02:00
2015-10-19 00:45:58 +02:00
// Form buttons
echo '<div class="uk-form-row uk-margin-bottom">
<button class="uk-button uk-button-primary" type="submit">'.$L->g('Save').'</button>
<a class="uk-button" href="'.HTML_PATH_ADMIN_ROOT.'plugins">'.$L->g('Cancel').'</a>
</div>';
HTML::formClose();