Abstraction of a admin functions, new custom options page for general options, improved style.

git-svn-id: http://svn.automattic.com/wordpress/trunk@869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt
2004-02-13 09:59:47 +00:00
parent 725ec5f2e0
commit 0a38396833
8 changed files with 152 additions and 27 deletions

View File

@@ -1,5 +1,13 @@
<?php
function selected($selected, $current) {
if ($selected == $current) echo ' selected="selected"';
}
function checked($checked, $current) {
if ($checked == $current) echo ' checked="checked"';
}
function get_nested_categories($default = 0) {
global $post, $tablecategories, $tablepost2cat, $mode, $wpdb;