source: extensions/LLGBO2/admin/header.tpl

Last change on this file was 29841, checked in by gbo, 10 years ago

Fix some notice (when no title on frame) and compatibilty Back2Front

File size: 1.3 KB
Line 
1{combine_css path=$LLGBO_PATH|@cat:"css/look_like_gbo2_admin.css" order="+02"}
2<div class="titrePage">
3        <h2>Look Like GBo -> {$LLGBO_VERSION}</h2>
4</div>
5 <form method="post" action="" class="properties"  id="llgbo-header">
6        <fieldset>
7         <legend>{'llgbo_admin_header_title'|@translate}</legend>
8            <div id="configcontent" class="no-bold">
9                        <ul>
10                             {foreach from=$LLGBO_DISP_HEADER key=page  item=v}
11                                <li>
12                                        <label class="no-bold">
13                                                <span class="graphicalCheckbox icon-check{if not $v}-empty{/if}"></span>
14                                                <input type="checkbox"  name="{$page}" {if $v}checked="checked"{/if}>
15                                                <span> {$LLGBO_PREFIXE_HEADER|cat:$page|translate} </span>
16                                        </label>
17                                </li>
18                                {/foreach}     
19                        </ul>
20                </div>
21        </fieldset>     
22       
23                <p style="text-align: center;">
24                <br />
25                <input class="submit" type="submit" value="{'Reset_To_Default'|translate}" name="reset"/> &nbsp;
26                <input class="submit" type="submit" value="{'save'|translate}" name="save" />
27                </p>
28
29
30</form>
31
32
33{footer_script}
34jQuery('#llgbo-header input[type=checkbox]').change(function() {
35  jQuery(this).prev().toggleClass('icon-check icon-check-empty');
36});
37jQuery('#llgbo-header input[type=radio]').change(function() {
38  jQuery('#llgbo-header input[type=radio][name='+ $(this).attr('name') +']').prev().toggleClass('icon-check icon-check-empty');
39});
40{/footer_script}
Note: See TracBrowser for help on using the repository browser.