Subdomain Posts
None | 1 hour ago
None | 1 hour ago
None | 4 hours ago
None | 4 hours ago
None | 9 hours ago
None | 9 hours ago
None | 10 hours ago
None | 12 hours ago
None | 15 hours ago
None | 15 hours ago
Recent Posts
None | 14 sec ago
SQL | 1 min ago
None | 1 min ago
PHP | 1 min ago
PHP | 1 min ago
PHP | 2 min ago
PHP | 2 min ago
None | 3 min ago
OCaml | 3 min ago
None | 4 min ago
Sitereport
Find cool info about any domain on the internet?
visit sitereport
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
By ntom on the 11th of Feb 2008 11:42:09 AM
Download |
Raw |
Embed |
Report
function _cat_row( $category, $level, $name_override = false ) {
global $class;
$pad = str_repeat( '— ', $level );
if ( current_user_can( 'manage_categories' ) ) {
$edit = "<a href="http://www.theatons.com/blog/wp-admin/categories.php?action=edit&cat_ID=$category-%3Eterm_id" class="edit">".__( 'Edit' )."</a>
";
$default_cat_id = (int) get_option( 'default_category' );
$default_link_cat_id = (int) get_option( 'default_link_category' );
if ( $category->term_id != $default_cat_id )
$edit .= "
<a href="http://www.theatons.com/blog/wp-admin/%22%20.%20wp_nonce_url%28%20%22categories.php?action=delete&cat_ID=$category-%3Eterm_id%22,">term_id ) . "' onclick=\"return deleteSomething( 'cat', $category->term_id, '" . js_escape(sprintf( __("You are about to delete the category '%s'.nAll posts that were only assigned to this category will be assigned to the '%s' category.nAll links that were only assigned to this category will be assigned to the '%s' category.n'OK' to delete, 'Cancel' to stop." ), $category->name, get_catname( $default_cat_id ), get_catname( $default_link_cat_id ) )) . "' );\" class='delete'>".__( 'Delete' )."</a>";
else
$edit .= "
".__( "Default" );
} else
$edit = '';
$class = ( ( defined( 'DOING_AJAX' ) && DOING_AJAX ) || " class='alternate'" == $class ) ? '' : " class='alternate'";
$category->count = number_format_i18n( $category->count );
$posts_count = ( $category->count > 0 ) ? "<a href="http://www.theatons.com/blog/wp-admin/edit.php?cat=$category-%3Eterm_id">$category->count</a>" : $category->count;
$output = "
$category->term_id
" . ( $name_override ? $name_override : $pad . ' ' . $category->name ) . "
$category->description
$posts_count
$edit
nt
n";
return apply_filters('cat_row', $output);
}
Submit a correction or amendment below.
[ previous version ] | [ difference ] | Make A New Post