[29841] | 1 | <div class="titrePage"> |
---|
| 2 | <h2>Look Like GBo -> {$LLGBO_VERSION}</h2> |
---|
| 3 | </div> |
---|
| 4 | {combine_css path=$LLGBO_PATH|@cat:"css/look_like_gbo2_admin.css" order="+02"} |
---|
| 5 | {combine_css path=$LLGBO_PATH|@cat:"farbtastic/farbtastic.css" order="+0"} |
---|
| 6 | {combine_script id='jquery.farbtastic' require='jquery' path=$LLGBO_PATH|@cat:"farbtastic/farbtastic.js"} |
---|
| 7 | <form method="post" action="" class="properties"> |
---|
| 8 | <fieldset> |
---|
| 9 | <legend>{'llgbo_admin_frame_title'|@translate}</legend> |
---|
| 10 | <div id="configcontent"> |
---|
| 11 | <div id="leftpart"> |
---|
| 12 | <span id="gboh2" style ="background:transparent;color:{$LLGBO_SETTINGS.frame_titlecolor};z-index:2">{'llgbo_frame_titlecolor'|@translate} </span> |
---|
| 13 | {$FRAME_BEGIN} |
---|
| 14 | <div id="framepicker"> </div> |
---|
| 15 | <br> |
---|
| 16 | <ul> |
---|
| 17 | <li> |
---|
| 18 | <label class="no-bold"> |
---|
| 19 | <span >{'llgbo_frame_titlecolor'|@translate}</span> |
---|
| 20 | <input type="text" name="llgbo_frame_titlecolor" style="background-color:{$LLGBO_SETTINGS.frame_titlecolor}" size="7" maxlength="7" class="colorwellf" value="{$LLGBO_SETTINGS.frame_titlecolor}"/> |
---|
| 21 | </label> |
---|
| 22 | </li> |
---|
| 23 | {foreach from=$LLGBO_SETTINGS.FRcolors key=index item=v} |
---|
| 24 | <li> |
---|
| 25 | <label class="no-bold"> |
---|
| 26 | <span>{'llgbo_frame_bdcolor'|cat:$index|@translate} </span> |
---|
| 27 | <input type="text" name="{'llgbo_frame_bdcolor'|cat:$index}" style="background-color:{$LLGBO_SETTINGS.FRcolors[$index]}" size="7" maxlength="7" class="colorwellf" value="{$LLGBO_SETTINGS.FRcolors[$index]}"/> |
---|
| 28 | </label> |
---|
| 29 | <label class="no-bold"> |
---|
| 30 | <span>{'llgbo_frame_bdsize'|@translate} </span> |
---|
| 31 | <input type="text" name="{'llgbo_frame_bdsize'|cat:$index}" size="2" maxlength="2" value="{$LLGBO_SETTINGS.FRsizes[$index]}"/> px |
---|
| 32 | </label> |
---|
| 33 | </li> |
---|
| 34 | {/foreach} |
---|
| 35 | </ul> |
---|
| 36 | {$FRAME_END} |
---|
| 37 | </div> |
---|
| 38 | </div> |
---|
| 39 | </fieldset> |
---|
| 40 | <div class="clearmargin"> </div> |
---|
| 41 | <div id="llgbotitle"> <span> {'llgbo_frame_sample'|@translate} </span> <select name="sample"> |
---|
| 42 | <option label="GOLD" value="GOLD">Gold</option> |
---|
| 43 | <option label="BLUE" value="BLUE">Blue</option> |
---|
| 44 | <option label="METAL" value="METAL">Metal</option> |
---|
| 45 | <option label="BLACK" value="BLACK">Black</option> |
---|
| 46 | <option label="WHITE" value="WHITE">White</option> |
---|
| 47 | <option label="B_W" value="B_W">Black&White</option> |
---|
| 48 | <option label="IVORY" value="IVORY">Ivory</option> |
---|
| 49 | <option label="MY_LAST_VALUES" value="MY_LAST_VALUES"><selected="selected">MyLastValues</option> |
---|
| 50 | </select> <input class="submit" type="submit" value="{'previewsamples'|@translate}" name="previewsample"/> |
---|
| 51 | </div> |
---|
| 52 | <p style="text-align: center;"> |
---|
| 53 | <input class="submit" type="submit" value="{'Reset_To_Default'|@translate}" name="reset"/> |
---|
| 54 | <input class="submit" type="submit" value="{'preview'|@translate}" name="preview"/> |
---|
| 55 | <input class="submit" type="submit" value="{'save'|@translate}" name="save" /> |
---|
| 56 | </p> |
---|
| 57 | |
---|
| 58 | </form> |
---|
| 59 | |
---|
| 60 | {* -- smarty syntaxe p55 {ldelim} remplace { et {rdelim} remplace } -- *} |
---|
| 61 | <script type="text/javascript" charset="utf-8"> |
---|
| 62 | $(document).ready(function() {ldelim} |
---|
| 63 | var f = $.farbtastic('#framepicker'); |
---|
| 64 | var p = $('#framepicker').css('opacity', 0.65); |
---|
| 65 | var selected; |
---|
| 66 | $('.colorwellf') |
---|
| 67 | .each(function () {ldelim} f.linkTo(this); $(this).css('opacity', 0.85); {rdelim}) |
---|
| 68 | .focus(function() {ldelim} |
---|
| 69 | if (selected) {ldelim} |
---|
| 70 | $(selected).css('opacity', 0.85).removeClass('colorwell-selected'); |
---|
| 71 | {rdelim} |
---|
| 72 | f.linkTo(this); |
---|
| 73 | p.css('opacity', 1); |
---|
| 74 | $(selected = this).css('opacity', 1).addClass('colorwell-selected'); |
---|
| 75 | |
---|
| 76 | {rdelim}); |
---|
| 77 | |
---|
| 78 | {rdelim}); |
---|
| 79 | </script> |
---|