#576 Printable view for object details. Possibility to hide/show chapters (the equivalent of tabs in the UI) or any fieldset. Requires testing and comments.

SVN:trunk[3679]
This commit is contained in:
Romain Quetiez
2015-08-17 14:12:36 +00:00
parent 2f0b122101
commit 712931b728
16 changed files with 464 additions and 233 deletions

View File

@@ -276,6 +276,7 @@ try
require_once(APPROOT.'/application/startup.inc.php');
$operation = utils::ReadParam('operation', '');
$bPrintable = (utils::ReadParam('printable', 0) == '1');
$oKPI = new ExecutionKPI();
$oKPI->ComputeAndReport('Data model loaded');
@@ -288,9 +289,10 @@ try
$oKPI->ComputeAndReport('User login');
$oP = new iTopWebPage(Dict::S('UI:WelcomeToITop'));
$oP = new iTopWebPage(Dict::S('UI:WelcomeToITop'), $bPrintable);
$oP->SetMessage($sLoginMessage);
// All the following actions use advanced forms that require more javascript to be loaded
switch($operation)
{