2013-01-08 Dario Rodriguez <dario.rodriguez@artica.es>
* godmode/reporting/reporting_builder.php: Added a default cover for PDF reports. include/help/ja/help_reporting_advanced_tab.php, include/help/en/help_reporting_advanced_tab.php, include/help/es/help_reporting_advanced_tab.php: Documented new macro called REPORT_NAME MERGED FROM 4.0.3 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
ac64dba549
commit
366deb9a91
|
@ -1,3 +1,14 @@
|
|||
2013-01-08 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||
|
||||
* godmode/reporting/reporting_builder.php: Added a default cover
|
||||
for PDF reports.
|
||||
include/help/ja/help_reporting_advanced_tab.php,
|
||||
include/help/en/help_reporting_advanced_tab.php,
|
||||
include/help/es/help_reporting_advanced_tab.php: Documented new macro
|
||||
called REPORT_NAME
|
||||
|
||||
MERGED FROM 4.0.3
|
||||
|
||||
2013-01-08 Dario Rodriguez <dario.rodriguez@artica.es>
|
||||
|
||||
* godmode/agentes/module_manager.php: Added a link to module library
|
||||
|
|
|
@ -560,10 +560,14 @@ switch ($action) {
|
|||
else
|
||||
$metaconsole_report = 0;
|
||||
|
||||
$start_url = ui_get_full_url(false);
|
||||
$first_page = "<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;"><img src="".$start_url."/images/pandora_report_logo.png" alt="" width="800" /></p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;"><span style="font-size: xx-large;">(_REPORT_NAME_)</span></p>
<p style="text-align: center;"><span style="font-size: large;">(_DATETIME_)</span></p>";
|
||||
|
||||
$idOrResult = db_process_sql_insert('treport',
|
||||
array('name' => $reportName,
|
||||
'id_group' => $idGroupReport,
|
||||
'description' => $description,
|
||||
'first_page' => $first_page,
|
||||
'private' => $private,
|
||||
'id_group_edit' => $id_group_edit,
|
||||
'id_user' => $config['id_user'],
|
||||
|
|
|
@ -5,7 +5,9 @@
|
|||
?>
|
||||
<h1>Advanced reporting</h1>
|
||||
<p>
|
||||
You can use only a macro in the first page: (_DATETIME_) this token will be replaced by the current date and time in the moment of generating the PDF.
|
||||
You can use only a macro in the first page: <br><br>
|
||||
<b>(_DATETIME_)</b> will be replaced by the current date and time in the moment of generating the PDF.<br>
|
||||
<b>(_REPORT_NAME_)</b> will be replaced by the current name of report.
|
||||
<br><br>
|
||||
If you have problems loading a image file, try using a PNG format instead JPG or other formats.
|
||||
</p>
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
<h1>Opciones avanzadas</h1>
|
||||
<p>
|
||||
Puede usar una macro en la portada:<br><br>
|
||||
|
||||
<b>(_DATETIME_)</b> este token será reemplazado por la fecha y hora actual en el momento de generar el PDF.
|
||||
<b>(_REPORT_NAME_)</b> este token será reemplazado por el nombre del informe.
|
||||
<br><br>
|
||||
Si tiene problemas visualizando una imagen, prueba a usar el formato PNG en vez de usar otros formatos.
|
||||
</p>
|
||||
|
|
|
@ -5,7 +5,8 @@
|
|||
?>
|
||||
<h1>拡張レポート</h1>
|
||||
<p>
|
||||
_DATETIME_ マクロは、最初のページで利用できます。これは、PDF を生成した時点の日時に置き換えられます。
|
||||
<b>(_DATETIME_)</b> マクロは、最初のページで利用できます。これは、PDF を生成した時点の日時に置き換えられます。<br>
|
||||
<b>(_REPORT_NAME)</b> will be replaced by the current name of report.
|
||||
<br><br>
|
||||
画像ファイルの読み込みで問題がある場合は、JPG 等のフォーマットではなく、PNG フォーマットを使ってみてください。
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue