bludit/admin/views/configure-plugin.php

22 lines
556 B
PHP
Raw Permalink 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',
2015-10-19 00:45:58 +02:00
'value'=>$Security->getToken()
));
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();