From 9de3c465a7dc279b0348648445dc19f9f56afe5f Mon Sep 17 00:00:00 2001 From: Martin Kamerbeek Date: Wed, 6 Sep 2006 13:37:23 +0000 Subject: [PATCH] fix: Matrix and fixed a bug in fileUpload.pl --- docs/changelog/7.x.x.txt | 3 + .../matrix_detailed_listing.tmpl | 105 ++++++++++++++++++ sbin/fileImport.pl | 2 +- 3 files changed, 109 insertions(+), 1 deletion(-) create mode 100644 docs/upgrades/templates-7.0.7/matrix_detailed_listing.tmpl diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index f1a60c265..32ee0c13f 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -39,6 +39,9 @@ - fixed a problem in the search indexer and made the tabform css compatible with tinymce. (Martin Kamerbeek / Procolix) - fixed WeatherData Wobject, noaa format had changed (ekennedy) + - fix: Matrix (updated detailed listing template to include the screenshot) + and fixed a bug in sbin/fileUpload.pl wher it didn't handle images with + uppercased extensions properly (Martin Kamerbeek / Procolix) 7.0.6 - fix: Error in DateTime.pm diff --git a/docs/upgrades/templates-7.0.7/matrix_detailed_listing.tmpl b/docs/upgrades/templates-7.0.7/matrix_detailed_listing.tmpl new file mode 100644 index 000000000..c7e037722 --- /dev/null +++ b/docs/upgrades/templates-7.0.7/matrix_detailed_listing.tmpl @@ -0,0 +1,105 @@ +#matrixtmpl000000000003 + +

+ + + + + + + + + +
+ + + + + + + + + +
Web Site
Version Number
Manufacturer
Last Updated
Clicks
Views
Compares
ScreenshotScreenshot
+
  + + Description
+

+
+ + Contact Maintainer
+ +
Message sent.
+
+ +
  + +
+ +

+ + + + + + +
+ Features + + + + class="odd" class="even"> + + + + + + + + +
  
+ +

+

+ Benefits + + + + class="odd" class="even"> + + + + + + + + +
  
+
+ +

+ + + + +


Edit this listing.
+ + + + Approve this listing.
+
+ Delete this listing.
+ +
+ +~~~ + + + diff --git a/sbin/fileImport.pl b/sbin/fileImport.pl index 08893f95b..b097f6682 100644 --- a/sbin/fileImport.pl +++ b/sbin/fileImport.pl @@ -211,7 +211,7 @@ sub addFiles { # TB : add the path relative to $pathToFile in the message. print "\tAdding ".$file->{relpath}.$slash.$file->{filename}." to the database.\n" unless ($quiet); my $templateId = 'PBtmpl0000000000000024'; - if (isIn($file->{ext},@nailable)) { + if (isIn(lc($file->{ext}),@nailable)) { $class = 'WebGUI::Asset::File::Image'; $templateId = 'PBtmpl0000000000000088' }