Update dashboard

This commit is contained in:
Hoang Huu 2019-09-25 09:03:55 +07:00
parent 27053b1db3
commit ca991c6447

View File

@ -2,14 +2,15 @@
$form = OpalEstate()->html->render_form( $fields ); $form = OpalEstate()->html->render_form( $fields );
$id = 'message-reply'; $id = 'message-reply';
?> ?>
<div class="opalestate-nav-bc opal-row"> <div class="opalestate-admin-box">
<div class="opalestate-nav-bc opal-row">
<div class="col-lg-8"><a href="<?php echo opalestate_get_user_tab_uri( 'messages' ); ?>"><?php esc_html_e( 'Inbox', 'opalestate-pro' );?></a> / <div class="col-lg-8"><a href="<?php echo opalestate_get_user_tab_uri( 'messages' ); ?>"><?php esc_html_e( 'Inbox', 'opalestate-pro' );?></a> /
<?php echo esc_html( $message->subject ); ?> <?php echo esc_html( $message->subject ); ?>
</div> </div>
</div> </div>
<div class="opalestate-read-message"> <div class="opalestate-read-message">
<div class="message-body"> <div class="message-body">
<div class="message-avatar"> <div class="message-avatar">
@ -35,8 +36,8 @@ $id = 'message-reply';
<?php endforeach; ?> <?php endforeach; ?>
<?php endif; ?> <?php endif; ?>
</div> </div>
<div class="opalestate-message-reply"> <div class="opalestate-message-reply">
<form class="opalestate-form-reply" method="post" > <form class="opalestate-form-reply" method="post" >
<?php echo $form; ?> <?php echo $form; ?>
<?php wp_nonce_field( $id, 'message_action' ); ?> <?php wp_nonce_field( $id, 'message_action' ); ?>
@ -45,6 +46,7 @@ $id = 'message-reply';
<button type="submit"><?php esc_html_e( 'Reply','opalestate-pro'); ?></button> <button type="submit"><?php esc_html_e( 'Reply','opalestate-pro'); ?></button>
</div> </div>
</form> </form>
</div>
<?php endif; ?>
</div> </div>
<?php endif; ?>