$value){ $wpg2_option[$key] = $value; } update_option('wpg2_options', $wpg2_option); if ($wpg2_option['g2_rewriteactive'] == 'active') { // Add BTEV Event Message if (function_exists('btev_trigger_error')) { btev_trigger_error('WPG2 G2 REWRITE PLUGIN ACTIVATED', E_USER_NOTICE, __FILE__); } // Rebuild Rules wpg2_rebuildrewriterules(); ?>
| ' . __('Rewrite Validation Check: ', 'wpg2') . '' . __('Failed', 'wpg2') . ' '. __('(Help)', 'wpg2').' '; // Add BTEV Event Message if (function_exists('btev_trigger_error')) { btev_trigger_error('WPG2 G2 REWRITE PLUGIN VALIDATION FAILED', E_USER_NOTICE, __FILE__); } } else { echo ' |
| ' . __('Rewrite Validation Check: ', 'wpg2') . '' . __('Valid', 'wpg2') . ' '. __('(Help)', 'wpg2').' '; // Add BTEV Event Message if (function_exists('btev_trigger_error')) { btev_trigger_error('WPG2 G2 REWRITE PLUGIN VALIDATION PASSED', E_USER_NOTICE, __FILE__); } } echo $environment_html; if (defined('WPNOPERMALINKS')) { echo ' ';
echo ' ';
}
if (defined('G2REWRITEMODULEMISSING')) {
echo ''. __('Error: Wordpress Permalinks is not Active','wpg2').''. __("In order to support Gallery2 Rewrite rules, you must have a Wordpress Permalinks Active, please Configure Wordpress Permalinks from the Wordpres Options Panel.", 'wpg2').''; echo $ret; echo ' ';
echo ' ';
}
if (defined('G2REWRITEMODULEERR')) {
echo ''. __('Error: Gallery2 Rewrite Plugin is not installed','wpg2').''. __("You have not installed the Gallery2 Rewrite Plugin, please download/install the rewrite plugin from the Gallery2 Site Admin Plugin Get More Plugins Panel.", 'wpg2').''; echo ' ';
echo ' ';
}
if (defined('G2REWRITERULESERR')) {
echo ''. __('Error: Gallery2 Rewrite Plugin is not Installed/Configured','wpg2').''. __("Please install/configure the Gallery2 Rewrite Plugin from the Gallery2 Site Admin Plugin Panel.", 'wpg2').''; echo ' ';
echo ' ';
}
if (defined('G2REWRITEPATHINFO')) {
echo ''. __('Error: Gallery2 Rewrite Rules Failed to be updated','wpg2').''. $errstr.''; echo $ret; echo ' ';
echo ' ';
}
}
return $validate_err;
}
?>
'. __('Error: Gallery2 Rewrite is not using mod_rewrite','wpg2').''. __("Gallery2 Rewrite module is not using Apache mod_rewrite and cannot be supported within the Wordpress Environment, please configure the Gallery2 Rewrite Module to use Apache Mod_Write.", 'wpg2').''; echo $ret; echo ' |