File "d0d8a030f6bbd406837d0537bde476ffbe96153b_0.file.password-conferma.tmpl.php"

Full Path: /srv/www/www.cadoro.it/src/templates_c/d0d8a030f6bbd406837d0537bde476ffbe96153b_0.file.password-conferma.tmpl.php
File size: 4.93 KB
MIME-type: text/x-php
Charset: utf-8

<?php
/* Smarty version 3.1.29, created on 2024-02-21 18:28:20
  from "/srv/www/www.cadoro.it/src/templates/password-conferma.tmpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_65d632b48fb982_78947146',
  'file_dependency' => 
  array (
    'd0d8a030f6bbd406837d0537bde476ffbe96153b' => 
    array (
      0 => '/srv/www/www.cadoro.it/src/templates/password-conferma.tmpl',
      1 => 1708527642,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:layout-base.tmpl' => 1,
  ),
),false)) {
function content_65d632b48fb982_78947146 ($_smarty_tpl) {
$_smarty_tpl->ext->_inheritance->init($_smarty_tpl, true);
?>


<?php 
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, 'title', array (
  0 => 'block_119188092565d632b48bf5e4_39535674',
  1 => false,
  3 => 0,
  2 => 0,
));
?>


<?php 
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, "head", array (
  0 => 'block_196937774565d632b48c16c6_34238740',
  1 => false,
  3 => 0,
  2 => 0,
));
?>


<?php 
$_smarty_tpl->ext->_inheritance->processBlock($_smarty_tpl, 0, "content", array (
  0 => 'block_208924705165d632b48c3087_07045130',
  1 => false,
  3 => 0,
  2 => 0,
));
?>

<?php $_smarty_tpl->ext->_inheritance->endChild($_smarty_tpl);
$_smarty_tpl->smarty->ext->_subtemplate->render($_smarty_tpl, "file:layout-base.tmpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 2, false);
}
/* {block 'title'}  file:password-conferma.tmpl */
function block_119188092565d632b48bf5e4_39535674($_smarty_tpl, $_blockParentStack) {
?>
Registrazione &mdash; CADORO<?php
}
/* {/block 'title'} */
/* {block 'head'}  file:password-conferma.tmpl */
function block_196937774565d632b48c16c6_34238740($_smarty_tpl, $_blockParentStack) {
?>

<meta name="description" content="Registrazione &mdash; CADORO">
<meta name="author" content="">
<?php
}
/* {/block 'head'} */
/* {block 'content'}  file:password-conferma.tmpl */
function block_208924705165d632b48c3087_07045130($_smarty_tpl, $_blockParentStack) {
?>

<div class="container content-section">
  <?php if ($_smarty_tpl->tpl_vars['confirm']->value) {?>
  <h1 class="text-center">
    <strong><?php echo _("HAI REIMPOSTATO LA TUA PASSWORD!");?>
</strong>
  </h1>
  <hr>
  <div class="row mb20">
    <div class="col-sm-8 col-sm-offset-2">
      <p class="text-center mt30">
        <a href="<?php echo $_smarty_tpl->tpl_vars['base_url']->value;?>
/profilo" class="btn btn-default btn-lg">
          <?php echo _("VAI AL TUO PROFILO");?>
 <i class="glyphicon glyphicon-chevron-right"></i>
        </a>
      </p>
    </div>
  </div>
  <?php } else { ?>
  <h1 class="text-center">
    <strong><?php echo _("PASSWORD DIMENTICATA");?>
</strong>
  </h1>
  <div class="row">
    <div class="col-sm-6 col-sm-offset-3">
      <form method="post" action="">
        <div class="alert alert-info">
          <?php echo _("<strong>Stai reimpostato la password di accesso a CADORO</strong><br>Inserisci la tua nuova password due volte.");?>

        </div>
        <div class="row">
          <div class="col-sm-12 mt10<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['password'])) {?> has-error<?php }?>">
            <label class="form-control-static" for="password"><?php echo _("Password");?>
</label>
            <input type="password" name="password" class="form-control" value="">
            <?php if (!isset($_smarty_tpl->tpl_vars['errors']->value['password'])) {?><p class="help-block"><em>Minimo sei caratteri con almeno una lettera e una cifra.</em></p><?php }?>
            <?php if (isset($_smarty_tpl->tpl_vars['errors']->value['password']) && $_smarty_tpl->tpl_vars['errors']->value['password'] == 1) {?><p class="help-block has-error"><?php echo _("Campo obbligatorio!");?>
</p><?php }?>
            <?php if (isset($_smarty_tpl->tpl_vars['errors']->value['password']) && $_smarty_tpl->tpl_vars['errors']->value['password'] == 2) {?><p class="help-block has-error"><?php echo _("Password non valida: minimo sei caratteri con almeno una lettera ed una cifra!");?>
</p><?php }?>
          </div>
          <div class="col-sm-12 mt10<?php if (isset($_smarty_tpl->tpl_vars['errors']->value['password2'])) {?> has-error<?php }?>">
            <label class="form-control-static" for="password2"><?php echo _("Conferma password");?>
</label>
            <input type="password" name="password2" class="form-control" value="">
            <?php if (isset($_smarty_tpl->tpl_vars['errors']->value['password2']) && $_smarty_tpl->tpl_vars['errors']->value['password2'] == 1) {?><p class="help-block has-error"><?php echo _("Le password inserite non corrispondono!");?>
</p><?php }?>
          </div>
        </div>
        <p class="mt60 text-center">
          <button type="submit" class="btn btn-danger btn-lg"><?php echo _("INVIA");?>
</button>
        </p>
      </form>
    </div>
    <?php }?>
  </div>
</div>
<?php
}
/* {/block 'content'} */
}