About 183 results: "php link repo:aqge/deptandashboard"
Page 2 of 10
Filter Results
Sources
Languages
Filter Results
Try Search On



















dashboard.php in deptandashboard https://bitbucket.org/aqge/deptandashboard | 1364 lines | PHP
  1. 
                        
  2. 	// Incoming Links Widget
  3. 	if ( is_blog_admin() && current_user_can('publish_posts') ) {
  4. 		if ( !isset( $widget_options['dashboard_incoming_links'] ) || !isset( $widget_options['dashboard_incoming_links']['home'] ) || $widget_options['dashboard_incoming_links']['home'] != get_option('home') ) {
  5. 			$update = true;
  6. 			$num_items = isset($widget_options['dashboard_incoming_links']['items']) ? $widget_options['dashboard_incoming_links']['items'] : 10;
  7. 			$widget_options['dashboard_incoming_links'] = array(
  8. 				'home' => get_option('home'),
  9. 				'link' => apply_filters( 'dashboard_incoming_links_link', 'http://blogsearch.google.com/blogsearch?scoring=d&partner=wordpress&q=link:' . trailingslashit( get_option('home') ) ),
  10. 				'url' => isset($widget_options['dashboard_incoming_links']['url']) ? apply_filters( 'dashboard_incoming_links_feed', $widget_options['dashboard_incoming_links']['url'] ) : apply_filters( 'dashboard_incoming_links_feed', 'http://blogsearch.google.com/blogsearch_feeds?scoring=d&ie=utf-8&num=' . $num_items . '&output=rss&partner=wordpress&q=link:' . trailingslashit( get_option('home') ) ),
  11. 	foreach ( $dashboard_widgets as $widget_id ) {
  12. 		$name = empty( $wp_registered_widgets[$widget_id]['all_link'] ) ? $wp_registered_widgets[$widget_id]['name'] : $wp_registered_widgets[$widget_id]['name'] . " <a href='{$wp_registered_widgets[$widget_id]['all_link']}' class='edit-box open-box'>" . __('View all') . '</a>';
  13. 	if ( !is_network_admin() && !is_user_admin() && current_user_can('manage_options') && '1' != get_option('blog_public') ) {
  14. 		$title = apply_filters('privacy_on_link_title', __('Your site is asking search engines not to index its content') );
  15. 		$content = apply_filters('privacy_on_link_text', __('Search Engines Blocked') );
  16. 
                        

Back to Top