Minor - code style

skala
Yannick Warnier 13 years ago
parent 0676d131bb
commit 2c77644773
  1. 16
      main/reports/index.php

@ -1,6 +1,5 @@
<?php
/* For licensing terms, see /license.txt */
/**
* Reports
* @author Arnaud Ligot <arnaud@cblue.be>
@ -12,7 +11,6 @@
$language_file = array('reportlib');
$cidReset = true;
// including files
require_once '../inc/global.inc.php';
require_once 'reports.lib.php';
@ -32,7 +30,6 @@ $tool_name=get_lang('Reports');
foreach (array('jquery.js','jquery-ui-1.8.5.custom.min.js', 'jquery.ba-bbq.min.js', 'jquery.validate.js', 'jquery.form.js', 'jquery.form.wizard.js', 'jquery.dataTables.min.js') as $js)
$htmlHeadXtra[] = '<script src="'.api_get_path(WEB_LIBRARY_PATH).'javascript/'.$js.'" type="text/javascript" language="javascript"></script>'."\n";
// FIXME
$htmlHeadXtra[] = ' <style type="text/css">
#reportsBuilderWizard {
@ -138,18 +135,19 @@ Display::display_header($tool_name);
<label for="type"><?php echo get_lang('ReportType'); ?></label><br />
<select class="input_field_12em link required" name="type" id="type">
<?php
foreach($reports_template as $key => $value)
foreach ($reports_template as $key => $value) {
echo '<option value="'.$key.'">'.$value['description'].'</option>';
}
?>
</select><br />
</span>
<?php
foreach($reports_template as $key => $value)
foreach ($reports_template as $key => $value) {
echo $value['wizard'];
}
?>
<span id="format" class="step submit_step">
<span class="font_normal_07em_black"><?php echo get_lang('ReportFormat'); ?></span><br />
<select name="format" id="format">
<option value="html">HTML</option>
<option value="csv">CSV</option>
@ -169,10 +167,7 @@ foreach($reports_template as $key => $value)
<?php echo get_lang('ShowWizard'); ?>
</div>
<p id="data"></p>
</div>
<div id="result" class="result">
</div>
<div id="result2" class="result">
@ -217,8 +212,5 @@ foreach($reports_template as $key => $value)
</script>
<?
// Footer
Display::display_footer();
?>

Loading…
Cancel
Save