- Revisión de alta de dedicatoria con usuario e email - Comprobar en alta de dedicatoria si un email corresponde a un usuario - Arreglos en los títulos largos - Corrección del color gris en cabecera, dedicatoria y pie - Centrado de las columnas del pie - Problemas en ciertos casos con dedicatorias privadas - Arreglo del pixelado en avatares de usuario git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@30 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
120 lines
6.4 KiB
PHP
120 lines
6.4 KiB
PHP
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?> class="no-js">
|
|
<head>
|
|
<meta charset=<?php bloginfo('charset'); ?> />
|
|
<title><?php bloginfo('name'); ?> | <?php is_home() || is_front_page() ? bloginfo('description') : wp_title(''); ?></title>
|
|
|
|
<?php require(ghostpool_inc . 'options.php'); ?>
|
|
|
|
<?php wp_head(); ?>
|
|
|
|
<!--[if IE 7]><link rel="stylesheet" href="<?php echo get_template_directory_uri(); ?>/lib/css/style-ie7.css" media="screen" /><![endif]-->
|
|
<!--[if lte IE 8 ]><link rel="stylesheet" type="text/css" href="<?php echo get_template_directory_uri(); ?>/lib/scripts/videoslider/css/ie.css" /><![endif]-->
|
|
|
|
<?php require(ghostpool_scripts . 'custom.php'); ?>
|
|
<?php require(ghostpool_inc . 'page-styling.php'); ?>
|
|
|
|
</head>
|
|
|
|
<![if !IE]>
|
|
<body <?php body_class($gp_settings['browser'].' '.$gp_settings['layout'].' '.$gp_settings['skin']); ?>>
|
|
<![endif]>
|
|
<!--[if gt IE 8]>
|
|
<body <?php body_class('ie9 '.$gp_settings['browser'].' '.$gp_settings['layout'].' '.$gp_settings['skin']); ?>>
|
|
<![endif]-->
|
|
<!--[if lt IE 9]>
|
|
<body <?php body_class('ie8 '.$gp_settings['browser'].' '.$gp_settings['layout'].' '.$gp_settings['skin']); ?>>
|
|
<![endif]-->
|
|
|
|
<!--Begin Page Wrapper-->
|
|
<div id="page-wrapper">
|
|
|
|
<!--Begin Header-->
|
|
<div id="header">
|
|
<!--Begin Logo-->
|
|
<<?php if(is_home() OR is_front_page()) { ?>h1<?php } else { ?>div<?php } ?> id="logo" style="<?php if($theme_logo_top) { ?> margin-top: <?php echo $theme_logo_top; ?>px;<?php } ?><?php if($theme_logo_left) { ?> margin-left: <?php echo $theme_logo_left; ?>px;<?php } ?><?php if($theme_logo_bottom) { ?> margin-bottom: <?php echo $theme_logo_bottom; ?>px;<?php } ?>">
|
|
|
|
<div><?php bloginfo('name'); ?> | <?php is_home() || is_front_page() ? bloginfo('description') : wp_title(''); ?></div>
|
|
|
|
<?php if($theme_logo) { ?><a href="<?php echo home_url(); ?>" title="<?php bloginfo('name'); ?>"><img src="<?php echo($theme_logo); ?>" alt="<?php bloginfo('name'); ?>" /></a><?php } else { ?><a href="<?php echo home_url(); ?>" title="<?php bloginfo('name'); ?>"><span></span></a><?php } ?>
|
|
|
|
</<?php if(is_home() OR is_front_page()) { ?>h1<?php } else { ?>div<?php } ?>>
|
|
<!--End Logo-->
|
|
<?php if(is_user_logged_in()) { ?>
|
|
<?php global $bp, $current_user; get_currentuserinfo(); ?>
|
|
<div class="login-name"><?php echo $current_user->display_name; ?> (<a href="<?php echo wp_logout_url(); ?>"><?php _e( 'Logout', 'buddypress' ) ?></a>)</div>
|
|
<? } ?>
|
|
|
|
<?php if ( is_user_logged_in() ) : ?>
|
|
<?php if (0) { ?>
|
|
<!--Begin Nav-->
|
|
<div id="nav">
|
|
<?php /*wp_nav_menu('sort_column=menu_order&container=ul&theme_location=header-nav&fallback_cb=null');*/ ?>
|
|
</div>
|
|
<!--End Nav-->
|
|
<?php } ?>
|
|
<ul class="navmenu">
|
|
<li><a class="events" href="#"><span><?php __( 'Events', 'buddypress' ); ?></span></a></li>
|
|
<li><a title="<?php __( 'Members', 'buddypress' ); ?>" class="friends" href="<?php echo bp_get_members_directory_permalink(); ?>"><span><?php __( 'Members', 'buddypress' ); ?></span></a></li>
|
|
<li><a title="<?php __( 'Groups', 'buddypress' ); ?>" class="groups " href="<?php echo bp_get_groups_directory_permalink(); ?>"><span><?php __( 'Groups', 'buddypress' ); ?></span></a></li>
|
|
<li><a class="profile" href="<?php if(function_exists('bp_is_active')) { echo $bp->loggedin_user->domain; } else { echo get_author_posts_url(get_the_author_id()); } ?>"><span><?php _e('Profile', 'gp_lang'); ?></span></a></li>
|
|
</ul>
|
|
<?php endif; ?>
|
|
|
|
<?php if ( is_user_logged_in() ) : ?>
|
|
<?php if ( $bp->current_component == 'dedications' ) : ?>
|
|
<div id="header-profile">
|
|
<?php locate_template( array( 'members/single/small-member-header.php' ), true ); ?>
|
|
</div>
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|
|
|
|
<!--Begin Header Bottom-->
|
|
<div id="header-bottom">
|
|
<?php if ( is_user_logged_in() ) : ?>
|
|
<?php if(1) { /*is_home() || is_front_page() || (is_single() && in_category('dedication'))) {*/ ?>
|
|
<div id="dedication-data-panel" class="columns twothirds first text-left"></div>
|
|
<?php } ?>
|
|
<?php if($theme_search_form == "0") { ?>
|
|
<div id="search-panel" class="columns onethird last">
|
|
<div id="search-box">
|
|
<?php get_search_form(); ?>
|
|
</div>
|
|
</div>
|
|
<?php } ?>
|
|
<?php endif; ?>
|
|
|
|
<!--Begin Header Content-->
|
|
<?php if($theme_header_content) { ?>
|
|
<div id="header-content">
|
|
<?php echo stripslashes(do_shortcode($theme_header_content)); ?>
|
|
</div>
|
|
<?php } ?>
|
|
<!--End Header Panel-->
|
|
<div class="clear"></div>
|
|
</div>
|
|
<!--End Header Bottom-->
|
|
|
|
</div>
|
|
<!--End Header-->
|
|
|
|
<?php if( (is_user_logged_in()) && (is_home() || is_front_page())) { ?>
|
|
<?php if (!in_array(bp_current_component(), array("members", "groups"))) { ?>
|
|
<?php require('video-slider.php'); ?>
|
|
<div id="precontent-wrapper">
|
|
<div id="dedicationComments_container" class="columns two first text-left"> </div>
|
|
<div id="sidebar-home" class="columns two last text-left">
|
|
<?php dynamic_sidebar('homepage-1'); ?>
|
|
</div>
|
|
<div class="clear"></div>
|
|
</div>
|
|
<div class="clear"></div>
|
|
<?php } ?>
|
|
<?php } ?>
|
|
|
|
<?php /*if(is_home() && $theme_slider == "0") { require('slider.php'); }*/ ?>
|
|
|
|
<?php /*require('social.php');*/ ?>
|
|
|
|
<!--Begin Content Wrapper-->
|
|
<div id="content-wrapper">
|