You appear to be a bot. Output may be restricted
Description
Display current settings for a themeNote: Delete may not appear to work as the entry is created automatically by the theme when it registers itself. The Delete action will delete the theme's profile entry.
Usage
_oik_themes_settings_row( $theme, $version, $server, $apikey, $programmatically_registered );
Parameters
- $theme
- ( string ) required – theme slug
- $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_themes.phpLines:
1 to 20 of 20
function _oik_themes_settings_row( $theme, $version, $server, $apikey, $programmatically_registered ) { $row = array(); $row[] = $theme; $row[] = $version . " "; $row[] = $server . " "; //itext( "server[$theme]", 100, $server ); //esc_html( stripslashes( $server ) )); //iarea( $theme, 100, $server, 10 ); $row[] = $apikey . " "; //itext( "apikey[$theme]", 26, $apikey ); $links = null; if ( $programmatically_registered ) { $links .= retlink( null, admin_url("admin.php?page=oik_themes&delete_theme=$theme"), __( "Reset", null), __("Reset theme's profile entry", null ) ); } else { $links .= retlink( null, admin_url("admin.php?page=oik_themes&delete_theme=$theme"), __( "Delete", null), __( "Delete theme's profile entry", null ) ); } $links .= " "; $links .= retlink( null, admin_url("admin.php?page=oik_themes&edit_theme=$theme"), __( "Edit", null ) ); $links .= " "; $links .= retlink( null, admin_url("admin.php?page=oik_themes&check_theme=$theme&check_version=$version"), __( "Check", null ) ); $links .= " "; $row[] = $links; bw_tablerow( $row ); }View on GitHub View on Trac