Skip to content

Commit

Permalink
Cleanup: removed all closing tags in php files.
Browse files Browse the repository at this point in the history
  • Loading branch information
itronics committed Jan 3, 2015
1 parent 3b06c6c commit 5b8f4c4
Show file tree
Hide file tree
Showing 410 changed files with 5 additions and 425 deletions.
1 change: 0 additions & 1 deletion access/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<?php
header("Location: ../index.php");
?>
1 change: 0 additions & 1 deletion access/login.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,3 @@ function defaultCompany()
echo "</table><br><br>\n";
echo "</body></html>\n";

?>
3 changes: 0 additions & 3 deletions access/logout.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,3 @@
end_page(false, true);
session_unset();
@session_destroy();
?>


1 change: 0 additions & 1 deletion access/password_reset.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,3 @@ function defaultCompany()
echo "</table><br><br>\n";
echo "</body></html>\n";

?>
1 change: 0 additions & 1 deletion access/timeout.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,3 @@
}
</script>";
}
?>
3 changes: 1 addition & 2 deletions admin/attachments.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
if (!file_exists($dir))
{
mkdir ($dir,0777);
$index_file = "<?php\nheader(\"Location: ../index.php\");\n?>";
$index_file = "<?php\nheader(\"Location: ../index.php\");\n";
$fp = fopen($dir."/index.php", "w");
fwrite($fp, $index_file);
fclose($fp);
Expand Down Expand Up @@ -258,4 +258,3 @@ function display_rows($type)

end_page();

?>
1 change: 0 additions & 1 deletion admin/backups.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,3 @@ function download_file($filename)
end_form();

end_page();
?>
1 change: 0 additions & 1 deletion admin/change_current_user_password.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,3 @@ function can_process()
submit_center( 'UPDATE_ITEM', _('Change password'), true, '', 'default');
end_form();
end_page();
?>
1 change: 0 additions & 1 deletion admin/company_preferences.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,3 @@

end_page();

?>
1 change: 0 additions & 1 deletion admin/create_coy.php
Original file line number Diff line number Diff line change
Expand Up @@ -386,4 +386,3 @@ function display_company_edit($selected_id)
//---------------------------------------------------------------------------------------------
end_page();

?>
1 change: 0 additions & 1 deletion admin/crm_categories.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,3 @@
end_form();

end_page();
?>
1 change: 0 additions & 1 deletion admin/db/attachments_db.inc
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,3 @@ function get_sql_for_attached_documents($type)
}


?>
1 change: 0 additions & 1 deletion admin/db/company_db.inc
Original file line number Diff line number Diff line change
Expand Up @@ -216,4 +216,3 @@ function clean_user_themes($theme)
}


?>
1 change: 0 additions & 1 deletion admin/db/fiscalyears_db.inc
Original file line number Diff line number Diff line change
Expand Up @@ -422,4 +422,3 @@ function delete_this_fiscalyear($selected_id)
}


?>
1 change: 0 additions & 1 deletion admin/db/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<?php
header("Location: ../index.php");
?>
9 changes: 4 additions & 5 deletions admin/db/maintenance_db.inc
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function write_config_db($new = false)
$msg .= "\$def_coy = " . $def_coy . ";\n\n";
$msg .= "\$tb_pref_counter = " . $tb_pref_counter . ";\n\n";
$msg .= "\$db_connections = " .var_export($db_connections, true);
$msg .= ";\n?>";
$msg .= ";\n";

$filename = $path_to_root . "/config_db.php";
// Check if the file exists and is writable first.
Expand Down Expand Up @@ -142,7 +142,7 @@ function write_extensions($extensions=null, $company = -1)
*/\n\n";

$msg .= "\$installed_extensions = ". var_export($extensions, true);
$msg .= ";\n?>";
$msg .= ";\n";
$filename = $path_to_root . ($company==-1 ? '' : '/company/'.$company)
.'/installed_extensions.php';

Expand Down Expand Up @@ -221,7 +221,7 @@ function write_lang()

