updates #49: added image shrinking to predefined size for image upload;
parameterized translations for image upload (need dbupdate); client-side check of image filesize for browsers with FileReader; fixed sys_trans_ref for picture.tpl;
This commit is contained in:
parent
6bdd853ecd
commit
da4e0f2983
@ -315,8 +315,11 @@
|
||||
*/
|
||||
$opt['logic']['pictures']['dir'] = $opt['rootpath'] . 'images/uploads'; // Ocprop
|
||||
$opt['logic']['pictures']['url'] = 'http://devel.opencaching.de/images/uploads';
|
||||
$opt['logic']['pictures']['maxsize'] = 256000;
|
||||
$opt['logic']['pictures']['extensions'] = 'jpg;jpeg;gif;png;bmp';
|
||||
$opt['logic']['pictures']['maxsize'] = 6000*1024;
|
||||
if (extension_loaded('imagick'))
|
||||
$opt['logic']['pictures']['extensions'] = 'jpg;jpeg;gif;png;bmp;tif;psd;pcx;svg;xpm';
|
||||
else
|
||||
$opt['logic']['pictures']['extensions'] = 'jpg;jpeg;gif;png';
|
||||
|
||||
/* Thumbnail sizes
|
||||
*/
|
||||
|
@ -978,7 +978,7 @@ INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('80', 'Start', '
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('81', 'What do i find on this website?', '2010-08-28 11:48:03');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('82', 'You can find everything you need to go Geocaching ...', '2010-08-28 11:48:03');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('83', 'The file was not uploaded correctly.', '2010-08-28 11:48:03');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('84', 'The file was too big. The maximum file size is 250 KB.', '2010-08-28 11:48:03');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('84', 'The file was too big. The maximum file size is %1 KB.', '2010-08-28 11:48:03');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('85', 'No picture file given.', '2010-08-28 11:48:03');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('86', 'same type', '2010-08-28 11:48:03');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('87', 'Opencaching.de', '2010-08-28 11:48:03');
|
||||
@ -1634,8 +1634,8 @@ INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('758', 'Give the
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('759', 'After click to upload, it can take a while, until the next page is been shown.', '2010-08-28 11:48:04');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('760', 'This picture is a spoiler - dont show a thumbnail.', '2010-08-28 11:48:04');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('761', 'Upload', '2010-08-28 11:48:04');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('762', 'Only the following picture formats are allowed: BMP, GIF, PNG and JPEG. We recommend JPEG for photos.', '2010-08-28 11:48:04');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('763', 'The file size of the pictures must not exeed 250 KB. We recommend 640x480 pixel of picture size.', '2010-08-28 11:48:04');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('762', 'Only the following picture formats are allowed: %1. We recommend JPEG for photos.', '2010-08-28 11:48:04');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('763', 'The file size of the pictures must not exeed %1 KB. We recommend 640x480 pixel of picture size.', '2010-08-28 11:48:04');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('764', 'Report for %1 submitted', '2010-08-28 11:48:04');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('765', 'Reason:', '2010-08-28 11:48:04');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('766', 'Comment:', '2010-08-28 11:48:04');
|
||||
@ -1802,7 +1802,7 @@ INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('1275', 'Main me
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('1278', 'Editor', '2010-08-28 11:48:04');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('1279', '\<html\>', '2010-08-28 11:48:04');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('1292', 'Setting smilies is not supported', '2010-08-28 11:48:04');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('1296', 'Only the following picture formats are allowed: BMP, GIF, PNG and JPEG.', '2010-08-28 11:48:04');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('1296', 'Only the following picture formats are allowed: %1.', '2010-08-28 11:48:04');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('1297', 'at (time)', '2010-08-28 11:48:04');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('1298', 'The following list is generated automatically by the given recommendations of the users. You can find more informations on regional classification in the <a href=\"http://wiki.opencaching.de/index.php/Empfehlungen\">Wiki</a>.<br /> <br /> The numbers in the list below means:<br /> <img src=\"images/rating-star.gif\" border=\"0\" alt=\"Recommendations\" /> Number of users that recommend this cache<br /> <img src=\"resource2/%1/images/log/16x16-found.png\" width=\"16\" height=\"16\" border=\"0\" alt=\"Found\" /> Checks = Number of time the cache was found<br /> Index tries to take the number of recommendations and founds in an order to show \'the best\' geocache first.<br /> <img src=\"images/tops-formula.png\" border=\"0\" alt=\"Formula\" />', '2010-08-28 12:03:52');
|
||||
INSERT INTO `sys_trans` (`id`, `text`, `last_modified`) VALUES ('1299', 'File upload failed!', '2010-08-29 17:44:48');
|
||||
@ -2659,8 +2659,8 @@ INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('18',
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('18', 'table:sys_menu;field=menustring', '0');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('18', 'table:sys_menu;field=title', '0');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('19', './templates2/ocstyle/register.tpl', '10');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('20', './templates2/ocstyle/picture.tpl', '99');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('20', './templates2/ocstyle/picture.tpl', '121');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('20', './templates2/ocstyle/picture.tpl', '107');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('20', './templates2/ocstyle/picture.tpl', '129');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('20', './templates2/ocstyle/register.tpl', '14');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('20', './templates2/ocstyle/register.tpl', '62');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('20', './templates2/ocstyle/register.tpl', '174');
|
||||
@ -2729,7 +2729,7 @@ INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('51',
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('51', './templates2/ocstyle/mywatches.tpl', '96');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('51', './templates2/ocstyle/newemail.tpl', '108');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('51', './templates2/ocstyle/newpw.tpl', '118');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('51', './templates2/ocstyle/picture.tpl', '141');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('51', './templates2/ocstyle/picture.tpl', '149');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('51', './templates2/ocstyle/register.tpl', '196');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('51', './templates2/ocstyle/reportcache.tpl', '90');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('52', './lang/de/ocstyle/lib/menu.php', '190');
|
||||
@ -2802,9 +2802,10 @@ INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('79',
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('80', './lang/de/ocstyle/lib/menu.php', '43');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('80', 'table:sys_menu;field=menustring', '0');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('82', './index.php', '30');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('83', './templates2/ocstyle/picture.tpl', '81');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('84', './templates2/ocstyle/picture.tpl', '79');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('85', './templates2/ocstyle/picture.tpl', '77');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('83', './templates2/ocstyle/picture.tpl', '89');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('84', './templates2/ocstyle/picture.tpl', '87');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('84', './templates2/ocstyle/picture.tpl', '22');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('85', './templates2/ocstyle/picture.tpl', '85');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('86', './templates2/ocstyle/viewcache.tpl', '472');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('90', './templates2/ocstyle/start.tpl', '150');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('91', 'table:languages;field=name', '0');
|
||||
@ -3276,7 +3277,7 @@ INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('455',
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('455', './templates2/ocstyle/mydetails.tpl', '91');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('455', './templates2/ocstyle/myprofile.tpl', '200');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('455', './templates2/ocstyle/newstopic.tpl', '99');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('455', './templates2/ocstyle/picture.tpl', '142');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('455', './templates2/ocstyle/picture.tpl', '150');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('455', './templates2/ocstyle/remindemail.tpl', '45');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('455', './templates2/ocstyle/restorecaches.tpl', '22');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('456', './templates2/ocstyle/newstopic.tpl', '92');
|
||||
@ -3754,7 +3755,7 @@ INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('739',
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('740', './templates2/mail/usercontactmail.tpl', '6');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('741', './lang/de/ocstyle/lib/menu.php', '227');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('741', './lang/de/ocstyle/lib/menu.php', '230');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('741', './templates2/ocstyle/picture.tpl', '37');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('741', './templates2/ocstyle/picture.tpl', '45');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('741', 'table:sys_menu;field=menustring', '0');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('741', 'table:sys_menu;field=title', '0');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('742', './templates2/ocstyle/error.tpl', '64');
|
||||
@ -3768,22 +3769,22 @@ INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('749',
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('750', './templates2/ocstyle/adminreports.tpl', '15');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('750', 'table:sys_menu;field=menustring', '0');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('750', 'table:sys_menu;field=title', '0');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('751', './templates2/ocstyle/picture.tpl', '70');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('751', './templates2/ocstyle/picture.tpl', '78');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('752', './templates2/ocstyle/picture.tpl', '14');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('753', './templates2/ocstyle/picture.tpl', '44');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('754', './templates2/ocstyle/picture.tpl', '46');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('755', './templates2/ocstyle/picture.tpl', '50');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('756', './templates2/ocstyle/picture.tpl', '52');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('753', './templates2/ocstyle/picture.tpl', '52');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('754', './templates2/ocstyle/picture.tpl', '54');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('755', './templates2/ocstyle/picture.tpl', '58');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('756', './templates2/ocstyle/picture.tpl', '60');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('757', './lang/de/ocstyle/editcache.tpl.php', '120');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('757', './lang/de/ocstyle/newcache.tpl.php', '139');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('757', './templates2/ocstyle/map2.tpl', '2337');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('757', './templates2/ocstyle/picture.tpl', '60');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('758', './templates2/ocstyle/picture.tpl', '64');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('759', './templates2/ocstyle/picture.tpl', '124');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('760', './templates2/ocstyle/picture.tpl', '92');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('761', './templates2/ocstyle/picture.tpl', '142');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('762', './templates2/ocstyle/picture.tpl', '122');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('763', './templates2/ocstyle/picture.tpl', '123');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('757', './templates2/ocstyle/picture.tpl', '68');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('758', './templates2/ocstyle/picture.tpl', '72');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('759', './templates2/ocstyle/picture.tpl', '132');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('760', './templates2/ocstyle/picture.tpl', '100');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('761', './templates2/ocstyle/picture.tpl', '150');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('762', './templates2/ocstyle/picture.tpl', '130');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('763', './templates2/ocstyle/picture.tpl', '131');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('764', './templates2/ocstyle/reportcache.tpl', '14');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('765', './templates2/ocstyle/adminreports.tpl', '70');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('765', './templates2/ocstyle/reportcache.tpl', '20');
|
||||
@ -3819,7 +3820,7 @@ INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('789',
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('792', './templates2/ocstyle/adminreports.tpl', '84');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('793', './templates2/ocstyle/adminreports.tpl', '76');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('794', './templates2/ocstyle/reportcache.tpl', '44');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('795', './templates2/ocstyle/picture.tpl', '109');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('795', './templates2/ocstyle/picture.tpl', '117');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('796', './templates2/ocstyle/mydetails.tpl', '81');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('797', './templates2/ocstyle/restorecaches.tpl', '81');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('797', './templates2/ocstyle/viewcache.tpl', '187');
|
||||
@ -4046,7 +4047,7 @@ INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1279'
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1279', './templates2/ocstyle/log_cache.tpl', '144');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1279', './templates2/ocstyle/mydescription.tpl', '23');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1292', './templates2/ocstyle/log_cache.tpl', '33');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1296', './templates2/ocstyle/picture.tpl', '83');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1296', './templates2/ocstyle/picture.tpl', '91');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1297', './templates2/ocstyle/event_attendance.tpl', '10');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1298', './templates2/ocstyle/tops.tpl', '15');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1299', './translate.php', '568');
|
||||
@ -4618,7 +4619,7 @@ INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1807'
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1807', './lang/de/ocstyle/editlog.tpl.php', '153');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1807', './templates2/ocstyle/log_cache.tpl', '191');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1807', './templates2/ocstyle/mydescription.tpl', '42');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1807', './templates2/ocstyle/picture.tpl', '132');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1807', './templates2/ocstyle/picture.tpl', '140');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1808', './templates2/ocstyle/register.tpl', '185');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1809', './templates2/ocstyle/register.tpl', '187');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1810', './templates2/ocstyle/viewcache.tpl', '488');
|
||||
@ -4739,7 +4740,7 @@ INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1926'
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1927', 'table:coordinates_type;field=name', '0');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1928', './templates2/ocstyle/map2.tpl', '2242');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1928', 'table:profile_options;field=name', '0');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1929', './templates2/ocstyle/picture.tpl', '114');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1929', './templates2/ocstyle/picture.tpl', '122');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1930', './templates2/ocstyle/map2.tpl', '2238');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1940', 'table:sys_menu;field=menustring', '0');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1940', 'table:sys_menu;field=title', '0');
|
||||
@ -4777,7 +4778,7 @@ INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1970'
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1970', './templates2/ocstyle/log_cache.tpl', '102');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1971', './lang/de/ocstyle/editlog.inc.php', '22');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1971', './templates2/ocstyle/log_cache.tpl', '110');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1973', './templates2/ocstyle/picture.tpl', '100');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1973', './templates2/ocstyle/picture.tpl', '108');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1974', './templates2/ocstyle/newemail.tpl', '49');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1974', './templates2/ocstyle/newpw.tpl', '45');
|
||||
INSERT INTO `sys_trans_ref` (`trans_id`, `resource_name`, `line`) VALUES ('1974', './templates2/ocstyle/register.tpl', '17');
|
||||
@ -5065,7 +5066,7 @@ INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUE
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('81', 'DE', 'Was finde ich auf dieser Website?', '2010-08-28 11:48:06');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('82', 'DE', 'Auf dieser Website findest du Geocaches aus der ganzen Welt, mit Schwerpunkt Deutschland, \Österreich, Schweiz, Italien und Spanien. Au\ßerdem gibt es das <a href=\"http://wiki.opencaching.de\">Opencaching-Wiki</a> mit Anleitungen und Informationen rund um Opencaching und Geocaching, und ein Diskussionsforum.', '2010-08-28 11:48:06');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('83', 'DE', 'Bei der Dateiübertragung ist ein Fehler aufgetreten.', '2010-08-28 11:48:06');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('84', 'DE', 'Die Datei war zu groß. Es sind maximal 250 KB erlaubt.', '2010-08-28 11:48:06');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('84', 'DE', 'Die Datei war zu groß. Es sind maximal %1 KB erlaubt.', '2010-08-28 11:48:06');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('85', 'DE', 'Kein Bild angegeben.', '2010-08-28 11:48:06');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('86', 'DE', 'gleiche Cacheart', '2010-09-04 21:39:08');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('87', 'DE', 'Opencaching.de', '2010-08-29 17:36:59');
|
||||
@ -5722,8 +5723,8 @@ INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUE
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('759', 'DE', 'Nach dem Bestätigen kann der nächste Seitenaufbau je nach Bildgröße eine Weile dauern.', '2010-08-28 11:48:06');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('760', 'DE', 'Dieses Bild ist ein Spoiler - keine Vorschau anzeigen.', '2010-08-28 11:48:06');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('761', 'DE', 'Hinzufügen', '2010-08-28 11:48:06');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('762', 'DE', 'Es sind nur die Bildformate JPEG, GIF, PNG und BMP erlaubt; für Fotos wird JPEG empfohlen.', '2010-08-28 11:48:06');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('763', 'DE', 'Außerdem ist eine maximale Dateigröße von 250 KB zu beachten. Als Bildgröße sind 640 Pixel Breite und 480 Pixel Höhe empfohlen.', '2010-08-28 11:48:06');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('762', 'DE', 'Es sind nur die Bildformate %1 erlaubt; für Fotos wird JPEG empfohlen.', '2010-08-28 11:48:06');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('763', 'DE', 'Außerdem ist eine maximale Dateigröße von %1 KB zu beachten. Als Bildgröße sind 640 Pixel Breite und 480 Pixel Höhe empfohlen.', '2010-08-28 11:48:06');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('764', 'DE', 'Meldebericht für %1 eingetragen', '2010-08-28 11:48:06');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('765', 'DE', 'Ursache:', '2010-08-28 11:48:06');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('766', 'DE', 'Kommentar:', '2010-08-28 11:48:06');
|
||||
@ -5890,7 +5891,7 @@ INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUE
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1278', 'DE', 'Editor', '2010-08-28 11:48:07');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1279', 'DE', '\<html\>', '2010-08-28 11:48:07');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1292', 'DE', 'Smilies werden nicht unterstützt', '2010-08-28 11:48:07');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1296', 'DE', 'Nur die folgenden Dateiformate sind für Bilder erlaubt: BMP, GIF, PNG and JPEG.', '2010-08-28 11:48:07');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1296', 'DE', 'Nur die folgenden Dateiformate sind für Bilder erlaubt: %1.', '2010-08-28 11:48:07');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1297', 'DE', 'am', '2010-08-28 11:48:07');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1298', 'DE', 'Die Liste wird automatisch anhand der Empfehlungen unserer Benutzer aktualisiert. Mehr Informationen zur regionalen Einteilung kannst du im <a href=\"http://wiki.opencaching.de/index.php/Empfehlungen\" target=\"_blank\">Wiki</a> finden.<br />\r\n<br />\r\nDie Zahlen bedeuten Folgendes:<br />\r\n<img src=\"images/rating-star.gif\" border=\"0\" alt=\"Empfehlungen\" /> Anzahl der Benutzer die diesen Geocache empfohlen haben<br />\r\n<img src=\"resource2/%1/images/log/16x16-found.png\" width=\"16\" height=\"16\" border=\"0\" alt=\"Gefunden\" /> Anzahl der Funde des Geocaches<br />\r\nDer Index setzt die beiden Zahlen in Relation, um den besten Geocache zu ermitteln:<br />\r\n<img src=\"images/tops-formula.png\" border=\"0\" alt=\"Formel\" />', '2010-08-28 12:10:29');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1299', 'DE', 'Dateiupload fehlerhaft!', '2010-08-29 17:46:28');
|
||||
@ -6757,7 +6758,7 @@ INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUE
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('81', 'EN', 'Welcome to opencaching.de', '2010-08-28 11:48:07');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('82', 'EN', 'On this page you will find Geocaches from all over the world, with focus on Germany, Austria, Switzerland, Italy and Spain. We also offer information on miscellaneous geocaching topics, and a forum (message board) and chat for communicating with other cachers.</p><p class=\"startmessage\">If you would like to propagate geocaching in your own country, you may run your own Opencaching site in your own language, using our <a href=\"https://github.com/OpencachingDeutschland/oc-server3\" target=\"_blank\">software</a> and known-how. The long-term plan is to form a global geocaching network out of all Opencaching sites. Please contact us in our <a href=\"http://forum.opencaching-network.org/index.php?board=24.0\" target=\"_blank\">international forum</a> for more information.', '2013-02-11 14:25:06');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('83', 'EN', 'The file was not uploaded correctly.', '2010-08-28 11:48:07');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('84', 'EN', 'The file was too big. The maximum file size is 250 KB.', '2010-08-28 11:48:07');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('84', 'EN', 'The file was too big. The maximum file size is %1 KB.', '2010-08-28 11:48:07');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('85', 'EN', 'No picture file given.', '2010-08-28 11:48:07');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('86', 'EN', 'same type', '2010-08-28 11:48:07');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('87', 'EN', 'Opencaching.de', '2010-08-29 17:36:59');
|
||||
@ -7413,8 +7414,8 @@ INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUE
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('759', 'EN', 'After clicking <i>upload</i>, it may take a while until the next page appears.', '2010-08-28 11:48:08');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('760', 'EN', 'This picture is a spoiler - don\'t show a thumbnail.', '2010-08-28 11:48:08');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('761', 'EN', 'Upload', '2010-08-28 11:48:08');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('762', 'EN', 'Only the following picture formats are allowed: BMP, GIF, PNG and JPEG. We recommend JPEG for photos.', '2010-08-28 11:48:08');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('763', 'EN', 'The file size of the picture must not exeed 250 KB. We recommend 640x480 pixels picture size.', '2010-08-28 11:48:08');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('762', 'EN', 'Only the following picture formats are allowed: %1. We recommend JPEG for photos.', '2010-08-28 11:48:08');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('763', 'EN', 'The file size of the picture must not exeed %1 KB. We recommend 640x480 pixels picture size.', '2010-08-28 11:48:08');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('764', 'EN', 'Report for %1 has been submitted.', '2010-08-28 11:48:08');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('765', 'EN', 'Reason:', '2010-08-28 11:48:08');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('766', 'EN', 'Comment:', '2010-08-28 11:48:08');
|
||||
@ -7581,7 +7582,7 @@ INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUE
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1278', 'EN', 'Editor', '2010-08-28 11:48:08');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1279', 'EN', '\<html\>', '2010-08-28 11:48:08');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1292', 'EN', 'Setting smilies is not supported', '2010-08-28 11:48:08');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1296', 'EN', 'Only the following picture formats are allowed: BMP, GIF, PNG and JPEG.', '2010-08-28 11:50:56');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1296', 'EN', 'Only the following picture formats are allowed: %1.', '2010-08-28 11:50:56');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1297', 'EN', 'am', '2010-08-28 11:48:08');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1298', 'EN', 'The following list is generated automatically by the given recommendations of the users. You can find more informations on regional classification in the <a href=\"http://wiki.opencaching.de/index.php/Empfehlungen\" target=\"_blank\">Wiki</a>.<br /> <br /> The numbers in the list below means:<br /> <img src=\"images/rating-star.gif\" border=\"0\" alt=\"Recommendations\" /> Number of users that recommend this cache<br /> <img src=\"resource2/%1/images/log/16x16-found.png\" width=\"16\" height=\"16\" border=\"0\" alt=\"Found\" /> Checks = Number of time the cache was found<br /> Index tries to take the number of recommendations and founds in an order to show \'the best\' geocache first.<br /> <img src=\"images/tops-formula.png\" border=\"0\" alt=\"Formula\" />', '2010-08-29 22:49:51');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1299', 'EN', 'File upload failed!', '2010-08-29 22:50:32');
|
||||
@ -8415,7 +8416,7 @@ INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUE
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('81', 'ES', '¿Que me parece en este sitio?', '2010-12-09 00:17:56');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('82', 'ES', 'En esta página podrás encontrar geocaches en todo el mundo, con especial atención a Alemania, Austria, Suiza, Italia y España. También ofrecemos información sobre temas diversos geocaching, y un foro (tablón de anuncios) y chat para comunicarse con otros cachers.', '2010-12-09 00:17:56');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('83', 'ES', 'El archivo no se ha subido correctamente.', '2010-12-09 00:17:56');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('84', 'ES', 'El archivo era demasiado grande. Se permite un máximo de 250 KB.', '2010-12-09 00:17:56');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('84', 'ES', 'El archivo era demasiado grande. Se permite un máximo de %1 KB.', '2010-12-09 00:17:56');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('85', 'ES', 'No hay imagen de archivo determinado.', '2010-12-09 00:17:56');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('86', 'ES', 'mismo tipo', '2010-12-09 00:17:56');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('87', 'ES', 'Opencaching.de', '2010-12-09 00:17:56');
|
||||
@ -9071,8 +9072,8 @@ INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUE
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('759', 'ES', 'Cuando pulse <i>carica</i> puede que tarde algo de tiempo antes de que se muestre la página siguiente.', '2010-12-09 00:17:58');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('760', 'ES', 'Esta imagen es un spoiler - No hay vista previa.', '2010-12-09 00:17:58');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('761', 'ES', 'Cargar', '2010-12-09 00:17:58');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('762', 'ES', 'Los siguientes formatos se permite sólo para imágenes: BMP, GIF, PNG y JPEG. Recomendamos JPEG para las fotos.', '2010-12-09 00:17:58');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('763', 'ES', 'El tamaño de la imagen no debe superar los 250KB. Se recomienda imágenes de 640 píxeles de ancho por 480 de alto.', '2010-12-09 00:17:58');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('762', 'ES', 'Los siguientes formatos se permite sólo para imágenes: %1. Recomendamos JPEG para las fotos.', '2010-12-09 00:17:58');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('763', 'ES', 'El tamaño de la imagen no debe superar los %1KB. Se recomienda imágenes de 640 píxeles de ancho por 480 de alto.', '2010-12-09 00:17:58');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('764', 'ES', 'El informe sobre %1 ha sido presentado', '2010-12-09 00:17:58');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('765', 'ES', 'Motivo:', '2010-12-09 00:17:58');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('766', 'ES', 'Comentario:', '2010-12-09 00:17:58');
|
||||
@ -9239,7 +9240,7 @@ INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUE
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1278', 'ES', 'Editor', '2010-12-09 00:17:59');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1279', 'ES', '\<html\>', '2010-12-09 00:17:59');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1292', 'ES', 'Smilies no son compatibles', '2010-12-09 00:17:59');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1296', 'ES', 'Sólo los siguientes formatos de archivo se permite para las imágenes: BMP, GIF, PNG y JPEG.', '2010-12-09 00:17:59');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1296', 'ES', 'Sólo los siguientes formatos de archivo se permite para las imágenes: %1.', '2010-12-09 00:17:59');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1297', 'ES', 'a la (hora)', '2010-12-09 00:17:59');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1298', 'ES', 'La lista se actualizará automáticamente basado en las recomendaciones de nuestros usuarios. Más información sobre la división regional se puede en el <a href=\"http://wiki.opencaching.de/index.php/Empfehlungen\" target=\"_blank\">Wiki</a>.<br />\r\n<br />\r\nLos números indican lo siguiente:<br />\r\n<img src=\"images/rating-star.gif\" border=\"0\" alt=\"Empfehlungen\" />Número de hallazgos del Geocache<br />\r\n<img src=\"resource2/%1/images/log/16x16-found.png\" width=\"16\" height=\"16\" border=\"0\" alt=\"\" /> Número de hallazgos del Geocache<br />\r\nEl índice es el número dos en relación a determinar el mejor Geocache<br />\r\n<img src=\"images/tops-formula.png\" border=\"0\" alt=\"Formel\" />', '2010-12-09 00:17:59');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1299', 'ES', '¡Archivo de errores de carga!', '2010-12-09 00:17:59');
|
||||
@ -9979,7 +9980,7 @@ INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUE
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('81', 'IT', 'Che cosa trovo in questo sito?', '2010-10-27 18:49:19');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('82', 'IT', 'In questa pagina trovi le Geocache di tutto il mondo, con particolare riguardo a Germania, Austria, Italia e Spagna. Offriamo anche informazioni su svariati argomenti, e un forum (scambio messaggi) con chat per comunicare con altrio cachers.', '2010-12-19 00:27:25');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('83', 'IT', 'Il file non è stato caricato correttamente.', '2010-08-28 21:20:35');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('84', 'IT', 'Il file è troppo grande. La dimensione massima è 250 KB.', '2010-08-28 21:21:01');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('84', 'IT', 'Il file è troppo grande. La dimensione massima è %1 KB.', '2010-08-28 21:21:01');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('85', 'IT', 'File per l\'immagine non definito.', '2010-08-28 21:22:12');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('86', 'IT', 'stesso tipo', '2010-08-28 21:27:16');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('87', 'IT', 'Opencaching.de', '2010-08-28 21:22:19');
|
||||
@ -10635,8 +10636,8 @@ INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUE
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('759', 'IT', 'Quando premi <i>carica</i> può essere necessario un certo tempo prima che venga visualizzata la pagina successiva.', '2010-09-01 23:49:32');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('760', 'IT', 'Questa immagine è uno spoiler - non visualizzare l\'anteprima.', '2010-09-10 23:15:35');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('761', 'IT', 'Carica', '2010-08-31 20:06:23');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('762', 'IT', 'Sono ammessi solo i seguenti formati per le immagini: BMP, GIF, PNG and JPEG. Raccomandiamo JPEG per le foto.', '2010-09-01 23:49:32');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('763', 'IT', 'La dimensione dell\'immagine non deve essere superiore a 250kB. Raccomandiamo immagini di 640 pixel di larghezza per 480 di altezza.', '2010-10-27 18:49:19');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('762', 'IT', 'Sono ammessi solo i seguenti formati per le immagini: %1. Raccomandiamo JPEG per le foto.', '2010-09-01 23:49:32');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('763', 'IT', 'La dimensione dell\'immagine non deve essere superiore a %1kB. Raccomandiamo immagini di 640 pixel di larghezza per 480 di altezza.', '2010-10-27 18:49:19');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('764', 'IT', 'Segnalazione per %1 inviata.', '2010-09-01 23:49:32');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('765', 'IT', 'Motivo:', '2010-08-31 20:06:24');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('766', 'IT', 'Commento:', '2010-09-01 23:49:32');
|
||||
@ -10803,7 +10804,7 @@ INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUE
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1278', 'IT', 'Editor', '2010-09-10 23:15:37');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1279', 'IT', '\<html\>', '2010-09-10 23:15:37');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1292', 'IT', 'L\'utilizzo degli smilies non è supportato', '2010-09-10 23:15:37');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1296', 'IT', 'Sono ammesse solo le immagini nei seguenti formati: BMP, GIF, PNG e JPEG.', '2010-10-27 18:49:19');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1296', 'IT', 'Sono ammesse solo le immagini nei seguenti formati: %1.', '2010-10-27 18:49:19');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1297', 'IT', 'alle (ora)', '2010-08-28 22:26:55');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1298', 'IT', 'Questa lista è generata automaticamente sulla base delle raccomandazioni degli utenti. Puoi trovare maggiori informazioni sulla classificazione regionale nell <a href=\"http://wiki.opencaching.de/index.php/Empfehlungen\" target=\"_blank\">Wiki</a>.<br /> <br /> I numeri nella lista qui sotto significano:<br /> <img src=\"images/rating-star.gif\" border=\"0\" alt=\"Recommendations\" /> Numbero di utenti che raccomandano questa cache<br /> <img src=\"resource2/%1/images/log/16x16-found.png\" width=\"16\" height=\"16\" border=\"0\" alt=\"Found\" /> Checks = Numero di volte in cui la cache è stata trovata<br /> L\' indice cerca di ordinare il numero di raccomandazioni e i ritrovamenti in modo da visualizzare per prime \'le migliori\' geocache.<br /> <img src=\"images/tops-formula.png\" border=\"0\" alt=\"Formula\" />', '2010-08-28 22:26:30');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('1299', 'IT', 'Errore caricamento file!', '2010-09-10 23:15:37');
|
||||
@ -11665,7 +11666,7 @@ INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUE
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('81', 'NL', 'Welkom op opencaching.nl', '2011-02-04 19:49:56');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('82', 'NL', 'Hier kan alles gevonden worden wat met Geocaching te maken heeft, als beginner of iemand die veel ervaring heeft. van een eenvoudige wiki tot forum waar met andere cachers gediscussieerd kan worden.', '2011-02-04 19:49:56');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('83', 'NL', 'Bij de dataoverdracht is een fout opgetreden.', '2011-02-04 19:49:56');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('84', 'NL', 'Het bestand is te groot, de maximale grootte is 250 KB.', '2011-02-04 19:49:56');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('84', 'NL', 'Het bestand is te groot, de maximale grootte is %1 KB.', '2011-02-04 19:49:56');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('85', 'NL', 'Geen afbeelding opgegeven.', '2011-02-04 19:49:56');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('86', 'NL', 'zelfde cache soort', '2011-02-04 19:49:56');
|
||||
INSERT INTO `sys_trans_text` (`trans_id`, `lang`, `text`, `last_modified`) VALUES ('87', 'NL', 'Opencaching.nl', '2011-02-04 19:49:56');
|
||||
|
@ -83,4 +83,8 @@
|
||||
define('NEW_DATA_LICENSE_PASSIVELY_ACCEPTED',3); // did not decline license until deadline
|
||||
define('NEW_DATA_LICENSE_PASSIVELY_DECLINED',4); // could not accept/decline because disabled
|
||||
|
||||
//picture upload/resize parameters
|
||||
define('PICTURE_QUALITY',85);
|
||||
define('PICTURE_RESOLUTION',72);
|
||||
define('PICTURE_MAX_LONG_SIDE',1024);
|
||||
?>
|
@ -109,7 +109,7 @@ class picture
|
||||
if (strpos($sFilename, '.') === false)
|
||||
return;
|
||||
|
||||
$sExtension = mb_strtolower(substr($sFilename, strrpos($sFilename, '.') + 1));
|
||||
$sExtension = 'jpg';//mb_strtolower(substr($sFilename, strrpos($sFilename, '.') + 1));
|
||||
$this->sFileExtension = $sExtension;
|
||||
|
||||
$sUUID = $this->getUUID();
|
||||
@ -453,6 +453,71 @@ class picture
|
||||
}
|
||||
return $pl;
|
||||
}
|
||||
/*
|
||||
Shrink picture to a specified maximum size. If present Imagemagick extension will be used, if not gd.
|
||||
Imagick is sharper, faster, need less memory and supports more types.
|
||||
For gd size is limited to 5000px (memory consumption).
|
||||
i prefer FILTER_CATROM because its faster but similiar to lanczos see http://de1.php.net/manual/de/imagick.resizeimage.php
|
||||
parameter:
|
||||
$tmpfile: full name of uploaded file
|
||||
$longSideSize: if longer side of picture > $longSideSize, then it will be prop. shrinked to
|
||||
returns: true if no error occur, otherwise false
|
||||
*/
|
||||
public function shrink($tmpFile,$longSideSize)
|
||||
{
|
||||
global $opt;
|
||||
if (extension_loaded('imagick')) {
|
||||
try {
|
||||
|
||||
$image = new Imagick();
|
||||
$image->readImage($tmpFile);
|
||||
$w=$image->getImageWidth();
|
||||
$h=$image->getImageHeight();
|
||||
$image->setImageResolution(PICTURE_RESOLUTION,PICTURE_RESOLUTION);
|
||||
$image->setImageCompression(Imagick::COMPRESSION_JPEG);
|
||||
$image->setImageCompressionQuality(PICTURE_QUALITY);
|
||||
$image->stripImage(); //clears exif, private data
|
||||
//$newSize=$w<$h?array($w*$longSideSize/$h,$longSideSize):array($longSideSize,$h*$longSideSize/$w);
|
||||
if (max($w,$h)>$longSideSize)
|
||||
$image->resizeImage($longSideSize,$longSideSize,imagick::FILTER_CATROM,1,true);
|
||||
$result=$image->writeImage($this->getFilename());
|
||||
$image->clear();
|
||||
}
|
||||
catch (Exception $e){
|
||||
if ($image)$image->clear();
|
||||
if($opt['debug'] & DEBUG_DEVELOPER)die($e);
|
||||
$result=false;
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
else if (extension_loaded('gd')) {
|
||||
$imageNew=null;
|
||||
try{
|
||||
$image = imagecreatefromstring(file_get_contents($tmpFile)); ;
|
||||
$w=imagesx($image);
|
||||
$h=imagesy($image);
|
||||
if (max($w,$h)>5000)throw new Exception("Image too large >5000px");
|
||||
if (max($w,$h)<=$longSideSize)
|
||||
$result=imagejpeg($image,$this->getFilename(),PICTURE_QUALITY);
|
||||
else {
|
||||
$newSize=$w<$h?array($w*$longSideSize/$h,$longSideSize):array($longSideSize,$h*$longSideSize/$w);
|
||||
$imageNew = imagecreatetruecolor($newSize[0], $newSize[1]);
|
||||
imagecopyresampled($imageNew, $image, 0, 0, 0, 0,$newSize[0], $newSize[1], $w, $h);
|
||||
$result=imagejpeg($imageNew,$this->getFilename(),PICTURE_QUALITY);
|
||||
imagedestroy($imageNew);
|
||||
}
|
||||
imagedestroy($image);
|
||||
}
|
||||
catch (Exception $e){
|
||||
if ($image)imagedestroy($image);
|
||||
if ($imageNew)imagedestroy($imageNew);
|
||||
if($opt['debug'] & DEBUG_DEVELOPER)die($e);
|
||||
$result=false;
|
||||
}
|
||||
return $result;
|
||||
|
||||
}
|
||||
else return false;
|
||||
}
|
||||
}
|
||||
?>
|
@ -124,8 +124,9 @@
|
||||
$picture->setFilenames($_FILES['file']['name']);
|
||||
$picture->setLocal(1);
|
||||
|
||||
// try saving file and record
|
||||
if (!move_uploaded_file($_FILES['file']['tmp_name'], $picture->getFilename()))
|
||||
|
||||
// try saving and shrinking if > PICTURE_MAX_LONG_SIDE file and record
|
||||
if (!$picture->shrink($_FILES['file']['tmp_name'],PICTURE_MAX_LONG_SIDE))
|
||||
{
|
||||
$tpl->assign('errorfile', ERROR_UPLOAD_UNKNOWN);
|
||||
$bError = true;
|
||||
|
@ -9,13 +9,21 @@
|
||||
{literal}
|
||||
function checkForm()
|
||||
{
|
||||
if (document.fpicture.title.value == "")
|
||||
{
|
||||
if (document.fpicture.title.value == "")
|
||||
{
|
||||
alert('{/literal}{t escape=js}Please give the picture a name!{/t}{literal}');
|
||||
resetbutton('ok');
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
if (typeof FileReader !== "undefined") {
|
||||
var size = document.fpicture.file.files[0].size;
|
||||
var maxsize=+document.fpicture.MAX_FILE_SIZE.value;
|
||||
if (size>maxsize){
|
||||
alert('{/literal}{t escape=js 1=$siteSettings.logic.pictures.maxsize/1024|string_format:"%d"}The file was too big. The maximum file size is %1 KB.{/t}{literal}');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
{/literal}
|
||||
//-->
|
||||
@ -69,18 +77,18 @@
|
||||
<tr>
|
||||
<td valign="top">{t}File:{/t}</td>
|
||||
<td colspan="2">
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="{$opt.logic.pictures.maxsize}" />
|
||||
<input class="input300" name="file" type="file" maxlength="{$opt.logic.pictures.maxsize}" />
|
||||
<input type="hidden" name="MAX_FILE_SIZE" value="{$siteSettings.logic.pictures.maxsize}" />
|
||||
<input class="input300" name="file" type="file" />
|
||||
</td>
|
||||
</tr>
|
||||
{if $errorfile==ERROR_UPLOAD_ERR_NO_FILE}
|
||||
{if $errorfile==ERROR_UPLOAD_ERR_NO_FILE}
|
||||
<tr><td> </td><td colspan="2"><span class="errormsg">{t}No picture file given.{/t}</span></td></tr>
|
||||
{elseif $errorfile==ERROR_UPLOAD_ERR_SIZE}
|
||||
<tr><td> </td><td colspan="2"><span class="errormsg">{t}The file was too big. The maximum file size is 250 KB.{/t}</span></td></tr>
|
||||
<tr><td> </td><td colspan="2"><span class="errormsg">{t 1=$siteSettings.logic.pictures.maxsize/1024|string_format:"%d"}The file was too big. The maximum file size is %1 KB.{/t}</span></td></tr>
|
||||
{elseif $errorfile==ERROR_UPLOAD_UNKNOWN}
|
||||
<tr><td> </td><td colspan="2"><span class="errormsg">{t}The file was not uploaded correctly.{/t}</span></td></tr>
|
||||
{elseif $errorfile==ERROR_UPLOAD_ERR_TYPE}
|
||||
<tr><td> </td><td colspan="2"><span class="errormsg">{t}Only the following picture formats are allowed: BMP, GIF, PNG and JPEG.{/t}</span></td></tr>
|
||||
<tr><td> </td><td colspan="2"><span class="errormsg">{t 1=$siteSettings.logic.pictures.extensions|upper|replace:";":", "}Only the following picture formats are allowed: %1.{/t}</span></td></tr>
|
||||
{/if}
|
||||
{/if}
|
||||
|
||||
@ -119,8 +127,8 @@
|
||||
<tr>
|
||||
<td class="help" colspan="3">
|
||||
<img src="resource2/{$opt.template.style}/images/misc/hint.gif" border="0" width="15" height="11" alt="{t}Note{/t}" title="{t}Note{/t}" />
|
||||
{t}Only the following picture formats are allowed: BMP, GIF, PNG and JPEG. We recommend JPEG for photos.{/t}<br />
|
||||
{t}The file size of the pictures must not exeed 250 KB. We recommend 640x480 pixel of picture size.{/t}<br />
|
||||
{t 1=$siteSettings.logic.pictures.extensions|upper|replace:";":", "}Only the following picture formats are allowed: %1. We recommend JPEG for photos.{/t}<br />
|
||||
{t 1=$siteSettings.logic.pictures.maxsize/1024}The file size of the pictures must not exeed %1 KB. We recommend 640x480 pixel of picture size.{/t}<br />
|
||||
{t}After click to upload, it can take a while, until the next page is been shown.{/t}
|
||||
</td>
|
||||
</tr>
|
||||
@ -139,8 +147,8 @@
|
||||
<tr>
|
||||
<td class="header-small" colspan="3">
|
||||
<!-- <input type="reset" name="reset" value="{t}Reset{/t}" class="formbutton" onclick="flashbutton('reset')" /> -->
|
||||
<input type="submit" name="ok" value="{if $action=='add'}{t}Upload{/t}{else}{t}Submit{/t}{/if}" class="formbutton" onclick="submitbutton('ok')" />
|
||||
</td>
|
||||
</tr>
|
||||
<input type="submit" name="ok" value="{if $action=='add'}{t}Upload{/t}{else}{t}Submit{/t}{/if}" class="formbutton" onclick="submitbutton('ok')" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
|
Loading…
x
Reference in New Issue
Block a user