$output.=form_select("Items per block","import_block_limit",variable_get("import_block_limit",15),$number,"The maximum number of news items displayed in one block.");
$output.=form_select("Items per block","import_block_limit",variable_get("import_block_limit",15),$number,"The maximum number of news items displayed in one block.");
$output.=form_select("Items per page","import_page_limit",variable_get("import_page_limit",75),$number,"The maximum number of news items displayed on one page.");
$output.=form_select("Items per page","import_page_limit",variable_get("import_page_limit",75),$number,"The maximum number of news items displayed on one page.");
$output.=form_select("Items per block","import_block_limit",variable_get("import_block_limit",15),$number,"The maximum number of news items displayed in one block.");
$output.=form_select("Items per block","import_block_limit",variable_get("import_block_limit",15),$number,"The maximum number of news items displayed in one block.");
$output.=form_select("Items per page","import_page_limit",variable_get("import_page_limit",75),$number,"The maximum number of news items displayed on one page.");
$output.=form_select("Items per page","import_page_limit",variable_get("import_page_limit",75),$number,"The maximum number of news items displayed on one page.");
$output.=form_select(t("First day of week"),"default_firstday",variable_get("default_firstday",0),array(0=>t("Sunday"),1=>t("Monday"),2=>t("Tuesday"),3=>t("Wednesday"),4=>t("Thursday"),5=>t("Friday"),6=>t("Saturday")),t("The first day of the week. By changing this value you choose how the calendar block is rendered."));
$output.=form_select(t("First day of week"),"default_firstday",variable_get("default_firstday",0),array(0=>t("Sunday"),1=>t("Monday"),2=>t("Tuesday"),3=>t("Wednesday"),4=>t("Thursday"),5=>t("Friday"),6=>t("Saturday")),t("The first day of the week. By changing this value you choose how the calendar block is rendered."));
$output.=form_select(t("First day of week"),"default_firstday",variable_get("default_firstday",0),array(0=>t("Sunday"),1=>t("Monday"),2=>t("Tuesday"),3=>t("Wednesday"),4=>t("Thursday"),5=>t("Friday"),6=>t("Saturday")),t("The first day of the week. By changing this value you choose how the calendar block is rendered."));
$output.=form_select(t("First day of week"),"default_firstday",variable_get("default_firstday",0),array(0=>t("Sunday"),1=>t("Monday"),2=>t("Tuesday"),3=>t("Wednesday"),4=>t("Thursday"),5=>t("Friday"),6=>t("Saturday")),t("The first day of the week. By changing this value you choose how the calendar block is rendered."));
$output=form_textarea(t("Explanation or submission guidelines"),"blog_help",variable_get("blog_help",""),55,4,t("This text is displayed at the top of the blog submission form. It's useful for helping or instructing your users."));
$output=form_textarea(t("Explanation or submission guidelines"),"blog_help",variable_get("blog_help",""),55,4,t("This text is displayed at the top of the blog submission form. It's useful for helping or instructing your users."));
$words=t("words");
$words=t("words");
$output.=form_select(t("Minimum number of words in a blog entry"),"minimum_blog_size",variable_get("minimum_blog_size",0),array(0=>"0 $words",10=>"10 $words",25=>"25 $words",50=>"50 $words",75=>"75 $words",100=>"100 $words",125=>"125 $words",150=>"150 $words",175=>"175 $words",200=>"200 $words"),t("The minimum number of words a personal blog entry should contain. This is useful to rule out submissions that do not meet the site's standards, such as short test posts."));
$output.=form_select(t("Minimum number of words in a blog entry"),"minimum_blog_size",variable_get("minimum_blog_size",0),array(0=>"0 $words",10=>"10 $words",25=>"25 $words",50=>"50 $words",75=>"75 $words",100=>"100 $words",125=>"125 $words",150=>"150 $words",175=>"175 $words",200=>"200 $words"),t("The minimum number of words a personal blog entry should contain. This is useful to rule out submissions that do not meet the site's standards, such as short test posts."));
...
@@ -185,7 +185,7 @@ function blog_form(&$node, &$help, &$error) {
...
@@ -185,7 +185,7 @@ function blog_form(&$node, &$help, &$error) {
$output=form_textarea(t("Explanation or submission guidelines"),"blog_help",variable_get("blog_help",""),55,4,t("This text is displayed at the top of the blog submission form. It's useful for helping or instructing your users."));
$output=form_textarea(t("Explanation or submission guidelines"),"blog_help",variable_get("blog_help",""),55,4,t("This text is displayed at the top of the blog submission form. It's useful for helping or instructing your users."));
$words=t("words");
$words=t("words");
$output.=form_select(t("Minimum number of words in a blog entry"),"minimum_blog_size",variable_get("minimum_blog_size",0),array(0=>"0 $words",10=>"10 $words",25=>"25 $words",50=>"50 $words",75=>"75 $words",100=>"100 $words",125=>"125 $words",150=>"150 $words",175=>"175 $words",200=>"200 $words"),t("The minimum number of words a personal blog entry should contain. This is useful to rule out submissions that do not meet the site's standards, such as short test posts."));
$output.=form_select(t("Minimum number of words in a blog entry"),"minimum_blog_size",variable_get("minimum_blog_size",0),array(0=>"0 $words",10=>"10 $words",25=>"25 $words",50=>"50 $words",75=>"75 $words",100=>"100 $words",125=>"125 $words",150=>"150 $words",175=>"175 $words",200=>"200 $words"),t("The minimum number of words a personal blog entry should contain. This is useful to rule out submissions that do not meet the site's standards, such as short test posts."));
...
@@ -185,7 +185,7 @@ function blog_form(&$node, &$help, &$error) {
...
@@ -185,7 +185,7 @@ function blog_form(&$node, &$help, &$error) {
@@ -20,7 +20,7 @@ function comment_system($field) {
...
@@ -20,7 +20,7 @@ function comment_system($field) {
return$system[$field];
return$system[$field];
}
}
functioncomment_conf_options(){
functioncomment_settings(){
global$cmodes,$corder;
global$cmodes,$corder;
$output.=form_select(t("Default display mode"),"comment_default_mode",variable_get("comment_default_mode",4),$cmodes,t("The default view for comments. Expanded views display the body of the comment. Threaded views keep replies together."));
$output.=form_select(t("Default display mode"),"comment_default_mode",variable_get("comment_default_mode",4),$cmodes,t("The default view for comments. Expanded views display the body of the comment. Threaded views keep replies together."));
...
@@ -340,7 +340,7 @@ function comment_links($comment, $return = 1) {
...
@@ -340,7 +340,7 @@ function comment_links($comment, $return = 1) {
$links[]=l(t("reply to this comment"),"comment/reply/$comment->nid/$comment->cid");
$links[]=l(t("reply to this comment"),"comment/reply/$comment->nid/$comment->cid");
$output=form_item(t("Comment viewing options"),$output,t("Select your preferred way to display the comments and click 'Update settings' to submit your changes."));
$output=form_item(t("Comment viewing options"),$output,t("Select your preferred way to display the comments and click 'Save settings' to submit your changes."));
@@ -20,7 +20,7 @@ function comment_system($field) {
...
@@ -20,7 +20,7 @@ function comment_system($field) {
return$system[$field];
return$system[$field];
}
}
functioncomment_conf_options(){
functioncomment_settings(){
global$cmodes,$corder;
global$cmodes,$corder;
$output.=form_select(t("Default display mode"),"comment_default_mode",variable_get("comment_default_mode",4),$cmodes,t("The default view for comments. Expanded views display the body of the comment. Threaded views keep replies together."));
$output.=form_select(t("Default display mode"),"comment_default_mode",variable_get("comment_default_mode",4),$cmodes,t("The default view for comments. Expanded views display the body of the comment. Threaded views keep replies together."));
...
@@ -340,7 +340,7 @@ function comment_links($comment, $return = 1) {
...
@@ -340,7 +340,7 @@ function comment_links($comment, $return = 1) {
$links[]=l(t("reply to this comment"),"comment/reply/$comment->nid/$comment->cid");
$links[]=l(t("reply to this comment"),"comment/reply/$comment->nid/$comment->cid");