$result=pager_query("SELECT nid, type FROM {node} WHERE promote = '1' AND status = '1' ORDER BY static DESC, created DESC",variable_get("default_nodes_main",10));
$result=pager_query("SELECT nid, type FROM {node} WHERE promote = '1' AND status = '1' ORDER BY static DESC, created DESC",variable_get("default_nodes_main",10));
@@ -101,12 +101,12 @@ function system_view_general() {
// cron:
$output.="<h3>".t("Cron settings")."</h3>\n";
$output.=form_select(t("Cron support"),"cron",variable_get("cron",1),array(t("Disabled"),t("Enabled")),t("Enable or disable cron support. Enable this setting if you have set up a cron job. Check the ".l("cron documentation","admin/system/help#cron")." for information on setting up a cron job."));
$output.=form_select(t("Cron support"),"cron",variable_get("cron",1),array(t("Disabled"),t("Enabled")),t("Enable or disable cron support. Enable this setting if you have set up a cron job. Check the %documentation for information on setting up a cron job.",array("%documentation"=>l(t("cron documentation"),"admin/system/help#cron"))));
$output.="<hr />\n";
// caching:
$output.="<h3>".t("Cache settings")."</h3>\n";
$output.=form_select(t("Cache support"),"cache",variable_get("cache",0),array(t("Disabled"),t("Enabled")),t("Enable or disable the caching of rendered pages. When caching is enabled, Drupal will flush the cache when required to make sure updates take effect immediately. Check the ".l("cache documentation","admin/system/help#cache")." for information on Drupal's cache system."));
$output.=form_select(t("Cache support"),"cache",variable_get("cache",0),array(t("Disabled"),t("Enabled")),t("Enable or disable the caching of rendered pages. When caching is enabled, Drupal will flush the cache when required to make sure updates take effect immediately. Check the %documentation for information on Drupal's cache system.",array("%documentation"=>l(t("cache documentation"),"admin/system/help#cache"))));
@@ -101,12 +101,12 @@ function system_view_general() {
// cron:
$output.="<h3>".t("Cron settings")."</h3>\n";
$output.=form_select(t("Cron support"),"cron",variable_get("cron",1),array(t("Disabled"),t("Enabled")),t("Enable or disable cron support. Enable this setting if you have set up a cron job. Check the ".l("cron documentation","admin/system/help#cron")." for information on setting up a cron job."));
$output.=form_select(t("Cron support"),"cron",variable_get("cron",1),array(t("Disabled"),t("Enabled")),t("Enable or disable cron support. Enable this setting if you have set up a cron job. Check the %documentation for information on setting up a cron job.",array("%documentation"=>l(t("cron documentation"),"admin/system/help#cron"))));
$output.="<hr />\n";
// caching:
$output.="<h3>".t("Cache settings")."</h3>\n";
$output.=form_select(t("Cache support"),"cache",variable_get("cache",0),array(t("Disabled"),t("Enabled")),t("Enable or disable the caching of rendered pages. When caching is enabled, Drupal will flush the cache when required to make sure updates take effect immediately. Check the ".l("cache documentation","admin/system/help#cache")." for information on Drupal's cache system."));
$output.=form_select(t("Cache support"),"cache",variable_get("cache",0),array(t("Disabled"),t("Enabled")),t("Enable or disable the caching of rendered pages. When caching is enabled, Drupal will flush the cache when required to make sure updates take effect immediately. Check the %documentation for information on Drupal's cache system.",array("%documentation"=>l(t("cache documentation"),"admin/system/help#cache"))));