annotate view/site/user/passwd.tt @ 16:e69c970c3ddd default tip

sync
author sergey
date Tue, 20 May 2014 01:28:48 +0400
parents 573272ec604b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
1 [%
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
2 labels(
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
3 Title = 'Change password'
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
4 BtnSubmit = 'Change',
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
5 SuccessMessage = 'Пароль для пользователя %name% успешно изменен!'
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
6 );
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
7 document.title = Title;
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
8 render('pagemenu');
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
9
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
10 IF result.complete;
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
11 %]
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
12 <h3 class='success'>
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
13 [% SuccessMessage(model) %]
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
14 </h3>
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
15 [%
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
16 ELSE;
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
17 display_model(
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
18 result,
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
19 'dojo/form',
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
20 layout = {
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
21 content = 'form/box',
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
22 args = {
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
23 title = Title,
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
24 buttons = [ { type = 'submit', text = BtnSubmit } ]
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
25 }
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
26 }
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
27 );
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
28 END;
573272ec604b almost comlete doxygen library
sergey
parents:
diff changeset
29 %]