37 lines
1.2 KiB
Smarty
37 lines
1.2 KiB
Smarty
<form action="{$form_action}" method="post" enctype="multipart/form-data">
|
|
|
|
<input name="{$id_name}" value="{$id}" type="hidden">
|
|
|
|
<fieldset style="width:520px"><legend><img src="../img/admin/tab-categories.gif">{$page_title}</legend>
|
|
|
|
{foreach from=$form_inputs key=input_name item=input_data}
|
|
{include file=$input_data.template
|
|
input=$input_data
|
|
langs=$langs
|
|
current_id_lang=$current_id_lang}
|
|
{/foreach}
|
|
|
|
<div class="margin-form">
|
|
<input class="button" name="{$button_submit.name}" value="{$button_submit.value}" type="submit">
|
|
</div>
|
|
<div class="small"><sup>*</sup> {l s='Required fields'}</div>
|
|
</fieldset>
|
|
</form>
|
|
<link type="text/css" rel="stylesheet" href="{$module_dir}/bulkupdate/chosen.min.css" />
|
|
<script type="text/javascript" src="{$module_dir}/bulkupdate/chosen.jquery.min.js"></script>
|
|
<script type="text/javascript">
|
|
$(".chosen-select").chosen(
|
|
{
|
|
allow_single_deselect:true,
|
|
placeholder_text_single : "",
|
|
no_results_text : "",
|
|
enable_split_word_search : true,
|
|
search_contains : true,
|
|
}
|
|
);
|
|
var copyField2friendlyURL = function(id_source, id_target)
|
|
{
|
|
$('#'+ id_target +'_'+ id_language).val(str2url($('#'+id_source+'_' + id_language).val().replace(/^[0-9]+\./, ''), 'UTF-8'));
|
|
}
|
|
|
|
</script> |