38
38
{if $attributes.location}<span class="tpllocation">[{$attributes.location}]</span>{/if}
47
47
//first set up some variables
48
48
var textarea = document.getElementById('{$option}');
50
var uiOptions = { path : '/javascript/codemirror-ui/js/', searchMode : 'popup', imagePath: '/javascript/codemirror-ui/images/silk', }
51
51
var codeMirrorOptions = {
53
53
mode: "text/{$attributes.type}",
58
59
var my{$option} = new CodeMirrorUI(textarea,uiOptions,codeMirrorOptions);
66
67
<p class="nojshelp">{t}For each of the following items, if you need multiple values you can submit the form and it will append a blank input below the last valid value{/t}<p>
68
69
{foreach from=$multiloginoptions item=attributes key=option name=multiloop}
70
71
<label for='{$option}'>{$attributes.label}</label>