Changeset 886364
- Timestamp:
- 04/02/2014 03:24:22 PM (12 years ago)
- Location:
- fullscreen-galleria
- Files:
-
- 1 deleted
- 2 edited
- 13 copied
-
tags/1.4.6 (copied) (copied from fullscreen-galleria/trunk)
-
tags/1.4.6/fs-map-b.png (copied) (copied from fullscreen-galleria/trunk/fs-map-b.png)
-
tags/1.4.6/fs-map.png (copied) (copied from fullscreen-galleria/trunk/fs-map.png)
-
tags/1.4.6/galleria-1.2.9.min.js (deleted)
-
tags/1.4.6/galleria-1.3.5.min.js (copied) (copied from fullscreen-galleria/trunk/galleria-1.3.5.min.js)
-
tags/1.4.6/galleria-fs-b.css (copied) (copied from fullscreen-galleria/trunk/galleria-fs-b.css)
-
tags/1.4.6/galleria-fs-icons.svg (copied) (copied from fullscreen-galleria/trunk/galleria-fs-icons.svg)
-
tags/1.4.6/galleria-fs-theme.js (copied) (copied from fullscreen-galleria/trunk/galleria-fs-theme.js)
-
tags/1.4.6/galleria-fs-w.css (copied) (copied from fullscreen-galleria/trunk/galleria-fs-w.css)
-
tags/1.4.6/galleria-fs.css (copied) (copied from fullscreen-galleria/trunk/galleria-fs.css)
-
tags/1.4.6/galleria-fs.js (copied) (copied from fullscreen-galleria/trunk/galleria-fs.js)
-
tags/1.4.6/galleria-fs.php (copied) (copied from fullscreen-galleria/trunk/galleria-fs.php) (5 diffs)
-
tags/1.4.6/make-icons.sh (copied) (copied from fullscreen-galleria/trunk/make-icons.sh)
-
tags/1.4.6/readme.txt (copied) (copied from fullscreen-galleria/trunk/readme.txt) (1 diff)
-
trunk/galleria-fs.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
fullscreen-galleria/tags/1.4.6/galleria-fs.php
r873216 r886364 5 5 Plugin URI: http://torturedmind.org/ 6 6 Description: Fullscreen gallery for Wordpress 7 Version: 1.4. 57 Version: 1.4.6 8 8 Author: Petri Damstén 9 9 Author URI: http://torturedmind.org/ … … 12 12 ******************************************************************************/ 13 13 14 $fsg_ver = '1.4. 5';14 $fsg_ver = '1.4.6'; 15 15 $fsg_db_key = 'fsg_plugin_settings'; 16 16 … … 410 410 return $value; 411 411 } 412 413 function camera_round($v, $limit) 414 { 415 if ($v > $limit) { 416 return round($v, 0); 417 } else { 418 return round($v, 1); 419 } 420 } 412 421 413 422 function camera_info($exif) … … 445 454 if (!empty($exif['FNumber'])) { 446 455 $f = $this->exifv($exif['FNumber']); 447 $f = $ f[0] / $f[1];456 $f = $this->camera_round($f[0] / $f[1], 10); 448 457 $f = ' and f/'.$f; 449 458 } … … 451 460 $s = $this->exifv($exif['ExposureTime']); 452 461 if ($s[0] > $s[1]) { 453 $s = $ s[0] / $s[1];462 $s = $this->camera_round($s[0] / $s[1], 10); 454 463 } else { 455 $s = $ s[1] / $s[0];464 $s = $this->camera_round($s[1] / $s[0], 5); 456 465 $s = '1/'.$s; 457 466 } -
fullscreen-galleria/tags/1.4.6/readme.txt
r873216 r886364 87 87 88 88 == Changelog == 89 = 1.4.6 = 90 * round numbers. Patch from: https://gist.github.com/asquelt/9624792 91 89 92 = 1.4.5 = 90 93 * fix icons -
fullscreen-galleria/trunk/galleria-fs.php
r873216 r886364 5 5 Plugin URI: http://torturedmind.org/ 6 6 Description: Fullscreen gallery for Wordpress 7 Version: 1.4. 57 Version: 1.4.6 8 8 Author: Petri Damstén 9 9 Author URI: http://torturedmind.org/ … … 12 12 ******************************************************************************/ 13 13 14 $fsg_ver = '1.4. 5';14 $fsg_ver = '1.4.6'; 15 15 $fsg_db_key = 'fsg_plugin_settings'; 16 16 … … 410 410 return $value; 411 411 } 412 413 function camera_round($v, $limit) 414 { 415 if ($v > $limit) { 416 return round($v, 0); 417 } else { 418 return round($v, 1); 419 } 420 } 412 421 413 422 function camera_info($exif) … … 445 454 if (!empty($exif['FNumber'])) { 446 455 $f = $this->exifv($exif['FNumber']); 447 $f = $ f[0] / $f[1];456 $f = $this->camera_round($f[0] / $f[1], 10); 448 457 $f = ' and f/'.$f; 449 458 } … … 451 460 $s = $this->exifv($exif['ExposureTime']); 452 461 if ($s[0] > $s[1]) { 453 $s = $ s[0] / $s[1];462 $s = $this->camera_round($s[0] / $s[1], 10); 454 463 } else { 455 $s = $ s[1] / $s[0];464 $s = $this->camera_round($s[1] / $s[0], 5); 456 465 $s = '1/'.$s; 457 466 } -
fullscreen-galleria/trunk/readme.txt
r873216 r886364 87 87 88 88 == Changelog == 89 = 1.4.6 = 90 * round numbers. Patch from: https://gist.github.com/asquelt/9624792 91 89 92 = 1.4.5 = 90 93 * fix icons
Note: See TracChangeset
for help on using the changeset viewer.