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