$form['langcode']=array('#type'=>'textfield','#title'=>t('Language code'),'#default_value'=>$edit['langcode'],'#size'=>12,'#maxlength'=>60,'#description'=>t("Commonly this is an <a href=\"%iso-codes\">ISO 639 language code</a> with an optional country code for regional variants. Examples include 'en', 'en-US' and 'zh-cn'.",array('%iso-codes'=>'http://www.w3.org/WAI/ER/IG/ert/iso639.htm')));
$form['langcode']=array('#type'=>'textfield','#title'=>t('Language code'),'#default_value'=>$edit['langcode'],'#size'=>12,'#maxlength'=>60,'#description'=>t("Commonly this is an <a href=\"%iso-codes\">ISO 639 language code</a> with an optional country code for regional variants. Examples include 'en', 'en-US' and 'zh-cn'.",array('%iso-codes'=>'http://www.w3.org/WAI/ER/IG/ert/iso639.htm')));
$form['langname']=array('#type'=>'textfield','#title'=>t('Language name in English'),'#default_value'=>$edit['langname'],'#size'=>60,'#maxlength'=>64,'#description'=>t('Name of the language. Will be available for translation in all languages.'));
$form['langname']=array('#type'=>'textfield','#title'=>t('Language name in English'),'#default_value'=>$edit['langname'],'#maxlength'=>64,'#description'=>t('Name of the language. Will be available for translation in all languages.'));
@@ -679,8 +679,8 @@ function aggregator_form_feed($edit = array()) {
...
@@ -679,8 +679,8 @@ function aggregator_form_feed($edit = array()) {
}
}
$form['title']=array('#type'=>'textfield','#title'=>t('Title'),'#default_value'=>$edit['title'],'#size'=>60,'#maxlength'=>64,'#description'=>t('The name of the feed; typically the name of the web site you syndicate content from.'));
$form['title']=array('#type'=>'textfield','#title'=>t('Title'),'#default_value'=>$edit['title'],'#maxlength'=>64,'#description'=>t('The name of the feed; typically the name of the web site you syndicate content from.'));
$form['url']=array('#type'=>'textfield','#title'=>t('URL'),'#default_value'=>$edit['url'],'#size'=>60,'#maxlength'=>255,'#description'=>t('The fully-qualified URL of the feed.'));
$form['url']=array('#type'=>'textfield','#title'=>t('URL'),'#default_value'=>$edit['url'],'#maxlength'=>255,'#description'=>t('The fully-qualified URL of the feed.'));
$form['refresh']=array('#type'=>'select','#title'=>t('Update interval'),'#default_value'=>$edit['refresh'],'#options'=>$period,'#description'=>t('The refresh interval indicating how often you want to update this feed. Requires crontab.'));
$form['refresh']=array('#type'=>'select','#title'=>t('Update interval'),'#default_value'=>$edit['refresh'],'#options'=>$period,'#description'=>t('The refresh interval indicating how often you want to update this feed. Requires crontab.'));
@@ -679,8 +679,8 @@ function aggregator_form_feed($edit = array()) {
...
@@ -679,8 +679,8 @@ function aggregator_form_feed($edit = array()) {
}
}
$form['title']=array('#type'=>'textfield','#title'=>t('Title'),'#default_value'=>$edit['title'],'#size'=>60,'#maxlength'=>64,'#description'=>t('The name of the feed; typically the name of the web site you syndicate content from.'));
$form['title']=array('#type'=>'textfield','#title'=>t('Title'),'#default_value'=>$edit['title'],'#maxlength'=>64,'#description'=>t('The name of the feed; typically the name of the web site you syndicate content from.'));
$form['url']=array('#type'=>'textfield','#title'=>t('URL'),'#default_value'=>$edit['url'],'#size'=>60,'#maxlength'=>255,'#description'=>t('The fully-qualified URL of the feed.'));
$form['url']=array('#type'=>'textfield','#title'=>t('URL'),'#default_value'=>$edit['url'],'#maxlength'=>255,'#description'=>t('The fully-qualified URL of the feed.'));
$form['refresh']=array('#type'=>'select','#title'=>t('Update interval'),'#default_value'=>$edit['refresh'],'#options'=>$period,'#description'=>t('The refresh interval indicating how often you want to update this feed. Requires crontab.'));
$form['refresh']=array('#type'=>'select','#title'=>t('Update interval'),'#default_value'=>$edit['refresh'],'#options'=>$period,'#description'=>t('The refresh interval indicating how often you want to update this feed. Requires crontab.'));
'#description'=>t("Enter one page per line as Drupal paths. The '*' character is a wildcard. Example paths are '%blog' for the blog page and %blog1 for every personal blog. %front is the front page. If the PHP-mode is chosen, enter PHP code between %php. Note that executing incorrect PHP-code can break your Drupal site.",array('%blog'=>theme('placeholder','blog'),'%blog1'=>theme('placeholder','blog/*'),'%front'=>theme('placeholder','<front>'),'%php'=>theme('placeholder','<?php ?>'))));
'#description'=>t("Enter one page per line as Drupal paths. The '*' character is a wildcard. Example paths are '%blog' for the blog page and %blog1 for every personal blog. %front is the front page. If the PHP-mode is chosen, enter PHP code between %php. Note that executing incorrect PHP-code can break your Drupal site.",array('%blog'=>theme('placeholder','blog'),'%blog1'=>theme('placeholder','blog/*'),'%front'=>theme('placeholder','<front>'),'%php'=>theme('placeholder','<?php ?>'))));
@@ -436,10 +431,10 @@ function block_box_delete_confirm_execute($form_id, $edit) {
...
@@ -436,10 +431,10 @@ function block_box_delete_confirm_execute($form_id, $edit) {
functionblock_box_form($edit=array()){
functionblock_box_form($edit=array()){
$form['title']=array('#type'=>'textfield','#title'=>t('Block title'),'#default_value'=>$edit['title'],'#size'=>60,'#maxlength'=>64,'#description'=>t('The title of the block as shown to the user.'));
$form['title']=array('#type'=>'textfield','#title'=>t('Block title'),'#default_value'=>$edit['title'],'#maxlength'=>64,'#description'=>t('The title of the block as shown to the user.'));
$form['format']=filter_form($edit['format']);
$form['format']=filter_form($edit['format']);
$form['body']=array('#type'=>'textarea','#title'=>t('Block body'),'#default_value'=>$edit['body'],'#cols'=>60,'#rows'=>15,'#description'=>t('The content of the block as shown to the user.'));
$form['body']=array('#type'=>'textarea','#title'=>t('Block body'),'#default_value'=>$edit['body'],'#rows'=>15,'#description'=>t('The content of the block as shown to the user.'));
$form['info']=array('#type'=>'textfield','#title'=>t('Block description'),'#default_value'=>$edit['info'],'#size'=>60,'#maxlength'=>64,'#description'=>t('A brief description of your block. Used on the <a href="%overview">block overview page</a>.',array('%overview'=>url('admin/block'))),'#required'=>TRUE);
$form['info']=array('#type'=>'textfield','#title'=>t('Block description'),'#default_value'=>$edit['info'],'#maxlength'=>64,'#description'=>t('A brief description of your block. Used on the <a href="%overview">block overview page</a>.',array('%overview'=>url('admin/block'))),'#required'=>TRUE);
'#description'=>t("Enter one page per line as Drupal paths. The '*' character is a wildcard. Example paths are '%blog' for the blog page and %blog1 for every personal blog. %front is the front page. If the PHP-mode is chosen, enter PHP code between %php. Note that executing incorrect PHP-code can break your Drupal site.",array('%blog'=>theme('placeholder','blog'),'%blog1'=>theme('placeholder','blog/*'),'%front'=>theme('placeholder','<front>'),'%php'=>theme('placeholder','<?php ?>'))));
'#description'=>t("Enter one page per line as Drupal paths. The '*' character is a wildcard. Example paths are '%blog' for the blog page and %blog1 for every personal blog. %front is the front page. If the PHP-mode is chosen, enter PHP code between %php. Note that executing incorrect PHP-code can break your Drupal site.",array('%blog'=>theme('placeholder','blog'),'%blog1'=>theme('placeholder','blog/*'),'%front'=>theme('placeholder','<front>'),'%php'=>theme('placeholder','<?php ?>'))));
@@ -436,10 +431,10 @@ function block_box_delete_confirm_execute($form_id, $edit) {
...
@@ -436,10 +431,10 @@ function block_box_delete_confirm_execute($form_id, $edit) {
functionblock_box_form($edit=array()){
functionblock_box_form($edit=array()){
$form['title']=array('#type'=>'textfield','#title'=>t('Block title'),'#default_value'=>$edit['title'],'#size'=>60,'#maxlength'=>64,'#description'=>t('The title of the block as shown to the user.'));
$form['title']=array('#type'=>'textfield','#title'=>t('Block title'),'#default_value'=>$edit['title'],'#maxlength'=>64,'#description'=>t('The title of the block as shown to the user.'));
$form['format']=filter_form($edit['format']);
$form['format']=filter_form($edit['format']);
$form['body']=array('#type'=>'textarea','#title'=>t('Block body'),'#default_value'=>$edit['body'],'#cols'=>60,'#rows'=>15,'#description'=>t('The content of the block as shown to the user.'));
$form['body']=array('#type'=>'textarea','#title'=>t('Block body'),'#default_value'=>$edit['body'],'#rows'=>15,'#description'=>t('The content of the block as shown to the user.'));
$form['info']=array('#type'=>'textfield','#title'=>t('Block description'),'#default_value'=>$edit['info'],'#size'=>60,'#maxlength'=>64,'#description'=>t('A brief description of your block. Used on the <a href="%overview">block overview page</a>.',array('%overview'=>url('admin/block'))),'#required'=>TRUE);
$form['info']=array('#type'=>'textfield','#title'=>t('Block description'),'#default_value'=>$edit['info'],'#maxlength'=>64,'#description'=>t('A brief description of your block. Used on the <a href="%overview">block overview page</a>.',array('%overview'=>url('admin/block'))),'#required'=>TRUE);
'#description'=>t('The parent that this page belongs in. Note that pages whose parent is <top-level> are regarded as independent, top-level books.')
'#description'=>t('The parent that this page belongs in. Note that pages whose parent is <top-level> are regarded as independent, top-level books.')
'#description'=>t('The parent that this page belongs in. Note that pages whose parent is <top-level> are regarded as independent, top-level books.')
'#description'=>t('The parent that this page belongs in. Note that pages whose parent is <top-level> are regarded as independent, top-level books.')
$form['comment_settings']['signature']=array('#type'=>'textarea','#title'=>t('Signature'),'#default_value'=>$edit['comment_settings']['signature'],'#cols'=>60,'#rows'=>5,'#description'=>('Your signature will be publicly displayed at the end of your comments.'));
$form['comment_settings']['signature']=array('#type'=>'textarea','#title'=>t('Signature'),'#default_value'=>$edit['comment_settings']['signature'],'#description'=>('Your signature will be publicly displayed at the end of your comments.'));
return$form;
return$form;
}
}
...
@@ -1108,10 +1108,10 @@ function comment_form($edit, $title = NULL) {
...
@@ -1108,10 +1108,10 @@ function comment_form($edit, $title = NULL) {
$form['comment_settings']['signature']=array('#type'=>'textarea','#title'=>t('Signature'),'#default_value'=>$edit['comment_settings']['signature'],'#cols'=>60,'#rows'=>5,'#description'=>('Your signature will be publicly displayed at the end of your comments.'));
$form['comment_settings']['signature']=array('#type'=>'textarea','#title'=>t('Signature'),'#default_value'=>$edit['comment_settings']['signature'],'#description'=>('Your signature will be publicly displayed at the end of your comments.'));
return$form;
return$form;
}
}
...
@@ -1108,10 +1108,10 @@ function comment_form($edit, $title = NULL) {
...
@@ -1108,10 +1108,10 @@ function comment_form($edit, $title = NULL) {
'#default_value'=>variable_get('contact_form_information',t('You can leave us a message using the contact form below.')),
'#default_value'=>variable_get('contact_form_information',t('You can leave us a message using the contact form below.')),
'#description'=>t('Information to show on the <a href="%form">contact page</a>. Can be anything from submission guidelines to your postal address or telephone number.',array('%form'=>url('contact')))
'#description'=>t('Information to show on the <a href="%form">contact page</a>. Can be anything from submission guidelines to your postal address or telephone number.',array('%form'=>url('contact')))
$form['contact']['contact']=array('#type'=>'checkbox','#title'=>t('Personal contact form'),'#return_value'=>1,'#default_value'=>$edit['contact'],'#description'=>t('Allow other users to contact you by e-mail via <a href="%url">your personal contact form</a>. Note that your e-mail address is not made public and that privileged users such as site administrators are able to contact you even if you choose not to enable this feature.',array('%url'=>url("user/$user->uid/contact"))));
$form['contact']['contact']=array('#type'=>'checkbox','#title'=>t('Personal contact form'),'#default_value'=>$edit['contact'],'#description'=>t('Allow other users to contact you by e-mail via <a href="%url">your personal contact form</a>. Note that your e-mail address is not made public and that privileged users such as site administrators are able to contact you even if you choose not to enable this feature.',array('%url'=>url("user/$user->uid/contact"))));
@@ -200,9 +200,9 @@ function contact_admin_edit($cid = NULL) {
...
@@ -200,9 +200,9 @@ function contact_admin_edit($cid = NULL) {
$edit['reply']=$category->reply;
$edit['reply']=$category->reply;
}
}
$form['category']=array('#type'=>'textfield','#title'=>t('Category'),'#size'=>60,'#maxlength'=>255,'#default_value'=>$edit['category'],'#description'=>t("Example: 'website feedback' or 'product information'."),'#required'=>TRUE);
$form['category']=array('#type'=>'textfield','#title'=>t('Category'),'#maxlength'=>255,'#default_value'=>$edit['category'],'#description'=>t("Example: 'website feedback' or 'product information'."),'#required'=>TRUE);
$form['recipients']=array('#type'=>'textarea','#title'=>t('Recipients'),'#cols'=>60,'#rows'=>5,'#default_value'=>$edit['recipients'],'#description'=>t("Example: 'webmaster@yoursite.com' or 'sales@yoursite.com'. To specify multiple repecients, separate each e-mail address with a comma."),'#required'=>TRUE);
$form['recipients']=array('#type'=>'textarea','#title'=>t('Recipients'),'#default_value'=>$edit['recipients'],'#description'=>t("Example: 'webmaster@yoursite.com' or 'sales@yoursite.com'. To specify multiple repecients, separate each e-mail address with a comma."),'#required'=>TRUE);
$form['reply']=array('#type'=>'textarea','#title'=>t('Auto-reply'),'#cols'=>60,'#rows'=>5,'#default_value'=>$edit['reply'],'#description'=>t("Optional auto-reply. Leave empty if you don't want to send the user an auto-reply message."));
$form['reply']=array('#type'=>'textarea','#title'=>t('Auto-reply'),'#default_value'=>$edit['reply'],'#description'=>t("Optional auto-reply. Leave empty if you don't want to send the user an auto-reply message."));
@@ -256,14 +256,14 @@ function contact_mail_page() {
...
@@ -256,14 +256,14 @@ function contact_mail_page() {
if(count($categories)>1){
if(count($categories)>1){
$form['#token']=$user->name.$user->mail;
$form['#token']=$user->name.$user->mail;
$form['contact_information']=array('#type'=>'markup','#value'=>variable_get('contact_form_information',t('You can leave us a message using the contact form below.')));
$form['contact_information']=array('#type'=>'markup','#value'=>variable_get('contact_form_information',t('You can leave us a message using the contact form below.')));