diff --git a/phpgwapi/templates/idots/head.inc.php b/phpgwapi/templates/idots/head.inc.php index a514de8e8a..4063662031 100644 --- a/phpgwapi/templates/idots/head.inc.php +++ b/phpgwapi/templates/idots/head.inc.php @@ -30,6 +30,7 @@ $theme_css = '/phpgwapi/templates/idots/css/idots.css'; } $theme_css = $GLOBALS['egw_info']['server']['webserver_url'] . $theme_css; + $print_css = $GLOBALS['egw_info']['server']['webserver_url'] . '/phpgwapi/templates/idots/print.css'; //pngfix defaults to yes if(!$GLOBALS['egw_info']['user']['preferences']['common']['disable_pngfix']) @@ -85,6 +86,7 @@ 'website_title' => strip_tags($GLOBALS['egw_info']['server']['site_title']. ($app ? " [$app]" : '')), 'body_tags' => $bodyheader .' '. $GLOBALS['egw']->common->get_body_attribs(), 'theme_css' => $theme_css, + 'print_css' => $print_css, 'css' => $GLOBALS['egw']->common->get_css(), 'java_script' => $GLOBALS['egw']->common->get_java_script(), 'meta_robots' => $robots, diff --git a/phpgwapi/templates/idots/head.tpl b/phpgwapi/templates/idots/head.tpl index 7d3de6cfad..1b652f101a 100644 --- a/phpgwapi/templates/idots/head.tpl +++ b/phpgwapi/templates/idots/head.tpl @@ -14,6 +14,7 @@ + {slider_effects} {simple_show_hide} {pngfix} diff --git a/phpgwapi/templates/idots/print.css b/phpgwapi/templates/idots/print.css new file mode 100644 index 0000000000..486320113c --- /dev/null +++ b/phpgwapi/templates/idots/print.css @@ -0,0 +1,16 @@ +/* + The styles in this file are used for printing only! + + Additional UI Elements can be disabled for printing by adding their Id here or adding the noPrint class to them. +*/ +/* $Id$ */ + +#divLogo,#divAppIconBar,#tdSidebox,#divStatusBar,.noPrint { + display:none; +} + +#divMain { + border:none; + margin:0px; + padding:0px; +} \ No newline at end of file