Last change
on this file since 3531 was
3531,
checked in by tiico, 15 years ago
|
First revision (for testing)
Only in French (translation to be done)
|
File size:
1.9 KB
|
Rev | Line | |
---|
[3531] | 1 | <br> |
---|
| 2 | <div id="colorpicker" style="float: right;"></div> |
---|
| 3 | <table> |
---|
| 4 | |
---|
| 5 | <tr> |
---|
| 6 | <td colspan="3" align="left"><label>{'PageFlip_options_label'|@translate}</label> |
---|
| 7 | </td> |
---|
| 8 | </tr> |
---|
| 9 | <tr> |
---|
| 10 | <td>{'PageFlip_width'|@translate}</td> |
---|
| 11 | <td colspan="2"><input type="text" size="3" maxlength="3" name="PageFlip_width" value="{$PageFlip_width}" /> px</td> |
---|
| 12 | </tr> |
---|
| 13 | <tr> |
---|
| 14 | <td>{'PageFlip_height'|@translate}</td> |
---|
| 15 | <td colspan="2"><input type="text" size="3" maxlength="3" name="PageFlip_height" value="{$PageFlip_height}" /> px</td> |
---|
| 16 | </tr> |
---|
| 17 | <tr> |
---|
| 18 | <td>{'PageFlip_bgcolor'|@translate}</td> |
---|
| 19 | <td colspan="2"><input type="text" size="7" maxlength="7" name="PageFlip_bgcolor" class="colorwell" value="{$PageFlip_bgcolor}" /></td> |
---|
| 20 | </tr> |
---|
| 21 | <tr> |
---|
| 22 | <td>{'PageFlip_loadercolor'|@translate}</td> |
---|
| 23 | <td colspan="2"><input type="text" size="7" maxlength="7" name="PageFlip_loadercolor" class="colorwell" value="{$PageFlip_loadercolor}" /></td> |
---|
| 24 | </tr> |
---|
| 25 | <tr> |
---|
| 26 | <td>{'PageFlip_panelcolor'|@translate}</td> |
---|
| 27 | <td colspan="2"><input type="text" size="7" maxlength="7" name="PageFlip_panelcolor" class="colorwell" value="{$PageFlip_panelcolor}" /></td> |
---|
| 28 | </tr> |
---|
| 29 | <tr> |
---|
| 30 | <td>{'PageFlip_buttoncolor'|@translate}</td> |
---|
| 31 | <td colspan="2"><input type="text" size="7" maxlength="7" name="PageFlip_buttoncolor" class="colorwell" value="{$PageFlip_buttoncolor}" /></td> |
---|
| 32 | </tr> |
---|
| 33 | <tr> |
---|
| 34 | <td>{'PageFlip_textcolor'|@translate}</td> |
---|
| 35 | <td colspan="2"><input type="text" size="7" maxlength="7" name="PageFlip_textcolor" class="colorwell" value="{$PageFlip_textcolor}" /></td> |
---|
| 36 | </tr> |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | </table> |
---|
| 40 | |
---|
| 41 | {literal} |
---|
| 42 | |
---|
| 43 | <script type="text/javascript" charset="utf-8"> |
---|
| 44 | $(document).ready(function() { |
---|
| 45 | var f = $.farbtastic('#colorpicker'); |
---|
| 46 | var selected; |
---|
| 47 | $('.colorwell') |
---|
| 48 | .each(function () { f.linkTo(this); }) |
---|
| 49 | .focus(function() { |
---|
| 50 | f.linkTo(this); |
---|
| 51 | |
---|
| 52 | }); |
---|
| 53 | }); |
---|
| 54 | </script> |
---|
| 55 | {/literal} |
---|
| 56 | |
---|
Note: See
TracBrowser
for help on using the repository browser.