Cleanup: removed all closing tags in php files.
[fa-stable.git] / admin / print_profiles.php
index 59f9ec8085ff1c0b10723eb8e545aac54c78bcef..ea5535af78e53d821642c7dbad0366971b05633f 100644 (file)
@@ -23,13 +23,13 @@ $selected_id = get_post('profile_id','');
 // Returns array of defined reports
 //
 function get_reports() {
-       global $path_to_root, $comp_path, $go_debug;
+       global $path_to_root, $go_debug;
 
 if ($go_debug || !isset($_SESSION['reports'])) {       
        // to save time, store in session.
                $paths = array (
                        $path_to_root.'/reporting/',
-                       $comp_path .'/'. user_company() . '/reporting/');
+                       company_path(). '/reporting/');
                $reports = array( '' => _('Default printing destination'));
 
        foreach($paths as $dirno => $path) {
@@ -144,7 +144,7 @@ while ($myrow = db_fetch($result)) {
        $prints[$myrow['report']] = $myrow['printer'];
 }
 
-start_table($table_style);
+start_table(TABLESTYLE);
 $th = array(_("Report Id"), _("Description"), _("Printer"));
 table_header($th);
 
@@ -184,4 +184,3 @@ div_end();
 end_form();
 end_page();
 
-?>