blogid . '/files'; // see if user has uploaded his own "logosymbol.gif" somewhere into his upload folder, version 1: $wpmu_logosymbol = m_find_in_dir($upload_path1,$bfa_ata_logo); $upload_path = $upload_path1; // try version 2 if no logosymbol.gif was found: if (!$wpmu_logosymbol) { $wpmu_logosymbol = m_find_in_dir($upload_path2,$bfa_ata_logo); $upload_path = $upload_path2; } // if we found logosymbol.gif one way or another, figure out the public URL if ($wpmu_logosymbol) { $new_logosymbol = str_replace($upload_path, get_option('fileupload_url'), $wpmu_logosymbol); $logo_area .= $new_logosymbol[0] . '" alt="' . get_bloginfo('name'); // otherwise: print the one in the theme folder } else { $logo_area .= get_bloginfo('template_directory') . '/images/' . $bfa_ata_logo . '" alt="' . get_bloginfo('name'); } // if this is Wordpress and not WPMU, print the logosymbol.gif in the theme folder right away } else { $logo_area .= get_bloginfo('template_directory') . '/images/' . $bfa_ata_logo . '" alt="' . get_bloginfo('name'); } $logo_area .= '" /> | '; } // END of Logo Icon // Blog title and description if ( $bfa_ata_blog_title_show == "Yes" OR $bfa_ata_blog_tagline_show == "Yes" ) { $logo_area .= '';
if ( $bfa_ata_blog_title_show == "Yes" ) {
$logo_area .= '' . get_bloginfo('name') . ''; } if ( $bfa_ata_blog_tagline_show == "Yes" ) { $logo_area .= '' . get_bloginfo( 'description' ) . ' '; } $logo_area .= ' | ';
}
// END of title/description
// is any feed icon or link active?
if ($bfa_ata_show_posts_icon == "Yes" OR $bfa_ata_show_email_icon == "Yes" OR $bfa_ata_show_comments_icon == "Yes") {
$logo_area .= '';
}
// COMMENT Feed link
if ($bfa_ata_show_comments_icon == "Yes" ) {
$logo_area .= '' . $bfa_ata_comment_feed_link . '';
}
// END: of COMMENT Feed link
// Feedburner Email link
if ($bfa_ata_show_email_icon == "Yes" ) {
$logo_area .= '' . $bfa_ata_email_subscribe_link . '';
}
// END: of Feedburner Email link
// POSTS Feed link
if ($bfa_ata_show_posts_icon == "Yes" ) {
$logo_area .= '' . $bfa_ata_post_feed_link . '';
}
// END: of POSTS Feed link
if ($bfa_ata_show_posts_icon == "Yes" OR $bfa_ata_show_email_icon == "Yes" OR $bfa_ata_show_comments_icon == "Yes") {
$logo_area .= ' | ';
if ($bfa_ata_show_search_box == "Yes" ) {
$logo_area .= '
';
$logo_area .= ' | ';
}
// END of Search box
$logo_area .= '