projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #13170 from elisseck/dev/core/485
[civicrm-core.git]
/
CRM
/
Contact
/
Form
/
Edit
/
Website.php
diff --git
a/CRM/Contact/Form/Edit/Website.php
b/CRM/Contact/Form/Edit/Website.php
index 160e84248de843eafb407aa67fd086fbddea0d3c..fb798a044a6f996f66d1511dd01daf21e6d2c4e1 100644
(file)
--- a/
CRM/Contact/Form/Edit/Website.php
+++ b/
CRM/Contact/Form/Edit/Website.php
@@
-3,7
+3,7
@@
+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
8
|
+ | Copyright CiviCRM LLC (c) 2004-201
9
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-28,7
+28,7
@@
/**
*
* @package CRM
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-201
8
+ * @copyright CiviCRM LLC (c) 2004-201
9
*/
/**
*/
/**
@@
-55,10
+55,10
@@
class CRM_Contact_Form_Edit_Website {
$form->applyFilter('__ALL__', 'trim');
//Website type select
$form->applyFilter('__ALL__', 'trim');
//Website type select
- $form->addField("website[$blockId][website_type_id]", array('entity' => 'website', 'class' => 'eight'));
+ $form->addField("website[$blockId][website_type_id]", array('entity' => 'website', 'class' => 'eight'
, 'placeholder' => NULL
));
//Website box
//Website box
- $form->addField("website[$blockId][url]", array('entity' => 'website'));
+ $form->addField("website[$blockId][url]", array('entity' => 'website'
, 'aria-label' => ts('Website URL %1', [1 => $blockId])
));
$form->addRule("website[$blockId][url]", ts('Enter a valid web address beginning with \'http://\' or \'https://\'.'), 'url');
}
$form->addRule("website[$blockId][url]", ts('Enter a valid web address beginning with \'http://\' or \'https://\'.'), 'url');
}