getHelper()->get();
$section = $this->getRequest()->getParam('section');
$notice = '';
if (empty($license)) {
if ('athlete2_settings' == $section || 'athlete2_design' == $section) {
$closeNum = rand(1, 3);
$notice .='
'
. '
' . __( 'Athlete 2 Theme is not Activated.' ) . '
'
. '
'
. '
'
. '
Press '. $closeNum .' to close modal.
'
. '
'
. '
'
. '
'
. '
';
$notice .='';
}
if ('athlete2_license' !== $section) {
$notice .= '';
}
return $notice;
}
return '';
}
protected function getLicenseUrl()
{
return $this->getUrl('*/*/*', ['_current' => true, 'section' => 'athlete2_license']);
}
}