</div> <? } // end function print_paging print_paging(); ?> <?if ($CONF['marked_records_size']):?> <form action="<?php echo $MODULE->url('marked'); ?> " method="POST" class="results_form" name="mark_records"> <? endif ?> <ol class="results" id="results"> <? $highlight = ($QUERY->page == 1) ? @$QUERY->info['highlighted_record'] : NULL; ?> <?php echo format_record_list($QUERY->results, $result_urls, -1, FALSE, $highlight); ?> </ol> <div class="results-actions"> <?if ($CONF['marked_records_size']):?> <input type="hidden" name="all-marked-url" value="<?php echo $app_menu['marked']['url']; ?> " /> <input type="hidden" name="results" value="<?php echo implode(';', $result_urls); ?> " /> <input type="hidden" name="redirect_url" value="<?php echo $QUERY->url();
function format_record_list_titles($records, $count = -1) { $dummy_ref = NULL; // O PHP how I love thee... return format_record_list($records, $dummy_ref, $count, TRUE); }
<SCRIPT TYPE="text/javascript"> // reload the page with the selected export format specified function export_format(format) { url = '<?php echo $MODULE->url('marked'); ?> '; url += '?'; if (format != '') window.location = url + 'format=' + format; } </SCRIPT> <ul class="results"> <?php echo format_record_list($MARKED_RECORDS->get_all()); ?> </ul> <input type="hidden" name="redirect_url" value="<?php echo $MODULE->url('history'); ?> /marked" /> <input type="<?php echo $CONF['submit_forms_with_script'] ? 'hidden' : 'submit'; ?> " name="update" value="Mark Selected Records" /> <input type="submit" name="unmark_all" value="Unmark All Records" onclick="javascript:return confirm('Are you sure you want to unmark all records?')" /> </form> <? else: ?> <p>No marked records</p> <? endif ?>