View | Details | Raw Unified | Return to bug 11351
Collapse All | Expand All

(-)a/C4/SIP/ILS/Item.pm (-1 / +5 lines)
Lines 21-26 use C4::Items; Link Here
21
use C4::Circulation;
21
use C4::Circulation;
22
use C4::Members;
22
use C4::Members;
23
use C4::Reserves;
23
use C4::Reserves;
24
use Koha::Database;
24
25
25
our $VERSION = 3.07.00.049;
26
our $VERSION = 3.07.00.049;
26
27
Lines 86-92 sub new { Link Here
86
    $item->{permanent_location}= $item->{homebranch};
87
    $item->{permanent_location}= $item->{homebranch};
87
    $item->{'collection_code'} = $item->{ccode};
88
    $item->{'collection_code'} = $item->{ccode};
88
    $item->{  'call_number'  } = $item->{itemcallnumber};
89
    $item->{  'call_number'  } = $item->{itemcallnumber};
89
    # $item->{'destination_loc'}  =  ?
90
91
    my $it = C4::Context->preference('item-level_itypes') ? $item->{itype} : $item->{itemtype};
92
    my $itemtype = Koha::Database->new()->schema()->resultset('Itemtype')->find( $it );
93
    $item->{sip_media_type} = $itemtype->sip_media_type() if $itemtype;
90
94
91
	# check if its on issue and if so get the borrower
95
	# check if its on issue and if so get the borrower
92
	my $issue = GetItemIssue($item->{'itemnumber'});
96
	my $issue = GetItemIssue($item->{'itemnumber'});
(-)a/Koha/Schema/Result/Itemtype.pm (-21 / +15 lines)
Lines 1-21 Link Here
1
use utf8;
2
package Koha::Schema::Result::Itemtype;
1
package Koha::Schema::Result::Itemtype;
3
2
4
# Created by DBIx::Class::Schema::Loader
3
# Created by DBIx::Class::Schema::Loader
5
# DO NOT MODIFY THE FIRST PART OF THIS FILE
4
# DO NOT MODIFY THE FIRST PART OF THIS FILE
6
5
7
=head1 NAME
8
9
Koha::Schema::Result::Itemtype
10
11
=cut
12
13
use strict;
6
use strict;
14
use warnings;
7
use warnings;
15
8
16
use base 'DBIx::Class::Core';
9
use base 'DBIx::Class::Core';
17
10
18
=head1 TABLE: C<itemtypes>
11
12
=head1 NAME
13
14
Koha::Schema::Result::Itemtype
19
15
20
=cut
16
=cut
21
17
Lines 70-75 __PACKAGE__->table("itemtypes"); Link Here
70
  is_nullable: 0
66
  is_nullable: 0
71
  size: 16
67
  size: 16
72
68
69
=head2 sip_media_type
70
71
  data_type: 'varchar'
72
  default_value: (empty string)
73
  is_nullable: 0
74
  size: 3
75
73
=cut
76
=cut
74
77
75
__PACKAGE__->add_columns(
78
__PACKAGE__->add_columns(
Lines 94-111 __PACKAGE__->add_columns( Link Here
94
    is_nullable => 0,
97
    is_nullable => 0,
95
    size => 16,
98
    size => 16,
96
  },
99
  },
100
  "sip_media_type",
101
  { data_type => "varchar", default_value => "", is_nullable => 0, size => 3 },
97
);
102
);
98
99
=head1 PRIMARY KEY
100
101
=over 4
102
103
=item * L</itemtype>
104
105
=back
106
107
=cut
108
109
__PACKAGE__->set_primary_key("itemtype");
103
__PACKAGE__->set_primary_key("itemtype");
110
104
111
=head1 RELATIONS
105
=head1 RELATIONS
Lines 141-148 __PACKAGE__->might_have( Link Here
141
);
135
);
142
136
143
137
144
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
138
# Created by DBIx::Class::Schema::Loader v0.07000 @ 2013-12-09 08:22:44
145
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BmFEWUxi2Ha50Hv6nQhDKQ
139
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uGDyscA28BOAzCTb2gBcCg
146
140
147
141
148
# You can replace this text with custom content, and it will be preserved on regeneration
142
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Template/Plugin/AuthorisedValues.pm (+5 lines)
Lines 43-46 sub GetByCode { Link Here
43
    return encode( 'UTF-8', GetAuthorisedValueByCode( $category, $code, $opac ) );
43
    return encode( 'UTF-8', GetAuthorisedValueByCode( $category, $code, $opac ) );
44
}
44
}
45
45
46
sub Get {
47
    my ( $self, $category, $selected, $opac ) = @_;
48
    return GetAuthorisedValues( $category, $selected, $opac );
49
}
50
46
1;
51
1;
(-)a/admin/itemtypes.pl (-2 / +6 lines)
Lines 121-126 if ( $op eq 'add_form' ) { Link Here
121
        checkinmsgtype  => $data->{'checkinmsgtype'},
121
        checkinmsgtype  => $data->{'checkinmsgtype'},
122
        imagesets       => $imagesets,
122
        imagesets       => $imagesets,
123
        remote_image    => $remote_image,
123
        remote_image    => $remote_image,
124
        sip_media_type  => $data->{sip_media_type},
124
    );
