Add TPL files
This commit is contained in:
31
modules/Documents/tpl/parentlist_EditView.tpl
Normal file
31
modules/Documents/tpl/parentlist_EditView.tpl
Normal file
@@ -0,0 +1,31 @@
|
||||
<input type="hidden" name="parent_list" id="parent_list" value='{$PARENT_LIST}'>
|
||||
<input type="hidden" name="parent_type_list" id="parent_type_list" value='{$PARENT_TYPE_LIST|@json_encode}'>
|
||||
<button class="btn btn-info" type="button" id="AddMoreWWWBox" value="Dodaj">
|
||||
<img src="themes/default/images/id-ff-add.png?s=bed8cd35065048ceebdc639ebe305e2c&c=1"></button>
|
||||
|
||||
<table id="InputsWrapper">
|
||||
<tr><td><select id="parent_type_1" name="parent_type[]">
|
||||
{foreach from=$PARENT_TYPE_LIST key=k item=v}
|
||||
<option value="{$k}" label="{$v}">{$v}</OPTION>
|
||||
{/foreach}
|
||||
</select>
|
||||
<input type="hidden" value="" id="parent_id_1" name="parent_id[]">
|
||||
<input type="hidden" value="" name="list_id[]">
|
||||
<input type="text" value="" size="30" id="parent_name_1" name="parent_name[]">
|
||||
<a class="removeclass" href="#"></td><td style="vertical-align: top;">
|
||||
<img class="id-ff-remove" name="0" src="index.php?entryPoint=getImage&themeName=Sugar5&imageName=id-ff-remove.png"></a>
|
||||
<button onclick="
|
||||
{literal} open_popup( $('#parent_type_1').val(), 600, 400, "", true, false,
|
||||
{"call_back_function":"set_return","form_name":"EditView","field_to_name_array":
|
||||
{"id":"parent_id_1","name":"parent_name_1"}}, "single", true);"
|
||||
{/literal}
|
||||
value="Wybierz" class="button firstChild" accesskey="T" title="Wybierz [Alt+T]" tabindex="101" id="btn_parent_name" name="btn_parent_name" style="vertical-align: top;" type="button">
|
||||
<img src="themes/default/images/id-ff-select.png?s=bed8cd35065048ceebdc639ebe305e2c&c=1"></button>
|
||||
<button value="Wyczyść" onclick="{literal} $('#parent_name_1').val(''); $('#parent_id_1').val('');{/literal}" class="button lastChild" style="vertical-align: top;" accesskey="C" title="Wyczyść[Alt+C]" tabindex="101" id="btn_clr_parent_name" name="btn_clr_parent_name" type="button">
|
||||
<img src="themes/default/images/id-ff-clear.png?s=bed8cd35065048ceebdc639ebe305e2c&c=1"></button></td></tr>
|
||||
<script>
|
||||
{literal}
|
||||
rebuildAutocomplete(1);
|
||||
{/literal}
|
||||
</script>
|
||||
</table>
|
||||
Reference in New Issue
Block a user