run(); if (current_user_can('manage_options')) { if($searcher->getResultCount() > 0) { $msg = '
'; $msg .= __('You use the deprecated CryptX function cryptx() in your template. You should use the new function encryptx() described at the plugin', 'cryptx'); $msg .= sprintf( ' %s', plugin_basename( __FILE__ ), __('Settings') ); $msg .= '.
'; $msg .= ''.__('Your theme is OK! You have nothing to do.','cryptx').'
'); } } } /** * add links to plugin site */ function rw_cryptx_init_row_meta($links, $file) { if (CRYPTX_BASENAME == $file) { return array_merge( $links, array( sprintf( '%s', plugin_basename( __FILE__ ), __('Settings') ) ), array( sprintf( '%s', __('Donate', 'cryptx') ) ) ); } return $links; } /** * add CryptX to Option menu */ function rw_cryptx_menu() { add_options_page( 'CryptX', (version_compare($GLOBALS['wp_version'], '2.6.999', '>') ? '