1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-25 17:23:00 +00:00

Fix spelling mistake on file preview pages

This commit is contained in:
Starbeamrainbowlabs 2016-08-22 17:46:13 +01:00
parent 6267fe79d4
commit 28f79e5e2d
4 changed files with 4 additions and 3 deletions

View file

@ -30,6 +30,7 @@
- Prevented the page index data for parent pages from disappearing when a child page is edited (#98) - Prevented the page index data for parent pages from disappearing when a child page is edited (#98)
- Fixed file uploading when the data storage directory not the current directory (#100) - Fixed file uploading when the data storage directory not the current directory (#100)
- Fixed pressing the edit button on pages that have a single quote in their name - Fixed pressing the edit button on pages that have a single quote in their name
- Fixed a spelling mistake on the file preview page - I'm sure I fixed that before...!
## v0.12 ## v0.12

View file

@ -3121,7 +3121,7 @@ register_module([
switch($fileTypeDisplay) switch($fileTypeDisplay)
{ {
case "image": case "image":
$dimensionsKey = $mime_type !== "image/svg+xml" ? "Original demensions" : "Native size"; $dimensionsKey = $mime_type !== "image/svg+xml" ? "Original dimensions" : "Native size";
$fileInfo[$dimensionsKey] = "$dimensions[0] x $dimensions[1]"; $fileInfo[$dimensionsKey] = "$dimensions[0] x $dimensions[1]";
break; break;
} }

View file

@ -77,7 +77,7 @@
"author": "Starbeamrainbowlabs", "author": "Starbeamrainbowlabs",
"description": "Adds the ability to upload files to Pepperminty Wiki. Uploaded files act as pages and have the special 'File\/' prefix.", "description": "Adds the ability to upload files to Pepperminty Wiki. Uploaded files act as pages and have the special 'File\/' prefix.",
"id": "feature-upload", "id": "feature-upload",
"lastupdate": 1471882985, "lastupdate": 1471884248,
"optional": false "optional": false
}, },
{ {

View file

@ -445,7 +445,7 @@ register_module([
switch($fileTypeDisplay) switch($fileTypeDisplay)
{ {
case "image": case "image":
$dimensionsKey = $mime_type !== "image/svg+xml" ? "Original demensions" : "Native size"; $dimensionsKey = $mime_type !== "image/svg+xml" ? "Original dimensions" : "Native size";
$fileInfo[$dimensionsKey] = "$dimensions[0] x $dimensions[1]"; $fileInfo[$dimensionsKey] = "$dimensions[0] x $dimensions[1]";
break; break;
} }