| ' . __('WPG2 Validation Check: ', 'wpg2') . '' . __('Failed', 'wpg2') . ' '. __('(Help)', 'wpg2').' '; echo $environment_html; } else { echo ' |
| ' . __('WPG2 Validation Check: ', 'wpg2') . '' . __('Valid', 'wpg2') . ' '. __('(Help)', 'wpg2').' '; echo $environment_html; } if (defined('WPVERSIONERR')) { echo ' ';
echo ' ';
}
if (defined('G2EMBEDERR')) {
echo '' . __('Error: Wordpress Build is NOT Compatible', 'wpg2').''. __(' WPG2 ','wpg2').$wpg2_option['g2_wpg2version']; _e(' requires a minimum Wordpress build of ', 'wpg2'); echo $wpg2_option['g2_wpversion_low']; _e (' and has detected your Wordpress build ', 'wpg2'); echo $wp_db_version; _e (' does not meet the minimum build requirement.', 'wpg2'); echo '';
echo ' ';
}
if (defined('G2PATHERR')) {
echo ''. __('Warning: Possible invalid URL to Gallery2', 'wpg2').''. __('Possible Validation Problem of Gallery2 URL. The error returned reads: "', 'wpg2').$reterr.'"'; echo ' ';
echo ' ';
}
if (defined('G2INITERR')) {
echo ''. __('Error: embed.php cannot be located in the specified File Path.', 'wpg2').''; _e('WPG2 plugin cannot locate the Gallery2 installation.Upon activation, WPG2 automatically looks for your Gallery2 installation in (Domain URL)/gallery2/, (Domain URL)/gallery/, (Domain URL)/photos/, (WordPress URL)/gallery2/, (WordPress URL)/gallery/, and (WordPress URL)/photos/. If your Gallery2 installation is in another directory, please go to the "WPG2 Paths" tab and enter your Gallery2 URL. ', 'wpg2'); echo ($wpg2_g2path['g2_filepath']). __('embed.php', 'wpg2').' '; echo ' ';
echo ' ';
}
if (defined('G2VERERR')) {
echo ''. __('Error: Gallery2 cannot be initialised', 'wpg2').''. __('Check to ensure Gallery2 is correctly working and revalidate.', 'wpg2').''; echo $ret.' '; echo ' ';
echo ' ';
}
if (defined('G2IMAGEBLOCKERR')) {
echo ''. __('Error: Gallery2 version is incompatible','wpg2').''. __('WPG2 plugin requires at least Gallery2 version ', 'wpg2'); echo $wpg2_option['g2_version_low']. __(', Gallery2 reports you are running version ','wpg2'); echo $g2version.''; echo ' ';
echo ' ';
}
if (defined('G2IMAGEBLOCKVERSIONERR')) {
echo ''. __('Error: Gallery2 Imageblock plugin is not activated','wpg2').''. __('Ensure the Gallery2 ImageBlock is installed / activated via the Gallery2 Site Admin -> Plugin Panel.', 'wpg2').''; echo $ret; echo ' ';
echo ' ';
}
if (defined('G2IMAGEFRAMEERR')) {
echo ''. __('Warning: Gallery2 Imageblock plugin is an old version.','wpg2').''. __('Please update to the most recent version from your Gallery2 page: Site Admin -> Plugins.If you do not upgrade the ImageBlock plugin, you will not be able to use the size option with WPG2 tags.', 'wpg2').' '; echo $ret; echo ' ';
echo ' ';
}
if (defined('G2RELPATHERR')) {
echo ''. __('Error: Gallery2 Imageframe plugin is not activated','wpg2').''. __('Ensure the Gallery2 ImageFrame is installed / activated via the Gallery2 Site Admin -> Plugin Panel.', 'wpg2').''; echo $ret; echo ' ';
echo ' ';
}
if (defined('G2REWRITEDEACTIVATED')) {
echo ''. __('Error: Gallery2 to WPG2 relative Path cannot be validated','wpg2').''. __('The file wpg2imageblock.tpl must be within this path ', 'wpg2'); echo $wpg2_g2path['g2_filepath'].$wpg2_g2path['wpg2_relativepath'].DIRECTORY_SEPARATOR.'templates'.DIRECTORY_SEPARATOR.'wpg2imageblock.tpl'.__(' as specified in the Gallery2 to WPG2 Relative Path in WPG2 Paths Tab','wpg2').''; echo ' ';
echo ' ';
}
if (defined('WPSIMPLEHEADER')) {
echo ''. __('Warning: Gallery2 Rewrite Plugin was deactived','wpg2').''. __('WPG2 has automatically deactivated the Gallery2 Rewrite Plugin, to reactive, enable Gallery2 Rewrites in the WPG2 Gallery2 Rewrites Tab.','wpg2').''; echo ' ';
echo ' ';
}
echo '';
}
}
?>
'. __('Warning: Using the Simple Header','wpg2').''. __('WPG2 will generate your Wordpress header using the CSS Elements specified in the WPG2 Output options. For some Wordpress themes this will incorrectly distort the output from Gallery2 and instead you may need to create your own WPG2 Header.','wpg2').''; echo ' |