1 | {* $Id: conflit/template/picture.tpl *} |
---|
2 | |
---|
3 | {html_head} |
---|
4 | <!-- conflit/template/picture.tpl --> |
---|
5 | {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js" now=1} |
---|
6 | {known_script id="conflit_script" src=$CONFLIT_PATH|@cat:"js/conflit.js"} |
---|
7 | {known_script id="dimensions" src=$CONFLIT_PATH|@cat:"js/jquery.dimensions.js"} |
---|
8 | |
---|
9 | {*jQuery is always available by default*} |
---|
10 | |
---|
11 | <script type="text/javascript"> |
---|
12 | var cl_visible = "{$cl_visible}" =="true"; |
---|
13 | var DEBUG = '{$DEBUG}'; |
---|
14 | var thumbnail = '{$thumbnail}'; |
---|
15 | var theme = '{$theme}'; |
---|
16 | var visible = '{$visible}'; |
---|
17 | var version = '{$version}'; |
---|
18 | |
---|
19 | var scaled_width = '{$SCALED_WIDTH}'; // valeur par defaut |
---|
20 | var scaled_height = '{$SCALED_HEIGHT}'; // valeur par defaut |
---|
21 | var img_width='{$IMG_WIDTH }'; |
---|
22 | var img_height = '{ $IMG_HEIGHT }'; |
---|
23 | |
---|
24 | var marge_basse='{ $MARGE_BASSE }'; |
---|
25 | var echelle_max='{ $ECHELLE_MAX }'; |
---|
26 | var mini_width='{ $MINI_WIDTH }'; |
---|
27 | var mini_height = '{ $MINI_HEIGHT }'; |
---|
28 | |
---|
29 | var webmaster_width='{$webmaster_width }'; |
---|
30 | var webmaster_height = '{ $webmaster_height }'; |
---|
31 | var webmaster_enabled = '{ $webmaster_enabled }'; |
---|
32 | |
---|
33 | var admin_width='{ $admin_width }'; |
---|
34 | var admin_height = '{ $admin_height }'; |
---|
35 | var admin_enabled = '{ $admin_enabled }'; |
---|
36 | |
---|
37 | var generic_width='{ $generic_width }'; |
---|
38 | var generic_height = '{ $generic_height }'; |
---|
39 | var generic_enabled = '{ $generic_enabled }'; |
---|
40 | |
---|
41 | var guest_width='{ $guest_width }'; |
---|
42 | var guest_height = '{$guest_height}'; |
---|
43 | var guest_enabled = '{ $guest_enabled }'; |
---|
44 | |
---|
45 | var normal_width='{$normal_width}'; |
---|
46 | var normal_height = '{$normal_height}'; |
---|
47 | var normal_enabled = '{ $normal_enabled }'; |
---|
48 | |
---|
49 | var user_status='{$user_status}'; |
---|
50 | |
---|
51 | var check_auto_w = '{$check_auto_w}'; |
---|
52 | var check_desc_v = '{$check_desc_v}'; |
---|
53 | </script> |
---|
54 | |
---|
55 | {known_script id="Affiche_script" src=$CONFLIT_PATH|@cat:"js/Affiche_script.js"} |
---|
56 | |
---|
57 | <!-- << conflit/template/picture.tpl --> |
---|
58 | {/html_head} |
---|
59 | |
---|
60 | |
---|
61 | {if $DEBUG == "true"} |
---|
62 | {assign var="visible" value="block"} |
---|
63 | |
---|
64 | |
---|
65 | |
---|
66 | <!--- conflit/template/picture.tpl body ---> |
---|
67 | <div id="Debug" align=center style="color:black;z-index:2000;position:absolute; background-color:Beige; top:0px;left:0px;width:800px;margin:auto;"></div> |
---|
68 | <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> |
---|
69 | <div id="Debug2" align=center style="color:black;z-index:2000;position:absolute; background-color:Beige; top:0px;left:0px;width:800px;margin:auto;"></div> |
---|
70 | {else} |
---|
71 | {assign var="visible" value="none"} {/if}<!-- << conflit/template/picture.tpl body --> |
---|