Number of queues: =$count?>. toPlainText($url_generator) . "\n"); } } function template_queue_list_html(UrlGenerator $url_generator, array $queues) { html_default(apply("render_queues", $url_generator, $queues)); } function render_queues($url_generator, $queues) { $count = count($queues); ?>
Number of queues: =$count?>.
toHtml($url_generator, FALSE) . "\n"); } } // Queue function template_queue_html(UrlGenerator $url_generator, Queue $queue) { html_default(apply("render_queue_html", $url_generator, $queue)); } function render_queue_html(UrlGenerator $url_generator, Queue $queue) { echo url_to_a($url_generator->queues(), "All queues"); echo $queue->toHtml($url_generator, TRUE); } function template_queue_text(UrlGenerator $url_generator, Queue $queue) { echo($queue->toPlainText($url_generator)); } // Item List function template_item_list_html(UrlGenerator $url_generator, $queue, array $items) { html_default(apply("render_item_list_html", $url_generator, $queue, $items)); } function render_item_list_html(UrlGenerator $url_generator, $queue, array $items) { $queue_url = url_to_a($url_generator->queue($queue)); $html = "