-if ( $op eq 'save_conf' ) { # this early sub is depreciated, use save_layout()
-
- SaveConf(
- $barcodetype, $title, $isbn,
- $issn, $itemtype, $bcn, $dcn,
- $classif, $subclass, $itemcallnumber, $author,
- $tmpl_id, $printingtype, $guidebox, $startlabel, $layoutname
- );
- print $query->redirect("label-home.pl");
- exit;
-}
-
-
-elsif ( $op eq 'save_layout' ) {
- save_layout(
- $barcodetype, $title, $subtitle, $isbn,
- $issn, $itemtype, $bcn, $dcn,
- $classif, $subclass, $itemcallnumber, $author,
- $tmpl_id, $printingtype, $guidebox, $startlabel, $layoutname,
- $layout_id
- );
-
-### $layoutname
-
- print $query->redirect("label-home.pl");
- exit;
+if ( $op eq 'save_layout' ) {
+ save_layout(
+ $barcodetype, $title, $subtitle, $isbn,
+ $issn, $itemtype, $bcn, $text_justify,
+ $callnum_split, $itemcallnumber, $author,
+ $tmpl_id, $printingtype, $guidebox, $startlabel, $layoutname,
+ , $formatstring , $layout_id
+ );
+ ### $layoutname
+ print $query->redirect("label-home.pl");
+ exit;