\n";
$output .= "Name:
\n";
$output .= "
\n";
$output .= "A unique name for this category like 'announcement', 'article', 'column', 'review', etc.
\n";
$output .= "Content type:
\n";
foreach ($types as $key=>$value) $options1 .= "";
$output .= "
\n";
$output .= "The content type to bind or associate this category with.
\n";
$output .= "Comment:
\n";
foreach (node_comment_status() as $key=>$value) $options2 .= "";
$output .= "
\n";
$output .= "By default, allow or dissallow users to post comments in this category.
\n";
$output .= "Promote:
\n";
foreach (node_promote_status() as $key=>$value) $options3 .= "";
$output .= "
\n";
$output .= "By default, promote new submissions in this category to the front page.
\n";
$output .= "Submission:
\n";
foreach (node_submission_status() as $key=>$value) $options4 .= "";
$output .= "
\n";
foreach ($threshold_post as $value) $options5 .= "";
$output .= "\n";
foreach ($threshold_dump as $value) $options6 .= "";
$output .= "\n";
foreach ($threshold_expire as $value) $options7 .= "";
$output .= "
\n";
$output .= "What to do with new submissions in this category?
Specify the post, dump and expiration threshold for moderation purpose.
\n"; if ($edit[cid]) { $output .= "\n"; $output .= "\n"; $output .= "\n"; } else { $output .= "\n"; } $output .= "\n"; return $output; } function category_overview() { $result = db_query("SELECT * FROM category ORDER BY name"); $output .= "
name | type | comment | promote | submissions | operations |
---|---|---|---|---|---|
". check_output($category->name) ." | ". check_output($category->type) ." | ". node_comment_status($category->comment) ." | ". node_promote_status($category->promote) ." | ". node_submission_status($category->submission) ."". ($category->submission ? " post: $category->post, dump: $category->dump, expire: $category->expire" : "") ." | cid\">edit category |