mirror of
https://github.com/KevinMidboe/rohnenedre.git
synced 2025-12-08 04:19:03 +00:00
Initial commit. State 04.2021.
This commit is contained in:
25
wp-content/plugins/wpclef/templates/user_settings.tpl.php
Normal file
25
wp-content/plugins/wpclef/templates/user_settings.tpl.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<div id="connect-clef-account" class="wp-core-ui">
|
||||
<?php include CLEF_TEMPLATE_PATH . 'admin/tutorial.tpl.php'; ?>
|
||||
|
||||
<?php if ($connect_error) { ?>
|
||||
<div class="error">
|
||||
<p><?php echo $connect_error->get_error_message() ?></p>
|
||||
</div>
|
||||
<?php }?>
|
||||
|
||||
<div class="settings-section disconnect-clef">
|
||||
<h3><?php _e("Disconnect your Clef account", "clef"); ?></h3>
|
||||
<p><?php _e("You currently have a Clef account connected to this WordPress user. To disconnect this Clef account, click the button below.", "clef"); ?></p>
|
||||
<p class='bold'><?php _e("Note: if passwords are disabled for all users and you disconnect your Clef account, you won't be able to log in.", "clef"); ?></p>
|
||||
<a href="#" id="disconnect" class="button button-primary button-hero"><?php _e("Disconnect your Clef account", "clef"); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="<?php echo $options['clefJSURL'] ?>" type="text/javascript"></script>
|
||||
<script>
|
||||
jQuery(document).ready(function() {
|
||||
var options = <?php echo json_encode($options); ?>;
|
||||
var connect = new ConnectView(_.extend(options, { slideFilterSelector: '.connect' }));
|
||||
connect.show()
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user