Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
e7652372
Commit
e7652372
authored
May 11, 2016
by
Олег Гиммельшпах
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge cms
parent
ab476185
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
412 additions
and
10 deletions
+412
-10
common/mail/passwordResetToken-html.php
common/mail/passwordResetToken-html.php
+395
-6
common/mail/passwordResetToken-text.php
common/mail/passwordResetToken-text.php
+13
-2
common/mail/sendNewPassword-text.php
common/mail/sendNewPassword-text.php
+4
-2
No files found.
common/mail/passwordResetToken-html.php
View file @
e7652372
<?php
use
yii\helpers\Html
;
/* @var $this yii\web\View */
/* @var $user common\models\User */
use
yii\helpers\Html
;
use
common\models\Settings
;
$resetLink
=
Yii
::
$app
->
urlManager
->
createAbsoluteUrl
([
'site/reset-password'
,
'token'
=>
$user
->
password_change_code
]);
?>
<div
class=
"password-reset"
>
<p>
Hello
<?=
Html
::
encode
(
$user
->
fio
)
?>
,
</p>
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"
>
<meta
name=
"format-detection"
content=
"telephone=no"
/>
<style
type=
"text/css"
>
body
{
margin
:
0
;
padding
:
0
;
}
@media
only
screen
and
(
max-width
:
600px
)
{
body
[
merkle
]
.hide
{
display
:
none
!important
;
width
:
0px
!important
;
height
:
0px
!important
;
}
body
[
merkle
]
.width270
{
width
:
270px
!important
;
}
body
[
merkle
]
.width230
{
width
:
230px
;
}
.btn_resp
{
width
:
190px
;
display
:
block
;
overflow
:
hidden
;
word-wrap
:
break-word
;
}
body
[
merkle
]
.aligncenter
{
text-align
:
center
!important
;
}
body
[
merkle
]
.padding0
{
padding
:
0px
!important
;
}
body
[
merkle
]
.paddingbottom6
{
padding
:
6px
!important
;
}
body
[
merkle
]
.alignleft
{
text-align
:
left
!important
;
}
body
[
merkle
]
.bgwhite
{
background-color
:
#FFFFFF
!important
;
background-image
:
none
!important
;
width
:
inherit
!important
;
height
:
inherit
!important
;
}
body
[
merkle
]
.bggray
{
background-color
:
#efefef
!important
;
}
body
[
merkle
]
.drop
{
width
:
270px
!important
;
float
:
left
!important
;
}
body
[
merkle
]
.desktop
{
visibility
:
hidden
;
display
:
none
!important
;}
body
[
merkle
]
.mobile
{
max-height
:
none
!important
;
font-family
:
Arial
,
Helvetica
,
sans-serif
;
display
:
block
!important
;
}
body
[
merkle
]
.yellow
{
color
:
#ffc222
!important
;}
body
[
merkle
]
.head_space_height
{
height
:
2px
;}
body
[
merkle
]
.right_col_height
{
height
:
280px
;}
}
</style>
<style
type=
"text/css"
>
.desktop
{
visibility
:
visible
;}
.mobile
{
max-height
:
0px
!important
;
font-size
:
0
!important
;
display
:
none
;
}
.ExternalClass
{
width
:
100%
;
}
.ExternalClass
,
.ExternalClass
p
,
.ExternalClass
span
,
.ExternalClass
font
,
.ExternalClass
td
,
.ExternalClass
div
{
mso-line-height-rule
:
exactly
;
mso-line-height-rule
:
exactly
;
line-height
:
100%
;
}
body
{
-webkit-text-size-adjust
:
none
;
-ms-text-size-adjust
:
none
;
}
table
td
{
border-collapse
:
collapse
;
}
p
{
margin
:
0
;
padding
:
0
;
margin-bottom
:
0
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
mso-line-height-rule
:
exactly
;
mso-line-height-rule
:
exactly
;
line-height
:
100%
;
}
a
,
a
:link
{
text-decoration
:
underline
;
}
span
.yshortcuts
{
color
:
#000
;
background-color
:
none
;
border
:
none
;
}
span
.yshortcuts
:hover
,
span
.yshortcuts
:active
,
span
.yshortcuts
:focus
{
background-color
:
none
;
border
:
none
;
}
a
:visited
{
text-decoration
:
none
}
a
:focus
{
text-decoration
:
underline
}
a
:hover
{
text-decoration
:
underline
}
.head_space_height
{
height
:
80px
;}
.Img_Descrip
{
font-size
:
12px
;
font-weight
:
normal
;
font-family
:
Arial
,
Helvetica
,
sans-serif
;}
.right_col_height
{
height
:
328px
;}
</style>
</head>
<body
merkle=
"fix"
style=
"margin:0; padding:0; -webkit-text-size-adjust: none;"
bgcolor=
"#f2f2f2"
>
<div
style=
"background-color:#f2f2f2;"
align=
"center"
>
<!--[if gte mso 9]>
<v:background xmlns:v="urn:schemas-microsoft-com:vml" fill="t">
<v:fill type="tile" src="" color="#efefef"/>
</v:background>
<![endif]-->
<table
height=
"100%"
width=
"100%"
cellpadding=
"0"
cellspacing=
"0"
border=
"0"
bgcolor=
"#424242"
>
<tr>
<td
valign=
"top"
align=
"center"
bgcolor=
"#424242"
>
<!--Begin Header1 -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"width270"
>
<tr>
<td
align=
"center"
valign=
"top"
style=
"font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size:12px; mso-line-height-rule:exactly; line-height:16px; color:#ffffff; padding-top:8px; padding-bottom:8px"
>
Если письмо отображается неккоректно, нажмите
<a
href=
"#"
target=
"_blank"
style=
"color:#ffffff"
>
здесь
</a></td>
</tr>
</table>
</td>
</tr>
</table>
<table
height=
"100%"
width=
"100%"
cellpadding=
"0"
cellspacing=
"0"
border=
"0"
>
<tr>
<td
valign=
"top"
align=
"center"
background=
""
>
<!--begin spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
style=
"font-size:30px; line-height:30px"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"30"
border=
"0"
/></td>
</tr>
</table>
<!--end spacer -->
<!--Begin Header2 -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
style=
"-moz-border-radius:0px; -webkit-border-radius:0px; border:solid 1px #cccccc; border-radius:1px;"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
>
<!--begin spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
bgcolor=
"#FFFFFF"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
style=
"font-size:8px; line-height:8px"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"8"
border=
"0"
/></td>
</tr>
</table>
<!--end spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
bgcolor=
"#FFFFFF"
width=
"20"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"20"
height=
"1"
border=
"0"
style=
"display:block;"
></td>
<td
align=
"left"
valign=
"top"
bgcolor=
"#FFFFFF"
class=
"aligncenter"
>
<a
href=
""
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/logo.jpg"
width=
"51"
height=
"58"
alt=
"Taskon"
border=
"0"
/></a>
</td>
<td
align=
"right"
valign=
"middle"
bgcolor=
"#ffffff"
style=
"font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; color:#808080; font-size:20px; mso-line-height-rule:exactly; line-height:28px;"
>
Добро пожаловать
</td>
<td
align=
"left"
valign=
"top"
bgcolor=
"#FFFFFF"
width=
"20"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"20"
height=
"1"
border=
"0"
style=
"display:block;"
></td>
</tr>
</table>
<!--End Header2 -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
bgcolor=
"#FFFFFF"
style=
"font-size:16px; line-height:16px;"
class=
"hide"
>
<tbody><tr>
<td
align=
"left"
width=
"20"
valign=
"top"
style=
"font-size:16px; line-height:16px"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"8"
border=
"0"
></td>
<td
align=
"left"
valign=
"top"
style=
"font-size:16px; line-height:16px; border-bottom:#e3e3e3 solid 1px;"
class=
"hideborder"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"8"
border=
"0"
></td>
<td
width=
"20"
align=
"left"
valign=
"top"
style=
"font-size:16px; line-height:16px"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"8"
border=
"0"
></td>
</tr>
</tbody></table>
<!--begin spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
bgcolor=
"#FFFFFF"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
style=
"font-size:15px; line-height:15px"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"15"
border=
"0"
/></td>
</tr>
</table>
<!--end spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
bgcolor=
"#FFFFFF"
width=
"20"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"20"
height=
"1"
border=
"0"
style=
"display:block;"
></td>
<td
align=
"left"
valign=
"middle"
bgcolor=
"#ffffff"
style=
"font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; color:#424242; font-size:16px; mso-line-height-rule:exactly; line-height:30px; font-weight: bold;"
>
Добрый день!
</td>
<td
align=
"left"
valign=
"top"
bgcolor=
"#FFFFFF"
width=
"20"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"20"
height=
"1"
border=
"0"
style=
"display:block;"
></td>
</tr>
</table>
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
bgcolor=
"#FFFFFF"
width=
"20"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"20"
height=
"1"
border=
"0"
style=
"display:block;"
></td>
<td
align=
"left"
valign=
"middle"
bgcolor=
"#ffffff"
style=
"font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; color:#666666; font-size:14px; mso-line-height-rule:exactly; line-height:18px;"
>
Вам был сброшен пароль для сайта
<?=
Html
::
a
(
Yii
::
$app
->
params
[
'frontUrl'
],
Yii
::
$app
->
params
[
'frontUrl'
])
?>
.
</td>
<td
align=
"left"
valign=
"top"
bgcolor=
"#FFFFFF"
width=
"20"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"20"
height=
"1"
border=
"0"
style=
"display:block;"
></td>
</tr>
</table>
<!--begin spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
bgcolor=
"#FFFFFF"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
style=
"font-size:10px; line-height:10px"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"10"
border=
"0"
/></td>
</tr>
</table>
<!--end spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
bgcolor=
"#FFFFFF"
width=
"20"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"20"
height=
"1"
border=
"0"
style=
"display:block;"
></td>
<td
align=
"left"
valign=
"middle"
bgcolor=
"#ffffff"
style=
"font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; color:#666666; font-size:14px; mso-line-height-rule:exactly; line-height:18px;"
>
Для продолжения работы перейдите по ссылке для ввода нового пароля:
</td>
<td
align=
"left"
valign=
"top"
bgcolor=
"#FFFFFF"
width=
"20"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"20"
height=
"1"
border=
"0"
style=
"display:block;"
></td>
</tr>
</table>
<!--begin spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
bgcolor=
"#FFFFFF"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
style=
"font-size:10px; line-height:10px"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"10"
border=
"0"
/></td>
</tr>
</table>
<!--end spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
bgcolor=
"#FFFFFF"
width=
"20"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"20"
height=
"1"
border=
"0"
style=
"display:block;"
></td>
<td
align=
"left"
valign=
"middle"
bgcolor=
"#f0f7fc"
style=
"font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; color:#1397c1; font-size:14px; mso-line-height-rule:exactly; line-height:18px; padding: 10px 20px;"
>
<?=
Html
::
a
(
Html
::
encode
(
$resetLink
),
$resetLink
,
[
'style'
=>
"font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; font-size:14px; line-height:18px; text-decoration: none; color:#1397c1;"
,
'class'
=>
'btn_resp'
])
?>
</td>
<td
align=
"left"
valign=
"top"
bgcolor=
"#FFFFFF"
width=
"20"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"20"
height=
"1"
border=
"0"
style=
"display:block;"
></td>
</tr>
</table>
<!--begin spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
bgcolor=
"#FFFFFF"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
style=
"font-size:15px; line-height:15px"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"15"
border=
"0"
/></td>
</tr>
</table>
<!--end spacer -->
<p>
Follow the link below to reset your password:
</p>
<!--begin spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
bgcolor=
"#f7f7f7"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
style=
"font-size:10px; line-height:10px"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"10"
border=
"0"
/></td>
</tr>
</table>
<!--end spacer -->
<!--begin spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
bgcolor=
"#f7f7f7"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
style=
"font-size:10px; line-height:10px"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"10"
border=
"0"
/></td>
</tr>
</table>
<!--end spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
bgcolor=
"#f7f7f7"
width=
"20"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"20"
height=
"1"
border=
"0"
style=
"display:block;"
></td>
<td
align=
"left"
valign=
"middle"
bgcolor=
"#f7f7f7"
style=
"font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; color:#666666; font-size:14px; mso-line-height-rule:exactly; line-height:18px;"
>
В целях безопасности просим Вас не передавать пароль третьим лицам.
</td>
<td
align=
"left"
valign=
"top"
bgcolor=
"#f7f7f7"
width=
"20"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"20"
height=
"1"
border=
"0"
style=
"display:block;"
></td>
</tr>
</table>
<!--begin spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
bgcolor=
"#f7f7f7"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
style=
"font-size:20px; line-height:20px"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"20"
border=
"0"
/></td>
</tr>
</table>
<!--end spacer -->
<!--begin spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
bgcolor=
"#FFFFFF"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
style=
"font-size:15px; line-height:15px"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"15"
border=
"0"
/></td>
</tr>
</table>
<!--end spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
bgcolor=
"#FFFFFF"
width=
"20"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"20"
height=
"1"
border=
"0"
style=
"display:block;"
></td>
<td
align=
"left"
valign=
"middle"
bgcolor=
"#ffffff"
style=
"font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; color:#666666; font-size:14px; mso-line-height-rule:exactly; line-height:18px;"
>
С уважением, команда Task-On.
</td>
<td
align=
"left"
valign=
"top"
bgcolor=
"#FFFFFF"
width=
"20"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"20"
height=
"1"
border=
"0"
style=
"display:block;"
></td>
</tr>
</table>
<!--begin spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
bgcolor=
"#FFFFFF"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
style=
"font-size:15px; line-height:15px"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"15"
border=
"0"
/></td>
</tr>
</table>
<!--end spacer -->
<!--begin spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
bgcolor=
"#0e3242"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
style=
"font-size:10px; line-height:10px"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"10"
border=
"0"
/></td>
</tr>
</table>
<!--end spacer -->
<!--begin spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
bgcolor=
"#0e3242"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
style=
"font-size:10px; line-height:10px"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"10"
border=
"0"
/></td>
</tr>
</table>
<!--end spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
bgcolor=
"#0e3242"
width=
"20"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"20"
height=
"1"
border=
"0"
style=
"display:block;"
></td>
<td
align=
"center"
valign=
"middle"
bgcolor=
"#0e3242"
style=
"font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif; color:#ffffff; font-size:14px; mso-line-height-rule:exactly; line-height:24px;"
>
Если у Вас есть вопросы обратитесь к администратору сервиса
<br>
на адрес
<?=
Html
::
a
(
Settings
::
getValue
(
'content-support-email'
),
'mailto:'
.
Settings
::
getValue
(
'content-support-email'
))
?>
</td>
<td
align=
"left"
valign=
"top"
bgcolor=
"#0e3242"
width=
"20"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"20"
height=
"1"
border=
"0"
style=
"display:block;"
></td>
</tr>
</table>
<!--begin spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
bgcolor=
"#0e3242"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
style=
"font-size:20px; line-height:20px"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"20"
border=
"0"
/></td>
</tr>
</table>
<!--end spacer -->
</td>
</tr>
</tbody></table>
<!--END A-2 -->
</td>
</tr>
</table>
<!--begin spacer -->
<table
width=
"600"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"width270"
>
<tr>
<td
align=
"left"
valign=
"top"
style=
"font-size:20px; line-height:20px"
><img
src=
"
<?=
Yii
::
$app
->
params
[
'frontUrl'
];
?>
/images/letter/spacer.gif"
width=
"1"
height=
"20"
border=
"0"
/></td>
</tr>
</table>
<!--end spacer -->
<p>
<?=
Html
::
a
(
Html
::
encode
(
$resetLink
),
$resetLink
)
?>
</p>
</div>
</body>
</html>
common/mail/passwordResetToken-text.php
View file @
e7652372
...
...
@@ -3,10 +3,21 @@
/* @var $this yii\web\View */
/* @var $user common\models\User */
use
common\models\Settings
;
$resetLink
=
Yii
::
$app
->
urlManager
->
createAbsoluteUrl
([
'site/reset-password'
,
'token'
=>
$user
->
password_change_code
]);
?>
Hello
<?=
$user
->
fio
?>
,
Follow the link below to reset your password:
Добрый день!
Вам был сброшен пароль для сайта
<?=
Yii
::
$app
->
params
[
'frontUrl'
]
?>
.
Для продолжения работы перейдите по ссылке для ввода нового пароля:
<?=
$resetLink
?>
В целях безопасности просим Вас не передавать пароль третьим лицам.
С уважением, команда Task-On.
Если у Вас есть вопросы обратитесь к администратору сервиса на адрес
<?=
Settings
::
getValue
(
'content-support-email'
)
?>
\ No newline at end of file
common/mail/sendNewPassword-text.php
View file @
e7652372
...
...
@@ -3,11 +3,13 @@
/* @var $this yii\web\View */
/* @var $user common\models\User */
use
common\models\Settings
;
?>
Добрый день!
Уведомляем Вас о том, что Вы были зарегистрированы на сайте
{адрес сайта из настроек}
.
Уведомляем Вас о том, что Вы были зарегистрированы на сайте
<?=
Yii
::
$app
->
params
[
'frontUrl'
]
?>
.
Для входа используйте следующие пароли доступа:
Логин:
<?=
$user
->
email
;
?>
...
...
@@ -18,4 +20,4 @@
С уважением, команда Task-On.
Если у Вас есть вопросы обратитесь к администратору сервиса на адрес {адрес службы поддержки указанный в настройках}
\ No newline at end of file
Если у Вас есть вопросы обратитесь к администратору сервиса на адрес
<?=
Settings
::
getValue
(
'content-support-email'
)
?>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment