Merge branch 'development/2.6.1' into feature/um-blocks

This commit is contained in:
Nikita Sinelnikov
2023-05-23 11:14:37 +03:00
committed by GitHub
77 changed files with 2712 additions and 1488 deletions
+25 -9
View File
@@ -1,11 +1,27 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the account page
*
* This template can be overridden by copying it to yourtheme/ultimate-member/account.php
*
* Page: "Account"
*
* @version 2.6.1
*
* @var string $mode
* @var int $form_id
* @var array $args
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div class="um <?php echo esc_attr( $this->get_class( $mode ) ); ?> um-<?php echo esc_attr( $form_id ); ?>">
<div class="um-form">
<form method="post" action="">
<?php
/**
* UM hook
@@ -46,7 +62,7 @@
</div>
</div>
<div class="um-account-side uimob340-hide uimob500-hide">
<div class="um-account-meta radius-<?php echo esc_attr( UM()->options()->get( 'profile_photocorner' ) ); ?>">
@@ -118,9 +134,9 @@
} ?>
</ul>
</div>
<div class="um-account-main" data-current_tab="<?php echo esc_attr( UM()->account()->current_tab ); ?>">
<?php
/**
* UM hook
@@ -164,11 +180,11 @@
<?php }
} ?>
</div>
<div class="um-clear"></div>
</form>
<?php
/**
* UM hook
@@ -191,4 +207,4 @@
</div>
</div>
</div>
+28 -18
View File
@@ -1,37 +1,47 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the "Account Approved Email".
* Whether to send the user an email when his account is approved.
*
* This template can be overridden by copying it to {your-theme}/ultimate-member/email/approved_email.php
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div style="max-width: 560px;padding: 20px;background: #ffffff;border-radius: 5px;margin:40px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
<div style="color: #444444;font-weight: normal;">
<div style="text-align: center;font-weight:600;font-size:26px;padding: 10px 0;border-bottom: solid 3px #eeeeee;">{site_name}</div>
<div style="clear:both"></div>
</div>
<div style="padding: 0 30px 30px 30px;border-bottom: 3px solid #eeeeee;">
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;">Thank you for signing up!<span style="display: block;">Your account is now approved.</span></div>
<div style="padding: 10px 0 50px 0;text-align: center;"><a href="{login_url}" style="background: #555555;color: #fff;padding: 12px 30px;text-decoration: none;border-radius: 3px;letter-spacing: 0.3px;">Login to our site</a></div>
<div style="padding: 0 0 15px 0;">
<div style="background: #eee;color: #444;padding: 12px 15px; border-radius: 3px;font-weight: bold;font-size: 16px;">Account Information</div>
<div style="padding: 10px 15px 0 15px;color: #333;"><span style="color:#999">Your account e-mail:</span> <span style="font-weight:bold">{email}</span></div>
<div style="padding: 10px 15px 0 15px;color: #333;"><span style="color:#999">Your account username:</span> <span style="font-weight:bold">{username}</span></div>
<div style="padding: 10px 15px 0 15px;color: #333;"><span style="color:#999">Set your password:</span> <span style="font-weight:bold"><a href="{password_reset_link}" style="color: #3ba1da;text-decoration: none;">{password_reset_link}</a></span></div>
</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
+25 -13
View File
@@ -1,28 +1,40 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the "Account Updated Email".
* Whether to send the user an email when he updated their account.
*
* This template can be overridden by copying it to {your-theme}/ultimate-member/email/changedaccount_email.php
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div style="max-width: 560px;padding: 20px;background: #ffffff;border-radius: 5px;margin:40px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
<div style="color: #444444;font-weight: normal;">
<div style="text-align: center;font-weight:600;font-size:26px;padding: 10px 0;border-bottom: solid 3px #eeeeee;">{site_name}</div>
<div style="clear:both"></div>
</div>
<div style="padding: 0 30px 30px 30px;border-bottom: 3px solid #eeeeee;">
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;">You recently updated your account.</div>
<div style="padding: 10px 0 50px 0;text-align: center;"><a href="{user_account_link}" style="background: #555555;color: #fff;padding: 12px 30px;text-decoration: none;border-radius: 3px;letter-spacing: 0.3px;">Go to your Account</a></div>
<div style="padding: 15px;background: #eee;border-radius: 3px;text-align: center;">If you did not make this change and believe your account has been compromised, please <a href="mailto:{admin_email}" style="color: #3ba1da;text-decoration: none;">contact us</a> ASAP.</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
+25 -14
View File
@@ -1,28 +1,39 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the "Password Changed Email".
* Whether to send the user an email when he requests to reset password (Recommended, please keep on).
*
* This template can be overridden by copying it to {your-theme}/ultimate-member/email/changedpw_email.php
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div style="max-width: 560px;padding: 20px;background: #ffffff;border-radius: 5px;margin:40px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
<div style="color: #444444;font-weight: normal;">
<div style="text-align: center;font-weight:600;font-size:26px;padding: 10px 0;border-bottom: solid 3px #eeeeee;">{site_name}</div>
<div style="clear:both"></div>
</div>
<div style="padding: 0 30px 30px 30px;border-bottom: 3px solid #eeeeee;">
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;">You recently changed the password associated with your account.</div>
<div style="padding: 10px 0 50px 0;text-align: center;"><a href="{user_account_link}" style="background: #555555;color: #fff;padding: 12px 30px;text-decoration: none;border-radius: 3px;letter-spacing: 0.3px;">Go to your Account</a></div>
<div style="padding: 15px;background: #eee;border-radius: 3px;text-align: center;">If you did not make this change and believe your account has been compromised, please <a href="mailto:{admin_email}" style="color: #3ba1da;text-decoration: none;">contact us</a> ASAP.</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
+20 -9
View File
@@ -1,28 +1,39 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the "Account Activation Email".
* Whether to send the user an email when his account needs e-mail activation.
*
* This template can be overridden by copying it to {your-theme}/ultimate-member/email/checkmail_email.php
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div style="max-width: 560px;padding: 20px;background: #ffffff;border-radius: 5px;margin:40px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
<div style="color: #444444;font-weight: normal;">
<div style="text-align: center;font-weight:600;font-size:26px;padding: 10px 0;border-bottom: solid 3px #eeeeee;">{site_name}</div>
<div style="clear:both"></div>
</div>
<div style="padding: 0 30px 30px 30px;border-bottom: 3px solid #eeeeee;">
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;">Thank you for signing up!<span style="display: block;">Please click the following link to activate your account.</span></div>
<div style="padding: 10px 0 50px 0;text-align: center;"><a href="{account_activation_link}" style="background: #555555;color: #fff;padding: 12px 30px;text-decoration: none;border-radius: 3px;letter-spacing: 0.3px;">Activate your Account</a></div>
<div style="padding: 15px;background: #eee;border-radius: 3px;text-align: center;">Need help? <a href="mailto:{admin_email}" style="color: #3ba1da;text-decoration: none;">contact us</a> today.</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
+25 -13
View File
@@ -1,26 +1,38 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the "Account Deleted Email".
* Whether to send the user an email when his account is deleted.
*
* This template can be overridden by copying it to {your-theme}/ultimate-member/email/deletion_email.php
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div style="max-width: 560px;padding: 20px;background: #ffffff;border-radius: 5px;margin:40px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
<div style="color: #444444;font-weight: normal;">
<div style="text-align: center;font-weight:600;font-size:26px;padding: 10px 0;border-bottom: solid 3px #eeeeee;">{site_name}</div>
<div style="clear:both"></div>
</div>
<div style="padding: 0 30px 30px 30px;border-bottom: 3px solid #eeeeee;">
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;">Your account has been deleted.<span style="display: block;">All your personal details and any uploads have been permanently removed.</span></div>
<div style="padding: 15px;background: #eee;border-radius: 3px;text-align: center;">If your account has been deleted by accident please <a href="mailto:{admin_email}" style="color: #3ba1da;text-decoration: none">contact us</a>.</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
+25 -14
View File
@@ -1,26 +1,37 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the "Account Deactivated Email".
* Whether to send the user an email when his account is deactivated.
*
* This template can be overridden by copying it to {your-theme}/ultimate-member/email/inactive_email.php
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div style="max-width: 560px;padding: 20px;background: #ffffff;border-radius: 5px;margin:40px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
<div style="color: #444444;font-weight: normal;">
<div style="text-align: center;font-weight:600;font-size:26px;padding: 10px 0;border-bottom: solid 3px #eeeeee;">{site_name}</div>
<div style="clear:both"></div>
</div>
<div style="padding: 0 30px 30px 30px;border-bottom: 3px solid #eeeeee;">
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;">Your account is now deactivated.</div>
<div style="padding: 15px;background: #eee;border-radius: 3px;text-align: center;">If you want your account to be re-activated, please <a href="mailto:{admin_email}" style="color: #3ba1da;text-decoration: none">contact us</a>.</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
+24 -14
View File
@@ -1,25 +1,35 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the "Account Deletion Notification".
* Whether to receive notification when an account is deleted.
*
* This template can be overridden by copying it to {your-theme}/ultimate-member/email/notification_deletion.php
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div style="max-width: 560px;padding: 20px;background: #ffffff;border-radius: 5px;margin:40px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
<div style="color: #444444;font-weight: normal;">
<div style="text-align: center;font-weight:600;font-size:26px;padding: 10px 0;border-bottom: solid 3px #eeeeee;">{site_name}</div>
<div style="clear:both"></div>
</div>
<div style="padding: 0 30px 30px 30px;border-bottom: 3px solid #eeeeee;">
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;">{display_name} has just deleted their {site_name} account.</span></div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
+25 -14
View File
@@ -1,34 +1,45 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the "New User Notification".
* Whether to receive notification when a new user account is created.
*
* This template can be overridden by copying it to {your-theme}/ultimate-member/email/notification_new_user.php
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div style="max-width: 560px;padding: 20px;background: #ffffff;border-radius: 5px;margin:40px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
<div style="color: #444444;font-weight: normal;">
<div style="text-align: center;font-weight:600;font-size:26px;padding: 10px 0;border-bottom: solid 3px #eeeeee;">{site_name}</div>
<div style="clear:both"></div>
</div>
<div style="padding: 0 30px 30px 30px;border-bottom: 3px solid #eeeeee;">
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;">{display_name} has just created an account on {site_name}.</span></div>
<div style="padding: 10px 0 50px 0;text-align: center;">To view their profile click here: <a href="{user_profile_link}" style="color: #3ba1da;text-decoration: none;">{user_profile_link}</a></div>
<div style="padding: 0 0 15px 0;">
<div style="background: #eee;color: #444;padding: 12px 15px; border-radius: 3px;font-weight: bold;font-size: 16px;">Here is the submitted registration form:<br /><br />
{submitted_registration}
</div>
</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
+25 -14
View File
@@ -1,34 +1,45 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the "Account Needs Review Notification".
* Whether to receive notification when an account needs admin review.
*
* This template can be overridden by copying it to {your-theme}/ultimate-member/email/notification_review.php
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div style="max-width: 560px;padding: 20px;background: #ffffff;border-radius: 5px;margin:40px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
<div style="color: #444444;font-weight: normal;">
<div style="text-align: center;font-weight:600;font-size:26px;padding: 10px 0;border-bottom: solid 3px #eeeeee;">{site_name}</div>
<div style="clear:both"></div>
</div>
<div style="padding: 0 30px 30px 30px;border-bottom: 3px solid #eeeeee;">
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;">{display_name} has just applied for membership to {site_name} and is waiting to be reviewed.</span></div>
<div style="padding: 10px 0 50px 0;text-align: center;">To review this member please click the following link: <a href="{user_profile_link}" style="color: #3ba1da;text-decoration: none;">{user_profile_link}</a></div>
<div style="padding: 0 0 15px 0;">
<div style="background: #eee;color: #444;padding: 12px 15px; border-radius: 3px;font-weight: bold;font-size: 16px;">Here is the submitted registration form:<br /><br />
{submitted_registration}
</div>
</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
+24 -13
View File
@@ -1,27 +1,38 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the "Your account is pending review".
* Whether to send the user an email when his account needs admin review.
*
* This template can be overridden by copying it to {your-theme}/ultimate-member/email/pending_email.php
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div style="max-width: 560px;padding: 20px;background: #ffffff;border-radius: 5px;margin:40px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
<div style="color: #444444;font-weight: normal;">
<div style="text-align: center;font-weight:600;font-size:26px;padding: 10px 0;border-bottom: solid 3px #eeeeee;">{site_name}</div>
<div style="clear:both"></div>
</div>
<div style="padding: 0 30px 30px 30px;border-bottom: 3px solid #eeeeee;">
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;">Thank you for signing up!<span style="display: block;">Your account has to be manually reviewed.</span></div>
<div style="padding: 15px;background: #eee;border-radius: 3px;text-align: center;">Please allow us some time to process your request and review your information.</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
+24 -13
View File
@@ -1,26 +1,37 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the "Account Rejected Email".
* Whether to send the user an email when his account is rejected.
*
* This template can be overridden by copying it to {your-theme}/ultimate-member/email/rejected_email.php
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div style="max-width: 560px;padding: 20px;background: #ffffff;border-radius: 5px;margin:40px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
<div style="color: #444444;font-weight: normal;">
<div style="text-align: center;font-weight:600;font-size:26px;padding: 10px 0;border-bottom: solid 3px #eeeeee;">{site_name}</div>
<div style="clear:both"></div>
</div>
<div style="padding: 0 30px 30px 30px;border-bottom: 3px solid #eeeeee;">
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;">Your registration request has been rejected.</div>
<div style="padding: 15px;background: #eee;border-radius: 3px;text-align: center;">Please feel free to apply at a future date or <a href="mailto:{admin_email}" style="color: #3ba1da;text-decoration: none">contact us</a> If you want your information to be reviewed again.</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
+24 -13
View File
@@ -1,28 +1,39 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the "Password Reset Email".
* Whether to send an email when users changed their password.
*
* This template can be overridden by copying it to {your-theme}/ultimate-member/email/resetpw_email.php
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div style="max-width: 560px;padding: 20px;background: #ffffff;border-radius: 5px;margin:40px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
<div style="color: #444444;font-weight: normal;">
<div style="text-align: center;font-weight:600;font-size:26px;padding: 10px 0;border-bottom: solid 3px #eeeeee;">{site_name}</div>
<div style="clear:both"></div>
</div>
<div style="padding: 0 30px 30px 30px;border-bottom: 3px solid #eeeeee;">
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;">We received a request to reset the password for your account. If you made this request, click the link below to change your password:</div>
<div style="padding: 10px 0 50px 0;text-align: center;"><a href="{password_reset_link}" style="background: #555555;color: #fff;padding: 12px 30px;text-decoration: none;border-radius: 3px;letter-spacing: 0.3px;">Reset your password</a></div>
<div style="padding: 15px;background: #eee;border-radius: 3px;text-align: center;">If you didn't make this request, ignore this email or <a href="mailto:{admin_email}" style="color: #3ba1da;text-decoration: none;">report it to us</a>.</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
+21 -10
View File
@@ -1,29 +1,40 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the "Account Welcome Email".
* Whether to send the user an email when his account is automatically approved.
*
* This template can be overridden by copying it to {your-theme}/ultimate-member/email/welcome_email.php
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div style="max-width: 560px;padding: 20px;background: #ffffff;border-radius: 5px;margin:40px auto;font-family: Open Sans,Helvetica,Arial;font-size: 15px;color: #666;">
<div style="color: #444444;font-weight: normal;">
<div style="text-align: center;font-weight:600;font-size:26px;padding: 10px 0;border-bottom: solid 3px #eeeeee;">{site_name}</div>
<div style="clear:both"></div>
</div>
<div style="padding: 0 30px 30px 30px;border-bottom: 3px solid #eeeeee;">
<div style="padding: 30px 0;font-size: 24px;text-align: center;line-height: 40px;">Thank you for signing up!<span style="display: block;">Your account is now active.</span></div>
<div style="padding: 10px 0 50px 0;text-align: center;"><a href="{login_url}" style="background: #555555;color: #fff;padding: 12px 30px;text-decoration: none;border-radius: 3px;letter-spacing: 0.3px;">Login to our site</a></div>
<div style="padding:20px;">If you have any problems, please contact us at <a href="mailto:{admin_email}" style="color: #3ba1da;text-decoration: none">{admin_email}</a></div>
</div>
<div style="color: #999;padding: 20px 30px">
<div style="">Thank you!</div>
<div style="">The <a href="{site_url}" style="color: #3ba1da;text-decoration: none;">{site_name}</a> Team</div>
</div>
</div>
</div>
+16 -2
View File
@@ -1,4 +1,18 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the GDPR checkbox in register form
*
* This template can be overridden by copying it to yourtheme/ultimate-member/gdpr-register.php
*
* Page: "Register"
* Call: function display_option()
*
* @version 2.6.1
*
* @var object $um_content_query
* @var array $args
*/
if ( ! defined( 'ABSPATH' ) ) exit; ?>
<!-- This file should primarily consist of HTML with a little bit of PHP. -->
<div class="um-field um-field-type_terms_conditions" data-key="use_terms_conditions_agreement" style="display:block;padding:0;">
@@ -48,4 +62,4 @@
<div class="um-clear"></div>
</div>
</div>
</div>
+16 -2
View File
@@ -1,7 +1,21 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the login only content, locked message
*
* This template can be overridden by copying it to yourtheme/ultimate-member/login-to-view.php
*
* Call: function um_loggedin()
*
* @version 2.6.1
*
* @var string $lock_text
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div class="um-locked-content">
<div class="um-locked-content-msg"><?php echo htmlspecialchars_decode( $lock_text ); ?></div>
</div>
</div>
+18 -2
View File
@@ -1,4 +1,20 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the login form
*
* This template can be overridden by copying it to yourtheme/ultimate-member/login.php
*
* Page: "Login"
*
* @version 2.6.1
*
* @var string $mode
* @var int $form_id
* @var array $args
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div class="um <?php echo esc_attr( $this->get_class( $mode ) ); ?> um-<?php echo esc_attr( $form_id ); ?>">
@@ -137,4 +153,4 @@
</div>
</div>
</div>
+23 -7
View File
@@ -1,4 +1,20 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the logout
*
* This template can be overridden by copying it to yourtheme/ultimate-member/logout.php
*
* Page: "Logout"
*
* @version 2.6.1
*
* @var string $mode
* @var int $form_id
* @var array $args
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div class="um <?php echo esc_attr( $this->get_class( $mode, $args ) ); ?> um-<?php echo esc_attr( $form_id ); ?>">
@@ -11,9 +27,9 @@
<?php echo get_avatar( um_user( 'ID' ), 80 ) ?>
</a>
</div>
<div><strong><?php echo esc_html( um_user( 'display_name' ) ); ?></strong></div>
<?php
/**
* UM hook
@@ -35,11 +51,11 @@
* ?>
*/
do_action( 'um_logout_after_user_welcome', $args ); ?>
</div>
<ul class="um-misc-ul">
<?php
/**
* UM hook
@@ -61,7 +77,7 @@
* ?>
*/
do_action( 'um_logout_user_links', $args ); ?>
</ul>
</div>
</div>
+24 -1
View File
@@ -1,4 +1,27 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit;
<?php
/**
* Template for the members directory grid
*
* This template can be overridden by copying it to yourtheme/ultimate-member/members-grid.php
*
* Page: "Members"
*
* @version 2.6.1
*
* @var array $args
* @var bool $cover_photos
* @var bool $profile_photo
* @var bool $show_name
* @var bool $show_tagline
* @var bool $show_userinfo
* @var bool $userinfo_animate
* @var bool $show_social
* @var array $reveal_fields
* @var string $no_users
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$unique_hash = substr( md5( $args['form_id'] ), 10, 5 ); ?>
+14 -2
View File
@@ -1,4 +1,16 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the members directory header JS-template
*
* This template can be overridden by copying it to yourtheme/ultimate-member/members-header.php
*
* Page: "Members"
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<script type="text/template" id="tmpl-um-members-header">
@@ -13,4 +25,4 @@
</div>
<div class="um-clear"></div>
</script>
</script>
+22 -1
View File
@@ -1,4 +1,25 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit;
<?php
/**
* Template for the members directory list
*
* This template can be overridden by copying it to yourtheme/ultimate-member/members-list.php
*
* Page: "Members"
*
* @version 2.6.1
*
* @var array $args
* @var bool $cover_photos
* @var bool $profile_photo
* @var bool $show_name
* @var bool $show_tagline
* @var bool $show_userinfo
* @var bool $userinfo_animate
* @var bool $show_social
* @var array $reveal_fields
* @var string $no_users
*/
if ( ! defined( 'ABSPATH' ) ) exit;
$unique_hash = substr( md5( $args['form_id'] ), 10, 5 ); ?>
+14 -2
View File
@@ -1,4 +1,16 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the members directory pagination JS template
*
* This template can be overridden by copying it to yourtheme/ultimate-member/members-pagination.php
*
* Page: "Members"
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<script type="text/template" id="tmpl-um-members-pagination">
@@ -24,4 +36,4 @@
<span class="pagi pagi-arrow <# if ( data.pagination.current_page == data.pagination.total_pages ) { #>disabled<# } #>" data-page="last" aria-label="<?php esc_attr_e( 'Last page', 'ultimate-member' ); ?>"><i class="um-faicon-angle-double-right"></i></span>
</div>
<# } #>
</script>
</script>
+15 -1
View File
@@ -1,4 +1,18 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit;
<?php
/**
* Template for the members directory
*
* This template can be overridden by copying it to yourtheme/ultimate-member/members.php
*
* Page: "Members"
*
* @version 2.6.1
*
* @var array $args
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
global $post;
+17 -2
View File
@@ -1,4 +1,19 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the message after registration process
*
* This template can be overridden by copying it to yourtheme/ultimate-member/message.php
*
* Call: function parse_shortcode_args()
*
* @version 2.6.1
*
* @var string $mode
* @var int $form_id
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div class="um <?php echo esc_attr( $this->get_class( $mode ) ); ?> um-<?php echo esc_attr( $form_id ); ?>">
@@ -8,4 +23,4 @@
printf( __( '%s', 'ultimate-member' ), $this->custom_message ); ?>
</div>
</div>
</div>
+12 -2
View File
@@ -1,3 +1,13 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the modal form
*
* This template can be overridden by copying it to yourtheme/ultimate-member/modal/um_upload_single.php
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div id="um_upload_single" style="display:none"></div>
<div id="um_upload_single" style="display:none"></div>
+12 -2
View File
@@ -1,4 +1,14 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the modal photo
*
* This template can be overridden by copying it to yourtheme/ultimate-member/modal/um_view_photo.php
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div id="um_view_photo" style="display:none">
@@ -11,4 +21,4 @@
<div class="um-modal-photo"></div>
</div>
</div>
</div>
+18 -1
View File
@@ -1,4 +1,21 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the password change
*
* This template can be overridden by copying it to yourtheme/ultimate-member/password-change.php
*
* Call: function ultimatemember_password()
*
* @version 2.6.1
*
* @var string $mode
* @var string $rp_key
* @var int $form_id
* @var array $args
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div class="um <?php echo esc_attr( $this->get_class( $mode ) ); ?> um-<?php echo esc_attr( $form_id ); ?>">
+15 -1
View File
@@ -1,4 +1,18 @@
<?php if ( ! defined( 'ABSPATH' ) ) {
<?php
/**
* Template for the password reset
*
* This template can be overridden by copying it to yourtheme/ultimate-member/password-reset.php
*
* Call: function ultimatemember_password()
*
* @version 2.6.1
*
* @var string $mode
* @var int $form_id
* @var array $args
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
+17 -1
View File
@@ -1,4 +1,20 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the profile page
*
* This template can be overridden by copying it to yourtheme/ultimate-member/profile.php
*
* Page: "Profile"
*
* @version 2.6.1
*
* @var string $mode
* @var int $form_id
* @var array $args
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div class="um <?php echo esc_attr( $this->get_class( $mode ) ); ?> um-<?php echo esc_attr( $form_id ); ?> um-role-<?php echo esc_attr( um_user( 'role' ) ); ?> ">
+16 -2
View File
@@ -1,4 +1,18 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit;
<?php
/**
* Template for the profile single comments
*
* This template can be overridden by copying it to yourtheme/ultimate-member/profile/comments-single.php
*
* Page: "Profile"
*
* @version 2.6.1
*
* @var object $comment
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
$comment_title = apply_filters( 'um_user_profile_comment_title', get_the_title( $comment->comment_post_ID ), $comment );
$link = apply_filters( 'um_user_profile_comment_url', get_permalink( $comment->comment_post_ID ), $comment ); ?>
@@ -13,4 +27,4 @@ $link = apply_filters( 'um_user_profile_comment_url', get_permalink( $comment->c
<div class="um-item-meta">
<span><?php printf( __( 'On <a href="%1$s">%2$s</a>','ultimate-member' ), $link, $comment_title ); ?></span>
</div>
</div>
</div>
+18 -2
View File
@@ -1,4 +1,20 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit;
<?php
/**
* Template for the profile comments
*
* This template can be overridden by copying it to yourtheme/ultimate-member/profile/comments.php
*
* Page: "Profile"
* Call: function add_comments(), function load_comments()
*
* @version 2.6.1
*
* @var int $count_comments
* @var object $comments
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
@@ -41,4 +57,4 @@ if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
</div>
<?php }
}
}
+15 -1
View File
@@ -1,4 +1,18 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the profile single post
*
* This template can be overridden by copying it to yourtheme/ultimate-member/profile/posts-single.php
*
* Page: "Profile"
*
* @version 2.6.1
*
* @var object $post
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div class="um-item">
<div class="um-item-link">
+17 -2
View File
@@ -1,4 +1,19 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit;
<?php
/**
* Template for the profile posts
*
* This template can be overridden by copying it to yourtheme/ultimate-member/profile/posts.php
*
* Page: "Profile"
*
* @version 2.6.1
*
* @var object $posts
* @var int $count_posts
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
//Only for AJAX loading posts
@@ -40,4 +55,4 @@ if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
</div>
<?php }
}
}
+17 -1
View File
@@ -1,4 +1,20 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit;
<?php
/**
* Template for the register page
*
* This template can be overridden by copying it to yourtheme/ultimate-member/register.php
*
* Page: "Register"
*
* @version 2.6.1
*
* @var string $mode
* @var int $form_id
* @var array $args
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! is_user_logged_in() ) {
um_reset_user();
+9
View File
@@ -1,4 +1,13 @@
<?php
/**
* Template for the blog restricted message
*
* This template can be overridden by copying it to yourtheme/ultimate-member/restricted-blog.php
*
* Call: function blog_message()
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
+14 -2
View File
@@ -1,4 +1,16 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit;
<?php
/**
* Template for the taxonomy restricted message
*
* This template can be overridden by copying it to yourtheme/ultimate-member/restricted-taxonomy.php
*
* Call: function taxonomy_message()
*
* @version 2.6.1
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
get_header(); ?>
@@ -51,4 +63,4 @@ get_header(); ?>
<?php get_sidebar(); ?>
</div><!-- .wrap -->
<?php get_footer();
<?php get_footer();
+18 -2
View File
@@ -1,4 +1,20 @@
<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<?php
/**
* Template for the search form
*
* This template can be overridden by copying it to yourtheme/ultimate-member/searchform.php
*
* Call: function ultimatemember_searchform()
*
* @version 2.6.1
*
* @var string $members_page
* @var string $search_value
* @var array $query
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div class="search-form um-search-form" data-members_page="<?php echo esc_url( $members_page ); ?>">
<?php foreach ( array_keys( $query ) as $key ) { ?>
@@ -9,4 +25,4 @@
<input type="search" class="um-search-field search-field" placeholder="<?php echo esc_attr_x( 'Search &hellip;', 'placeholder' ); ?>" value="<?php echo esc_attr( $search_value ); ?>" name="search" title="<?php echo esc_attr_x( 'Search for:', 'label' ); ?>" />
<a href="javascript:void(0);" id="um-search-button" class="um-search-icon um-faicon um-faicon-search"></a>
</div>
</div>
</div>