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(
|
|
|
|
'name'=>'token',
|
|
|
|
'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();
|