Ejemplo n.º 1
0
/**
 * renders the pruning form
 */
function items()
{
    echo "" . "<h2 class=\"trigger\">" . __('Items:') . "</h2>\n" . "<div id=\"admin_items\">\n" . "<form method=\"get\" action=\"" . $_SERVER['PHP_SELF'] . "\">\n" . "<fieldset class=\"prune\">\n" . "<legend>" . __('Pruning') . "</legend>\n" . "<p><input type=\"hidden\" name=\"" . CST_ADMIN_DOMAIN . "\" value=\"" . CST_ADMIN_DOMAIN_ITEM . "\"/>\n" . "<label for=\"prune_older\">" . __('Delete items older than ') . "</label>\n" . "<input type=\"text\" size=\"5\" name=\"prune_older\" id=\"prune_older\" value=\"\" />\n" . "<select name=\"prune_period\" id=\"prune_period\">\n" . "<option>" . __('days') . "</option>\n" . "<option>" . __('months') . "</option>\n" . "<option>" . __('years') . "</option>\n" . "</select></p>\n" . "<p><label for=\"prune_channel\">" . __('...from these feeds') . ":</label>\n" . rss_toolkit_channels_combo("prune_channel", ALL_CHANNELS_ID, 0, true) . "\n" . "</p>\n" . "<p><label for=\"prune_include_sticky\">" . __('Delete Sticky items too: ') . "</label>\n" . "<input type=\"checkbox\" id=\"prune_include_sticky\" name=\"prune_include_sticky\" value=\"1\"/></p>\n" . "<p><label for=\"prune_include_flag\">" . __('Delete Flag items too: ') . "</label>\n" . "<input type=\"checkbox\" id=\"prune_include_flag\" name=\"prune_include_flag\" value=\"1\"/></p>\n" . "<p><label for=\"prune_include_unread\">" . __('Delete Unread items too: ') . "</label>\n" . "<input type=\"checkbox\" id=\"prune_include_unread\" name=\"prune_include_unread\" value=\"1\"/></p>\n" . "<p><label for=\"prune_exclude_tags\">" . __('Do not delete items tagged... ') . "</label>\n" . "<input type=\"text\" id=\"prune_exclude_tags\" name=\"prune_exclude_tags\" value=\"\"/></p>\n" . "<p style=\"font-size:small; padding:0;margin:0\">" . __('(Enter <strong>*</strong> to keep all tagged items)') . "</p>\n" . "<p class=\"cntr\"><input type=\"submit\" name=\"action\" value=\"" . __('Delete') . "\"/></p>\n" . "</fieldset>\n" . "</form>\n" . "</div>\n";
}
Ejemplo n.º 2
0
		<label for="qry_match_both"><?php 
echo __('Unread & Read');
?>
</label>
	</p>

	<p>
		<label for="<?php 
echo QUERY_CHANNEL;
?>
"><?php 
echo __('Feed:');
?>
</label>
		<?php 
echo rss_toolkit_channels_combo(QUERY_CHANNEL, ALL_CHANNELS_ID, array_key_exists(QUERY_CHANNEL, $_REQUEST) ? $_REQUEST[QUERY_CHANNEL] : 0);
?>
	</p>

	<p>
		<input type="radio" id="qry_order_date" name="<?php 
echo QUERY_ORDER_BY;
?>
" value="<?php 
echo QUERY_ORDER_BY_DATE;
?>
" <?php 
echo rss_search_order_date_checked();
?>
 />
		<label for="qry_order_date"><?php