Mercurial > pub > site.implab
comparison view/site/user/passwd.tt @ 11:573272ec604b
almost comlete doxygen library
author | sergey |
---|---|
date | Thu, 15 May 2014 18:24:02 +0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
10:83ad674a8cdd | 11:573272ec604b |
---|---|
1 [% | |
2 labels( | |
3 Title = 'Change password' | |
4 BtnSubmit = 'Change', | |
5 SuccessMessage = 'Пароль для пользователя %name% успешно изменен!' | |
6 ); | |
7 document.title = Title; | |
8 render('pagemenu'); | |
9 | |
10 IF result.complete; | |
11 %] | |
12 <h3 class='success'> | |
13 [% SuccessMessage(model) %] | |
14 </h3> | |
15 [% | |
16 ELSE; | |
17 display_model( | |
18 result, | |
19 'dojo/form', | |
20 layout = { | |
21 content = 'form/box', | |
22 args = { | |
23 title = Title, | |
24 buttons = [ { type = 'submit', text = BtnSubmit } ] | |
25 } | |
26 } | |
27 ); | |
28 END; | |
29 %] |