*/
public function buildQuickForm() {
$this->add('text', 'unclosed_case_id', ts('Select Case'), array('class' => 'huge'), TRUE);
- $this->addDefaultButtons(ts('Continue >>'));
+ $this->addDefaultButtons(ts('Save'));
}
/**
$this->addElement('checkbox', 'assigned_to', ts('Assigned to Contact'));
$this->addElement('checkbox', 'created_by', ts('Created by'));
$this->setDefaults(array('with_contact' => 1));
- $this->addDefaultButtons(ts('Continue >>'));
+ $this->addDefaultButtons(ts('Continue'));
}
/**
array(
'' => ts('- select profile -')) + $profiles, TRUE
);
- $this->addDefaultButtons(ts('Continue >>'));
+ $this->addDefaultButtons(ts('Continue'));
}
/**
$this->addButtons(array(
array(
'type' => 'upload',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
),
$this->addButtons(array(
array(
'type' => 'back',
- 'name' => ts('<< Previous'),
+ 'name' => ts('Previous'),
),
array(
'type' => 'next',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
),
$buttons = array(
array(
'type' => 'upload',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
),
}
$ufGroupElement = $this->add('select', 'uf_group_id', ts('Select Profile'), array('' => ts('- select profile -')) + $profiles, TRUE, array('class' => 'crm-select2 huge'));
- $this->addDefaultButtons(ts('Continue >>'));
+ $this->addDefaultButtons(ts('Continue'));
}
/**
$this->addButtons(array(
array(
'type' => 'upload',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
),
$this->addButtons(array(
array(
'type' => 'back',
- 'name' => ts('<< Previous'),
+ 'name' => ts('Previous'),
),
array(
'type' => 'next',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
),
$buttons = array(
array(
'type' => 'back',
- 'name' => ts('<< Previous'),
+ 'name' => ts('Previous'),
'js' => array('onclick' => "location.href='{$previousURL}'; return false;"),
),
array(
'type' => 'next',
- 'name' => ts('Import Now >>'),
+ 'name' => ts('Import Now'),
'spacing' => ' ',
'isDefault' => TRUE,
'js' => array('onclick' => "return verify( );"),
$this->addButtons(array(
array(
'type' => 'back',
- 'name' => ts('<< Go Back'),
+ 'name' => ts('Go Back'),
),
)
);
$this->_amount <= 0.0 || $this->_params['is_pay_later'] ||
($this->_separateMembershipPayment && $this->_amount <= 0.0)
) {
- $contribButton = ts('Continue >>');
+ $contribButton = ts('Continue');
$this->assign('button', ts('Continue'));
}
else {
if (!$this->_first) {
$buttons[] = array(
'type' => 'back',
- 'name' => ts('<< Previous'),
+ 'name' => ts('Previous'),
'spacing' => ' ',
);
}
$buttons[] = array(
'type' => 'next',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
);
array(
'' => ts('- select profile -')) + $profiles, TRUE
);
- $this->addDefaultButtons(ts('Continue >>'));
+ $this->addDefaultButtons(ts('Continue'));
}
/**
$this->addButtons(array(
array(
'type' => 'upload',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
),
$this->addButtons(array(
array(
'type' => 'back',
- 'name' => ts('<< Previous'),
+ 'name' => ts('Previous'),
),
array(
'type' => 'next',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
),
$this->addButtons(array(
array(
'type' => 'upload',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
),
$buttons = array();
$buttons[] = array(
- 'name' => ts('<< Go Back'),
+ 'name' => ts('Go Back'),
'spacing' => '  ',
'type' => 'back',
);
$buttons[] = array(
'isDefault' => TRUE,
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'type' => 'next',
);
array(
array(
'type' => 'upload',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
),
$this->assign('total', $this->total);
$buttons = array();
$buttons[] = array(
- 'name' => ts('<< Go Back'),
+ 'name' => ts('Go Back'),
'spacing' => '  ',
'type' => 'back',
);
$buttons[] = array(
'isDefault' => TRUE,
- 'name' => ts('Complete Transaction >>'),
+ 'name' => ts('Complete Transaction'),
'spacing' => ' ',
'type' => 'next',
);
if (!$this->_first) {
$buttons[] = array(
'type' => 'back',
- 'name' => ts('<< Previous'),
+ 'name' => ts('Previous'),
'spacing' => ' ',
);
}
$buttons[] = array(
'type' => 'upload',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
);
$buttons = array(
array(
- 'type' => 'back',
- 'name' => ts('<< Go Back'),
+ 'type' => 'back',
+ 'name' => ts('Go Back'),
'spacing' => '  ',
),
);
if ($allowToProceed) {
$buttons = array_merge($buttons, array(
array(
- 'type' => 'next',
- 'name' => ts('Continue >>'),
+ 'type' => 'next',
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
'js' => $js,
if ($includeSkipButton) {
$buttons = array_merge($buttons, array(
array(
- 'type' => 'next',
- 'name' => ts('Skip Participant >>|'),
- 'subName' => 'skip',
- ),
- )
+ 'type' => 'next',
+ 'name' => ts('Skip Participant'),
+ 'subName' => 'skip',
+ 'icon' => 'seek-next',
+ ))
);
}
}
$this->addButtons(array(
array(
'type' => 'back',
- 'name' => ts('<< Go Back'),
+ 'name' => ts('Go Back'),
),
)
);
}
else {
- $contribButton = ts('Continue >>');
+ $contribButton = ts('Continue');
$this->addButtons(array(
array(
'type' => 'back',
- 'name' => ts('<< Go Back'),
+ 'name' => ts('Go Back'),
),
array(
'type' => 'next',
&& !$this->_values['event']['is_monetary']
&& !$this->_values['event']['is_confirm_enabled']
) {
- $buttonLabel = ts('Register >>');
+ $buttonLabel = ts('Register');
}
else {
- $buttonLabel = ts('Continue >>');
+ $buttonLabel = ts('Continue');
}
$this->addButtons(array(
array(
'' => ts('- select profile -')) + $profiles, TRUE
);
- $this->addDefaultButtons(ts('Continue >>'));
+ $this->addDefaultButtons(ts('Continue'));
}
/**
$this->addButtons(array(
array(
'type' => 'upload',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
),
$this->addButtons(array(
array(
'type' => 'back',
- 'name' => ts('<< Previous'),
+ 'name' => ts('Previous'),
),
array(
'type' => 'next',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
),
$this->addButtons(array(
array(
'type' => 'back',
- 'name' => ts('<< Previous'),
+ 'name' => ts('Previous'),
),
array(
'type' => 'next',
- 'name' => ts('Export >>'),
+ 'name' => ts('Export'),
'spacing' => ' ',
),
array(
$this->addButtons(array(
array(
'type' => 'next',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
),
$this->addButtons(array(
array(
'type' => 'back',
- 'name' => ts('<< Previous'),
+ 'name' => ts('Previous'),
),
array(
'type' => 'next',
- 'name' => ts('Import Now >>'),
+ 'name' => ts('Import Now'),
'spacing' => ' ',
'isDefault' => TRUE,
),
$buttons = array(
array(
- 'type' => 'next',
- 'name' => ts('Next >>'),
+ 'type' => 'next',
+ 'name' => ts('Next'),
'spacing' => ' ',
'isDefault' => TRUE,
),
if ($this->_searchBasedMailing) {
$buttons = array(
array(
- 'type' => 'back',
- 'name' => ts('<< Previous'),
+ 'type' => 'back',
+ 'name' => ts('Previous'),
),
array(
'type' => 'next',
else {
$buttons = array(
array(
- 'type' => 'back',
- 'name' => ts('<< Previous'),
+ 'type' => 'back',
+ 'name' => ts('Previous'),
),
array(
'type' => 'next',
$buttons = array(
array(
- 'type' => 'back',
- 'name' => ts('<< Previous'),
+ 'type' => 'back',
+ 'name' => ts('Previous'),
),
array(
'type' => 'next',
- 'name' => ts('Next >>'),
+ 'name' => ts('Next'),
'spacing' => ' ',
'isDefault' => TRUE,
),
$this->setDefaults($defaults);
$this->add('submit', 'sendtest', ts('Send a Test Mailing'));
- $name = ts('Next >>');
+ $name = ts('Next');
if (CRM_Mailing_Info::workflowEnabled()) {
if (!CRM_Core_Permission::check('schedule mailings') &&
CRM_Core_Permission::check('create mailings')
$buttons = array(
array(
- 'type' => 'back',
- 'name' => ts('<< Previous'),
+ 'type' => 'back',
+ 'name' => ts('Previous'),
),
array(
'type' => 'next',
$buttons = array(
array(
- 'type' => 'back',
- 'name' => ts('<< Previous'),
+ 'type' => 'back',
+ 'name' => ts('Previous'),
),
array(
'type' => 'upload',
- 'name' => ts('Next >>'),
+ 'name' => ts('Next'),
'spacing' => ' ',
'isDefault' => TRUE,
),
array(
'' => ts('- select profile -')) + $profiles, TRUE
);
- $this->addDefaultButtons(ts('Continue >>'));
+ $this->addDefaultButtons(ts('Continue'));
}
/**
$this->addButtons(array(
array(
'type' => 'upload',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
),
$this->addButtons(array(
array(
'type' => 'back',
- 'name' => ts('<< Previous'),
+ 'name' => ts('Previous'),
),
array(
'type' => 'next',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
),
else {
$button[] = array(
'type' => 'next',
- 'name' => ts('Continue >>'),
+ 'name' => ts('Continue'),
'spacing' => ' ',
'isDefault' => TRUE,
);
$buttons = array(
array('type' => 'next',
- 'name' => ts('Next >>'),
+ 'name' => ts('Next'),
'spacing' => ' ',
'isDefault' => TRUE,
),
$buttons = array(
array('type' => 'back',
- 'name' => ts('<< Previous'),
+ 'name' => ts('Previous'),
),
array(
'type' => 'next',
$buttons = array(
array('type' => 'back',
- 'name' => ts('<< Previous'),
+ 'name' => ts('Previous'),
),
array(
'type' => 'upload',
- 'name' => ts('Next >>'),
+ 'name' => ts('Next'),
'spacing' => ' ',
'isDefault' => TRUE,
),
{strip}
<table class="form-layout">
<tr>
- <td class="font-size12pt" colspan="3">
+ <td class="font-size12pt" colspan="2">
{$form.sort_name.label} {$form.sort_name.html|crmAddClass:'twenty'}
- {$form.buttons.html}
<div>
<div class="description font-italic">{ts}Complete OR Partial Name{/ts}
<span class="contact-name-option option-1">{ts} of the Source Contact{/ts}</span>
</div>
</div>
</td>
+ <td>{include file="CRM/common/formButtons.tpl" location="top"}</td>
</tr>
{include file="CRM/Activity/Form/Search/Common.tpl"}
<tr>
- <td colspan="3">{$form.buttons.html}</td>
+ <td colspan="3">{include file="CRM/common/formButtons.tpl" location="botton"}</td>
</tr>
</table>
{/strip}
{ts}Complete OR partial batch name.{/ts}
</span>
</td>
- <td>{$form.buttons.html}</td>
+ <td>{include file="CRM/common/formButtons.tpl"}</td>
</tr>
</table>
</div>
{strip}
<table class="form-layout">
<tr class="crm-case-search-form-block-sort_name">
- <td class="font-size12pt" colspan="3">
- {$form.sort_name.label} {$form.sort_name.html|crmAddClass:'twenty'} {$form.buttons.html}
+ <td class="font-size12pt" colspan="2">
+ {$form.sort_name.label} {$form.sort_name.html|crmAddClass:'twenty'}
</td>
+ <td>{include file="CRM/common/formButtons.tpl" location="top"}</td>
</tr>
{include file="CRM/Case/Form/Search/Common.tpl"}
<table class="form-layout">
<tr>
- <td>{$form.buttons.html}</td>
+ <td>{include file="CRM/common/formButtons.tpl" location="botton"}</td>
</tr>
</table>
{/strip}
</td>
<td class="labels" rowspan="2">
<div class="crm-submit-buttons">
- {include file="CRM/common/formButtons.tpl" location="top" buttonStyle="width:80px; text-align:center;"}
+ {include file="CRM/common/formButtons.tpl" location="top"}
</div>
<div class="crm-submit-buttons reset-advanced-search">
<a href="{crmURL p='civicrm/contact/search/advanced' q='reset=1'}" id="resetAdvancedSearch" class="crm-hover-button" title="{ts}Clear all search criteria{/ts}">