Plugin Directory

Changeset 1132916


Ignore:
Timestamp:
04/11/2015 09:07:45 PM (11 years ago)
Author:
somatic
Message:

replacing old “.icon32” system with the built-in dashicons

Location:
somatic-framework/trunk
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • somatic-framework/trunk/inc/somaOptions.php

    r1089689 r1132916  
    278278    // adds menu items to wp-admin
    279279    function add_pages() {
    280         add_menu_page( 'Somatic Framework Options', 'Somatic', 'update_core', 'somatic-framework-options', null, SOMA_IMG.'soma-options-menu.png', '91' );
     280        add_menu_page( 'Somatic Framework Options', 'Somatic', 'update_core', 'somatic-framework-options', null, 'dashicons-admin-generic', '91' );
    281281        add_submenu_page( 'somatic-framework-options', 'Framework Options', 'Options', 'update_core', 'somatic-framework-options', create_function( null, 'somaOptions::soma_options_page("options");' ) );
    282282        add_submenu_page( 'somatic-framework-options', 'Advanced', 'Advanced', 'update_core', 'somatic-framework-advanced', create_function( null, 'somaOptions::soma_options_page("advanced");' ) );
     
    352352        }  ?>
    353353        <div class="wrap">
    354             <div id="icon-soma-editor" class="icon32"><br/></div>
    355354            <h2>Help Text Editor</h2>
    356355
     
    432431        }
    433432
    434         echo "<style>#wpbody-content .icon32 { background: transparent url(\"".SOMA_IMG."soma-options.png\") no-repeat; !important }</style>";
    435 
    436433        // retrieve custom post types
    437434        $custom_types = get_post_types( array( "_builtin" => false, "somatic" => true ) );
     
    440437?>
    441438        <div class="wrap somatic-options">
    442             <!-- page icon -->
    443             <div id="icon-options-general" class="icon32"></div>
    444439            <!-- page title and tabbed navigation -->
    445440            <h2 class="nav-tab-wrapper">
  • somatic-framework/trunk/inc/somaSorter.php

    r703396 r1132916  
    2727?>
    2828    <div class="wrap">
    29         <div id="icon-edit" class="icon32"></div>
    3029        <h2><?php echo $type_obj->labels->singular_name ?> Sort Order</h2>
    3130<?php
Note: See TracChangeset for help on using the changeset viewer.