You appear to be a bot. Output may be restricted
Description
Display current settings for a pluginNote: The Delete function doesn't delete the plugin, just the profile information that overrides the values set by oik_register_plugin_server()
Usage
_oik_plugins_settings_row( $plugin, $version, $server, $apikey, $programmatically_registered );
Parameters
- $plugin
- ( mixed ) required –
- $version
- ( string ) required – current theme version
- $server
- ( string ) required – theme server
- $apikey
- ( string ) required – API key for premium theme
- $programmatically_registered
- ( bool ) required – true if registered by the theme
Returns
voidSource
File name: oik/libs/oik_plugins.phpLines:
1 to 21 of 21
function _oik_plugins_settings_row( $plugin, $version, $server, $apikey, $programmatically_registered ) { $row = array(); $row[] = $plugin; $row[] = $version . " "; $row[] = $server . " "; //itext( "server[$plugin]", 100, $server ); //esc_html( stripslashes( $server ) )); //iarea( $plugin, 100, $server, 10 ); $row[] = $apikey . " "; //itext( "apikey[$plugin]", 26, $apikey ); $links = null; if ( $programmatically_registered ) { $links .= retlink( null, admin_url("admin.php?page=oik_plugins&delete_plugin=$plugin"), __( "Reset", null ), __( "Reset plugin's profile entry", null ) ); } else { $links .= retlink( null, admin_url("admin.php?page=oik_plugins&delete_plugin=$plugin"), __( "Delete", null ), __( "Delete plugin's profile entry", null ) ); } $links .= " "; $links .= retlink( null, admin_url("admin.php?page=oik_plugins&edit_plugin=$plugin"), __( "Edit", null ) ); $links .= " "; $links .= retlink( null, admin_url("admin.php?page=oik_plugins&check_plugin=$plugin&check_version=$version"), __( "Check", null ) ); $links .= " "; $row[] = $links; bw_tablerow( $row ); }View on GitHub View on Trac