* ALONE BASIS."
*/
-
require_once '../env.inc.php';
require_once $gfcommon.'include/pre.php';
require_once $gfwww.'include/trove.php';
// store this as a var so it can be printed later as well
$html_limit = '';
if ($querytotalcount == $TROVE_HARDQUERYLIMIT) {
- $html_limit .= sprintf(_('More than <strong>%1$s</strong> projects in result set.'), $querytotalcount);
+ $html_limit .= sprintf(_('More than <strong>%d</strong> projects in result set.'), $querytotalcount);
}
-$html_limit .= sprintf(_('<strong>%1$s</strong> projects in result set.'), $querytotalcount);
+$html_limit .= sprintf(_('<strong>%d</strong> projects in result set.'), $querytotalcount);
$html_limit .= ' ';
// only display pages stuff if there is more to display
if ($querytotalcount > $TROVE_BROWSELIMIT) {
- $html_limit .= sprintf(_(' Displaying %1$s per page. Projects sorted by alphabetical order.'), $TROVE_BROWSELIMIT).'<br/>';
-
- // display all the numbers
- for ($i=1;$i<=ceil($querytotalcount/$TROVE_BROWSELIMIT);$i++) {
- $html_limit .= ' ';
- if ($page != $i) {
- $html_limit .= '<a href="'.$_SERVER['PHP_SELF'];
- $html_limit .= '?page='.$i;
- $html_limit .= '">';
- } else $html_limit .= '<strong>';
- $html_limit .= '<'.$i.'>';
- if ($page != $i) {
- $html_limit .= '</a>';
- } else $html_limit .= '</strong>';
- $html_limit .= ' ';
- }
+ $html_limit .= html_trove_limit_navigation_box($_SERVER['PHP_SELF'], $querytotalcount, $TROVE_BROWSELIMIT, $page);
}
print $html_limit."<hr />\n";
print '</td>';
print '<td class="bottom align-right"><br />'._('Register Date:').' <strong>'.date(_('Y-m-d H:i'),$row_grp['register_time']).'</strong></td>';
print '</tr>';
- print '</table>';
+ print '</table>';
print '</div>'; // /doap:Project
print '<hr />';
} // end if for row and range chacking