$msg .= "\$installed_languages = " . var_export($installed_languages, true);
$msg .= ";\n";
$msg .= "\n\$dflt_lang = '$dflt_lang';\n?>\n";
$msg .= "\n\$dflt_lang = '$dflt_lang';\n";

$path = $path_to_root . "/lang";
$filename = $path.'/installed_languages.inc';
Expand Down Expand Up @@ -922,7 +922,7 @@ function save_to_file($path, $zip, $fileData)

function create_comp_dirs($comp_path, $comp_subdirs)
{
$index = "<?php\nheader(\"Location: ../index.php\");\n?>";
$index = "<?php\nheader(\"Location: ../index.php\");\n";
$cdir = $comp_path;
@mkdir($cdir);
$f = @fopen("$cdir/index.php", "wb");
Expand Down Expand Up @@ -995,4 +995,3 @@ function update_config_var($file, $variable, $value, $comment='')
}


?>
1 change: 0 additions & 1 deletion admin/db/printers_db.inc
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,3 @@ function get_print_profile($name)
return db_query($sql,"could not get printing profile");
}

?>
1 change: 0 additions & 1 deletion admin/db/security_db.inc
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,3 @@ function check_role_used($id) {
$row = db_fetch($ret);
return $row[0];
}
?>
1 change: 0 additions & 1 deletion admin/db/shipping_db.inc
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,3 @@ function get_shipper($selected_id)
return db_fetch($result);
}

?>
1 change: 0 additions & 1 deletion admin/db/tags_db.inc
Original file line number Diff line number Diff line change
Expand Up @@ -220,4 +220,3 @@ function is_record_in_tags($tags, $type, $recordid)
return true;
}

?>
1 change: 0 additions & 1 deletion admin/db/transactions_db.inc
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,3 @@ function get_systypes()
return $result;
}

?>
1 change: 0 additions & 1 deletion admin/db/users_db.inc
Original file line number Diff line number Diff line change
Expand Up @@ -221,4 +221,3 @@ function show_users_online()
return "$users ".($users == 1 ? _("user online") : _("users online"));

}
?>
1 change: 0 additions & 1 deletion admin/db/voiding_db.inc
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,3 @@ function add_voided_entry($type, $type_no, $date_, $memo_)

//--------------------------------------------------------------------------------------------------

?>
1 change: 0 additions & 1 deletion admin/display_prefs.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,4 +165,3 @@

end_page();

?>
1 change: 0 additions & 1 deletion admin/fiscalyears.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,4 +253,3 @@ function display_fiscalyear_edit($selected_id)

end_page();

?>
1 change: 0 additions & 1 deletion admin/forms_setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,3 @@

end_page();

?>
1 change: 0 additions & 1 deletion admin/gl_setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -314,4 +314,3 @@ function can_process()

end_page();

?>
1 change: 0 additions & 1 deletion admin/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<?php
header("Location: ../index.php");
?>
1 change: 0 additions & 1 deletion admin/inst_chart.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,3 @@
end_form();

end_page();
?>
1 change: 0 additions & 1 deletion admin/inst_lang.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,4 +294,3 @@ function handle_delete($id)
//---------------------------------------------------------------------------------------------
end_page();

?>
1 change: 0 additions & 1 deletion admin/inst_module.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,4 +266,3 @@ function company_extensions($id)
end_form();

end_page();
?>
1 change: 0 additions & 1 deletion admin/inst_theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,3 @@
end_form();

end_page();
?>
1 change: 0 additions & 1 deletion admin/inst_upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,3 @@ function upgrade_step($index, $company, $conn)

end_page();

?>
1 change: 0 additions & 1 deletion admin/payment_terms.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,4 +189,3 @@ function term_type($myrow)

end_page();

?>
1 change: 0 additions & 1 deletion admin/print_profiles.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,4 +184,3 @@ function check_delete($name)
end_form();
end_page();

?>
1 change: 0 additions & 1 deletion admin/printers.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,3 @@

end_page();

