Add candidate and employer templates, application form, and new password functionality
- Created 'dla-kandydata.php' template for candidates with job offers and registration options. - Developed 'dla-pracodawcy.php' template for employers detailing how Globelus works and registration for new employers. - Implemented 'advert-apply.php' for job applications, including form validation and file upload for CVs. - Added 'new-password.php' for users to set a new password with validation for password strength and matching.
This commit is contained in:
@@ -170,8 +170,8 @@ class GlobelusFirms
|
||||
$page['language']['meta_title'] = 'Zamówienie ● Globelus';
|
||||
|
||||
$package = \S::get( 'package' );
|
||||
if ( $package < 2 )
|
||||
$package = 2;
|
||||
if ( $package > 5)
|
||||
$package = 5;
|
||||
|
||||
$hash = \front\factory\GlobelusFirms::generate_order(
|
||||
$g_user['id'],
|
||||
@@ -198,6 +198,15 @@ class GlobelusFirms
|
||||
exit;
|
||||
}
|
||||
|
||||
static public function multi_refresh() {
|
||||
$g_user = \S::get_session( 'g_user' );
|
||||
|
||||
if ( is_array( \S::get( 'ids' ) ) ) foreach ( \S::get( 'ids' ) as $id )
|
||||
\front\factory\GlobelusFirms::advert_refresh( $id, $g_user['id'] );
|
||||
|
||||
exit;
|
||||
}
|
||||
|
||||
public static function multi_disable()
|
||||
{
|
||||
$g_user = \S::get_session( 'g_user' );
|
||||
@@ -528,9 +537,6 @@ class GlobelusFirms
|
||||
'contact_person' => \S::get( 'contact_person' ),
|
||||
'email' => \S::get( 'email' ),
|
||||
'phone' => \S::get( 'phone' ),
|
||||
'contact_person2' => \S::get( 'contact_person2' ),
|
||||
'email2' => \S::get( 'email2' ),
|
||||
'phone2' => \S::get( 'phone2' ),
|
||||
'salary' => \S::get( 'salary' ),
|
||||
'work_type' => \S::get( 'work_type' ),
|
||||
'without_language' => \S::get( 'without_language' ),
|
||||
@@ -619,7 +625,10 @@ class GlobelusFirms
|
||||
if ( !\front\factory\Globelus::permissions_check( $g_user = \S::get_session( 'g_user' ), __CLASS__ . "\\" . __FUNCTION__ ) )
|
||||
{
|
||||
if ( !$g_user or !$g_user['type'] )
|
||||
return \Tpl::view( 'globelus/firms/alerts/advert-add' );
|
||||
{
|
||||
header( 'Location: /logowanie' );
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
if ( !$g_user['profile_completed'] )
|
||||
|
||||
Reference in New Issue
Block a user