'#markup'=>t('WARNING: You are not using an encrypted connection, so your password will be sent in plain text. <a href="@https-link">Learn more</a>.',array('@https-link'=>'http://drupal.org/https-information')),
@@ -52,7 +52,7 @@ public function buildForm(array $form, array &$form_state, FieldInstance $field_
// If so, prevent changes to the field settings.
$has_data=field_has_data($field);
if($has_data){
$form['field']['#prefix']='<div class="messages error">'.t('There is data for this field in the database. The field settings can no longer be changed.').'</div>'.$form['field']['#prefix'];
$form['field']['#prefix']='<div class="messages messages--error">'.t('There is data for this field in the database. The field settings can no longer be changed.').'</div>'.$form['field']['#prefix'];
'#suffix'=>'<div class="messages warning sql-rewrite-warning js-hide">'.t('WARNING: Disabling SQL rewriting means that node access security is disabled. This may allow users to see data they should not be able to see if your view is misconfigured. Use this option only if you understand and accept this security risk.').'</div>',
'#suffix'=>'<div class="messages messages--warning sql-rewrite-warning js-hide">'.t('WARNING: Disabling SQL rewriting means that node access security is disabled. This may allow users to see data they should not be able to see if your view is misconfigured. Use this option only if you understand and accept this security risk.').'</div>',
'#children'=>t('This view is being edited by user !user, and is therefore locked from editing by others. This lock is !age old. Click here to <a href="!break">break this lock</a>.',array('!user'=>theme('username',array('account'=>user_load($view->lock->owner))),'!age'=>format_interval(REQUEST_TIME-$view->lock->updated),'!break'=>url('admin/structure/views/view/'.$view->id().'/break-lock'))),
'#weight'=>-10,
);
...
...
@@ -84,7 +84,7 @@ public function form(array $form, array &$form_state) {