HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/dinamo-shop/wp-content/themes/dinamo-shop/woocommerce/checkout/form-login.php
<?php
/**
 * Checkout login form
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/checkout/form-login.php.
 *
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see https://docs.woocommerce.com/document/template-structure/
 * @package WooCommerce/Templates
 * @version 3.8.0
 */

defined( 'ABSPATH' ) || exit;

if ( is_user_logged_in() || 'no' === get_option( 'woocommerce_enable_checkout_login_reminder' ) ) {
	return;
}

?>
<div>



	<p class="mt-25"><?php _e('Već imate korisnički račun?', 'dinamo_shop'); ?> <a data-open-modal="#LoginModal" href="#open"><?php _e('Kliknite ovdje za prijavu.', 'dinamo_shop'); ?></a></p>
	<div id="LoginModal" class="modal-window">
		<div class="modal-inner">
			<h2 class="modal-title"><?php _e("Prijava", "dinamo_shop"); ?></h2>
			<a data-close-modal="#LoginModal" href="#close" class="modal-close">&times;</a>
			<form class="login-form" action="login"  method="POST">
				<?php wp_nonce_field( 'ajax-login-nonce', 'security' ); ?>
				<div class="row">
					<div class="col-12 col-xs-12">
						<div class="form-group text-left">
							<label class="form-label"><?php _e("Email adresa", "dinamo_shop"); ?></label>
							<input required type="text" class="form-control full-width" name="email" placeholder="<?php _e("Unesite email adresu", "dinamo_shop"); ?>"/>
						</div>
					</div>
					<div class="col-12 col-xs-12">
						<div class="form-group text-left">
							<label class="form-label"><?php _e("Lozinka", "dinamo_shop"); ?></label>
							<input required type="password" class="form-control full-width" name="password" placeholder="<?php _e("Unesite lozinku", "dinamo_shop"); ?>"/>
						</div>
					</div>

				</div>


				<div class="text-center">


					<div class="loginFormResponse form-response" style="display:none;">

					</div>
					<button data-loading-message="<?php _e("Šaljem...", "dinamo_shop"); ?>"  class="login-button btn btn-primary"> <?php _e("Prijavite se", "dinamo_shop"); ?> </button>


                </div>


			</form>
			</div>
		</div>



</div>



<?php