예제 #1
0
_e('Unverified', 'bebop');
?>
</a></div>
<div class="button_container"><a class="button min_width_100" href="?type=verified"><?php 
_e('Verified', 'bebop');
?>
</a></div>
<div class="button_container"><a class="button min_width_100" href="?type=deleted"><?php 
_e('Deleted', 'bebop');
?>
</a></div>
<div class="clear_both"></div>
<?php 
$type = bebop_get_oer_type();
if (!empty($type)) {
    $number_of_rows = bebop_tables::count_content_rows($bp->loggedin_user->id, $type);
    $page_vars = bebop_pagination_vars(30);
    $bebop_pagination = bebop_pagination($number_of_rows, $page_vars['per_page']);
    $oers = bebop_get_oers($type, $page_vars['page_number'], $page_vars['per_page']);
    if (count($oers) > 0) {
        echo '<form id="oer_table" class="bebop_user_form" method="post">';
        echo '<h5>' . ucfirst($type) . ' ' . __('Content', 'bebop') . '</h5>';
        echo $bebop_pagination;
        echo '<div class="button_container button_right"><a class="button" rel="#oer_table" href="#select_all">' . __('Select All', 'bebop') . '</a></div>';
        echo '<div class="button_container button_right"><a class="button" rel="#oer_table" href="#select_none">' . __('Select None', 'bebop') . '</a></div>';
        echo '<div class="clear_both"></div>';
        echo '<table class="bebop_user_table">
			<tr class="nodata">
				<th>' . __('Type', 'bebop') . '</th>
				<th>' . __('Imported', 'bebop') . '</th>
				<th>' . __('Published', 'bebop') . '</th>