diff --git a/application/views/barcode.php b/application/views/barcode.php index 26e8998b8..41f1bfa63 100644 --- a/application/views/barcode.php +++ b/application/views/barcode.php @@ -81,7 +81,6 @@ // Startup code //----------------------------------------------------------------------------- - if(isset($_GET["text"])) $text=$_GET["text"]; if(isset($_GET["format"])) $format=$_GET["format"]; if(isset($_GET["quality"])) $quality=$_GET["quality"]; @@ -90,9 +89,6 @@ if(isset($_GET["height"])) $height=$_GET["height"]; if(isset($_GET["type"])) $type=$_GET["type"]; if(isset($_GET["barcode"])) $barcode=$_GET["barcode"]; - - - if (!isset ($text)) $text = ''; if (!isset ($type)) $type = 1; if (empty ($quality)) $quality = 100; @@ -101,7 +97,6 @@ if (empty ($height)) $height = 80; if (!empty ($format)) $format = strtoupper ($format); else $format="PNG"; - switch ($type) { default: @@ -111,7 +106,6 @@ switch ($type) break; } - //----------------------------------------------------------------------------- // Generate a Code 3 of 9 barcode //----------------------------------------------------------------------------- @@ -215,7 +209,6 @@ function Barcode39 ($barcode, $width, $height, $quality, $format, $text) OutputImage ($im, $format, $quality); } - //----------------------------------------------------------------------------- // Output an image to the browser //----------------------------------------------------------------------------- @@ -235,7 +228,6 @@ function OutputImage ($im, $format, $quality) } } - //----------------------------------------------------------------------------- // Returns the Code 3 of 9 value for a given ASCII character //----------------------------------------------------------------------------- diff --git a/application/views/barcode_sheet.php b/application/views/barcode_sheet.php index 1930ef49a..eb196ebf4 100644 --- a/application/views/barcode_sheet.php +++ b/application/views/barcode_sheet.php @@ -18,7 +18,7 @@ foreach($items as $item) { echo ''; } - echo ""; + echo ""; $count++; } ?>