?>
1 change: 0 additions & 1 deletion admin/security_roles.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,4 +254,3 @@ function clear_data()
end_form();
end_page();

?>
1 change: 0 additions & 1 deletion admin/shipping_companies.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,3 @@ function can_process()

end_form();
end_page();
?>
1 change: 0 additions & 1 deletion admin/system_diagnostics.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@

end_page();

?>
1 change: 0 additions & 1 deletion admin/tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,3 @@ function can_delete($selected_id)

end_page();

?>
1 change: 0 additions & 1 deletion admin/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,4 +228,3 @@ function can_process()

end_form();
end_page();
?>
1 change: 0 additions & 1 deletion admin/view_print_transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,3 @@ function handle_search()

end_page();

?>
1 change: 0 additions & 1 deletion admin/void_transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -335,4 +335,3 @@ function handle_void_transaction()

end_page();

?>
1 change: 0 additions & 1 deletion applications/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,4 +157,3 @@ function report_class_url($class)
}


?>
1 change: 0 additions & 1 deletion applications/customers.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,3 @@ function customers_app()
}


?>
1 change: 0 additions & 1 deletion applications/dimensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,3 @@ function dimensions_app()
}
}

?>
1 change: 0 additions & 1 deletion applications/generalledger.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,3 @@ function general_ledger_app()
}


?>
1 change: 0 additions & 1 deletion applications/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<?php
header("Location: ../index.php");
?>
1 change: 0 additions & 1 deletion applications/inventory.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,3 @@ function inventory_app()
}


?>
1 change: 0 additions & 1 deletion applications/manufacturing.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,3 @@ function manufacturing_app()
}


?>
1 change: 0 additions & 1 deletion applications/setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,3 @@ function setup_app()
}


?>
1 change: 0 additions & 1 deletion applications/suppliers.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,3 @@ function suppliers_app()
}


?>
1 change: 0 additions & 1 deletion company/0/backup/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<?php
header("Location: ../index.php");
?>
1 change: 0 additions & 1 deletion company/0/images/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<?php
header("Location: ../index.php");
?>
1 change: 0 additions & 1 deletion company/0/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<?php
header("Location: ../index.php");
?>
1 change: 0 additions & 1 deletion company/0/js_cache/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<?php
header("Location: ../index.php");
?>
1 change: 0 additions & 1 deletion company/0/pdf_files/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<?php
header("Location: ../index.php");
?>
1 change: 0 additions & 1 deletion company/0/reporting/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<?php
header("Location: ../index.php");
?>
1 change: 0 additions & 1 deletion company/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<?php
header("Location: ../index.php");
?>
1 change: 0 additions & 1 deletion config.default.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,3 @@
*/
$clear_trial_balance_opening = false;

?>
1 change: 0 additions & 1 deletion dimensions/dimension_entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,4 +307,3 @@ function can_process()

end_page();

?>
1 change: 0 additions & 1 deletion dimensions/includes/dimensions_db.inc
Original file line number Diff line number Diff line change
Expand Up @@ -218,4 +218,3 @@ function get_sql_for_search_dimensions($dim, $from, $to, $order='', $type = -1,
}
return $sql;
}
?>
1 change: 0 additions & 1 deletion dimensions/includes/dimensions_ui.inc
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,3 @@ function display_dimension_balance($id, $from, $to)

//--------------------------------------------------------------------------------------

?>
1 change: 0 additions & 1 deletion dimensions/includes/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<?php
header("Location: ../index.php");
?>
1 change: 0 additions & 1 deletion dimensions/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<?php
header("Location: ../index.php");
?>
1 change: 0 additions & 1 deletion dimensions/inquiry/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<?php
header("Location: ../index.php");
?>
1 change: 0 additions & 1 deletion dimensions/inquiry/search_dimensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,3 @@ function edit_link($row)
end_form();
end_page();

?>
1 change: 0 additions & 1 deletion dimensions/view/index.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<?php
header("Location: ../index.php");
?>
Loading

0 comments on commit 5b8f4c4

Please sign in to comment.