$src_img_h, 'src_img_w' => $src_img_w, 'window_height' =>$window_height, 'window_width' => $window_width ); $my_path = AUTOSIZE_PATH_ABS; $theme=$user['theme']; $user_status = $user['status'] ; $template->assign( array( 'AUTOSIZE_PATH_ABS' => AUTOSIZE_PATH_ABS, 'ROOT_URL' => ROOT_URL, 'AUTOSIZE_PATH' => AUTOSIZE_PATH, ) ); if (!isset($conf['prefix_thumbnail'])) $conf['prefix_thumbnail']="TN_"; //====================================================== //=== type possible === if(isset($defined_types)) foreach ($defined_types as $type_size){ $value = $type_size; $options[$value] = $type_size; } //=========================================== $template->assign( array( 'select_type' =>$select_type, 'select_map' =>$select_type, 'pictureDeriv' =>$pictureDeriv , 'maxi_img' =>$maxi_img , 'ratio' =>$img_scaled_width/$img_scaled_height , 'webmaster_type' => array( 'OPTIONS' => $options, 'SELECTED' => $autosize_parametres->webmaster_type ), 'admin_type' => array( 'OPTIONS' => $options, 'SELECTED' => $autosize_parametres->admin_type ), 'generic_type' => array( 'OPTIONS' => $options, 'SELECTED' => $autosize_parametres->generic_type ), 'guest_type' => array( 'OPTIONS' => $options, 'SELECTED' => $autosize_parametres->guest_type ), 'normal_type' => array( 'OPTIONS' => $options, 'SELECTED' => $autosize_parametres->normal_type ), 'DEBUG_autosize' => $DEBUG_autosize , 'cl_visible' => $cl_visible, 'cl_version' => $cl_version, 'cl_plugin' => $cl_plugin, 'fade_in' => $autosize_parametres->fade_in, 'thumbnail' => $conf['prefix_thumbnail'], 'visible' => $visible, 'theme' => $theme, 'windowHeight' => $window_height, 'windowWidth' => $window_width, 'SCALED_WIDTH' => $img_scaled_width, 'SCALED_HEIGHT' => $img_scaled_height, 'IMG_WIDTH' => $img_width, 'IMG_HEIGHT' => $img_height, 'MINI_HEIGHT' => $autosize_parametres->mini_height, 'MINI_WIDTH' => $autosize_parametres->mini_width, 'MINI_HEIGHT2' => $autosize_parametres->mini_height2, 'MINI_WIDTH2' => $autosize_parametres->mini_width2, 'MARGE_BASSE' => $autosize_parametres->marge_basse, 'ECHELLE_MAX' => $autosize_parametres->echelle_max, 'check_icon_v' => ($autosize_parametres->check_icon_v == 'on') ? 'checked="checked"' : '' , 'check_desc_v' => ($autosize_parametres->check_desc_v == 'on') ? 'checked="checked"' : '' , 'webmaster_enabled' => ($autosize_parametres->webmaster_enabled == 'on') ? 'checked="checked"' : '' , 'admin_enabled' => ($autosize_parametres->admin_enabled == 'on') ? 'checked="checked"' : '' , 'generic_enabled' => ($autosize_parametres->generic_enabled == 'on') ? 'checked="checked"' : '' , 'guest_enabled' => ($autosize_parametres->guest_enabled == 'on') ? 'checked="checked"' : '' , 'normal_enabled' => ($autosize_parametres->normal_enabled == 'on') ? 'checked="checked"' : '' , 'user_status' => get_user_status($user_status) , 'SRC_IMG' => $SRC_IMG, 'liste_type' => $liste_type , 'Size' => $size ) ); //unset($_POST); ?>