125
    );
125
126
126
    # END $OP eq ADD_FORM
127
    # END $OP eq ADD_FORM
Lines 145-150 elsif ( $op eq 'add_validate' ) { Link Here
145
                 , summary = ?
146
                 , summary = ?
146
                 , checkinmsg = ?
147
                 , checkinmsg = ?
147
                 , checkinmsgtype = ?
148
                 , checkinmsgtype = ?
149
                 , sip_media_type = ?
148
            WHERE itemtype = ?
150
            WHERE itemtype = ?
149
        ';
151
        ';
150
        $sth = $dbh->prepare($query2);
152
        $sth = $dbh->prepare($query2);
Lines 162-176 elsif ( $op eq 'add_validate' ) { Link Here
162
            $input->param('summary'),
164
            $input->param('summary'),
163
            $input->param('checkinmsg'),
165
            $input->param('checkinmsg'),
164
            $input->param('checkinmsgtype'),
166
            $input->param('checkinmsgtype'),
167
            $input->param('sip_media_type'),
165
            $input->param('itemtype')
168
            $input->param('itemtype')
166
        );
169
        );
167
    }
170
    }
168
    else {    # add a new itemtype & not modif an old
171
    else {    # add a new itemtype & not modif an old
169
        my $query = "
172
        my $query = "
170
            INSERT INTO itemtypes
173
            INSERT INTO itemtypes
171
                (itemtype,description,rentalcharge, notforloan, imageurl, summary, checkinmsg, checkinmsgtype)
174
                (itemtype,description,rentalcharge, notforloan, imageurl, summary, checkinmsg, checkinmsgtype, sip_media_type)
172
            VALUES
175
            VALUES
173
                (?,?,?,?,?,?,?,?);
176
                (?,?,?,?,?,?,?,?,?);
174
            ";
177
            ";
175
        my $sth = $dbh->prepare($query);
178
        my $sth = $dbh->prepare($query);
176
		my $image = $input->param('image');
179
		my $image = $input->param('image');
Lines 185-190 elsif ( $op eq 'add_validate' ) { Link Here
185
            $input->param('summary'),
188
            $input->param('summary'),
186
            $input->param('checkinmsg'),
189
            $input->param('checkinmsg'),
187
            $input->param('checkinmsgtype'),
190
            $input->param('checkinmsgtype'),
191
            $input->param('sip_media_type'),
188
        );
192
        );
189
    }
193
    }
