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