|
Revision 6953, 1.4 KB
(checked in by cljosse, 3 years ago)
|
|
[Autosize]IImprovement pamooramic compatibility
|
| Line | |
|---|
| 1 | {* $Id: autosize/template/picture.tpl *} |
|---|
| 2 | <!-- autosize/template/picture.tpl --> |
|---|
| 3 | {html_head} |
|---|
| 4 | {known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js" now=1} |
|---|
| 5 | {*jQuery is always available by default*} |
|---|
| 6 | <script type="text/javascript"> |
|---|
| 7 | //test |
|---|
| 8 | var img_width='{$IMG_WIDTH }'; |
|---|
| 9 | var img_height='{ $IMG_HEIGHT }'; |
|---|
| 10 | var marge_basse='{ $MARGE_BASSE }'; |
|---|
| 11 | var echelle_max='{ $ECHELLE_MAX }'; |
|---|
| 12 | var mini_width='{ $MINI_WIDTH }'; |
|---|
| 13 | var mini_height = '{ $MINI_HEIGHT }'; |
|---|
| 14 | |
|---|
| 15 | var webmaster_width='{$webmaster_width }'; |
|---|
| 16 | var webmaster_height='{ $webmaster_height }'; |
|---|
| 17 | var admin_width='{ $admin_width }'; |
|---|
| 18 | var admin_height='{ $admin_height }'; |
|---|
| 19 | var generic_width='{ $generic_width }'; |
|---|
| 20 | var generic_height='{ $generic_height }'; |
|---|
| 21 | var guest_width='{ $guest_width }'; |
|---|
| 22 | var guest_height='{ $guest_height }'; |
|---|
| 23 | var normal_width='{ $normal_width }'; |
|---|
| 24 | var normal_height='{ $normal_height }'; |
|---|
| 25 | var user_status='{ $user_status }'; |
|---|
| 26 | |
|---|
| 27 | </script> |
|---|
| 28 | <style type="text/css"> |
|---|
| 29 | #theImage p{ldelim} |
|---|
| 30 | height:auto; |
|---|
| 31 | |
|---|
| 32 | } |
|---|
| 33 | </style> |
|---|
| 34 | |
|---|
| 35 | <!-- << autosize/template/picture.tpl --> |
|---|
| 36 | {/html_head} |
|---|
| 37 | <!--- autosize/template/picture.tpl body ---> |
|---|
| 38 | {known_script id="Affiche_script" src=$AUTOSIZE_PATH|@cat:"js/Affiche_script.js"} |
|---|
| 39 | <!-- << autosize/template/picture.tpl body --> |
|---|