190
194
(-)a/installer/data/mysql/de-DE/optional/auth_val.sql (+13 lines)
Lines 57-59 INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_ Link Here
57
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'PAT', 'Benutzer');
57
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'PAT', 'Benutzer');
58
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'ACQ', 'Erwerbung');
58
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'ACQ', 'Erwerbung');
59
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'ACC', 'Gebühren');
59
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'ACC', 'Gebühren');
60
61
-- SIP2 media types
62
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '000', 'Other');
63
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '001', 'Book');
64
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '002', 'Magazine');
65
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '003', 'Bound journal');
66
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '004', 'Audio tape');
67
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '005', 'Video tape');
68
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '006', 'CD/CDROM');
69
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '007', 'Diskette');
70
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '008', 'Book with deskette');
71
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '009', 'Book with cd');
72
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '010', 'Book with audio tape');
(-)a/installer/data/mysql/en/optional/auth_val.sql (+13 lines)
Lines 57-59 INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_ Link Here
57
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'PAT', 'Patrons');
57
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'PAT', 'Patrons');
58
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'ACQ', 'Acquisitions');
58
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'ACQ', 'Acquisitions');
59
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'ACC', 'Accounts');
59
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'ACC', 'Accounts');
60
61
-- SIP2 media types
62
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '000', 'Other');
63
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '001', 'Book');
64
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '002', 'Magazine');
65
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '003', 'Bound journal');
66
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '004', 'Audio tape');
67
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '005', 'Video tape');
68
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '006', 'CD/CDROM');
69
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '007', 'Diskette');
70
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '008', 'Book with deskette');
71
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '009', 'Book with cd');
72
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '010', 'Book with audio tape');
(-)a/installer/data/mysql/es-ES/optional/auth_val.sql (+13 lines)
Lines 50-52 INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('BOR_N Link Here
50
-- OPAC Suggestions reasons
50
-- OPAC Suggestions reasons
51
INSERT INTO authorised_values (category,authorised_value,lib,lib_opac) VALUES ('OPAC_SUG','damaged','The copy on the shelf is damaged','The copy on the shelf is damaged');
51
INSERT INTO authorised_values (category,authorised_value,lib,lib_opac) VALUES ('OPAC_SUG','damaged','The copy on the shelf is damaged','The copy on the shelf is damaged');
52
INSERT INTO authorised_values (category,authorised_value,lib,lib_opac) VALUES ('OPAC_SUG','bestseller','Upcoming title by popular author','Upcoming title by popular author');
52
INSERT INTO authorised_values (category,authorised_value,lib,lib_opac) VALUES ('OPAC_SUG','bestseller','Upcoming title by popular author','Upcoming title by popular author');
53
54
-- SIP2 media types
55
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '000', 'Other');
56
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '001', 'Book');
57
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '002', 'Magazine');
58
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '003', 'Bound journal');
59
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '004', 'Audio tape');
60
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '005', 'Video tape');
61
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '006', 'CD/CDROM');
62
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '007', 'Diskette');
63
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '008', 'Book with deskette');
64
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '009', 'Book with cd');
65
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '010', 'Book with audio tape');
(-)a/installer/data/mysql/kohastructure.sql (+1 lines)
Lines 1241-1246 CREATE TABLE `itemtypes` ( -- defines the item types Link Here
1241
  summary text, -- information from the summary field, may include HTML
1241
  summary text, -- information from the summary field, may include HTML
1242
  checkinmsg VARCHAR(255), -- message that is displayed when an item with the given item type is checked in
1242
  checkinmsg VARCHAR(255), -- message that is displayed when an item with the given item type is checked in
1243
  checkinmsgtype CHAR(16) DEFAULT 'message' NOT NULL, -- type (CSS class) for the checkinmsg, can be "alert" or "message"
1243
  checkinmsgtype CHAR(16) DEFAULT 'message' NOT NULL, -- type (CSS class) for the checkinmsg, can be "alert" or "message"
1244
  sip_media_type VARCHAR(3) DEFAULT NULL, -- SIP2 protocol media type for this itemtype
1244
  PRIMARY KEY  (`itemtype`),
1245
  PRIMARY KEY  (`itemtype`),
1245
  UNIQUE KEY `itemtype` (`itemtype`)
1246
  UNIQUE KEY `itemtype` (`itemtype`)
1246
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
1247
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
(-)a/installer/data/mysql/nb-NO/2-Valgfritt/auth_val.sql (+13 lines)
Lines 78-80 INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_ Link Here
78
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'PAT', 'Lånere');
78
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'PAT', 'Lånere');
79
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'ACQ', 'Innkjøp');
79
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'ACQ', 'Innkjøp');
80
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'ACC', 'Gebyrer');
80
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('REPORT_GROUP', 'ACC', 'Gebyrer');
81
82
-- SIP2 media types
83
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '000', 'Other');
84
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '001', 'Book');
85
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '002', 'Magazine');
86
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '003', 'Bound journal');
87
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '004', 'Audio tape');
88
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '005', 'Video tape');
89
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '006', 'CD/CDROM');
90
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '007', 'Diskette');
91
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '008', 'Book with deskette');
92
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '009', 'Book with cd');
93
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '010', 'Book with audio tape');
(-)a/installer/data/mysql/pl-PL/optional/auth_val.sql (+13 lines)
Lines 38-40 INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('NOT_L Link Here
38
38
39
-- restricted status of an item, linked to items.restricted
39
-- restricted status of an item, linked to items.restricted
40
INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('RESTRICTED','1','Restricted Access');
40
INSERT INTO `authorised_values` (category, authorised_value, lib) VALUES ('RESTRICTED','1','Restricted Access');
41
42
-- SIP2 media types
43
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '000', 'Other');
44
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '001', 'Book');
45
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '002', 'Magazine');
46
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '003', 'Bound journal');
47
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '004', 'Audio tape');
48
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '005', 'Video tape');
49
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '006', 'CD/CDROM');
50
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '007', 'Diskette');
51
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '008', 'Book with deskette');
52
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '009', 'Book with cd');
53
INSERT INTO authorised_values (category, authorised_value, lib) VALUES ('SIP_MEDIA_TYPE', '010', 'Book with audio tape');
(-)a/installer/data/mysql/updatedatabase.pl (+24 lines)
Lines 7945-7950 if (CheckVersion($DBversion)) { Link Here
7945
    SetVersion($DBversion);
7945
    SetVersion($DBversion);
7946
}
7946
}
7947
7947
7948
$DBversion = "3.15.00.XXX";
7949
if(CheckVersion($DBversion)) {
7950
    $dbh->do(q{
7951
        ALTER TABLE itemtypes ADD sip_media_type VARCHAR( 3 ) DEFAULT NULL
7952
    });
7953
    $dbh->do(q{
7954
        INSERT INTO authorised_values (category, authorised_value, lib) VALUES
7955
         ('SIP_MEDIA_TYPE', '000', 'Other'),
7956
         ('SIP_MEDIA_TYPE', '001', 'Book'),
7957
         ('SIP_MEDIA_TYPE', '002', 'Magazine'),
7958
         ('SIP_MEDIA_TYPE', '003', 'Bound journal'),
7959
         ('SIP_MEDIA_TYPE', '004', 'Audio tape'),
7960
         ('SIP_MEDIA_TYPE', '005', 'Video tape'),
7961
         ('SIP_MEDIA_TYPE', '006', 'CD/CDROM'),
7962
         ('SIP_MEDIA_TYPE', '007', 'Diskette'),
7963
         ('SIP_MEDIA_TYPE', '008', 'Book with deskette'),
7964
         ('SIP_MEDIA_TYPE', '009', 'Book with cd'),
7965
         ('SIP_MEDIA_TYPE', '010', 'Book with audio tape')
7966
    });
7967
    print "Upgrade to $DBversion done (Bug 11351 - Add support for SIP2 media type)\n";
7968
    SetVersion($DBversion);
7969
}
7970
7971
7948
=head1 FUNCTIONS
7972
=head1 FUNCTIONS
7949
7973
7950
=head2 TableExists($table)
7974
=head2 TableExists($table)
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-1 / +15 lines)
Lines 1-3 Link Here
1
[% USE EncodeUTF8 %]
2
[% USE AuthorisedValues %]
1
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Administration &rsaquo; Item types [% IF ( add_form ) %]&rsaquo;
4
<title>Koha &rsaquo; Administration &rsaquo; Item types [% IF ( add_form ) %]&rsaquo;
3
  [% IF ( itemtype ) %]
