tabbed_form.tpl.htm 1.04 KB
Newer Older
latham's avatar
latham committed
1
<tmpl_if name="form_hint">
2
    <h2><tmpl_var name="form_hint"></h2>
latham's avatar
latham committed
3
4
</tmpl_if>
<div class="tabbox_tabs">
5
6
7
    <ul>
        <tmpl_loop name="formTab">
            <tmpl_if name="active">
mcramer's avatar
mcramer committed
8
                <li class="active"><a href="#" onclick="return changeTab('<tmpl_var name='name'>','<tmpl_var name='app_module'>/<tmpl_var name='form_action'>')"><tmpl_var name='title'></a></li>
9
            <tmpl_else>
mcramer's avatar
mcramer committed
10
                <li><a href="#" onclick="return changeTab('<tmpl_var name='name'>','<tmpl_var name='app_module'>/<tmpl_var name='form_action'>')"><tmpl_var name='title'></a></li>
11
12
13
            </tmpl_if>
        </tmpl_loop>
    </ul>
latham's avatar
latham committed
14
15
</div>
<div id="tabbox_content">
16
17
18
19
20
21
22
23
    <tmpl_if name="msg">
        <div id="OKMsg"><p><tmpl_var name="msg"></p></div>
    </tmpl_if>
    <tmpl_if name="error">
        <div id="errorMsg"><h3>ERROR</h3><ol><tmpl_var name="error"></ol></div>
    </tmpl_if>
    
    <tmpl_dyninclude name="content_tpl">
latham's avatar
latham committed
24
25
26
</div>

<input type="hidden" name="next_tab" value="">
27
<input type="hidden" name="phpsessid" value="{tmpl_var name='phpsessid'}">