[8957] | 1 | {* $Id: autosize/template/autosize.tpl *} |
---|
| 2 | {html_head} <!-- autosize/template/autosize.tpl --> |
---|
[7725] | 3 | <script type="text/javascript"> |
---|
[8864] | 4 | var src_img = '{$SRC_IMG}'; |
---|
[7805] | 5 | var fade_in = '{$fade_in}'; |
---|
[7536] | 6 | var cl_visible = "{$cl_visible}" =="true"; |
---|
[7124] | 7 | var thumbnail = '{$thumbnail}'; |
---|
| 8 | var scaled_width = '{$SCALED_WIDTH}'; // valeur par defaut |
---|
| 9 | var scaled_height = '{$SCALED_HEIGHT}'; // valeur par defaut |
---|
| 10 | var img_width='{$IMG_WIDTH }'; |
---|
| 11 | var img_height = '{ $IMG_HEIGHT }'; |
---|
[6953] | 12 | |
---|
[7124] | 13 | var marge_basse='{ $MARGE_BASSE }'; |
---|
| 14 | var echelle_max='{ $ECHELLE_MAX }'; |
---|
| 15 | var mini_width='{ $MINI_WIDTH }'; |
---|
| 16 | var mini_height = '{ $MINI_HEIGHT }'; |
---|
[7962] | 17 | var mini_width2 = '{ $MINI_WIDTH2 }'; |
---|
| 18 | var mini_height2 = '{ $MINI_HEIGHT2 }'; |
---|
[7124] | 19 | |
---|
| 20 | var webmaster_width='{$webmaster_width }'; |
---|
[7394] | 21 | var webmaster_height = '{ $webmaster_height }'; |
---|
| 22 | var webmaster_enabled = '{ $webmaster_enabled }'; |
---|
| 23 | |
---|
[7124] | 24 | var admin_width='{ $admin_width }'; |
---|
[7394] | 25 | var admin_height = '{ $admin_height }'; |
---|
| 26 | var admin_enabled = '{ $admin_enabled }'; |
---|
| 27 | |
---|
[7124] | 28 | var generic_width='{ $generic_width }'; |
---|
[7394] | 29 | var generic_height = '{ $generic_height }'; |
---|
| 30 | var generic_enabled = '{ $generic_enabled }'; |
---|
| 31 | |
---|
[7124] | 32 | var guest_width='{ $guest_width }'; |
---|
[7394] | 33 | var guest_height = '{$guest_height}'; |
---|
| 34 | var guest_enabled = '{ $guest_enabled }'; |
---|
| 35 | |
---|
[7124] | 36 | var normal_width='{$normal_width}'; |
---|
[7394] | 37 | var normal_height = '{$normal_height}'; |
---|
| 38 | var normal_enabled = '{ $normal_enabled }'; |
---|
| 39 | |
---|
[7124] | 40 | var user_status='{$user_status}'; |
---|
[7353] | 41 | |
---|
[7124] | 42 | var check_auto_w = '{$check_auto_w}'; |
---|
[8981] | 43 | |
---|
| 44 | var check_desc_v = ('{$check_desc_v}' == 'checked="checked"') ? true : false; |
---|
[8864] | 45 | </script> |
---|
[8957] | 46 | |
---|
[7805] | 47 | <link href="{$AUTOSIZE_PATH}css/autosize.css" rel="stylesheet" type="text/css" /> |
---|
| 48 | <!-- << autosize/template/autosize.tpl --> |
---|
[8957] | 49 | |
---|
[8057] | 50 | <script type="text/javascript"> |
---|
[8627] | 51 | var visible = '{$visible}'; |
---|
[8057] | 52 | </script> |
---|
[7536] | 53 | {if $DEBUG == "true"} |
---|
| 54 | {assign var="visible" value="block"} |
---|
[7805] | 55 | <!--- autosize/template/autosize.tpl body ---> |
---|
[7867] | 56 | <style type="text/css"> |
---|
| 57 | {literal} |
---|
| 58 | .debug { |
---|
| 59 | display: inline-block; |
---|
| 60 | width: 45px; |
---|
| 61 | height: 45px; |
---|
| 62 | background-color: black; |
---|
| 63 | margin: 2px; |
---|
| 64 | } |
---|
| 65 | .debugOn { |
---|
| 66 | background-color: yellow; |
---|
| 67 | border: solid 1px black; |
---|
| 68 | width: 43px; |
---|
| 69 | height: 43px; |
---|
| 70 | } |
---|
| 71 | |
---|
| 72 | .jssource {font-size:.8em;color:#000; } |
---|
| 73 | pre {font-size:.9em;background-color:#ffc;overflow-x:auto; padding: 5px;} |
---|
| 74 | pre em {color:#009;} |
---|
| 75 | pre b {color:#900;} |
---|
| 76 | pre strong {color:#099;} |
---|
| 77 | pre i, |
---|
| 78 | pre i *{color:#090;} |
---|
| 79 | |
---|
| 80 | </style> |
---|
| 81 | |
---|
[8957] | 82 | |
---|
[7867] | 83 | <div id="Debug0" align=center style="color:black;z-index:2000;position:absolute; background-color:Beige; top:0px;left:0px;width:800px;margin:auto;"></div> |
---|
| 84 | <div id="Debug1" align=center style="color:black;z-index:2000;position:absolute; background-color:Beige; top:0px;left:0px;width:800px;margin:auto;"></div> |
---|
| 85 | <div id="Debug2" align=center style="color:black;z-index:2000;position:absolute; background-color:yellow; top:0px;left:0px;width:800px;margin:auto;"></div> |
---|
| 86 | <div id="Debug3" align=center style="color:black;z-index:2000;position:absolute; background-color:blue; top:0px;left:0px;width:800px;margin:auto;"></div> |
---|
| 87 | <div id="Debug4" align=center style="color:black;z-index:2000;position:absolute; background-color:green; top:0px;left:0px;width:800px;margin:auto;"></div> |
---|
| 88 | <div id="Debug5" align=center style="color:black;z-index:2000;position:absolute; background-color:red; top:100px;left:0px;width:300px;margin:auto;"></div> |
---|
[8536] | 89 | |
---|
[7867] | 90 | <p><button id="adddebugs">Add a debug</button></p> |
---|
| 91 | |
---|
| 92 | <div id="debugsContainer"><div class="debug"></div></div> |
---|
| 93 | {/literal} |
---|
| 94 | {else} |
---|
[8957] | 95 | {assign var="visible" value="none"} |
---|
| 96 | {/if} |
---|
| 97 | |
---|
| 98 | {/html_head} |
---|
[8729] | 99 | <!-- << autosize/template/autosize.tpl body --> |
---|