[6527] | 1 | {html_head} |
---|
| 2 | <link rel="stylesheet" type="text/css" href="{$ASP.Path}css/AS_Panorama_admin.css"> |
---|
| 3 | {/html_head} |
---|
| 4 | <div class="titrePage"> |
---|
[7840] | 5 | <h2>Panoramas</h2> |
---|
[6527] | 6 | </div> |
---|
| 7 | <p> |
---|
| 8 | |
---|
| 9 | {'Special thanks to:'|@translate} Arnault Pachot & Frédéric Martini - {'authors of'|@translate} |
---|
| 10 | <a href="http://www.openstudio.fr/Un-viewer-de-panoramas-simple-en.html" title="" class="externalLink">jquery.panorama</a><br/> |
---|
| 11 | |
---|
| 12 | </p> |
---|
| 13 | <form method="post" action="" class="general"> |
---|
| 14 | <fieldset id="ASP_Config"> |
---|
[6533] | 15 | <legend>{'Panoramas configuration'|@translate}</legend> |
---|
[19535] | 16 | <table id="table" style="float:left"> |
---|
[19460] | 17 | <tr> |
---|
| 18 | <td class="label">{'Viewport height [pixels > 500]'|@translate}</td> |
---|
| 19 | <td><input type="text" class="field" name="viewport_height" value="{$ASP.viewport_height}" size="20" maxlength="3"/></td> |
---|
| 20 | </tr> |
---|
| 21 | |
---|
[6527] | 22 | <tr> |
---|
| 23 | <td class="label">{'Viewport width [% between 50-100]'|@translate}</td> |
---|
| 24 | <td><input type="text" class="field" name="viewport_width" value="{$ASP.viewport_width}" size="20" maxlength="3"/></td> |
---|
| 25 | </tr> |
---|
| 26 | <tr> |
---|
| 27 | <td class="label">{'Viewport minimal width [pixels > 320]'|@translate}</td> |
---|
| 28 | <td><input type="text" class="field" name="min_viewport_width" value="{$ASP.min_viewport_width}" size="20" maxlength="3"/></td> |
---|
| 29 | </tr> |
---|
| 30 | <tr> |
---|
| 31 | <td class="label">{'Viewport maximal width [pixels >= minimal width]'|@translate}</td> |
---|
| 32 | <td><input type="text" class="field" name="max_viewport_width" value="{$ASP.max_viewport_width}" size="20" maxlength="4"/></td> |
---|
| 33 | </tr> |
---|
[19535] | 34 | |
---|
| 35 | <tr> |
---|
| 36 | <td class="label">{'Border width'|@translate}</td> |
---|
| 37 | <td><input type="text" class="field" name="cont_border" value="{$ASP.cont_border}" size="20" maxlength="2"/></td> |
---|
| 38 | </tr> |
---|
| 39 | <tr> |
---|
| 40 | <td class="label">{'Border color'|@translate}</td> |
---|
| 41 | <td><input type="text" class="field colorwell" name="cont_border_color" value="{$ASP.cont_border_color}" size="20" maxlength="7"/></td> |
---|
| 42 | </tr> |
---|
| 43 | |
---|
[6527] | 44 | <tr> |
---|
| 45 | <td class="label">{'Relative speed factor [10-90]'|@translate}</td> |
---|
| 46 | <td><input type="text" class="field" name="speed" value="{$ASP.speed}" size="20" maxlength="2"/></td> |
---|
| 47 | </tr> |
---|
| 48 | <tr> |
---|
| 49 | <td class="label">{'Rotation direction'|@translate}</td> |
---|
| 50 | <td> |
---|
| 51 | <input type="radio" value="left" name="direction" {if ($ASP.direction=='left')} checked="checked" {/if}/>{'Left'|@translate} |
---|
| 52 | <input type="radio" value="right" name="direction" {if ($ASP.direction=='right')} checked="checked" {/if}/>{'Right'|@translate} |
---|
| 53 | </td> |
---|
| 54 | </tr> |
---|
| 55 | <tr> |
---|
| 56 | <td class="label">{'Control display'|@translate}</td> |
---|
| 57 | <td> |
---|
| 58 | <input type="radio" value="auto" name="control_display" {if ($ASP.control_display=='auto')} checked="checked" {/if}/>{'Auto'|@translate} |
---|
| 59 | <input type="radio" value="yes" name="control_display" {if ($ASP.control_display=='yes')} checked="checked" {/if}/>{'Permanent'|@translate} |
---|
| 60 | </td> |
---|
| 61 | </tr> |
---|
| 62 | <tr> |
---|
[19535] | 63 | <td class="label">{'Footer display'|@translate}</td> |
---|
| 64 | <td> |
---|
| 65 | <input type="radio" value="visible" name="footer_display" {if ($ASP.footer_display=='visible')} checked="checked" {/if}/>{'Visible'|@translate} |
---|
| 66 | <input type="radio" value="invisible" name="footer_display" {if ($ASP.footer_display=='invisible')} checked="checked" {/if}/>{'Invisible'|@translate} |
---|
| 67 | </td> |
---|
| 68 | </tr> |
---|
| 69 | |
---|
| 70 | <tr> |
---|
| 71 | <td class="label">{'Footer Color'|@translate}</td> |
---|
| 72 | <td><input type="text" class="field colorwell" name="footer_color" value="{$ASP.footer_color}" size="20" maxlength="7"/></td> |
---|
| 73 | </tr> |
---|
| 74 | <tr> |
---|
| 75 | <td class="label">{'Footer Control Color'|@translate}</td> |
---|
| 76 | <td><input type="text" class="field colorwell" name="footer_control_color" value="{$ASP.footer_control_color}" size="20" maxlength="7"/></td> |
---|
| 77 | </tr> |
---|
| 78 | <tr> |
---|
| 79 | <td class="label">{'Caption Color'|@translate}</td> |
---|
| 80 | <td><input type="text" class="field colorwell" name="caption_color" value="{$ASP.caption_color}" size="20" maxlength="7"/></td> |
---|
| 81 | </tr> |
---|
| 82 | |
---|
| 83 | <tr> |
---|
[6527] | 84 | <td class="label">{'Start position [% between 0-99]'|@translate}</td> |
---|
| 85 | <td><input type="text" class="field" name="start_position" value="{$ASP.start_position}" size="20" maxlength="2"/></td> |
---|
| 86 | </tr> |
---|
| 87 | <tr> |
---|
| 88 | <td class="label">{'Automatic start'|@translate}</td> |
---|
| 89 | <td> |
---|
| 90 | <input type="radio" value="1" name="auto_start" {if ($ASP.auto_start)} checked="checked" {/if}/>{'On'|@translate} |
---|
| 91 | <input type="radio" value="0" name="auto_start" {if (!$ASP.auto_start)} checked="checked" {/if}/>{'Off'|@translate} |
---|
| 92 | </td> |
---|
| 93 | </tr> |
---|
| 94 | <tr> |
---|
| 95 | <td class="label">{'Mode 360'|@translate}</td> |
---|
| 96 | <td> |
---|
| 97 | <input type="radio" value="1" name="mode_360" {if ($ASP.mode_360)} checked="checked" {/if}/>{'On'|@translate} |
---|
| 98 | <input type="radio" value="0" name="mode_360" {if (!$ASP.mode_360)} checked="checked" {/if}/>{'Off'|@translate} |
---|
| 99 | </td> |
---|
| 100 | </tr> |
---|
| 101 | <tr> |
---|
| 102 | <td class="label">{'Mode 180 (Alternative left-right restart)'|@translate}</td> |
---|
| 103 | <td> |
---|
| 104 | <input type="radio" value="1" name="loop_180" {if ($ASP.loop_180)} checked="checked" {/if}/>{'On'|@translate} |
---|
| 105 | <input type="radio" value="0" name="loop_180" {if (!$ASP.loop_180)} checked="checked" {/if}/>{'Off'|@translate} |
---|
| 106 | </td> |
---|
| 107 | </tr> |
---|
| 108 | <tr> |
---|
| 109 | <td class="label">{'Picture name substring to display in Mode 360'|@translate}</td> |
---|
| 110 | <td><input type="text" class="field" name="in_mode_360" value="{$ASP.in_mode_360}" size="20" maxlength="8"/></td> |
---|
| 111 | </tr> |
---|
| 112 | <tr> |
---|
| 113 | <td class="label">{'Picture name substring to display in Mode 180 [ != previous substring ]'|@translate}</td> |
---|
| 114 | <td><input type="text" class="field" name="in_mode_180" value="{$ASP.in_mode_180}" size="20" maxlength="8"/></td> |
---|
| 115 | </tr> |
---|
| 116 | <tr> |
---|
| 117 | <td class="label">{'Remove substring from picture title'|@translate}</td> |
---|
| 118 | <td> |
---|
| 119 | <input type="radio" value="1" name="In_name_display_removal" {if ($ASP.In_name_display_removal)} checked="checked" {/if}/>{'On'|@translate} |
---|
| 120 | <input type="radio" value="0" name="In_name_display_removal" {if (!$ASP.In_name_display_removal)} checked="checked" {/if}/>{'Off'|@translate} |
---|
| 121 | </td> |
---|
| 122 | </tr> |
---|
| 123 | </table> |
---|
[19535] | 124 | <div id="colorpicker" style="float:right"></div> |
---|
[6527] | 125 | </fieldset> |
---|
| 126 | |
---|
| 127 | <p><input type="submit" value="{'Submit'|@translate}" name="submit" /></p> |
---|
| 128 | </form> |
---|
[19535] | 129 | |
---|
| 130 | <script type="text/javascript" charset="utf-8"> |
---|
| 131 | $(document).ready(function() {ldelim} |
---|
| 132 | var f = $.farbtastic('#colorpicker'); |
---|
| 133 | var selected; |
---|
| 134 | $('.colorwell') |
---|
| 135 | .each(function () {ldelim} f.linkTo(this); }) |
---|
| 136 | .focus(function() {ldelim} |
---|
| 137 | f.linkTo(this); |
---|
| 138 | |
---|
| 139 | }); |
---|
| 140 | }); |
---|
| 141 | </script> |
---|
| 142 | |
---|
[6527] | 143 | {html_head} |
---|
| 144 | <script type="text/javascript"> |
---|
| 145 | jQuery(document).ready(function() {ldelim} |
---|
| 146 | jQuery(".infos").fadeOut(800).fadeIn(1200).fadeOut(400).fadeIn(800).fadeOut(400); |
---|
| 147 | jQuery(".errors").fadeOut(200).fadeIn(200).fadeOut(300).fadeIn(300).fadeOut(400).fadeIn(400); |
---|
| 148 | jQuery('#theAdminPage #the_page').addClass('{$themeconf.name}'); |
---|
| 149 | }); |
---|
| 150 | </script> |
---|
[19535] | 151 | |
---|
[6527] | 152 | {/html_head} |
---|