📄 print_options.php
字号:
<?php/** * @copyright Intermesh 2003 * @author Merijn Schering <mschering@intermesh.nl> * @version $Revision: 1.1 $ $Date: 2006/04/10 13:55:12 $ * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. */ require_once("../../Group-Office.php");$GO_SECURITY->authenticate();$GO_MODULES->authenticate('projects');require_once($GO_LANGUAGE->get_language_file('projects'));$page_title=$menu_projects;require_once($GO_MODULES->class_path."projects.class.inc");$projects = new projects();$task = isset($_REQUEST['task']) ? $_REQUEST['task'] : '';$link_back = (isset($_REQUEST['link_back']) && $_REQUEST['link_back'] != '') ? $_REQUEST['link_back'] : $_SERVER['REQUEST_URI'];$return_to = (isset($_REQUEST['return_to']) && $_REQUEST['return_to'] != '') ? $_REQUEST['return_to'] : $_SERVER['HTTP_REFERER'];$time = get_time();$day = date("j", $time);$year = date("Y", $time);$month = date("m", $time);$date = date($_SESSION['GO_SESSION']['date_format'], $time);$GO_HEADER['head'] = date_picker::get_header();require_once($GO_THEME->theme_path."header.inc");$form = new form('print_form');$form->set_attribute('action', 'print_projects.php');$form->set_attribute('target', '_blank');$form->add_html_element(new input('hidden', 'sort_order','DESC'));$form->add_html_element(new input('hidden', 'sort_index','start_date'));$h1 = new html_element('h1', $pm_print_options);$form->add_html_element($h1);$form->add_html_element(new html_element('p', $pm_print_options_text));$table = new table();$row = new table_row(); $row->add_cell(new table_cell($pm_start_date.':')); $datepicker = new date_picker('start_date', $_SESSION['GO_SESSION']['date_format'], '');$cell = new table_cell($datepicker->get_html().' ');$row->add_cell($cell);$table->add_row($row);$row = new table_row(); $row->add_cell(new table_cell($pm_end_date.':')); $datepicker = new date_picker('end_date', $_SESSION['GO_SESSION']['date_format'], '');$row->add_cell(new table_cell($datepicker->get_html()));$table->add_row($row);$form->add_html_element($table);$form->add_html_element(new button($cmdPrint, 'javascript:document.print_form.submit();'));$form->add_html_element(new button($cmdClose, "javascript:document.location='$return_to';"));echo $form->get_html();require_once($GO_THEME->theme_path."footer.inc");?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -