1 | {combine_script id='jquery' path='themes/default/js/jquery.min.js'} |
---|
2 | {combine_css id='cr_admin_style' path=$CR_PATH|@cat:'admin/template/style.css'} |
---|
3 | |
---|
4 | {html_head} |
---|
5 | <style type="text/css"> |
---|
6 | tr td:first-child {ldelim} |
---|
7 | max-width:300px; |
---|
8 | min-width:300px; |
---|
9 | } |
---|
10 | </style> |
---|
11 | |
---|
12 | <script type="text/javascript"> |
---|
13 | function ToggleConfig(sel, section){ldelim} |
---|
14 | var obj = jQuery('#config_'+section); |
---|
15 | if(sel.checked){ldelim} |
---|
16 | obj.show(); |
---|
17 | }else{ldelim} |
---|
18 | obj.hide(); |
---|
19 | } |
---|
20 | } |
---|
21 | </script> |
---|
22 | {/html_head} |
---|
23 | |
---|
24 | <h2 style="float:right;top:-24px;position:relative;font-style:italic;margin-bottom:-20px;font-size:12px;font-weight:normal;">{$CR_VERSION}</h2> |
---|
25 | |
---|
26 | <div class="titrePage"> |
---|
27 | <h2>{'Configuration'|@translate}</h2> |
---|
28 | </div> |
---|
29 | |
---|
30 | <form method="post" action="" class="properties"> |
---|
31 | <fieldset> |
---|
32 | <legend>{'Menu'|@translate}</legend> |
---|
33 | <table> |
---|
34 | <tr> |
---|
35 | <td><span class="title">{'CR_menubar_mode'|@translate}</span></td> |
---|
36 | <td> |
---|
37 | <label><input type="checkbox" name="menubar_mode_link" value="true" onchange="ToggleConfig(this, 'link');" {$MODE_LINK}> {'CR_menubar_link'|@translate}</label> |
---|
38 | <br><label><input type="checkbox" name="menubar_mode_block" value="true" onchange="ToggleConfig(this, 'block');" {$MODE_BLOCK}> {'CR_menubar_block'|@translate}</label> |
---|
39 | </td> |
---|
40 | </tr> |
---|
41 | </table> |
---|
42 | |
---|
43 | <table id="config_link"> |
---|
44 | <tr><td colspan="2"><br/></td></tr> |
---|
45 | <tr> |
---|
46 | <td><span class="title">{'CR_menubar_link_display'|@translate}</span></td> |
---|
47 | <td> |
---|
48 | <label><input type="checkbox" name="menubar_link_menu" value="true" {$LINK_MENU}> {'Menu'|@translate}</label> |
---|
49 | <br><label><input type="checkbox" name="menubar_link_specials" value="true" {$LINK_SPECIALS}> {'Specials'|@translate}</label> |
---|
50 | </td> |
---|
51 | </tr> |
---|
52 | </table> |
---|
53 | |
---|
54 | <table id="config_block"> |
---|
55 | <tr><td colspan="2"><br/></td></tr> |
---|
56 | <tr> |
---|
57 | <td><span class="title">{'CR_menubar_block_number'|@translate}</span></td> |
---|
58 | <td><input type="text" size="2" maxlength="2" name="menubar_block_number" value="{$BLOCK_NUMBER}"/></td> |
---|
59 | </tr> |
---|
60 | </table> |
---|
61 | </fieldset> |
---|
62 | |
---|
63 | <p><input class="submit" type="submit" value="{'Submit'|@translate}" name="config_submit"/></p> |
---|
64 | </form> |
---|
65 | |
---|
66 | <script type="text/javascript"> |
---|
67 | ToggleConfig(document.forms[0].elements['menubar_mode_link'], 'link'); |
---|
68 | ToggleConfig(document.forms[0].elements['menubar_mode_block'], 'block'); |
---|
69 | </script> |
---|