1 | <?php |
---|
2 | |
---|
3 | $visible=(isset($visible))?$visible:false; |
---|
4 | $img_width=isset($picture['current']['width'])?$picture['current']['width']:480; |
---|
5 | $img_height=isset($picture['current']['height'])?$picture['current']['height']:320; |
---|
6 | $version=isset($version)?$version:""; |
---|
7 | $theme=$user['theme']; |
---|
8 | $user_status = $user['status'] ; |
---|
9 | |
---|
10 | $template->assign( |
---|
11 | array( |
---|
12 | 'thumbnail' => $conf['prefix_thumbnail'], |
---|
13 | 'visible' => $visible, |
---|
14 | 'version' => $version, |
---|
15 | 'CONFLIT_PATH' => CONFLIT_PATH, |
---|
16 | 'theme' => $theme, |
---|
17 | 'SCALED_WIDTH' => $picture['current']['scaled_width'], |
---|
18 | 'SCALED_HEIGHT' => $picture['current']['scaled_height'], |
---|
19 | 'IMG_WIDTH' => $img_width, |
---|
20 | 'IMG_HEIGHT' => $img_height, |
---|
21 | 'MINI_HEIGHT' => $conflit_parametres->mini_height, |
---|
22 | 'MINI_WIDTH' => $conflit_parametres->mini_width, |
---|
23 | 'MARGE_BASSE' => $conflit_parametres->marge_basse, |
---|
24 | 'ECHELLE_MAX' => $conflit_parametres->echelle_max, |
---|
25 | |
---|
26 | 'check_auto_w' => ($conflit_parametres->check_auto_w == 'on') ? 'checked="checked"' : '' , |
---|
27 | 'check_icon_v' => ($conflit_parametres->check_icon_v == 'on') ? 'checked="checked"' : '' , |
---|
28 | 'check_desc_v' => ($conflit_parametres->check_desc_v == 'on') ? 'checked="checked"' : '' , |
---|
29 | |
---|
30 | 'webmaster_width' => $conflit_parametres->webmaster_width, |
---|
31 | 'webmaster_height' => $conflit_parametres->webmaster_height, |
---|
32 | 'webmaster_enabled' => ($conflit_parametres->webmaster_enabled == 'on') ? 'checked="checked"' : '' , |
---|
33 | |
---|
34 | 'admin_width' => $conflit_parametres->admin_width, |
---|
35 | 'admin_height' => $conflit_parametres->admin_height, |
---|
36 | 'admin_enabled' => ($conflit_parametres->admin_enabled == 'on') ? 'checked="checked"' : '' , |
---|
37 | |
---|
38 | 'generic_width' => $conflit_parametres->generic_width, |
---|
39 | 'generic_height' => $conflit_parametres->generic_height, |
---|
40 | 'generic_enabled' => ($conflit_parametres->generic_enabled == 'on') ? 'checked="checked"' : '' , |
---|
41 | |
---|
42 | 'guest_width' => $conflit_parametres->guest_width, |
---|
43 | 'guest_height' => $conflit_parametres->guest_height, |
---|
44 | 'guest_enabled' => ($conflit_parametres->guest_enabled == 'on') ? 'checked="checked"' : '' , |
---|
45 | |
---|
46 | 'normal_width' => $conflit_parametres->normal_width, |
---|
47 | 'normal_height' => $conflit_parametres->normal_height, |
---|
48 | 'normal_enabled' => ($conflit_parametres->normal_enabled == 'on') ? 'checked="checked"' : '' , |
---|
49 | |
---|
50 | 'user_status' => get_user_status($user_status) |
---|
51 | |
---|
52 | ) |
---|
53 | ); |
---|
54 | |
---|
55 | |
---|
56 | //unset($_POST); |
---|
57 | ?> |
---|