29 lines
906 B
PHP
29 lines
906 B
PHP
<h3 class="drag-handle"><?php echo $instance ? $instance->getName() :
|
|
sprintf('%s — %s', $plugin->getName(), __('Add New Instance')); ?></h3>
|
|
<a class="close" href=""><i class="icon-remove-circle"></i></a>
|
|
<hr/>
|
|
<form method="post" id="instance_tabs_container" action="<?php echo $action; ?>">
|
|
<?php
|
|
echo csrf_token();
|
|
?>
|
|
<div>
|
|
<?php
|
|
include 'plugin-instance.tmpl.php';
|
|
?>
|
|
</div>
|
|
<hr>
|
|
<p class="full-width">
|
|
<span class="buttons pull-left">
|
|
<input type="reset" value="<?php echo __('Reset'); ?>">
|
|
<input type="button" value="<?php echo __('Cancel'); ?>" class="close">
|
|
</span>
|
|
<span class="buttons pull-right">
|
|
<input type="submit" value="<?php echo __('Save'); ?>">
|
|
</span>
|
|
</p>
|
|
</form>
|
|
<script type="text/javascript">
|
|
// Make translatable fields translatable
|
|
$('input[data-translate-tag], textarea[data-translate-tag]').translatable();
|
|
</script>
|