Blogroll

0, // number of Polaroid Gallery FX embeds 'read_settings_from_url' => false, // true only when the settings XML file must be read via HTTP (is generated dynamically or is hosted on another domain) 'wmode_values' => array( 'allowed' => array('transparent', 'window'), 'default' => 'transparent', ), 'regexp_match_keys' => array( 'settings' => 2, 'width' => 4, 'height' => 6, 'wmode' => 8, 'alternative_text' => 9, ), ); /* end global parameters */ /* start client side functions */ function fxpolaroidgallery_get_embed_code($fxpolaroidgallery_attributes) { global $fxpolaroidgallery_params; $fxpolaroidgallery_params['count']++; $plugin_dir = get_option('fxpolaroidgallery_path'); if ($plugin_dir === false) { $plugin_dir = 'flashxml/polaroid-gallery-fx'; } $plugin_dir = trim($plugin_dir, '/'); $settings_file_name = !empty($fxpolaroidgallery_attributes[$fxpolaroidgallery_params['regexp_match_keys']['settings']]) ? html_entity_decode(urldecode($fxpolaroidgallery_attributes[$fxpolaroidgallery_params['regexp_match_keys'][2]])) : 'settings.xml'; $settings_wp_content_prefix = $fxpolaroidgallery_params['read_settings_from_url'] && (strtolower(ini_get('allow_url_fopen')) == 'on' || strtolower(ini_get('allow_url_fopen')) == '1') ? WP_CONTENT_URL : WP_CONTENT_DIR; $settings_path = "{$settings_wp_content_prefix}/{$plugin_dir}/{$settings_file_name}"; $width = $height = 0; if (function_exists('simplexml_load_file') && ($settings_wp_content_prefix == WP_CONTENT_URL || $settings_wp_content_prefix == WP_CONTENT_DIR && file_exists($settings_path))) { $data = simplexml_load_file($settings_path); if ($data) { $width_attributes_array = $data->General_Properties->componentWidth->attributes(); $width = !empty($width_attributes_array) ? (int)$width_attributes_array['value'] : 0; $height_attributes_array = $data->General_Properties->componentHeight->attributes(); $height = !empty($height_attributes_array) ? (int)$height_attributes_array['value'] : 0; } } if (!($width > 0 && $height > 0)) { if ((int)$fxpolaroidgallery_attributes[$fxpolaroidgallery_params['regexp_match_keys']['width']] > 0 && (int)$fxpolaroidgallery_attributes[$fxpolaroidgallery_params['regexp_match_keys']['height']] > 0) { $width = (int)$fxpolaroidgallery_attributes[$fxpolaroidgallery_params['regexp_match_keys']['width']]; $height = (int)$fxpolaroidgallery_attributes[$fxpolaroidgallery_params['regexp_match_keys']['height']]; } else { return ''; } } if (empty($fxpolaroidgallery_attributes[$fxpolaroidgallery_params['regexp_match_keys']['wmode']])) { $wmode = get_option('fxpolaroidgallery_wmode'); if (empty($wmode)) { $wmode = $fxpolaroidgallery_params['wmode_values']['default']; } } else { $wmode = in_array($fxpolaroidgallery_attributes[$fxpolaroidgallery_params['regexp_match_keys']['wmode']], $fxpolaroidgallery_params['wmode_values']['allowed']) ? $fxpolaroidgallery_attributes[$fxpolaroidgallery_params['regexp_match_keys']['wmode']] : $fxpolaroidgallery_params['wmode_values']['default']; } $swf_embed = array( 'width' => $width, 'height' => $height, 'text' => isset($fxpolaroidgallery_attributes[$fxpolaroidgallery_params['regexp_match_keys']['alternative_text']]) ? trim($fxpolaroidgallery_attributes[$fxpolaroidgallery_params['regexp_match_keys']['alternative_text']]) : '', 'component_path' => WP_CONTENT_URL . "/{$plugin_dir}/", 'swf_name' => 'PolaroidGalleryFX.swf', 'wmode' => $wmode, ); $swf_embed['swf_path'] = $swf_embed['component_path'].$swf_embed['swf_name']; if (!is_feed()) { $embed_code = '
'.$swf_embed['text'].'
'; $embed_code .= ''; } else { $embed_code = ''; $embed_code .= ''; $embed_code .= ''; $embed_code .= ''; $embed_code .= ''; $embed_code .= ''; $embed_code .= ''; $embed_code .= ''; $embed_code .= ''; $embed_code .= ' $settings_xml_path, $fxpolaroidgallery_params['regexp_match_keys']['width'] => $width, $fxpolaroidgallery_params['regexp_match_keys']['height'] => $height, $fxpolaroidgallery_params['regexp_match_keys']['wmode'] => $wmode, $fxpolaroidgallery_params['regexp_match_keys']['alternative_text'] => $div_text)); } function fxpolaroidgallery_load_swfobject_lib() { wp_enqueue_script('swfobject'); } /* end client side functions */ /* start admin section functions */ function fxpolaroidgallery_admin_menu() { add_options_page('Polaroid Gallery FX Options', 'Polaroid Gallery FX', 'manage_options', 'fxpolaroidgallery', 'fxpolaroidgallery_admin_options'); } function fxpolaroidgallery_admin_options() { if (!current_user_can('manage_options')) { wp_die(__('You do not have sufficient permissions to access this page.')); } global $fxpolaroidgallery_params; $fxpolaroidgallery_default_path = get_option('fxpolaroidgallery_path'); if ($fxpolaroidgallery_default_path === false) { $fxpolaroidgallery_default_path = 'flashxml/polaroid-gallery-fx'; } $fxpolaroidgallery_default_wmode = get_option('fxpolaroidgallery_wmode'); if ($fxpolaroidgallery_default_wmode === false) { $fxpolaroidgallery_default_wmode = $fxpolaroidgallery_params['wmode_values']['default']; } ?>

Polaroid Gallery FX

SWF and assets path is /
SWF wmode parameter

>

This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Nenhuma postagem.
Nenhuma postagem.