Esempio n. 1
0
function mobileview_comment_bubble_size()
{
    if (mobileview_get_comment_count() > 9 && mobileview_get_comment_count() < 99) {
        echo 'double';
    } else {
        if (mobileview_get_comment_count() > 99) {
            echo 'triple';
        }
    }
}
Esempio n. 2
0
					</div>   
				<?php 
    }
    ?>
			</div>

			    		<!-- text for 'back and 'next' is hidden via CSS, and replaced with arrow images -->
			<div class="post-navigation nav-top">
                <div class="post-nav-back">
                    <?php 
    hipnews_get_previous_post_link();
    ?>
				</div>
				<div class="post-nav-middle">
					<?php 
    if (mobileview_get_comment_count() > 0) {
        echo '<a href="javascript: return false" class="middle-link no-ajax">' . __("Skip to Responses", "mobileviewlang") . '</a>';
    }
    ?>
				</div>
				<div class="post-nav-fwd">
					<?php 
    hipnews_get_next_post_link();
    ?>
				</div>
			</div>

        </div><!-- ./entry-content -->

		<?php 
}
Esempio n. 3
0
function mobileview_the_comment_count()
{
    echo mobileview_get_comment_count();
}