getAiAdminOptions(); if ($devOptions['admin_was_loaded'] === false) { // we disable the check of the src. $devOptions['check_iframe_url_when_load'] = 'false'; echo '

'; _e('The administration was not loaded until the end last time. It seems the integrated check of the "Url" field failed and therefore "Check Url on load" and "Check iframes on save" are now disabled. You can enable this again on the "Options" tab. Check the description of this options what maybe caused this problem.', 'advanced-iframe'); echo '

'; } $devOptions['admin_was_loaded'] = false; update_option($this->adminOptionsName, $devOptions); if ($evanto) { $devOptions['demo'] = 'false'; } else { $devOptions['alternative_shortcode'] = ''; } if (isset($_POST['scrollposition'])) { $scrollposition = urlencode($_POST['scrollposition']); } $is_latest = true; if ($evanto) { $latest_version = ai_getlatestVersion(); if ($latest_version != -1) { if (version_compare ($latest_version,$version) === 1) { printMessage(__('Version ', 'advanced-iframe') .$latest_version. __(' of Advanced iFrame Pro is available. See the history for details.

Please download the latest version from your download page of codecanyon. The easiest way to update is to overwrite all files with FTP.', 'advanced-iframe')); $is_latest = false; } } else { $is_latest = true; } } else { $is_latest = false; } $current_tab = ($devOptions['donation_bottom'] === 'false') ? 0:1; if (isset($_POST['current_tab'])) { $current_tab = urlencode($_POST['current_tab']); } $current_tab = processConfigActions($current_tab); if (isset($_POST['current_open_sections'])) { $current_open_sections = urlencode($_POST['current_open_sections']); # and , we decode $current_open_sections = str_replace('%23', '#', $current_open_sections); $current_open_sections = str_replace('%2C', ',', $current_open_sections); } else { $current_open_sections = ''; } if (isset($_POST['update_iframe-loader'])) { //save option changes $adminSettings = array('securitykey', 'src', 'width', 'height', 'scrolling', 'marginwidth', 'marginheight', 'frameborder', 'transparency', 'content_id', 'content_styles', 'hide_elements', 'class', 'shortcode_attributes', 'url_forward_parameter', 'id', 'name', 'onload', 'onload_resize', 'onload_scroll_top', 'additional_js', 'additional_css', 'store_height_in_cookie', 'additional_height', 'iframe_content_id', 'iframe_content_styles', 'iframe_hide_elements', 'version_counter', 'onload_show_element_only', 'donation_bottom', 'include_url','include_content','include_height','include_fade','include_hide_page_until_loaded', 'onload_resize_width', 'resize_on_ajax', 'resize_on_ajax_jquery','resize_on_click', 'resize_on_click_elements','hide_page_until_loaded', 'show_part_of_iframe', 'show_part_of_iframe_x', 'show_part_of_iframe_y', 'show_part_of_iframe_width', 'show_part_of_iframe_height', 'show_part_of_iframe_new_window','show_part_of_iframe_new_url', 'show_part_of_iframe_next_viewports_hide', 'show_part_of_iframe_next_viewports', 'show_part_of_iframe_next_viewports_loop','style', 'use_shortcode_attributes_only','enable_external_height_workaround', 'keep_overflow_hidden','hide_page_until_loaded_external', 'onload_resize_delay', 'expert_mode', 'accordeon_menu', 'show_part_of_iframe_allow_scrollbar_vertical', 'show_part_of_iframe_allow_scrollbar_horizontal', 'hide_part_of_iframe','change_parent_links_target', 'change_iframe_links','change_iframe_links_target', 'iframe_redirect_url', 'show_part_of_iframe_style', 'map_parameter_to_url', 'iframe_zoom', 'tab_visible', 'tab_hidden','enable_responsive_iframe', 'allowfullscreen','iframe_height_ratio', 'show_iframe_loader', 'enable_lazy_load', 'enable_lazy_load_threshold','enable_lazy_load_fadetime', 'pass_id_by_url','include_scripts_in_footer', 'enable_lazy_load_manual', 'write_css_directly', 'resize_on_element_resize', 'resize_on_element_resize_delay', 'add_css_class_parent', 'auto_zoom','single_save_button','enable_lazy_load_manual_element', 'alternative_shortcode', 'show_menu_link', 'load_jquery', 'show_iframe_as_layer', 'auto_zoom_by_ratio', 'add_iframe_url_as_param', 'add_iframe_url_as_param_prefix', 'reload_interval', 'iframe_content_css', 'additional_js_file_iframe', 'additional_css_file_iframe', 'add_css_class_iframe','iframe_zoom_ie8', 'enable_lazy_load_reserve_space','editorbutton', 'hide_content_until_iframe_color', 'include_html', 'enable_ios_mobile_scolling', 'sandbox', 'show_iframe_as_layer_header_file', 'show_iframe_as_layer_header_height', 'show_iframe_as_layer_header_position', 'show_iframe_as_layer_full', 'demo', 'show_part_of_iframe_zoom', 'external_height_workaround_delay', 'add_document_domain','document_domain', 'multi_domain_enabled','check_shortcode', 'use_post_message', 'element_to_measure_offset', 'data_post_message', 'element_to_measure', 'show_iframe_as_layer_keep_content','roles', 'parent_content_css', 'debug_js', 'check_iframe_cronjob','check_iframe_cronjob_email', 'enable_content_filter', 'add_ai_external_local', 'title', 'check_iframes_when_save','admin_was_loaded', 'check_iframe_url_when_load','modify_iframe_if_cookie', 'allow','safari_fix_url','external_scroll_top', 'change_iframe_links_href','delete_options_db' ); if (!wp_verify_nonce($_POST['twg-options'], 'twg-options')) die('Sorry, your nonce did not verify.'); if (!isset($_POST['action']) || $_POST['action'] !== 'reset') { foreach ($adminSettings as $item) { if ($item === 'version_counter') { $text = rand(100000, 999999); } else if ($item === 'additional_height') { $text = trim(trim($_POST[$item]),'px%emt'); // remove px... } else { if (isset($_POST[$item])) { $text = trim($_POST[$item]); } else { if ($item === 'show_part_of_iframe' || $item === 'show_part_of_iframe_next_viewports_loop' || $item === 'show_iframe_loader' || $item === 'enable_lazy_load_manual' || $item === 'show_part_of_iframe_next_viewports_hide' || $item === 'write_css_directly' || $item === 'enable_responsive_iframe' || $item === 'enable_lazy_load' || $item === 'accordeon_menu' || $item === 'single_save_button' || $item === 'show_iframe_as_layer' || $item === 'add_iframe_url_as_param' || $item === 'auto_zoom' || $item === 'show_part_of_iframe_zoom' || $item === 'demo' || $item === 'enable_ios_mobile_scolling' || $item === 'store_height_in_cookie' || $item === 'show_iframe_as_layer_full' || $item === 'use_post_message' || $item === 'multi_domain_enabled' || $item === 'enable_content_filter' || $item === 'add_ai_external_local' || $item === 'check_iframe_cronjob' || $item === 'modify_iframe_if_cookie') { $text = 'false'; } else if ($item === 'show_menu_link' || $item === 'resize_on_ajax_jquery' || $item === 'show_iframe_as_layer_keep_content' || $item === 'admin_was_loaded' ) { $text = 'true'; } else if ($item === 'resize_on_element_resize_delay') { $text = '250'; } else if ($item === 'show_iframe_as_layer_header_height') { $text = '100'; } else if ($item === 'show_iframe_as_layer_header_position') { $text = 'top'; } else if ($item === 'external_height_workaround_delay' || $item === 'element_to_measure_offset' ) { $text = '0'; } else if ($item === 'element_to_measure' ) { $text = 'default'; } else if ($item === 'roles' ) { $text = 'none'; } else { $text = ''; } } } // Mixed signle and double quotes are only allowed for the parameters below because they do support // shortcodes as input where both quotes are used. if ($item != 'src') { $text = str_replace("'", '"' ,$text); } if ($item === 'roles') { // roles can only be changed by administrators! $user = wp_get_current_user(); if ( in_array( 'administrator', (array) $user->roles ) ) { $devOptions[$item] = stripslashes($text); } // replace ' with " } else if ($item === 'include_url' || $item === 'src') { $text = str_replace('{', '__BRACKETS_OPEN__' ,$text); $text = str_replace('}', '__BRACKETS_CLOSE__' ,$text); $text = esc_url($text); $text = str_replace('__BRACKETS_OPEN__', '{' ,$text); $text = str_replace('__BRACKETS_CLOSE__' , '}' ,$text); $devOptions[$item] = stripslashes($text); } else if ($item === 'include_html') { $text = wp_kses( $text, array( 'strong' => array(), 'br' => array(), 'em' => array(), 'p' => array(), 'div' => array('id' => array(), 'class' => array(), 'style' => array()), 'a' => array('href' => array(),'target' => array(), 'class' => array(), 'style' => array()), 'img' => array('src' => array(), 'class' => array(), 'style' => array(), 'width' => array(), 'height') ) ); $text = balanceTags($text,true); $devOptions[$item] = stripslashes($text); } else if (function_exists('sanitize_text_field')) { $devOptions[$item] = stripslashes(sanitize_text_field($text)); } else { $devOptions[$item] = stripslashes($text); } if ($item === 'id') { $devOptions[$item] = preg_replace("/\W/", "_", $text); // remove trailing numbers $devOptions[$item] = preg_replace('/^[0-9]+/', '', $devOptions[$item]); } // we check if we have an invalid configuration! if ($devOptions['shortcode_attributes'] === 'false' && $devOptions['use_shortcode_attributes_only'] === 'true') { $devOptions['shortcode_attributes'] = 'true'; printError(__('You have set "Allow shortcode attributes" to "No" and "Use shortcode attributes only" to "Yes". This combination is not valid. "Allow shortcode attributes" was set to "Yes". Please check if this is what you want. "Allow shortcode attributes" overrules "Use shortcode attributes only" if you set "Use shortcode attributes only" directly in the shortcode with use_shortcode_attributes_only="true".', "advanced-iframe")); $scrollposition = 0; } } } else { $securityKey = $devOptions['securitykey']; $it = $devOptions['install_date']; $devOptions = advancediFrame::iframe_defaults(); $devOptions['securitykey'] = $securityKey; $devOptions['install_date'] = $it; } if ($evanto && empty($devOptions['install_date'])) {$devOptions['install_date'] = time();} update_option($this->adminOptionsName, $devOptions); // create the external js file with the url of the wordpress installation $this->saveExternalJsFile(); ?>

Ple'+'ase get the of'+'fical v'+'ersion from co'+'decanyon or co'+'ntact the au'+'thor thr'+'ough code'+'canyon if you th'+'ink this is a fa'+'lse al'+'arm.', 'advanced-iframe')); } if (clearstatscache($devOptions)) {$evanto = false; } ?>

v' . $version. ''; if ($evanto) { if ($is_latest) { echo ' ' . __('(Your installation is up to date - view history)', 'advanced-iframe') . ''; } else { echo ' ' . __('(Version '.$latest_version.' is available. Download it from CodeCanyon and follow the update instructions!', 'advanced-iframe') . ''; } } else { echo ' ' . __('(view history)', 'advanced-iframe') . ''; } if (!$evanto && !$isDemo) { echo '
' . __('Test the pro administration:
Enable it on the options tab', 'advanced-iframe') . '
'; } echo '
' . __('If you start using advanced iframe please read the quickstart guide on the options tab first. After that continue with an iframe like described on the basic tab. Only if the iframe appears add additional features. Go to the free and the pro demos page for running examples.', 'advanced-iframe') . '
'; ?> 


No settings found for this search term.
 
The search does look for the search term in the label and the description of each setting on all tabs. Tabs with findings are marked yellow. It does not search in the additional documentation that does exist in each section. Please use the browser search for a full text of this page.
', 'advanced-iframe'); _e(' ', 'advanced-iframe'); ?>
'; printDonation($devOptions, $evanto); echo "
"; echo ''; } echo '
'; include_once dirname(__FILE__) . '/includes/advanced-iframe-admin-default.php'; echo '
'; if ($devOptions['accordeon_menu'] === 'false') { ?>
Please open the section where you want to change a default setting. Please note that some of the advanced features require basic html/css knowhow! You can open several sections at once for easier navigation.

', 'advanced-iframe'); ?>
'; echo '
'; include_once dirname(__FILE__) . '/includes/advanced-iframe-admin-external-workaround.php'; echo '
'; include_once dirname(__FILE__) . '/includes/advanced-iframe-admin-add-files.php'; include_once dirname(__FILE__) . '/includes/advanced-iframe-admin-include-directly.php'; echo '
'; include_once dirname(__FILE__) . '/includes/advanced-iframe-admin-video.php'; include_once dirname(__FILE__) . '/includes/advanced-iframe-admin-faq.php'; include_once dirname(__FILE__) . '/includes/advanced-iframe-admin-forum.php'; include_once dirname(__FILE__) . '/includes/advanced-iframe-admin-support.php'; include_once dirname(__FILE__) . '/includes/advanced-iframe-admin-find-id.php'; include_once dirname(__FILE__) . '/includes/advanced-iframe-admin-jquery.php'; include_once dirname(__FILE__) . '/includes/advanced-iframe-admin-browser.php'; include_once dirname(__FILE__) . '/includes/advanced-iframe-admin-help-post.php'; include_once dirname(__FILE__) . '/includes/advanced-iframe-admin-twg.php'; echo '
'; if ($devOptions['donation_bottom'] === 'true') { echo '
'; printDonation($devOptions, $evanto); echo "
"; echo ''; } ?>
adminOptionsName, $devOptions); } ?>