Updated registration form and login stuff

This commit is contained in:
2026-03-19 21:08:27 +01:00
parent 2b91c368ee
commit c85761857a
8 changed files with 177 additions and 623 deletions

View File

@@ -15,7 +15,7 @@ $complience_url = "rendszerepito.hu/adatkezeles";
?>
<div class="pexpo-core-comments" id="pexpo-core-comments">
<form action="<?php echo site_url( '/wp-login.php?action=register' ); ?>" method="post" id="pexpo-custom-comment-form">
<form action="<?php echo site_url( '/wp-login.php?action=register' ); ?>" method="post" id="pexpo-custom-comment-form" enctype="multipart/form-data">
<div class="pexpo-core-com-form-wrapper">
<h2 class="pexpo-core-com-form-title"><?php echo esc_html_x( 'Regisztráció', 'partnerexpo_core' ); ?></h2>
<p class="pexpo-core-com-field">
@@ -38,23 +38,21 @@ $complience_url = "rendszerepito.hu/adatkezeles";
<input type="text" id="first_name" name="first_name" aria-required="true" required>
</p>
<p class="pexpo-core-com-field">
<label for="mail"><?php echo esc_html_x( 'Email cím', 'partnerexpo_core' ); ?></label><br />
<input type="mail" id="mail" name="mail" aria-required="true" required>
</p>
<p class="pexpo-core-com-field">
<label for="phone"><?php echo esc_html_x( 'Telefonszám', 'partnerexpo_core' ); ?></label><br />
<input type="tel" id="phone" name="phone" aria-required="true" required>
</p>
<div class="pexpo-core-com-field">
<label for="pexpo-core-upload-image-button"><?php echo esc_html_x( 'Céges logó', 'partnerexpo_core' ); ?></label><br/>
<div class='pexpo-core-business-logo-preview-wrapper'>
<img id='pexpo-core-business-logo-preview' src='' height='100'>
<label for="pexpo-core-image-logo"><?php echo esc_html_x( 'Céges logó', 'partnerexpo_core' ); ?></label>
<div id="pexpo-core-image-drop-zone" class="pexpo-core-image-drop-zone">
<span class="pexpo-core-image-drop-text">Húzza ide a képet, vagy kattintson a tallózáshoz</span>
<input type="file" id="pexpo-core-image-logo" name="business_logo" accept="image/png, image/jpeg, image/webp" />
<img id="pexpo-core-image-preview" src="" alt="Logo Preview" />
</div>
<input id="pexpo-core-upload-image-button" type="button" class="button" value="<?php _e( 'Kép feltöltése', 'partnerexpo-core' ) ?>" />
<input type='hidden' name='image_attachment_id' id='pexpo-core-business-logo-attachment-id' value='<?php echo esc_attr( $logo_id ); ?>'>
</div>
<p class="pexpo-core-com-field">