</a>
	</div>
	<?php 
if (ap_has_activities()) {
    ?>
		<div class="ap-notification-items clearfix">
			<div class="ap-notification-scroll scrollbar-dynamic">
				<?php 
    while (ap_activities()) {
        ap_the_activity();
        ?>
					<div class="ap-notification-<?php 
        ap_activity_the_id();
        ?>
 ap-notification-item clearfix<?php 
        echo ap_notification_is_unread() ? ' unread' : '';
        ?>
">
						
						<div class="ap-avatar">
							<a href="<?php 
        echo ap_user_link(ap_activity_user_id());
        ?>
"><?php 
        echo get_avatar(ap_activity_user_id(), 35);
        ?>
</a>
						</div>
						<div class="no-overflow">
							<a href="<?php 
        ap_activity_the_permalink();
Exemple #2
0
						</div>
						
						<!-- <a href="<?php 
        ap_activity_the_permalink();
        ?>
" class="ap-notification-icon <?php 
        ap_activity_the_type();
        ?>
"><?php 
        ap_activity_the_icon();
        ?>
</a> -->

						<div class="ap-notification-btns ap-pull-right">
							<?php 
        if (ap_notification_is_unread()) {
            ?>
								<a class="ap-btn ap-btn-markread ap-tip <?php 
            echo ap_icon('check');
            ?>
" href="#" data-action="ap_markread_notification" data-query="<?php 
            echo 'id=' . ap_activity_id() . '&ap_ajax_action=markread_notification&__nonce=' . wp_create_nonce('ap_markread_notification_' . ap_activity_id());
            ?>
" title="<?php 
            _e('Mark as read', 'ap');
            ?>
"></a>
							<?php 
        }
        ?>
							<a class="ap-btn ap-btn-delete ap-tip" href="#" data-action="ap_delete_notification" data-query="<?php