[Koha-cvs] CVS: koha/admin marctagstructure.pl,1.25,1.26

Owen Leonard oleonard at users.sourceforge.net
Mon Jan 10 22:33:57 CET 2005


Update of /cvsroot/koha/koha/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28953/admin

Modified Files:
	marctagstructure.pl 
Log Message:
Moving HTML markup to the template

Index: marctagstructure.pl
===================================================================
RCS file: /cvsroot/koha/koha/admin/marctagstructure.pl,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -r1.25 -r1.26
*** marctagstructure.pl	4 Oct 2004 20:37:14 -0000	1.25
--- marctagstructure.pl	10 Jan 2005 21:33:54 -0000	1.26
***************
*** 125,133 ****
  	if ($searchfield) {
  		$template->param(action => "Modify tag",
! 								searchfield => "<input type=\"hidden\" name=\"tagfield\" value=\"$searchfield\" />$searchfield");
  		$template->param('heading-modify-tag-p' => 1);
  	} else {
! 		$template->param(action => "Add tag",
! 								searchfield => "<input type=\"text\" name=\"tagfield\" size=\"5\" maxlength=\"3\" />");
  		$template->param('heading-add-tag-p' => 1);
  	}
--- 125,132 ----
  	if ($searchfield) {
  		$template->param(action => "Modify tag",
! 								searchfield => $searchfield);
  		$template->param('heading-modify-tag-p' => 1);
  	} else {
! 		$template->param(action => "Add tag");
  		$template->param('heading-add-tag-p' => 1);
  	}
***************
*** 225,231 ****
  		$row_data{mandatory} = $results->[$i]{'mandatory'};
  		$row_data{authorised_value} = $results->[$i]{'authorised_value'};
- 		$row_data{subfield_link} ="marc_subfields_structure.pl?tagfield=".$results->[$i]{'tagfield'}."&frameworkcode=".$frameworkcode;
- 		$row_data{edit} = "$script_name?op=add_form&amp;searchfield=".$results->[$i]{'tagfield'}."&frameworkcode=".$frameworkcode;
- 		$row_data{delete} = "$script_name?op=delete_confirm&amp;searchfield=".$results->[$i]{'tagfield'}."&frameworkcode=".$frameworkcode;
  		$row_data{bgcolor} = $toggle;
  		push(@loop_data, \%row_data);
--- 224,227 ----





More information about the Koha-cvs mailing list