fixing itemtype image, sample data, improving

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
Joshua Ferraro 2007-10-29 16:45:10 -05:00
parent 157b08e572
commit edd54d9fad
3 changed files with 3 additions and 2 deletions

View File

@ -963,6 +963,7 @@ sub searchResults {
my $old_term = $term;
if ( length($term) > 3 ) {
$term =~ s/(.*=|\)|\(|\+|\.|\?|\[|\])//g;
$term =~ s/\\//g;
#FIXME: is there a better way to do this?
$oldbiblio->{'title'} =~ s/$term/<span class=term>$&<\/span>/gi;

View File

@ -1,8 +1,8 @@
INSERT INTO `itemtypes` VALUES ('BKS', 'Books, Booklets, Workbooks',5,0,0,'Non-fiction.gif','');
INSERT INTO `itemtypes` VALUES ('CF', 'CD-ROMs, DVD-ROMs, General Online Resources',5,0,0,'CDM.gif','');
INSERT INTO `itemtypes` VALUES ('SR', 'Audio Cassettes, CDs',5,0,0,'AVNF.gif','');
INSERT INTO `itemtypes` VALUES ('VR', 'DVDs, VHS',5,0,0,'Video disk.gif','');
INSERT INTO `itemtypes` VALUES ('VR', 'DVDs, VHS',5,0,0,'Video-disc.gif','');
INSERT INTO `itemtypes` VALUES ('AR', 'Models',5,0,1,'EASY.gif','');
INSERT INTO `itemtypes` VALUES ('KT', 'Kits',5,0,0,'Kit.gif','');
INSERT INTO `itemtypes` VALUES ('KT', 'Kits',5,0,0,'KIT.gif','');
INSERT INTO `itemtypes` VALUES ('IR', 'Binders',5,0,0,'Faculty Course Materials.gif','');
INSERT INTO `itemtypes` VALUES ('SER', 'Serials',5,0,0,'MZ.gif','');

View File

Before

Width:  |  Height:  |  Size: 281 B

After

Width:  |  Height:  |  Size: 281 B