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