1 | <?php |
---|
2 | class uihelp |
---|
3 | { |
---|
4 | function viewHelp() |
---|
5 | { |
---|
6 | $template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); |
---|
7 | $template->set_file(Array('manual' => 'index.tpl')); |
---|
8 | $template->set_var('title_help', lang('Help')); |
---|
9 | $template->set_var('lang_help', lang('Help')); |
---|
10 | $template->set_var('template_set', $GLOBALS['phpgw_info']['user']['preferences']['common']['template_set']); |
---|
11 | $template->set_var('lang', $GLOBALS['phpgw_info']['user']['preferences']['common']['lang']); |
---|
12 | $template->set_block('manual','help'); |
---|
13 | $template->pfp('out', 'manual'); |
---|
14 | } |
---|
15 | function viewSuggestions() |
---|
16 | { |
---|
17 | $template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); |
---|
18 | $template->set_file(Array('manual' => 'suggestions.tpl')); |
---|
19 | $template->set_var('title_suggestions', lang('Suggestions')); |
---|
20 | $template->set_var('lang_suggestions', lang('Suggestions')); |
---|
21 | $template->set_var('template_set', $GLOBALS['phpgw_info']['user']['preferences']['common']['template_set']); |
---|
22 | $template->set_var('txt_desc',lang("Use this space to send your doubts, critics and suggestions")); |
---|
23 | $template->set_var('txt_send', lang("Send")); |
---|
24 | $template->set_var('txt_cancel', lang("Cancel")); |
---|
25 | $template->set_block('manual','help'); |
---|
26 | $template->pfp('out', 'manual'); |
---|
27 | } |
---|
28 | function viewSuccess() |
---|
29 | { |
---|
30 | $template = CreateObject('phpgwapi.Template',PHPGW_APP_TPL); |
---|
31 | $template->set_file(Array('manual' => 'success.tpl')); |
---|
32 | $template->set_var('template_set', $GLOBALS['phpgw_info']['user']['preferences']['common']['template_set']); |
---|
33 | $template->set_var('lang_suggestions', lang('Suggestions')); |
---|
34 | $template->set_var('txt_close', lang("Close")); |
---|
35 | |
---|
36 | $template->set_var('title_suggestions', lang('Suggestions')); |
---|
37 | $template->set_var('txt_success', lang('Your suggestion was sent successfully.')); |
---|
38 | $template->set_var('html_description', lang('html_description')); |
---|
39 | $template->set_block('manual','help'); |
---|
40 | $template->pfp('out', 'manual'); |
---|
41 | } |
---|
42 | } |
---|
43 | ?> |
---|