Skip to content

Commit

Permalink
0.6.5 rev 4320
Browse files Browse the repository at this point in the history
  • Loading branch information
nightflyza committed Mar 30, 2015
1 parent 66e65d0 commit a28b45a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 31 deletions.
2 changes: 1 addition & 1 deletion RELEASE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.5 rev 4319
0.6.5 rev 4320
49 changes: 19 additions & 30 deletions modules/general/report_complex/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,35 +108,24 @@ public function getData() {
}

public function printable($data) {
$style = wf_tag('style', false, '', 'type="text/css"');
$style.='
table.sortable {
border-width: 1px;
border-spacing: 2px;
border-style: outset;
border-color: gray;
border-collapse: separate;
background-color: white;
}
table.sortable th {
border-width: 1px;
padding: 1px;
border-style: dashed;
border-color: gray;
background-color: white;
-moz-border-radius: ;
}
table.sortable td {
border-width: 1px;
padding: 1px;
border-style: dashed;
border-color: gray;
background-color: white;
-moz-border-radius: ;
}
';
$style.= wf_tag('style', true);
$result = $style . $data;
$style = file_get_contents(CONFIG_PATH."ukvprintable.css");

$header = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ru" lang="ru">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style type="text/css">
' . $style . '
</style>
<script src="modules/jsc/sorttable.js" language="javascript"></script>
</head>
<body>
';

$footer = '</body> </html>';

$result=$header.$data.$footer;
return ($result);
}

Expand Down Expand Up @@ -510,7 +499,7 @@ public function renderAll($cutdata = false) {


} else {
show_window(__('Error'), __('This module is disabled'));
show_error( __('This module is disabled'));
}
}

Expand Down

0 comments on commit a28b45a

Please sign in to comment.