Fix image header URL in advert details, update CV access message, enhance image ratio alerts in profile edit, modify registration titles and agreement checkbox behavior.
This commit is contained in:
@@ -496,7 +496,7 @@ class GlobelusFirms
|
||||
return false;
|
||||
|
||||
$result = \front\factory\GlobelusFirms::advert_enable( $g_user['id'], \S::get( 'advert-id' ), $g_user['email'] );
|
||||
\S::set_alert_prompt( 'Informacja', $result['msg'] );
|
||||
// \S::set_alert_prompt( 'Informacja', $result['msg'] );
|
||||
|
||||
header( 'Location: /panel-pracodawcy/ogloszenia' );
|
||||
exit;
|
||||
|
||||
@@ -19,7 +19,7 @@ class GlobelusUser
|
||||
|
||||
public static function delete_account()
|
||||
{
|
||||
global $lang;
|
||||
global $lang, $g_user;
|
||||
|
||||
if ( !\front\factory\Globelus::permissions_check( $g_user = \S::get_session( 'g_user' ), __CLASS__ . "\\" . __FUNCTION__ ) )
|
||||
return false;
|
||||
@@ -27,7 +27,11 @@ class GlobelusUser
|
||||
if ( \front\factory\GlobelusUser::delete_account( $g_user['id'] ) )
|
||||
\S::set_alert_prompt( 'Informacja', $lang[ 'usuwanie-konta-email' ] );
|
||||
|
||||
header( 'Location: /panel-kandydata/profil' );
|
||||
if ( $g_user['type'] )
|
||||
header( 'Location: /panel-pracodawcy/profil' );
|
||||
else
|
||||
header( 'Location: /panel-kandydata/profil' );
|
||||
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user