fixed typo that caused DefaultClassificationSource pref to not be a drop-down
authorGalen Charlton <galen.charlton@liblime.com>
Tue, 6 Nov 2007 22:30:52 +0000 (16:30 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Wed, 7 Nov 2007 14:24:23 +0000 (08:24 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
admin/systempreferences.pl
koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tmpl

index 7337ee3..e028d9a 100755 (executable)
@@ -366,7 +366,7 @@ if ($op eq 'add_form') {
             push @options, { option => $theme, counter => $counter };
             $counter++;
         }
-    } elsif ($data->{'type'} eq 'ClassSource') {
+    } elsif ($data->{'type'} eq 'ClassSources') {
         $template->param('type-choice' => 1);
         my $type='';
         @options=();
index f17cce0..a8e9662 100644 (file)
                <div class="hint">Note: you should have no reasons to modify the following default values</div>
                <ol>
         <label for="preftype">Variable type:</label>
-               <div class="hint"> (Choice, YesNo, Integer, Textarea, Float, Themes, Languages, or ClassSource)</div>
+               <div class="hint"> (Choice, YesNo, Integer, Textarea, Float, Themes, Languages, or ClassSources)</div>
                <input type="text" name="preftype" id="preftype" value="<!--TMPL_VAR NAME="preftype" -->" size="40" maxlength="40">
         <label for="prefoptions">Variable options:</label>
                <div class="hint">(a choice list for Choice (separated by |) or cols|rows for Texarea)</div>