5
  [% IF ( itemtype ) %]
Lines 246-251 Item types administration Link Here
246
          <select>
248
          <select>
247
      </li>
249
      </li>
248
      <li>
250
      <li>
251
          <label for="sip_media_type">SIP media type: </label>
252
          <select id="sip_media_type" name="sip_media_type">
253
              <option value=""></option>
254
              [% FOREACH a IN AuthorisedValues.Get('SIP_MEDIA_TYPE', sip_media_type ) %]
255
                  [% IF a.selected %]
256
                      <option value="[% a.authorised_value %]" selected="selected">[% a.lib | $EncodeUTF8 %]</option>
257
                  [% ELSE %]
258
                      <option value="[% a.authorised_value %]">[% a.lib | $EncodeUTF8  %]</option>
259
                  [% END %]
260
              [% END %]
261
          </select>
262
      </li>
263
      <li>
249
          <label for="summary">Summary: </label>
264
          <label for="summary">Summary: </label>
250
         <textarea id="summary" name="summary" cols="55" rows="5">[% summary %]</textarea>
265
         <textarea id="summary" name="summary" cols="55" rows="5">[% summary %]</textarea>
251
          <p>Enter a summary that will overwrite the default one in search results lists. Example, for a website itemtype : </p>
266
          <p>Enter a summary that will overwrite the default one in search results lists. Example, for a website itemtype : </p>
252
- 

Return to bug 11351