$output.=form_textfield("Digest recepients","cvs_mail",variable_get("cvs_mail","root@localhost"),30,55,"The e-mail address to mail the CVS log messages to. Multiple recipients can be specified by putting a comma between each address.");
$output.=form_textfield("Digest recepients","cvs_mail",variable_get("cvs_mail","root@localhost"),55,128,"The e-mail address to mail the CVS log messages to. Multiple recipients can be specified by putting a comma between each address.");
$output.=form_select("Digest interval","cvs_cron_time",variable_get("cvs_cron_time",86400),$period,"The time interval at which batched CVS digests are dispatched. Requires crontab.");
$output.=form_textfield("Drupal server","drupal_server",variable_get("drupal_server","http://www.drupal.org/xmlrpc.php"),55,128,"The URL of your root Drupal XML-RPC server.");
$output.=form_select("Drupal directory","drupal_directory",variable_get("drupal_directory",0),array("Disabled","Enabled"),"If enabled, your Drupal site will make itself know to the Drupal directory at the specified Drupal XML-RPC server. For this to work properly, you have to set your site's name, e-mail addrress, slogan and mission statement.");
return$output;
}
functiondrupal_cron(){
/*
** If this site acts as a Drupal XML-RPC server, delete the sites that
** stopped sending "ping" messages.
*/
db_query("DELETE FROM directory WHERE timestamp < '".(time()-259200)."'");
/*
** If this site acts as a Drupal XML-RPC client, send a message to the
$output.=form_textfield("Drupal server","drupal_server",variable_get("drupal_server","http://www.drupal.org/xmlrpc.php"),55,128,"The URL of your root Drupal XML-RPC server.");
$output.=form_select("Drupal directory","drupal_directory",variable_get("drupal_directory",0),array("Disabled","Enabled"),"If enabled, your Drupal site will make itself know to the Drupal directory at the specified Drupal XML-RPC server. For this to work properly, you have to set your site's name, e-mail addrress, slogan and mission statement.");
return$output;
}
functiondrupal_cron(){
/*
** If this site acts as a Drupal XML-RPC server, delete the sites that
** stopped sending "ping" messages.
*/
db_query("DELETE FROM directory WHERE timestamp < '".(time()-259200)."'");
/*
** If this site acts as a Drupal XML-RPC client, send a message to the
@@ -30,11 +30,12 @@ function system_view_options() {
// general settings:
$output.="<h3>General settings</h3>\n";
$output.=form_textfield("Name","site_name",variable_get("site_name","drupal"),30,55,"The name of this website.");
$output.=form_textfield("E-mail address","site_mail",variable_get("site_mail","root@localhost"),35,55,"A valid e-mail address for this website, used by the auto-mailer to create new user accounts.");
$output.=form_textfield("Name","site_name",variable_get("site_name","drupal"),55,55,"The name of this website.");
$output.=form_textfield("E-mail address","site_mail",variable_get("site_mail","root@localhost"),55,128,"A valid e-mail address for this website, used by the auto-mailer to create new user accounts.");
$output.=form_textfield("Slogan","site_slogan",variable_get("site_slogan",""),55,128,"The slogan of this website");
$output.=form_textarea("Footer message","site_footer",variable_get("site_footer",""),55,3,"This text will be displayed at the bottom of each page. Useful for adding a copyright notice to your pages.");
$output.=form_textfield("Anonymous user","anonymous",variable_get("anonymous","Anonymous"),30,55,"The name used to indicate anonymous users.");
$output.=form_textarea("Mission","site_mission",variable_get("site_mission",""),55,5,"Your site's mission statement or focus.");
$output.=form_textarea("Footer message","site_footer",variable_get("site_footer",""),55,5,"This text will be displayed at the bottom of each page. Useful for adding a copyright notice to your pages.");
$output.=form_textfield("Anonymous user","anonymous",variable_get("anonymous","Anonymous"),55,55,"The name used to indicate anonymous users.");
$output.=form_select("Default front page","site_frontpage",variable_get("site_frontpage","node"),$pages,"The default front page.");
$output.=form_textfield("Extra front page settings","site_frontpage_extra",variable_get("site_frontpage_extra",""),55,128,"Lets you define additonal variables for the main page in PHP.");
@@ -30,11 +30,12 @@ function system_view_options() {
// general settings:
$output.="<h3>General settings</h3>\n";
$output.=form_textfield("Name","site_name",variable_get("site_name","drupal"),30,55,"The name of this website.");
$output.=form_textfield("E-mail address","site_mail",variable_get("site_mail","root@localhost"),35,55,"A valid e-mail address for this website, used by the auto-mailer to create new user accounts.");
$output.=form_textfield("Name","site_name",variable_get("site_name","drupal"),55,55,"The name of this website.");
$output.=form_textfield("E-mail address","site_mail",variable_get("site_mail","root@localhost"),55,128,"A valid e-mail address for this website, used by the auto-mailer to create new user accounts.");
$output.=form_textfield("Slogan","site_slogan",variable_get("site_slogan",""),55,128,"The slogan of this website");
$output.=form_textarea("Footer message","site_footer",variable_get("site_footer",""),55,3,"This text will be displayed at the bottom of each page. Useful for adding a copyright notice to your pages.");
$output.=form_textfield("Anonymous user","anonymous",variable_get("anonymous","Anonymous"),30,55,"The name used to indicate anonymous users.");
$output.=form_textarea("Mission","site_mission",variable_get("site_mission",""),55,5,"Your site's mission statement or focus.");
$output.=form_textarea("Footer message","site_footer",variable_get("site_footer",""),55,5,"This text will be displayed at the bottom of each page. Useful for adding a copyright notice to your pages.");
$output.=form_textfield("Anonymous user","anonymous",variable_get("anonymous","Anonymous"),55,55,"The name used to indicate anonymous users.");
$output.=form_select("Default front page","site_frontpage",variable_get("site_frontpage","node"),$pages,"The default front page.");
$output.=form_textfield("Extra front page settings","site_frontpage_extra",variable_get("site_frontpage_extra",""),55,128,"Lets you define additonal variables for the main page in PHP.");