Merge pull request #31 from marcoAntonioNina/BUG-9167
BUG 9167 Error en gramática al desplegarse mensaje de error en SOLVED
This commit is contained in:
@@ -162,20 +162,20 @@ class SkinEngine
|
|||||||
switch ($e->getCode()) {
|
switch ($e->getCode()) {
|
||||||
case SE_LAYOUT_NOT_FOUND:
|
case SE_LAYOUT_NOT_FOUND:
|
||||||
|
|
||||||
$data['exception_type'] = 'Skin Engine Exception';
|
$data['exception_type'] = G::LoadTranslation('ID_SKIN_EXCEPTION');
|
||||||
$data['exception_title'] = 'Layout not Found';
|
$data['exception_title'] = G::LoadTranslation('ID_SKIN_LAYOUT_NOT_FOUND');
|
||||||
$data['exception_message'] = 'You\'re trying to get a resource from a incorrent skin, please verify you url.';
|
$data['exception_message'] = G::LoadTranslation('ID_SKIN_INCORRECT_VERIFY_URL');
|
||||||
$data['exception_list'] = array();
|
$data['exception_list'] = array();
|
||||||
if (substr($this->mainSkin, 0, 2) != 'ux') {
|
if (substr($this->mainSkin, 0, 2) != 'ux') {
|
||||||
$url = '../login/login';
|
$url = '../login/login';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$url = '../main/login';
|
$url = '../main/login';
|
||||||
}
|
}
|
||||||
|
|
||||||
$link = '<a href="'.$url.'">Try Now</a>';
|
$link = '<a href="'.$url.'">Try Now</a>';
|
||||||
|
|
||||||
$data['exception_notes'][] = ' The System can try redirect to correct url. ' . $link;
|
$data['exception_notes'][] = G::LoadTranslation('ID_REDIRECT_URL'). $link;
|
||||||
|
|
||||||
G::renderTemplate(PATH_TPL . 'exception', $data);
|
G::renderTemplate(PATH_TPL . 'exception', $data);
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user