Commit 9683a1f488ac281c16867f21d3e7bd31423d7ab2

Authored by Dmytry Fedorchuk
1 parent b260e2f0

images

common/widgets/views/registration.php
1   -<?= 'Спасибо за регистрацию '. $params['name']?>
2 1 \ No newline at end of file
  2 +<?= 'Спасибо за регистрацию '. $params['name']?>
  3 +
  4 +
  5 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  6 +<html lang="uk">
  7 +<head>
  8 + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  9 + <title>Rukzachok.com.ua</title>
  10 + <style type="text/css">
  11 + body {
  12 + font-family: helvetica neue, arial, sans-serif;
  13 + line-height: 1.5;
  14 + padding: 0;
  15 + margin: 0;
  16 + }
  17 + </style>
  18 +</head>
  19 +<body style="margin: 0;">
  20 +<div class="container" style="
  21 + margin: 0 auto;
  22 + font-family: helvetica neue, arial, sans-serif;
  23 + font-size: 16px;
  24 + line-height: 1.5;
  25 + width: 100%;
  26 + max-width: 740px;
  27 + min-width: 360px;
  28 + ">
  29 + <div style="text-align: center">
  30 + <br>
  31 + <h1 style="margin: -5px 40px 10px; line-height: 1.2;">Добрый день, <?= $params['name'] ?>!</h1>
  32 + <h2 style="font-weight: 300; margin: 10px 40px 40px; line-height: 1.2;">Спасибо за регистрацию . Приятных покупок в магазине Rukzachok.com.ua </h2>
  33 + </div>
  34 + <div style="padding: 40px;">
  35 + <center><img src="http://rukzachok.com.ua/img/logo.png"></center>
  36 +
  37 + <table cellpadding="0" cellspacing="0" border="0" valign="top" style="
  38 + width: 100%; margin: 20px 0;">
  39 + <tr>
  40 + <td style="border-top: 1px solid #eee; text-align: right; font-size: 100%; padding: 30px 20px 0 0;">
  41 + +38 (067) 000 00 00
  42 + </td>
  43 + <td style="border-top: 1px solid #eee; text-align: left; font-size: 100%; padding: 30px 0 0 20px;">
  44 + <a href="http://rukzachok.com.ua">rukzachok.com.ua</a>
  45 + </td>
  46 + </tr>
  47 + </table>
  48 +
  49 + </div>
  50 +</div>
  51 +</body>
  52 +</html>
... ...
frontend/controllers/LoginController.php
... ... @@ -34,7 +34,7 @@ class LoginController extends Controller
34 34 }
35 35  
36 36 public function actionForgot(){
37   -
  37 +var_dump($_POST['User']['username']);die();
38 38 $model = new Customer;
39 39 if(!empty($_POST['User']['username'])){
40 40 if($user = Customer::find()->where(['username'=>$_POST['User']['username']])->one())
... ...