Plugin Directory

Changeset 357844


Ignore:
Timestamp:
03/09/2011 08:03:33 PM (15 years ago)
Author:
ciobi
Message:

llogo + seo_link

Location:
admin-customization
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • admin-customization/tags/1.2/core.php

    r357682 r357844  
    66       
    77        self::$options = $options;
    8         add_action('wp_dashboard_setup', array( __CLASS__, 'ac_dashboard_setup'), 99);
    9         add_action('admin_head', array( __CLASS__, 'ac_admin_head_setup') );
    10         add_action('login_head', array( __CLASS__, 'ac_login_head_setup') );
    11         add_action('admin_init', array( __CLASS__, 'ac_remove_update_notices') );
    12         add_action('admin_menu', array( __CLASS__, 'ac_remove_plugin_update_count') );
    13         add_filter('admin_user_info_links', array( __CLASS__, 'ac_redirect_on_logout') );
     8        add_action( 'wp_dashboard_setup', array( __CLASS__, 'ac_dashboard_setup' ), 99);
     9        add_action( 'admin_head', array( __CLASS__, 'ac_admin_head_setup' ) );
     10        add_action( 'admin_init', array( __CLASS__, 'ac_remove_update_notices' ) );
     11        add_action( 'admin_menu', array( __CLASS__, 'ac_remove_plugin_update_count' ) );
     12        add_filter( 'admin_user_info_links', array( __CLASS__, 'ac_redirect_on_logout' ) );
     13        add_action( 'login_head', array( __CLASS__, 'ac_login_head_setup' ) );
     14        add_filter( 'login_headerurl', array( __CLASS__, 'ac_login_url' ) );
     15        add_filter( 'login_headertitle', array( __CLASS__, 'ac_login_title' ) );
    1416    }
    1517   
     
    8284            }
    8385            #favorite-actions {
    84                 margin-top: '. floor ( ( $adjusted_head_height - 22 ) / 2 ) .'px;
     86                margin-top: ' . floor ( ( $adjusted_head_height - 22 ) / 2 ) . 'px;
     87            }
     88            #wphead #privacy-on-link {
     89                    line-height: ' . $logo_size[1] . 'px;
    8590            }';
     91           
     92           
    8693        }
    8794
     
    118125        }
    119126    }
     127
     128    function ac_login_url() {
     129        echo bloginfo( 'url' );
     130    }
     131   
     132    function ac_login_title() {
     133        echo get_option( 'blogname' );
     134    }
    120135           
    121136    function ac_dashboard_setup() {
  • admin-customization/trunk/core.php

    r357681 r357844  
    66       
    77        self::$options = $options;
    8         add_action('wp_dashboard_setup', array( __CLASS__, 'ac_dashboard_setup'), 99);
    9         add_action('admin_head', array( __CLASS__, 'ac_admin_head_setup') );
    10         add_action('login_head', array( __CLASS__, 'ac_login_head_setup') );
    11         add_action('admin_init', array( __CLASS__, 'ac_remove_update_notices') );
    12         add_action('admin_menu', array( __CLASS__, 'ac_remove_plugin_update_count') );
    13         add_filter('admin_user_info_links', array( __CLASS__, 'ac_redirect_on_logout') );
     8        add_action( 'wp_dashboard_setup', array( __CLASS__, 'ac_dashboard_setup' ), 99);
     9        add_action( 'admin_head', array( __CLASS__, 'ac_admin_head_setup' ) );
     10        add_action( 'admin_init', array( __CLASS__, 'ac_remove_update_notices' ) );
     11        add_action( 'admin_menu', array( __CLASS__, 'ac_remove_plugin_update_count' ) );
     12        add_filter( 'admin_user_info_links', array( __CLASS__, 'ac_redirect_on_logout' ) );
     13        add_action( 'login_head', array( __CLASS__, 'ac_login_head_setup' ) );
     14        add_filter( 'login_headerurl', array( __CLASS__, 'ac_login_url' ) );
     15        add_filter( 'login_headertitle', array( __CLASS__, 'ac_login_title' ) );
    1416    }
    1517   
     
    8284            }
    8385            #favorite-actions {
    84                 margin-top: '. floor ( ( $adjusted_head_height - 22 ) / 2 ) .'px;
     86                margin-top: ' . floor ( ( $adjusted_head_height - 22 ) / 2 ) . 'px;
     87            }
     88            #wphead #privacy-on-link {
     89                    line-height: ' . $logo_size[1] . 'px;
    8590            }';
     91           
     92           
    8693        }
    8794
     
    118125        }
    119126    }
     127
     128    function ac_login_url() {
     129        echo bloginfo( 'url' );
     130    }
     131   
     132    function ac_login_title() {
     133        echo get_option( 'blogname' );
     134    }
    120135           
    121136    function ac_dashboard_setup() {
Note: See TracChangeset for help on using the changeset viewer.