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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tmpl (-1 / +1 lines)
Lines 110-116 h4.collapse a { font-size : 80%; text-decoration: none; } fieldset.brief ol { di Link Here
110
        <li><label for="itemtype">Document Type:</label>
110
        <li><label for="itemtype">Document Type:</label>
111
            <select id="itemtype" name="itemtype" >
111
            <select id="itemtype" name="itemtype" >
112
            <!--TMPL_LOOP Name="itemtypeloop"-->
112
            <!--TMPL_LOOP Name="itemtypeloop"-->
113
                <!--TMPL_IF Name="selected"--><option selected="selected" value="<!--TMPL_VAR Name="code" -->"><!--TMPL_ELSE--><option value="<!--TMPL_VAR Name="code" -->"><!--/TMPL_IF-->
113
                <!--TMPL_IF Name="selected"--><option selected="selected" value="<!--TMPL_VAR Name="itemtype" -->"><!--TMPL_ELSE--><option value="<!--TMPL_VAR Name="itemtype" -->"><!--/TMPL_IF-->
114
                <!-- TMPL_IF name="imageurl"--><img border="0" src="<!--TMPL_VAR Name="imageurl" -->" alt="<!--TMPL_VAR Name="description" -->" /><!-- /TMPL_IF -->
114
                <!-- TMPL_IF name="imageurl"--><img border="0" src="<!--TMPL_VAR Name="imageurl" -->" alt="<!--TMPL_VAR Name="description" -->" /><!-- /TMPL_IF -->
115
                <!--TMPL_VAR Name="description" --></option>
115
                <!--TMPL_VAR Name="description" --></option>
116
            <!--/TMPL_LOOP-->
116
            <!--/TMPL_LOOP-->
(-)a/suggestion/suggestion.pl (-2 / +1 lines)
Lines 249-255 $template->param( branchloop => \@branchloop, Link Here
249
# the index parameter is different for item-level itemtypes
249
# the index parameter is different for item-level itemtypes
250
my $supportlist=GetSupportList();				
250
my $supportlist=GetSupportList();				
251
foreach my $support(@$supportlist){
251
foreach my $support(@$supportlist){
252
    $$support{'selected'}= $$support{'code'} eq $$suggestion_ref{'itemtype'};
252
    $$support{'selected'}= $$support{'itemtype'} eq $$suggestion_ref{'itemtype'};
253
    if ($$support{'imageurl'}){
253
    if ($$support{'imageurl'}){
254
        $$support{'imageurl'}= getitemtypeimagelocation( 'intranet', $$support{'imageurl'} );
254
        $$support{'imageurl'}= getitemtypeimagelocation( 'intranet', $$support{'imageurl'} );
255
    }
255
    }
256
- 

Return to bug 4832