Arreglos en página de perfil
git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@23 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
parent
a5c9996c53
commit
26a2986a74
@ -88,15 +88,7 @@ class BP_Dedication extends BP_Component {
|
|||||||
'includes/bp-dedication-functions.php',
|
'includes/bp-dedication-functions.php',
|
||||||
'includes/bp-dedication-classes.php',
|
'includes/bp-dedication-classes.php',
|
||||||
'includes/bp-dedication-ajax.php',
|
'includes/bp-dedication-ajax.php',
|
||||||
/* 'includes/bp-example-filters.php',
|
'includes/bp-dedication-notifications.php',
|
||||||
|
|
||||||
|
|
||||||
'includes/bp-example-template.php',
|
|
||||||
|
|
||||||
'includes/bp-example-notifications.php',
|
|
||||||
'includes/bp-example-widgets.php',
|
|
||||||
'includes/bp-example-cssjs.php',
|
|
||||||
'includes/bp-example-ajax.php' */
|
|
||||||
);
|
);
|
||||||
|
|
||||||
parent::includes($includes);
|
parent::includes($includes);
|
||||||
|
|||||||
@ -128,26 +128,10 @@ function bp_dedication_create_new_dedication() {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$user_id = $bp->loggedin_user->id;
|
/*$user_id = $bp->loggedin_user->id;
|
||||||
$user_link = bp_core_get_userlink($user_id);
|
$user_link = bp_core_get_userlink($user_id);*/
|
||||||
|
|
||||||
/* bp_dedication_record_activity(array(
|
do_action( 'bp_dedication_create_new_dedication', $post_id, $friend_info->ID, $bp->loggedin_user->id);
|
||||||
'type' => 'accepted_terms',
|
|
||||||
'action' => apply_filters('bp_dedication_create_new_dedication_activity_action',
|
|
||||||
sprintf(__('%s sent a new dedication %s!', 'bp-dedication'), $user_link, $link), $user_id, ),
|
|
||||||
)); */
|
|
||||||
|
|
||||||
/* See bp_example_reject_terms() for an explanation of deleting activity items */
|
|
||||||
// if ( function_exists( 'bp_activity_delete') )
|
|
||||||
// bp_activity_delete( array( 'type' => 'rejected_terms', 'user_id' => $bp->loggedin_user->id ) );
|
|
||||||
|
|
||||||
/* Add a do_action here so other plugins can hook in */
|
|
||||||
do_action('bp_dedication_create_new_dedication', $bp->loggedin_user->id);
|
|
||||||
|
|
||||||
/* * *
|
|
||||||
* You'd want to do something here, like set a flag in the database, or set usermeta.
|
|
||||||
* just for the sake of the demo we're going to return true.
|
|
||||||
*/
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,38 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
function bp_dedication_send_dedication_notification( $post_id, $to_user_id, $from_user_id ) {
|
||||||
|
global $bp;
|
||||||
|
|
||||||
|
/* Let's grab both user's names to use in the email. */
|
||||||
|
$sender_name = bp_core_get_user_displayname( $from_user_id, false );
|
||||||
|
$reciever_name = bp_core_get_user_displayname( $to_user_id, false );
|
||||||
|
|
||||||
|
/* Get the userdata for the reciever and sender, this will include usernames and emails that we need. */
|
||||||
|
$reciever_ud = get_userdata( $to_user_id );
|
||||||
|
$sender_ud = get_userdata( $from_user_id );
|
||||||
|
|
||||||
|
/* Now we need to construct the URL's that we are going to use in the email */
|
||||||
|
$sender_profile_link = bp_core_get_userlink($from_user_id, false, true);
|
||||||
|
$sender_new_dedication_link = bp_core_get_userlink($to_user_id, false, true) . $bp->dedications->slug . '/new-dedication/user/' . $from_user_id;
|
||||||
|
$post_link = get_permalink($post_id);
|
||||||
|
|
||||||
|
/* Set up and send the message */
|
||||||
|
$to = $reciever_ud->user_email;
|
||||||
|
$subject = '[' . get_blog_option( 1, 'blogname' ) . '] ' . sprintf( __( '%s dedicated a song 2 u!', 'bp-dedication' ), stripslashes($sender_name) );
|
||||||
|
|
||||||
|
$message = sprintf( __(
|
||||||
|
'%s sent you a dedication!
|
||||||
|
|
||||||
|
To see %s\'s dedication: %s
|
||||||
|
|
||||||
|
---------------------
|
||||||
|
', 'bp-dedication' ), $sender_name, $sender_name, $post_link );
|
||||||
|
|
||||||
|
//$message .= sprintf( __( 'To disable these notifications please log in and go to: %s', 'bp-example' ), $reciever_settings_link );
|
||||||
|
|
||||||
|
// Send it!
|
||||||
|
wp_mail( $to, $subject, $message );
|
||||||
|
}
|
||||||
|
add_action( 'bp_dedication_create_new_dedication', 'bp_dedication_send_dedication_notification', 10, 3 );
|
||||||
|
|
||||||
|
?>
|
||||||
@ -25,9 +25,6 @@ function bp_dedication_index() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function bp_dedication_index_title() {
|
function bp_dedication_index_title() {
|
||||||
?>
|
|
||||||
<h4><?php _e( 'My dedications', 'bp-dedication' ); ?>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function bp_dedication_index_content() {
|
function bp_dedication_index_content() {
|
||||||
@ -125,64 +122,4 @@ function bp_dedication_new_dedication() {
|
|||||||
function bp_dedication_new_dedication_content() {
|
function bp_dedication_new_dedication_content() {
|
||||||
locate_template( 'dedications/single/new-dedication.php', true );
|
locate_template( 'dedications/single/new-dedication.php', true );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The following screen functions are called when the Settings subpanel for this component is viewed
|
|
||||||
*/
|
|
||||||
function bp_example_screen_settings_menu() {
|
|
||||||
global $bp, $current_user, $bp_settings_updated, $pass_error;
|
|
||||||
|
|
||||||
if ( isset( $_POST['submit'] ) ) {
|
|
||||||
/* Check the nonce */
|
|
||||||
check_admin_referer('bp-example-admin');
|
|
||||||
|
|
||||||
$bp_settings_updated = true;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* This is when the user has hit the save button on their settings.
|
|
||||||
* The best place to store these settings is in wp_usermeta.
|
|
||||||
*/
|
|
||||||
update_user_meta( $bp->loggedin_user->id, 'bp-example-option-one', attribute_escape( $_POST['bp-example-option-one'] ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
add_action( 'bp_template_content_header', 'bp_example_screen_settings_menu_header' );
|
|
||||||
add_action( 'bp_template_title', 'bp_example_screen_settings_menu_title' );
|
|
||||||
add_action( 'bp_template_content', 'bp_example_screen_settings_menu_content' );
|
|
||||||
|
|
||||||
bp_core_load_template( apply_filters( 'bp_core_template_plugin', 'members/single/plugins' ) );
|
|
||||||
}
|
|
||||||
|
|
||||||
function bp_example_screen_settings_menu_header() {
|
|
||||||
_e( 'Example Settings Header', 'bp-example' );
|
|
||||||
}
|
|
||||||
|
|
||||||
function bp_example_screen_settings_menu_title() {
|
|
||||||
_e( 'Example Settings', 'bp-example' );
|
|
||||||
}
|
|
||||||
|
|
||||||
function bp_example_screen_settings_menu_content() {
|
|
||||||
global $bp, $bp_settings_updated; ?>
|
|
||||||
|
|
||||||
<?php if ( $bp_settings_updated ) { ?>
|
|
||||||
<div id="message" class="updated fade">
|
|
||||||
<p><?php _e( 'Changes Saved.', 'bp-example' ) ?></p>
|
|
||||||
</div>
|
|
||||||
<?php } ?>
|
|
||||||
|
|
||||||
<form action="<?php echo $bp->loggedin_user->domain . 'settings/example-admin'; ?>" name="bp-example-admin-form" id="account-delete-form" class="bp-example-admin-form" method="post">
|
|
||||||
|
|
||||||
<input type="checkbox" name="bp-example-option-one" id="bp-example-option-one" value="1"<?php if ( '1' == get_user_meta( $bp->loggedin_user->id, 'bp-example-option-one', true ) ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'Do you love clicking checkboxes?', 'bp-example' ); ?>
|
|
||||||
<p class="submit">
|
|
||||||
<input type="submit" value="<?php _e( 'Save Settings', 'bp-example' ) ?> »" id="submit" name="submit" />
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
/* This is very important, don't leave it out. */
|
|
||||||
wp_nonce_field( 'bp-example-admin' );
|
|
||||||
?>
|
|
||||||
|
|
||||||
</form>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
@ -1,13 +1,15 @@
|
|||||||
form.standard-form textarea.dedication_text {
|
form.standard-form textarea.dedication_text {
|
||||||
width: 100% !important;
|
width: 90% !important;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
form.standard-form .video_url,
|
form.standard-form .video_url,
|
||||||
form.standard-form .artist_name,
|
form.standard-form .artist_name,
|
||||||
form.standard-form .song_name,
|
form.standard-form .song_name,
|
||||||
form.standard-form .dedicate_to_input {
|
form.standard-form .dedicate_to_input {
|
||||||
width: 100%;
|
width: 90%;
|
||||||
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
form.standard-form ul.acfb-holder li {
|
form.standard-form ul.acfb-holder li {
|
||||||
@ -17,7 +19,6 @@ form.standard-form ul.acfb-holder li {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#thumbs {
|
#thumbs {
|
||||||
float: right;
|
|
||||||
background: #ccc url(img/thumbnail.jpg) center no-repeat;
|
background: #ccc url(img/thumbnail.jpg) center no-repeat;
|
||||||
width: 320px;
|
width: 320px;
|
||||||
height: 240px;
|
height: 240px;
|
||||||
|
|||||||
@ -2,18 +2,42 @@ jQuery(document).ready(function(){
|
|||||||
|
|
||||||
var j = jQuery;
|
var j = jQuery;
|
||||||
|
|
||||||
|
j.validator.addMethod("validacionDestinatario", function(value, element, param) {
|
||||||
|
var result = false;
|
||||||
|
var idFriendVal = j("#friend_ids").val();
|
||||||
|
var eMailFriendVal = j("#friend_email").val();
|
||||||
|
var eMailRegExp = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;
|
||||||
|
|
||||||
|
if (idFriendVal != "") {
|
||||||
|
result = true;
|
||||||
|
} else {
|
||||||
|
if ((eMailFriendVal != "") && (eMailRegExp.test(eMailFriendVal))) {
|
||||||
|
result = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return result;
|
||||||
|
|
||||||
|
}, "validacionDestinatario");
|
||||||
|
|
||||||
// validate signup form on keyup and submit
|
// validate signup form on keyup and submit
|
||||||
j("#new-dedication-form").validate({
|
j("#new-dedication-form").validate({
|
||||||
|
rules: {
|
||||||
|
dedicate_to_input: {
|
||||||
|
required: true,
|
||||||
|
validacionDestinatario : true
|
||||||
|
}
|
||||||
|
},
|
||||||
ignore: [],
|
ignore: [],
|
||||||
messages: {
|
messages: {
|
||||||
friend_ids: "Please enter at least one member."
|
dedicate_to_input: "Please choose one member name or enter a valid email"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
var onAutocompleteSelect = function(value, data) {
|
/*var onAutocompleteSelect = function(value, data) {
|
||||||
j('#selection').html('<img src="\/global\/flags\/small\/' + data + '.png" alt="" \/> ' + value);
|
j('#selection').html('<img src="\/global\/flags\/small\/' + data + '.png" alt="" \/> ' + value);
|
||||||
alert(data);
|
alert(data);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
var options = {
|
var options = {
|
||||||
minLength: 1,
|
minLength: 1,
|
||||||
@ -32,6 +56,15 @@ jQuery(document).ready(function(){
|
|||||||
|
|
||||||
j("#dedicate_to_input").change(function(){
|
j("#dedicate_to_input").change(function(){
|
||||||
if(j('#dedicate_to_input').val() == '') {
|
if(j('#dedicate_to_input').val() == '') {
|
||||||
|
j('#friend_ids').val('');
|
||||||
|
j('#friend_email').val('');
|
||||||
|
}
|
||||||
|
|
||||||
|
if(j('#dedicate_to_input').val().indexOf('@', 0) != -1 && j('#dedicate_to_input').val().indexOf('.', 0) != -1) {
|
||||||
|
j('#friend_email').val(j('#dedicate_to_input').val());
|
||||||
|
j('#friend_ids').val(',-1');
|
||||||
|
} else {
|
||||||
|
j('#friend_email').val('');
|
||||||
j('#friend_ids').val('');
|
j('#friend_ids').val('');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -45,11 +78,11 @@ jQuery(document).ready(function(){
|
|||||||
// using jYoutube jQuery plugin
|
// using jYoutube jQuery plugin
|
||||||
url = j.jYoutube(j('#video_url').val());
|
url = j.jYoutube(j('#video_url').val());
|
||||||
title = getYouTubeInfo(j('#video_url').val(),
|
title = getYouTubeInfo(j('#video_url').val(),
|
||||||
function(artist, song){
|
function(artist, song){
|
||||||
j('#artist_name').val(artist);
|
j('#artist_name').val(artist);
|
||||||
j('#song_name').val(song);
|
j('#song_name').val(song);
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
// Now append this image to <div id="thumbs">
|
// Now append this image to <div id="thumbs">
|
||||||
j('#thumbs').html(j('<img src="'+url+'" />'));
|
j('#thumbs').html(j('<img src="'+url+'" />'));
|
||||||
@ -116,4 +149,5 @@ function ia_on_autocomplete_select( value, data ) {
|
|||||||
|
|
||||||
// Remove the value from the send-to-input box
|
// Remove the value from the send-to-input box
|
||||||
// j('#dedicate_to_input').val('');
|
// j('#dedicate_to_input').val('');
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1,15 +1,14 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
Plugin Name: My Groups Widget
|
Plugin Name: My Groups Widget
|
||||||
Description: This BuddyPress widget lists the groups the of which the logged in user is a member.
|
Description:
|
||||||
Version: 1.0
|
Version:
|
||||||
Revision Date: March 18, 2010
|
Revision Date:
|
||||||
Requires at least: WPMU 2.8, BuddyPress 1.1
|
Requires at least: BuddyPress 1.1
|
||||||
Tested up to: WPMU 2.9.2, BuddyPress 1.2.2.1
|
Tested up to: BuddyPress 1.2.2.1
|
||||||
License: Example: GNU General Public License 2.0 (GPL) http://www.gnu.org/licenses/gpl.html
|
License:
|
||||||
Author: Peter Anselmo, Studio66
|
Author:
|
||||||
Author URI: http://www.studio66design.com
|
Author URI:
|
||||||
Site Wide Only: true
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@ -42,13 +41,15 @@ class BP_My_Groups_Widget extends WP_Widget {
|
|||||||
<ul class="my-groups-list item-list">
|
<ul class="my-groups-list item-list">
|
||||||
<?php while ( bp_groups() ) : bp_the_group(); ?>
|
<?php while ( bp_groups() ) : bp_the_group(); ?>
|
||||||
<li>
|
<li>
|
||||||
|
<?php /*
|
||||||
<div class="item-avatar">
|
<div class="item-avatar">
|
||||||
<a href="<?php bp_group_permalink(); ?>"><?php bp_group_avatar_mini(); ?></a>
|
<a href="<?php bp_group_permalink(); ?>">< ? php bp_group_avatar_mini(); ? ></a>
|
||||||
</div>
|
</div>*/
|
||||||
|
?>
|
||||||
|
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="item-title"><a href="<?php bp_group_permalink() ?>" title="<?php bp_group_name() ?>"><?php bp_group_name() ?></a></div>
|
<div class="item-title"><a href="<?php bp_group_permalink() ?>" title="<?php bp_group_name() ?>"><?php bp_group_name() ?></a></div>
|
||||||
<div class="item-meta"><span class="activity"><?php bp_group_member_count() ?></span></div>
|
<?php /*<div class="item-meta"><span class="activity">< ? php bp_group_member_count() ? ></span></div>*/ ?>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|||||||
@ -1,9 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* BuddyPress - Dedications
|
* BuddyPress - Dedications
|
||||||
*/
|
*/
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php global $bp, $post, $gp_settings; ?>
|
<?php global $bp, $post, $gp_settings; ?>
|
||||||
@ -13,7 +11,22 @@
|
|||||||
<?php locate_template( array( 'video-slider.php' ), true ); ?>
|
<?php locate_template( array( 'video-slider.php' ), true ); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<div id="content<?php if ( !bp_is_current_action( 'new-dedication' ) ) { ?> fullwidth<?php } ?>">
|
<?php
|
||||||
|
$classcss = '';
|
||||||
|
$idcss = 'fullwidth';
|
||||||
|
|
||||||
|
if (bp_is_current_action('new-dedication')) :
|
||||||
|
$idcss = '';
|
||||||
|
$classcss = 'new-dedication';
|
||||||
|
endif;
|
||||||
|
|
||||||
|
if (bp_is_current_action('dedication-profile')) :
|
||||||
|
$idcss = '';
|
||||||
|
$classcss = 'dedication-profile';
|
||||||
|
endif;
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div id="content<?php echo ($idcss) ? ' '.$idcss : '';?>" class="<?php echo $classcss;?>">
|
||||||
<div class="padder">
|
<div class="padder">
|
||||||
<?php do_action('bp_before_member_plugin_template'); ?>
|
<?php do_action('bp_before_member_plugin_template'); ?>
|
||||||
|
|
||||||
|
|||||||
@ -0,0 +1,55 @@
|
|||||||
|
<?php
|
||||||
|
global $bp, $post, $gp_settings;
|
||||||
|
require(ghostpool_inc . 'options.php');
|
||||||
|
$from_dedications = bp_dedication_get_dedications_to_user($bp->displayed_user->id);
|
||||||
|
$count = 0;
|
||||||
|
$dedication_link = bp_core_get_userlink($bp->displayed_user->id, false, true) . $bp->dedications->slug . '/dedicated-2u/';
|
||||||
|
|
||||||
|
?>
|
||||||
|
<h4><?php _e('Dedicatited 2 me'); ?></h4>
|
||||||
|
<?php foreach ($from_dedications as $post) :
|
||||||
|
$count++;
|
||||||
|
if ($count > 3) {?>
|
||||||
|
<a href="<?php echo $dedication_link; ?>" class="read-more" title="<?php _e('See More', 'gp_lang'); ?>"><?php _e('See More', 'gp_lang'); ?> »</a>
|
||||||
|
<?php break; } ?>
|
||||||
|
?>
|
||||||
|
<?php setup_postdata($post); ?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$gp_settings['thumbnail_width'] = $theme_cat_thumbnail_width;
|
||||||
|
$gp_settings['thumbnail_height'] = $theme_cat_thumbnail_height;
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php include(dirname(__FILE__).'/../../loop-dedication-data.php'); ?>
|
||||||
|
|
||||||
|
<div class="home-dedicated-2-me post-loop"<?php // post_class('post-loop'); ?>>
|
||||||
|
<!--Begin Image-->
|
||||||
|
<?php if (has_post_thumbnail()) { ?>
|
||||||
|
<div class="post-thumbnail<?php if ($gp_settings['image_wrap'] == "Disable") { ?> thumbnail-no-wrap<?php } ?>">
|
||||||
|
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
||||||
|
<?php $image = vt_resize(get_post_thumbnail_id(), '', $gp_settings['image_width'], $gp_settings['image_height'], true); ?>
|
||||||
|
<img src="<?php echo $image[url]; ?>" alt="<?php if (get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true)) {
|
||||||
|
echo get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true);
|
||||||
|
} else {
|
||||||
|
echo get_the_title();
|
||||||
|
} ?>" />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<!--End Image-->
|
||||||
|
|
||||||
|
<!--Begin Post Text-->
|
||||||
|
<div class="post-text">
|
||||||
|
<h2><a href="<?php the_permalink(); ?>" title="<?php echo $gp_settings['artist_song']; ?>"><span><?php echo $gp_settings['artist']; ?></span>. <?php echo $gp_settings['song']; ?></a></h2>
|
||||||
|
<?php echo $gp_settings['to_flag']; ?>
|
||||||
|
<span>FROM: <?php echo $gp_settings['from_user_link']; ?></span>
|
||||||
|
</div>
|
||||||
|
<!--End Post Text-->
|
||||||
|
<br/>
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php endforeach; ?>
|
||||||
|
<?php wp_reset_postdata(); ?>
|
||||||
|
|
||||||
|
|
||||||
@ -0,0 +1,53 @@
|
|||||||
|
<?php
|
||||||
|
global $bp, $post, $gp_settings;
|
||||||
|
require(ghostpool_inc . 'options.php');
|
||||||
|
$from_dedications = bp_dedication_get_dedications_from_user($bp->displayed_user->id);
|
||||||
|
$count = 0;
|
||||||
|
$dedication_link = bp_core_get_userlink($bp->displayed_user->id, false, true) . $bp->dedications->slug . '/my-dedications/';
|
||||||
|
?>
|
||||||
|
<h4><?php _e('My dedications'); ?></h4>
|
||||||
|
<?php foreach ($from_dedications as $post) :
|
||||||
|
$count++;
|
||||||
|
if ($count > 3) {?>
|
||||||
|
<a href="<?php echo $dedication_link; ?>" class="read-more" title="<?php _e('See More', 'gp_lang'); ?>"><?php _e('See More', 'gp_lang'); ?> »</a>
|
||||||
|
<?php break; } ?>
|
||||||
|
<?php setup_postdata($post); ?>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
$gp_settings['thumbnail_width'] = $theme_cat_thumbnail_width;
|
||||||
|
$gp_settings['thumbnail_height'] = $theme_cat_thumbnail_height;
|
||||||
|
?>
|
||||||
|
|
||||||
|
<?php include(dirname(__FILE__).'/../../loop-dedication-data.php'); ?>
|
||||||
|
|
||||||
|
<div class="home-my-dedications post-loop" <?php // post_class('post-loop'); ?>>
|
||||||
|
<!--Begin Image-->
|
||||||
|
<?php if (has_post_thumbnail()) { ?>
|
||||||
|
<div class="post-thumbnail<?php if ($gp_settings['image_wrap'] == "Disable") { ?> thumbnail-no-wrap<?php } ?>">
|
||||||
|
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
||||||
|
<?php $image = vt_resize(get_post_thumbnail_id(), '', $gp_settings['image_width'], $gp_settings['image_height'], true); ?>
|
||||||
|
<img src="<?php echo $image[url]; ?>" alt="<?php if (get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true)) {
|
||||||
|
echo get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true);
|
||||||
|
} else {
|
||||||
|
echo get_the_title();
|
||||||
|
} ?>" />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<?php } ?>
|
||||||
|
<!--End Image-->
|
||||||
|
|
||||||
|
<!--Begin Post Text-->
|
||||||
|
<div class="post-text">
|
||||||
|
<h2><a href="<?php the_permalink(); ?>" title="<?php echo $gp_settings['artist_song']; ?>"><span><?php echo $gp_settings['artist']; ?></span>. <?php echo $gp_settings['song']; ?></a></h2>
|
||||||
|
<?php echo $gp_settings['to_flag']; ?>
|
||||||
|
<span>TO: <?php echo $gp_settings['to_user_link']; ?></span>
|
||||||
|
</div>
|
||||||
|
<!--End Post Text-->
|
||||||
|
<br/>
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php endforeach; ?>
|
||||||
|
<?php wp_reset_postdata(); ?>
|
||||||
|
|
||||||
|
|
||||||
@ -1,45 +1,10 @@
|
|||||||
<?php
|
<div class="columns two first text-left">
|
||||||
global $bp, $post, $gp_settings;
|
<?php include('home-column-my-dedications.php'); ?>
|
||||||
require(ghostpool_inc . 'options.php');
|
</div>
|
||||||
$dedications = bp_dedication_get_dedications_from_user($bp->displayed_user->id);
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php foreach ($dedications as $post) : ?>
|
<div class="columns two last text-left">
|
||||||
<?php setup_postdata($post); ?>
|
<?php include('home-column-dedicated-2-me.php'); ?>
|
||||||
|
</div>
|
||||||
<?php
|
|
||||||
$gp_settings['thumbnail_width'] = $theme_cat_thumbnail_width;
|
|
||||||
$gp_settings['thumbnail_height'] = $theme_cat_thumbnail_height;
|
|
||||||
?>
|
|
||||||
|
|
||||||
<?php include(dirname(__FILE__).'/../../loop-dedication-data.php'); ?>
|
|
||||||
|
|
||||||
|
|
||||||
<div <?php post_class('post-loop'); ?>>
|
|
||||||
<!--Begin Image-->
|
|
||||||
<?php if (has_post_thumbnail()) { ?>
|
|
||||||
<div class="post-thumbnail<?php if ($gp_settings['image_wrap'] == "Disable") { ?> thumbnail-no-wrap<?php } ?>">
|
|
||||||
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
|
|
||||||
<?php $image = vt_resize(get_post_thumbnail_id(), '', $gp_settings['image_width'], $gp_settings['image_height'], true); ?>
|
|
||||||
<img src="<?php echo $image[url]; ?>" alt="<?php if (get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true)) {
|
|
||||||
echo get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true);
|
|
||||||
} else {
|
|
||||||
echo get_the_title();
|
|
||||||
} ?>" />
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<?php } ?>
|
|
||||||
<!--End Image-->
|
|
||||||
|
|
||||||
<!--Begin Post Text-->
|
|
||||||
<div class="post-text">
|
|
||||||
<h2><a href="<?php the_permalink(); ?>" title="<?php echo $gp_settings['artist_song']; ?>"><span><?php echo $gp_settings['artist']; ?></span>. <?php echo $gp_settings['song']; ?></a></h2>
|
|
||||||
<?php echo $gp_settings['to_flag']; ?>
|
|
||||||
<span>TO: <?php echo $gp_settings['to_user_link']; ?></span>
|
|
||||||
</div>
|
|
||||||
<!--End Post Text-->
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php endforeach; ?>
|
|
||||||
<?php wp_reset_postdata(); ?>
|
|
||||||
|
|||||||
@ -37,24 +37,25 @@ global $bp;
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<?php if ($event != 'create') : ?>
|
<?php if ($event != 'create') : ?>
|
||||||
<p id="welcome-message"><?php _e("Create your dedication by following these steps:", 'bp-dedication'); ?></p>
|
<p id="welcome-message"><?php _e("Create your dedication by following these steps:", 'bp-dedication'); ?></p>
|
||||||
<form action="<?php bp_dedication_new_dedication_form_action() ?>" method="post" id="new-dedication-form" enctype="multipart/form-data" class="standard-form">
|
<form action="<?php bp_dedication_new_dedication_form_action() ?>" method="post" id="new-dedication-form" enctype="multipart/form-data" class="standard-form">
|
||||||
|
|
||||||
<div class="columns two first blank text-left">
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>
|
<li>
|
||||||
<label for="dedicate_to_input"><?php _e("Enter a member to dedicate:", 'bp-dedication') ?></label>
|
<label for="dedicate_to_input"><?php _e("Enter a member name or email to dedicate:", 'bp-dedication') ?></label>
|
||||||
|
|
||||||
<ul class="first acfb-holder">
|
<ul class="first acfb-holder">
|
||||||
<li>
|
<li>
|
||||||
<input type="text" name="dedicate_to_input" class="dedicate_to_input" id="dedicate_to_input" value="<?php echo $friend; ?>"/>
|
<input type="text" name="dedicate_to_input" class="dedicate_to_input required" id="dedicate_to_input" value="<?php echo $friend; ?>"/>
|
||||||
<input type="hidden" name="friend_ids" id="friend_ids" class="required" value="<?php echo ($friend_id != 0) ? $friend_id_txt : ''; ?>" />
|
<input type="hidden" name="friend_ids" id="friend_ids" class="" value="<?php echo ($friend_id != 0) ? $friend_id_txt : ''; ?>" />
|
||||||
|
<input type="hidden" name="friend_email" id="friend_email" class="email" value="" />
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<ul id="user-list" class="item-list"></ul>
|
||||||
|
<div class="clear"></div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<label for="dedication_text">Dedication text</label>
|
<label for="dedication_text">Dedication text</label>
|
||||||
@ -64,6 +65,8 @@ global $bp;
|
|||||||
<li>
|
<li>
|
||||||
<label for="video_url">Video for dedication</label>
|
<label for="video_url">Video for dedication</label>
|
||||||
<input type="text" name="video_url" class="video_url required url" id="video_url" value="<?php echo $video_url; ?>"/>
|
<input type="text" name="video_url" class="video_url required url" id="video_url" value="<?php echo $video_url; ?>"/>
|
||||||
|
<div id="thumbs"></div>
|
||||||
|
<div class="clear"></div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<label for="artist_name">Artist name</label>
|
<label for="artist_name">Artist name</label>
|
||||||
@ -87,16 +90,10 @@ global $bp;
|
|||||||
</li>*/
|
</li>*/
|
||||||
?>
|
?>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
|
||||||
<div class="columns two last blank text-left">
|
|
||||||
<div id="thumbs">
|
|
||||||
</div>
|
|
||||||
<ul id="user-list" class="item-list"></ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
<div class="submit">
|
<div class="submit">
|
||||||
<input type="submit" id="submit" name="submit" value="<?php _e('Create dedication', 'bp-dedication') ?>">
|
<input type="submit" id="submit" name="submit" class="button" value="<?php _e('Create dedication', 'bp-dedication') ?>">
|
||||||
</div>
|
</div>
|
||||||
<?php wp_nonce_field('new_dedication', '_wpnonce_new_dedication') ?>
|
<?php wp_nonce_field('new_dedication', '_wpnonce_new_dedication') ?>
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?php get_header( 'buddypress' ); ?>
|
<?php get_header( 'buddypress' ); ?>
|
||||||
|
|
||||||
<div id="content">
|
<div id="content fullwidth">
|
||||||
<div class="padder">
|
<div class="padder">
|
||||||
|
|
||||||
<?php if ( bp_has_groups() ) : while ( bp_groups() ) : bp_the_group(); ?>
|
<?php if ( bp_has_groups() ) : while ( bp_groups() ) : bp_the_group(); ?>
|
||||||
|
|||||||
@ -58,7 +58,7 @@ $count = 1;
|
|||||||
</ol>
|
</ol>
|
||||||
<?php if (count($comment_array) > 2) : ?>
|
<?php if (count($comment_array) > 2) : ?>
|
||||||
<div class="more-comments">
|
<div class="more-comments">
|
||||||
<a href="<?php the_permalink(); ?>" class="read-more" title="<?php the_title(); ?>"><?php _e('See More', 'gp_lang'); ?> »</a>
|
<a href="<?php the_permalink(); ?>" class="read-more" title="<?php _e('See More', 'gp_lang'); ?>"><?php _e('See More', 'gp_lang'); ?> »</a>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -20,6 +20,12 @@ register_sidebar(array('name' => __('New dedication sidebar ', 'gp_lang'), 'id'
|
|||||||
'before_title' => '<h3>',
|
'before_title' => '<h3>',
|
||||||
'after_title' => '</h3>'));
|
'after_title' => '</h3>'));
|
||||||
|
|
||||||
|
register_sidebar(array('name' => __('Dedication profile sidebar ', 'gp_lang'), 'id' => 'dedication-profile',
|
||||||
|
'before_widget' => '<div id="%1$s" class="widget %2$s">',
|
||||||
|
'after_widget' => '</div>',
|
||||||
|
'before_title' => '<h3>',
|
||||||
|
'after_title' => '</h3>'));
|
||||||
|
|
||||||
register_sidebar(array('name' => __('Default Sidebar', 'gp_lang'), 'id' => 'default',
|
register_sidebar(array('name' => __('Default Sidebar', 'gp_lang'), 'id' => 'default',
|
||||||
'before_widget' => '<div id="%1$s" class="widget %2$s">',
|
'before_widget' => '<div id="%1$s" class="widget %2$s">',
|
||||||
'after_widget' => '</div>',
|
'after_widget' => '</div>',
|
||||||
|
|||||||
@ -1,10 +1,19 @@
|
|||||||
<div id="sidebar">
|
<?php if (bp_is_current_action('new-dedication')) { ?>
|
||||||
|
<div id="sidebar" class="new-dedication">
|
||||||
|
<?php } else if (bp_is_current_action('dedication-profile')) { ?>
|
||||||
|
<div id="sidebar" class="dedication-profile">
|
||||||
|
<?php } else { ?>
|
||||||
|
<div id="sidebar">
|
||||||
|
<?php } ?>
|
||||||
|
|
||||||
<?php if (function_exists('bp_message_get_notices')) { ?>
|
<?php if (function_exists('bp_message_get_notices')) { ?>
|
||||||
<?php bp_message_get_notices(); ?>
|
<?php bp_message_get_notices(); ?>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php if (bp_is_current_action('new-dedication')) { ?>
|
<?php if (bp_is_current_action('new-dedication')) { ?>
|
||||||
<?php dynamic_sidebar('new-dedication'); ?>
|
<?php dynamic_sidebar('new-dedication'); ?>
|
||||||
|
<?php } ?>
|
||||||
|
<?php if (bp_is_current_action('dedication-profile')) { ?>
|
||||||
|
<?php dynamic_sidebar('dedication-profile'); ?>
|
||||||
<?php } else { ?>
|
<?php } else { ?>
|
||||||
<?php dynamic_sidebar('buddypress'); ?>
|
<?php dynamic_sidebar('buddypress'); ?>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|||||||
@ -116,6 +116,14 @@ input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hove
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#content.new-dedication {
|
||||||
|
width: 49%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#content.dedication-profile {
|
||||||
|
width: 77.25%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*************************** Sidebar ***************************/
|
/*************************** Sidebar ***************************/
|
||||||
|
|
||||||
@ -128,6 +136,14 @@ input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hove
|
|||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#sidebar.new-dedication {
|
||||||
|
width: 49%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#sidebar.dedication-profile {
|
||||||
|
width: 22.74%;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*************************** User Details ***************************/
|
/*************************** User Details ***************************/
|
||||||
|
|
||||||
@ -725,6 +741,51 @@ ul.navmenu li a.profile:hover {
|
|||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.widget.widget_bp_my_groups_widget h3 {
|
||||||
|
background: #4e778b !important;
|
||||||
|
color: #9fd7f2 !important;
|
||||||
|
border-color: #253b48;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget.widget_bp_my_groups_widget .my-groups-list
|
||||||
|
|
||||||
|
.widget.widget_bp_my_groups_widget .my-groups-list .item-avatar .avatar {
|
||||||
|
height: 50px;
|
||||||
|
width: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget.widget_bp_my_groups_widget .my-groups-list li {
|
||||||
|
border: none !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
padding: 0 0 10px 0 !important;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget.widget_bp_my_groups_widget .my-groups-list .item {
|
||||||
|
margin-left: 0px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget.widget_bp_my_groups_widget .my-groups-list .item .item-title {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget.widget_bp_my_groups_widget .my-groups-list .item a {
|
||||||
|
padding: 5px 5px;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.widget.widget_bp_my_groups_widget .my-groups-list .item a:hover {
|
||||||
|
color: #f5b00c;
|
||||||
|
background: #0f3d5f;
|
||||||
|
-moz-box-shadow: inset 0 0 10px #262630;
|
||||||
|
-webkit-box-shadow: inset 0 0 10px #262630;
|
||||||
|
box-shadow: inset 0 0 10px #262630;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*************************** Page Navigation ***************************/
|
/*************************** Page Navigation ***************************/
|
||||||
|
|
||||||
/* Page & Comments Navigation */
|
/* Page & Comments Navigation */
|
||||||
@ -755,8 +816,26 @@ ul.navmenu li a.profile:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*************************** Others ***************************/
|
/*************************** Others ***************************/
|
||||||
|
#content-wrapper .widget input[type="button"],
|
||||||
|
#content-wrapper .widget input[type="submit"],
|
||||||
|
#content-wrapper .widget input[type="reset"],
|
||||||
|
#content-wrapper .widget input[type="file"],
|
||||||
|
#content-wrapper .widget button,
|
||||||
|
#content-wrapper #groups-directory-form h3 a.button,
|
||||||
|
.bp-wrapper #content-wrapper .button,
|
||||||
|
.bp-wrapper #content-wrapper .button.submit,
|
||||||
|
.bp-wrapper #content-wrapper ul.button-nav li a,
|
||||||
|
.bp-wrapper #content-wrapper .generic-button a,
|
||||||
|
.bp-wrapper #content-wrapper .comment-reply-link,
|
||||||
|
.bp-wrapper #content-wrapper #previous-next input,
|
||||||
|
.bp-wrapper #content-wrapper #submit_topic_cancel,
|
||||||
|
.bp-wrapper #content-wrapper .acomment-options a,
|
||||||
|
.bp-wrapper #content-wrapper .activity-meta a:hover span,
|
||||||
a.button {
|
a.button {
|
||||||
|
font-size: 13px;
|
||||||
|
font-weight: bold;
|
||||||
|
line-height: 19px;
|
||||||
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -773,6 +852,16 @@ a.button {
|
|||||||
border: 1px outset #34404b;
|
border: 1px outset #34404b;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bp-wrapper #content-wrapper .button:hover,
|
||||||
|
.bp-wrapper #content-wrapper .button.submit:hover,
|
||||||
|
.bp-wrapper #content-wrapper ul.button-nav li a:hover,
|
||||||
|
.bp-wrapper #content-wrapper .generic-button a:hover,
|
||||||
|
.bp-wrapper #content-wrapper .comment-reply-link:hover,
|
||||||
|
.bp-wrapper #content-wrapper #previous-next input:hover,
|
||||||
|
.bp-wrapper #content-wrapper #submit_topic_cancel:hover,
|
||||||
|
.bp-wrapper #content-wrapper .acomment-options a:hover,
|
||||||
|
.bp-wrapper #content-wrapper div.item-list-tabs ul li a:hover span,
|
||||||
|
.bp-wrapper #content-wrapper .activity-meta a span,
|
||||||
a.button:hover {
|
a.button:hover {
|
||||||
background: -moz-linear-gradient(
|
background: -moz-linear-gradient(
|
||||||
top,
|
top,
|
||||||
@ -785,6 +874,16 @@ a.button:hover {
|
|||||||
border: 1px outset #7CB9D0;
|
border: 1px outset #7CB9D0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.bp-wrapper #content-wrapper .button:active,
|
||||||
|
.bp-wrapper #content-wrapper .button.submit:active,
|
||||||
|
.bp-wrapper #content-wrapper ul.button-nav li a:active,
|
||||||
|
.bp-wrapper #content-wrapper .generic-button a:active,
|
||||||
|
.bp-wrapper #content-wrapper .comment-reply-link:active,
|
||||||
|
.bp-wrapper #content-wrapper #previous-next input:active,
|
||||||
|
.bp-wrapper #content-wrapper #submit_topic_cancel:active,
|
||||||
|
.bp-wrapper #content-wrapper .acomment-options a:active,
|
||||||
|
.bp-wrapper #content-wrapper div.item-list-tabs ul li a:active span,
|
||||||
|
.bp-wrapper #content-wrapper .activity-meta a span,
|
||||||
a.button:active {
|
a.button:active {
|
||||||
background: #0f3d5f;
|
background: #0f3d5f;
|
||||||
border: 1px inset #34404b;
|
border: 1px inset #34404b;
|
||||||
@ -882,6 +981,15 @@ h3.comments {
|
|||||||
min-height: 250px;
|
min-height: 250px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.home-my-dedications.post-loop,
|
||||||
|
.home-dedicated-2-me.post-loop {
|
||||||
|
border-bottom: 0;
|
||||||
|
max-height: 230px;
|
||||||
|
min-height: 230px;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.post-text {
|
.post-text {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
@ -987,16 +1095,6 @@ h3.comments {
|
|||||||
width: 77px;
|
width: 77px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar .my-groups-list .item-avatar .avatar {
|
|
||||||
height: 50px;
|
|
||||||
width: 50px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#sidebar .my-groups-list .item {
|
|
||||||
margin-left: 60px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
REMOVE.forum a,
|
REMOVE.forum a,
|
||||||
.bbPress #content span.bbp-admin-links a,
|
.bbPress #content span.bbp-admin-links a,
|
||||||
@ -1010,76 +1108,7 @@ color: #325670;
|
|||||||
color: #077dc8;
|
color: #077dc8;
|
||||||
}
|
}
|
||||||
|
|
||||||
#content-wrapper .widget input[type="button"],
|
|
||||||
#content-wrapper .widget input[type="submit"],
|
|
||||||
#content-wrapper .widget input[type="reset"],
|
|
||||||
#content-wrapper .widget input[type="file"],
|
|
||||||
#content-wrapper .widget button,
|
|
||||||
#content-wrapper #groups-directory-form h3 a.button,
|
|
||||||
.bp-wrapper #content-wrapper .button,
|
|
||||||
.bp-wrapper #content-wrapper .button.submit,
|
|
||||||
.bp-wrapper #content-wrapper ul.button-nav li a,
|
|
||||||
.bp-wrapper #content-wrapper .generic-button a,
|
|
||||||
.bp-wrapper #content-wrapper .comment-reply-link,
|
|
||||||
.bp-wrapper #content-wrapper #previous-next input,
|
|
||||||
.bp-wrapper #content-wrapper #submit_topic_cancel,
|
|
||||||
.bp-wrapper #content-wrapper .acomment-options a,
|
|
||||||
.bp-wrapper #content-wrapper .activity-meta a:hover span {
|
|
||||||
color: #fff;
|
|
||||||
|
|
||||||
font-size: 13px;
|
|
||||||
font-weight: bold;
|
|
||||||
padding: 3px 0;
|
|
||||||
line-height: 19px;
|
|
||||||
|
|
||||||
text-align: center;
|
|
||||||
padding: 5px 10px;
|
|
||||||
cursor: pointer;
|
|
||||||
|
|
||||||
background: -moz-linear-gradient(
|
|
||||||
top,
|
|
||||||
#179dc2 0%,
|
|
||||||
#0f3d5f);
|
|
||||||
background: -webkit-gradient(
|
|
||||||
linear, left top, left bottom,
|
|
||||||
from(#179dc2),
|
|
||||||
to(#0f3d5f));
|
|
||||||
border: 1px outset #34404b;
|
|
||||||
border-radius: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bp-wrapper #content-wrapper .button:hover,
|
|
||||||
.bp-wrapper #content-wrapper .button.submit:hover,
|
|
||||||
.bp-wrapper #content-wrapper ul.button-nav li a:hover,
|
|
||||||
.bp-wrapper #content-wrapper .generic-button a:hover,
|
|
||||||
.bp-wrapper #content-wrapper .comment-reply-link:hover,
|
|
||||||
.bp-wrapper #content-wrapper #previous-next input:hover,
|
|
||||||
.bp-wrapper #content-wrapper #submit_topic_cancel:hover,
|
|
||||||
.bp-wrapper #content-wrapper .acomment-options a:hover,
|
|
||||||
.bp-wrapper #content-wrapper div.item-list-tabs ul li a:hover span,
|
|
||||||
.bp-wrapper #content-wrapper .activity-meta a span {
|
|
||||||
background: #879db1;
|
|
||||||
border: 1px outset #34404b;
|
|
||||||
border-radius: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bp-wrapper #content-wrapper .button:active,
|
|
||||||
.bp-wrapper #content-wrapper .button.submit:active,
|
|
||||||
.bp-wrapper #content-wrapper ul.button-nav li a:active,
|
|
||||||
.bp-wrapper #content-wrapper .generic-button a:active,
|
|
||||||
.bp-wrapper #content-wrapper .comment-reply-link:active,
|
|
||||||
.bp-wrapper #content-wrapper #previous-next input:active,
|
|
||||||
.bp-wrapper #content-wrapper #submit_topic_cancel:active,
|
|
||||||
.bp-wrapper #content-wrapper .acomment-options a:active,
|
|
||||||
.bp-wrapper #content-wrapper div.item-list-tabs ul li a:active span,
|
|
||||||
.bp-wrapper #content-wrapper .activity-meta a span {
|
|
||||||
background: #685f6e;
|
|
||||||
border: 1px inset #34404b;
|
|
||||||
-moz-box-shadow: inset 0 0 10px #262630;
|
|
||||||
-webkit-box-shadow: inset 0 0 10px #262630;
|
|
||||||
box-shadow: inset 0 0 10px #262630;
|
|
||||||
border-radius: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bp-wrapper .accepted, .bp-wrapper .accepted a,
|
.bp-wrapper .accepted, .bp-wrapper .accepted a,
|
||||||
.bp-wrapper .accepted a:hover, .bp-wrapper .pending, .bp-wrapper .pending a,
|
.bp-wrapper .accepted a:hover, .bp-wrapper .pending, .bp-wrapper .pending a,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user