PluginProbe
Front End PM / 7.3
Front End PM v7.3
trunk 1.1 1.2 1.3 10.1.1 10.1.2 10.1.3 10.1.4 10.1.5 10.1.6 10.1.7 10.2.1 11.1.1 11.2.1 11.2.2 11.2.3 11.3.1 11.3.3 11.3.4 11.3.5 11.3.6 11.3.7 11.3.8 11.3.9 11.4.1 All 58 releases
front-end-pm / templates / header.php

header.php in Front End PM 7.3, at templates/header.php

46 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 if ( ! defined( 'ABSPATH' ) ) {
4 exit; // Exit if accessed directly.
5 }
6
7 if ( $max_total && (( $max_total * 90 )/ 100 ) <= $total_count ) {
8 $class = ' class="fep-font-red"';
9 } else {
10 $class = '';
11 }
12
13 ?>
14
15 <div id="fep-wrapper">
16 <div id="fep-header" class="fep-table">
17 <div>
18 <div>
19 <?php echo get_avatar($user_ID, 64); ?>
20 </div>
21 <div>
22 <div>
23 <strong><?php _e('Welcome', 'front-end-pm');?>: <?php echo fep_get_userdata( $user_ID, 'display_name', 'id' ); ?></strong>
24 </div>
25 <div><?php _e('You have', 'front-end-pm');
26 ?> <span class="fep_unread_message_count_text"><?php printf(_n('%s message', '%s messages', $unread_count, 'front-end-pm'), number_format_i18n($unread_count) );
27 ?></span> <?php
28 _e('and', 'front-end-pm');
29 ?> <span class="fep_unread_announcement_count_text"><?php
30 printf(_n('%s announcement', '%s announcements', $unread_ann_count, 'front-end-pm'), number_format_i18n($unread_ann_count) );
31 ?></span> <?php _e('unread', 'front-end-pm'); ?>
32 </div>
33 <div<?php echo $class; ?>><?php
34 _e('Message box size', 'front-end-pm');?>: <?php
35 printf(__('%1$s of %2$s', 'front-end-pm'),
36 '<span class="fep_total_message_count">' . number_format_i18n($total_count) . '</span>',
37 $max_text ); ?>
38 </div>
39 </div>
40
41 <?php do_action('fep_header_note', $user_ID); ?>
42
43 </div>
44 </div>
45
46