From 60a1b98e1115da0753f184afe7b9c57e05d358fe Mon Sep 17 00:00:00 2001 From: garvinhicking Date: Wed, 19 Apr 2006 11:07:47 +0000 Subject: [PATCH] * Restrict upload by size/dimensions * Auto-increase filename if already existing * DB updates --- docs/NEWS | 11 +- include/admin/images.inc.php | 130 ++++++++++-------- include/functions_images.inc.php | 130 ++++++++++++++++-- include/tpl/config_local.inc.php | 21 +++ lang/UTF-8/serendipity_lang_bg.inc.php | 10 ++ lang/UTF-8/serendipity_lang_cn.inc.php | 12 +- lang/UTF-8/serendipity_lang_cs.inc.php | 12 +- lang/UTF-8/serendipity_lang_cz.inc.php | 12 +- lang/UTF-8/serendipity_lang_da.inc.php | 12 +- lang/UTF-8/serendipity_lang_de.inc.php | 12 +- lang/UTF-8/serendipity_lang_en.inc.php | 12 +- lang/UTF-8/serendipity_lang_es.inc.php | 12 +- lang/UTF-8/serendipity_lang_fa.inc.php | 12 +- lang/UTF-8/serendipity_lang_fi.inc.php | 12 +- lang/UTF-8/serendipity_lang_fr.inc.php | 12 +- lang/UTF-8/serendipity_lang_hu.inc.php | 10 ++ lang/UTF-8/serendipity_lang_is.inc.php | 12 +- lang/UTF-8/serendipity_lang_it.inc.php | 10 ++ lang/UTF-8/serendipity_lang_ja.inc.php | 12 +- lang/UTF-8/serendipity_lang_ko.inc.php | 12 +- lang/UTF-8/serendipity_lang_nl.inc.php | 12 +- lang/UTF-8/serendipity_lang_no.inc.php | 12 +- lang/UTF-8/serendipity_lang_pt.inc.php | 12 +- lang/UTF-8/serendipity_lang_pt_PT.inc.php | 10 ++ lang/UTF-8/serendipity_lang_ro.inc.php | 10 ++ lang/UTF-8/serendipity_lang_ru.inc.php | 12 +- lang/UTF-8/serendipity_lang_se.inc.php | 10 ++ lang/UTF-8/serendipity_lang_ta.inc.php | 10 ++ lang/UTF-8/serendipity_lang_tn.inc.php | 12 +- lang/UTF-8/serendipity_lang_tr.inc.php | 10 ++ lang/UTF-8/serendipity_lang_tw.inc.php | 12 +- lang/UTF-8/serendipity_lang_zh.inc.php | 12 +- lang/addlang.txt | 11 +- lang/plugin_lang.php | 10 ++ lang/serendipity_lang_bg.inc.php | 10 ++ lang/serendipity_lang_cn.inc.php | 10 ++ lang/serendipity_lang_cs.inc.php | 10 ++ lang/serendipity_lang_cz.inc.php | 10 ++ lang/serendipity_lang_da.inc.php | 10 ++ lang/serendipity_lang_de.inc.php | 10 ++ lang/serendipity_lang_en.inc.php | 10 ++ lang/serendipity_lang_es.inc.php | 10 ++ lang/serendipity_lang_fa.inc.php | 10 ++ lang/serendipity_lang_fi.inc.php | 10 ++ lang/serendipity_lang_fr.inc.php | 10 ++ lang/serendipity_lang_hu.inc.php | 10 ++ lang/serendipity_lang_is.inc.php | 10 ++ lang/serendipity_lang_it.inc.php | 10 ++ lang/serendipity_lang_ja.inc.php | 10 ++ lang/serendipity_lang_ko.inc.php | 10 ++ lang/serendipity_lang_nl.inc.php | 10 ++ lang/serendipity_lang_no.inc.php | 10 ++ lang/serendipity_lang_pt.inc.php | 10 ++ lang/serendipity_lang_pt_PT.inc.php | 10 ++ lang/serendipity_lang_ro.inc.php | 10 ++ lang/serendipity_lang_ru.inc.php | 10 ++ lang/serendipity_lang_se.inc.php | 10 ++ lang/serendipity_lang_ta.inc.php | 10 ++ lang/serendipity_lang_tn.inc.php | 10 ++ lang/serendipity_lang_tr.inc.php | 10 ++ lang/serendipity_lang_tw.inc.php | 10 ++ lang/serendipity_lang_zh.inc.php | 10 ++ serendipity_config.inc.php | 2 +- sql/db.sql | 7 +- sql/db_update_1.1-alpha4_1.1-alpha5_mysql.sql | 3 + ..._update_1.1-alpha4_1.1-alpha5_postgres.sql | 4 + ...db_update_1.1-alpha4_1.1-alpha5_sqlite.sql | 65 +++++++++ templates/default/admin/media_choose.tpl | 4 +- templates/default/admin/media_items.tpl | 13 +- templates/default/admin/media_upload.tpl | 3 + 70 files changed, 901 insertions(+), 113 deletions(-) create mode 100644 sql/db_update_1.1-alpha4_1.1-alpha5_mysql.sql create mode 100644 sql/db_update_1.1-alpha4_1.1-alpha5_postgres.sql create mode 100644 sql/db_update_1.1-alpha4_1.1-alpha5_sqlite.sql diff --git a/docs/NEWS b/docs/NEWS index 5e9b2d2..ed32e25 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -27,15 +27,12 @@ Version 1.1-alpha4() - Detect if a file is video, audio, image, document, archive, binary. Unify image fetching functionality. - Allow to create directories from the popup media window - - TODO: - Optionally increase filename (1, 2, 4, 5, ...) when file - already exists and is not identical - - Store "real" filename when filename has been automatically - inreased - - - Restrict file upload by size/dimensions + already exists + - Restrict file upload by size/dimensions via configuration + options + TODO: - Search/Filter for specific properties/keywords: Sort by: Title, Filename, Creation date, Upload date, file type, author diff --git a/include/admin/images.inc.php b/include/admin/images.inc.php index 6dd7c00..ee16f86 100644 --- a/include/admin/images.inc.php +++ b/include/admin/images.inc.php @@ -191,38 +191,42 @@ switch ($serendipity['GET']['adminAction']) { $serendipity['POST']['target_directory'][$tindex] = serendipity_uploadSecure($serendipity['POST']['target_directory'][$tindex], true, true); $target = $serendipity['serendipityPath'] . $serendipity['uploadPath'] . $serendipity['POST']['target_directory'][$tindex] . $tfile; + $realname = $tfile; if (file_exists($target)) { - echo '(' . $target . ') ' . ERROR_FILE_EXISTS_ALREADY; + echo '(' . $target . ') ' . ERROR_FILE_EXISTS_ALREADY . '
'; + $realname = serendipity_imageAppend($tfile, $target, $serendipity['serendipityPath'] . $serendipity['uploadPath'] . $serendipity['POST']['target_directory'][$tindex]); + } + + require_once S9Y_PEAR_PATH . 'HTTP/Request.php'; + $options = array(); + serendipity_plugin_api::hook_event('backend_http_request', $options, 'image'); + serendipity_request_start(); + $req = &new HTTP_Request($serendipity['POST']['imageurl'], $options); + // Try to get the URL + + if (PEAR::isError($req->sendRequest()) || $req->getResponseCode() != '200') { + printf(REMOTE_FILE_NOT_FOUND, $serendipity['POST']['imageurl']); } else { - require_once S9Y_PEAR_PATH . 'HTTP/Request.php'; - $options = array(); - serendipity_plugin_api::hook_event('backend_http_request', $options, 'image'); - serendipity_request_start(); - $req = &new HTTP_Request($serendipity['POST']['imageurl'], $options); - // Try to get the URL - - if (PEAR::isError($req->sendRequest()) || $req->getResponseCode() != '200') { - printf(REMOTE_FILE_NOT_FOUND, $serendipity['POST']['imageurl']); + // Fetch file + $fContent = $req->getResponseBody(); + + if ($serendipity['POST']['imageimporttype'] == 'hotlink') { + $tempfile = $serendipity['serendipityPath'] . $serendipity['uploadPath'] . '/hotlink_' . time(); + $fp = fopen($tempfile, 'w'); + fwrite($fp, $fContent); + fclose($fp); + + $image_id = @serendipity_insertHotlinkedImageInDatabase($tfile, $serendipity['POST']['imageurl'], $authorid, null, $tempfile); + printf(HOTLINK_DONE. '
', $serendipity['POST']['imageurl'], $tfile); + serendipity_plugin_api::hook_event('backend_image_addHotlink', $tempfile); } else { - // Fetch file - $fContent = $req->getResponseBody(); - - if ($serendipity['POST']['imageimporttype'] == 'hotlink') { - $tempfile = $serendipity['serendipityPath'] . $serendipity['uploadPath'] . '/hotlink_' . time(); - $fp = fopen($tempfile, 'w'); - fwrite($fp, $fContent); - fclose($fp); - - $image_id = @serendipity_insertHotlinkedImageInDatabase($tfile, $serendipity['POST']['imageurl'], $authorid, null, $tempfile); - printf(HOTLINK_DONE. '
', $serendipity['POST']['imageurl'], $tfile); - serendipity_plugin_api::hook_event('backend_image_addHotlink', $tempfile); - } else { - $fp = fopen($target, 'w'); - fwrite($fp, $fContent); - fclose($fp); + $fp = fopen($target, 'w'); + fwrite($fp, $fContent); + fclose($fp); - printf(FILE_FETCHED . '
', $serendipity['POST']['imageurl'], $tfile); + printf(FILE_FETCHED . '
', $serendipity['POST']['imageurl'], $tfile); + if (serendipity_checkMediaSize($target)) { $thumbs = array(array( 'thumbSize' => $serendipity['thumbSize'], 'thumb' => $serendipity['thumbSuffix'] @@ -237,7 +241,7 @@ switch ($serendipity['GET']['adminAction']) { } // Insert into database - $image_id = serendipity_insertImageInDatabase($tfile, $serendipity['POST']['target_directory'][$tindex], $authorid); + $image_id = serendipity_insertImageInDatabase($tfile, $serendipity['POST']['target_directory'][$tindex], $authorid, null, $realname); serendipity_plugin_api::hook_event('backend_image_add', $target); $new_media[] = array( 'image_id' => $image_id, @@ -276,40 +280,41 @@ switch ($serendipity['GET']['adminAction']) { $serendipity['POST']['target_directory'][$idx] = serendipity_uploadSecure($serendipity['POST']['target_directory'][$idx], true, true); $target = $serendipity['serendipityPath'] . $serendipity['uploadPath'] . $serendipity['POST']['target_directory'][$idx] . $tfile; + $realname = $tfile; if (file_exists($target)) { - echo '(' . $target . ') ' . ERROR_FILE_EXISTS_ALREADY; - echo '
'; - } else { - // Accept file - if (is_uploaded_file($uploadtmp) && move_uploaded_file($uploadtmp, $target)) { - printf(FILE_UPLOADED . '
', $uploadfile, $target); - @umask(0000); - @chmod($target, 0664); + echo '(' . $target . ') ' . ERROR_FILE_EXISTS_ALREADY . '
'; + $realname = serendipity_imageAppend($tfile, $target, $serendipity['serendipityPath'] . $serendipity['uploadPath'] . $serendipity['POST']['target_directory'][$idx]); + } - $thumbs = array(array( - 'thumbSize' => $serendipity['thumbSize'], - 'thumb' => $serendipity['thumbSuffix'] - )); - serendipity_plugin_api::hook_event('backend_media_makethumb', $thumbs); + // Accept file + if (is_uploaded_file($uploadtmp) && serendipity_checkMediaSize($uploadtmp) && move_uploaded_file($uploadtmp, $target)) { + printf(FILE_UPLOADED . '
', $uploadfile, $target); + @umask(0000); + @chmod($target, 0664); - foreach($thumbs as $thumb) { - // Create thumbnail - if ( $created_thumbnail = serendipity_makeThumbnail($tfile, $serendipity['POST']['target_directory'][$idx], $thumb['thumbSize'], $thumb['thumb']) ) { - echo THUMB_CREATED_DONE . '
'; - } - } + $thumbs = array(array( + 'thumbSize' => $serendipity['thumbSize'], + 'thumb' => $serendipity['thumbSuffix'] + )); + serendipity_plugin_api::hook_event('backend_media_makethumb', $thumbs); - // Insert into database - $image_id = serendipity_insertImageInDatabase($tfile, $serendipity['POST']['target_directory'][$idx], $authorid); - serendipity_plugin_api::hook_event('backend_image_add', $target); - $new_media[] = array( - 'image_id' => $image_id, - 'target' => $target, - 'created_thumbnail' => $created_thumbnail - ); - } else { - echo ERROR_UNKNOWN_NOUPLOAD . '
'; + foreach($thumbs as $thumb) { + // Create thumbnail + if ( $created_thumbnail = serendipity_makeThumbnail($tfile, $serendipity['POST']['target_directory'][$idx], $thumb['thumbSize'], $thumb['thumb']) ) { + echo THUMB_CREATED_DONE . '
'; + } } + + // Insert into database + $image_id = serendipity_insertImageInDatabase($tfile, $serendipity['POST']['target_directory'][$idx], $authorid, null, $realname); + serendipity_plugin_api::hook_event('backend_image_add', $target); + $new_media[] = array( + 'image_id' => $image_id, + 'target' => $target, + 'created_thumbnail' => $created_thumbnail + ); + } else { + echo ERROR_UNKNOWN_NOUPLOAD . '
'; } } } @@ -571,10 +576,13 @@ switch ($serendipity['GET']['adminAction']) { serendipity_smarty_init(); $mediaFiles = array( - 'token' => serendipity_setFormToken(), - 'form_hidden' => $form_hidden, - 'folders' => $folders, - 'only_path' => $serendipity['GET']['only_path'] + 'token' => serendipity_setFormToken(), + 'form_hidden' => $form_hidden, + 'folders' => $folders, + 'only_path' => $serendipity['GET']['only_path'], + 'max_file_size' => $serendipity['maxFileSize'], + 'maxImgHeight' => $serendipity['maxImgHeight'], + 'maxImgWidth' => $serendipity['maxImgWidth'], ); $serendipity['smarty']->assign('media', $mediaFiles); $serendipity['smarty']->display(serendipity_getTemplateFile('admin/media_upload.tpl', 'serendipityPath')); diff --git a/include/functions_images.inc.php b/include/functions_images.inc.php index 5fefe15..5d60fec 100644 --- a/include/functions_images.inc.php +++ b/include/functions_images.inc.php @@ -96,7 +96,7 @@ function serendipity_fetchImagesFromDatabase($start=0, $limit=0, &$total, $order {$cond['and']}"; - $query = "SELECT {$cond['distinct']} i.id, i.name, i.extension, i.mime, i.size, i.dimensions_width, i.dimensions_height, i.date, i.thumbnail_name, i.authorid, i.path, i.hotlink, + $query = "SELECT {$cond['distinct']} i.id, i.name, i.extension, i.mime, i.size, i.dimensions_width, i.dimensions_height, i.date, i.thumbnail_name, i.authorid, i.path, i.hotlink, i.realname, a.realname AS authorname $basequery {$cond['group']} @@ -154,7 +154,7 @@ function serendipity_fetchImageFromDatabase($id, $mode = 'read') { serendipity_ACL_SQL($cond, false, 'directory', $mode); - $rs = serendipity_db_query("SELECT {$cond['distinct']} i.id, i.name, i.extension, i.mime, i.size, i.dimensions_width, i.dimensions_height, i.date, i.thumbnail_name, i.authorid, i.path, i.hotlink + $rs = serendipity_db_query("SELECT {$cond['distinct']} i.id, i.name, i.extension, i.mime, i.size, i.dimensions_width, i.dimensions_height, i.date, i.thumbnail_name, i.authorid, i.path, i.hotlink, i.realname FROM {$serendipity['dbPrefix']}images AS i {$cond['joins']} {$cond['and']} @@ -343,7 +343,8 @@ function serendipity_insertHotlinkedImageInDatabase($filename, $url, $authorid = dimensions_width, dimensions_height, path, - hotlink + hotlink, + realname ) VALUES ( '%s', %s, @@ -354,7 +355,8 @@ function serendipity_insertHotlinkedImageInDatabase($filename, $url, $authorid = %s, %s, '%s', - 1 + 1, + '%s' )", serendipity_db_escape_string($filebase), (int)$time, @@ -364,7 +366,8 @@ function serendipity_insertHotlinkedImageInDatabase($filename, $url, $authorid = (int)$filesize, (int)$width, (int)$height, - serendipity_db_escape_string($url) + serendipity_db_escape_string($url), + serendipity_db_escape_string($filename) ); $sql = serendipity_db_query($query); @@ -391,13 +394,17 @@ function serendipity_insertHotlinkedImageInDatabase($filename, $url, $authorid = * @param int The timestamp of when the media item was inserted * @return int The new media ID */ -function serendipity_insertImageInDatabase($filename, $directory, $authorid = 0, $time = NULL) { +function serendipity_insertImageInDatabase($filename, $directory, $authorid = 0, $time = NULL, $realname = NULL) { global $serendipity; if (is_null($time)) { $time = time(); } + if (is_null($realname)) { + $realname = $filename; + } + $filepath = $serendipity['serendipityPath'] . $serendipity['uploadPath'] . $directory . $filename; $filesize = @filesize($filepath); @@ -423,7 +430,8 @@ function serendipity_insertImageInDatabase($filename, $directory, $authorid = 0, thumbnail_name, date, authorid, - path + path, + realname ) VALUES ( '%s', '%s', @@ -434,6 +442,7 @@ function serendipity_insertImageInDatabase($filename, $directory, $authorid = 0, '%s', %s, %s, + '%s', '%s' )", serendipity_db_escape_string($filebase), @@ -445,7 +454,8 @@ function serendipity_insertImageInDatabase($filename, $directory, $authorid = 0, serendipity_db_escape_string($thumbnail), (int)$time, (int)$authorid, - serendipity_db_escape_string($directory) + serendipity_db_escape_string($directory), + serendipity_db_escape_string($realname) ); $sql = serendipity_db_query($query); @@ -1861,7 +1871,8 @@ function &serendipity_getImageData($sRelativePath) { 'path' => $sDirectory, 'authorid' => 0, 'hotlink' => 0, - 'id' => $sRelativePath + 'id' => $sRelativePath, + 'realname' => $sFilename ); return $array; @@ -1984,7 +1995,7 @@ function serendipity_showPropertyForm(&$new_media, $keywordsPerBlock = 3, $is_ed break; case 'TITLE': - $show[$idx]['base_property'][$propkey]['val'] = serendipity_pickKey($show[$idx]['metadata'], 'Title', $media['internal']['name']); + $show[$idx]['base_property'][$propkey]['val'] = serendipity_pickKey($show[$idx]['metadata'], 'Title', $media['internal']['realname']); break; case 'COMMENT1': @@ -2203,6 +2214,11 @@ function serendipity_prepareMedia(&$file, $url = '') { } } + if (empty($file['realname'])) { + $file['realname'] = $file['name'] . '.' . $file['extension']; + } + $file['diskname'] = $file['name'] . '.' . $file['extension']; + $file['links'] = array('imagelinkurl' => $file['full_file']); $file['dim'] = @getimagesize($file['full_thumb'], $file['header']); @@ -2236,7 +2252,7 @@ function serendipity_prepareMedia(&$file, $url = '') { if ($file['is_image'] && file_exists($file['full_thumb'])) { $file['thumbWidth'] = $file['dim'][0]; $file['thumbHeight'] = $file['dim'][1]; - $file['preview'] .= ''. $file['name'] . ''; + $file['preview'] .= ''. $file['realname'] . ''; if ($url) { $file['preview'] = ''. $file['preview'] .''; } @@ -2244,7 +2260,7 @@ function serendipity_prepareMedia(&$file, $url = '') { $sizes = serendipity_calculate_aspect_size($file['dimensions_width'], $file['dimensions_height'], $serendipity['thumbSize']); $file['thumbWidth'] = $sizes[0]; $file['thumbHeight'] = $sizes[1]; - $file['preview'] .= ''. $file['name'] . ''; + $file['preview'] .= ''. $file['realname'] . ''; if ($url) { $file['preview'] = ''. $file['preview'] .''; } @@ -2258,7 +2274,6 @@ function serendipity_prepareMedia(&$file, $url = '') { if ($url) { $file['preview'] .= '
' . $file['name'] . '.' . $file['extension'] . ''; } - $file['preview'] .= ''; } $file['popupWidth'] = ($file['is_image'] ? ($file['dimensions_width'] + 20) : 600); @@ -2468,6 +2483,8 @@ function serendipity_getMediaRaw($filename) { * */ function &serendipity_getMetaData($file, &$info) { + global $serendipity; + # Fields taken from: http://demo.imagefolio.com/demo/ImageFolio31_files/skins/cool_blue/images/iptc.html static $IPTC_Fields = array( '2#005' => 'ObjectName', @@ -2567,6 +2584,10 @@ function &serendipity_getMetaData($file, &$info) { $ret = array(); + if (!$serendipity['mediaExif']) { + return $ret; + } + if (!file_exists($file)) { return $ret; } @@ -2620,3 +2641,86 @@ function &serendipity_getMetaData($file, &$info) { return $ret; } + +/** + * Parses an existing filename and increases the filecount. + * + * @param string The (duplicate) filename + * @param string The full path to the (duplicate) filename + * @param string The directory of the (duplicate) filename + * @param boolean Show new filename? + * @return string The new filename + * + */ +function serendipity_imageAppend(&$tfile, &$target, $dir, $echo = true) { + static $safe_bail = 20; + + $realname = $tfile; + list($filebase, $extension) = serendipity_parseFileName($tfile); + + $cnum = 1; + if (preg_match('@^(.*)([0-9]+)$@', $filebase, $match)) { + $cnum = $match[2]; + $filebase = $match[1]; + } + + $i = 0; + while ($i <= $safe_bail && file_exists($dir . $filebase . $cnum . '.' . $extension)) { + $cnum++; + } + + // Check if the file STILL exists and append a MD5 if that's the case. That should be unique enough. + if (file_exists($dir . $filebase . $cnum . '.' . $extension)) { + $cnum = md5(time() . $filebase); + } + + // Those variables are passed by reference! + $tfile = $filebase . $cnum . '.' . $extension; + $target = $dir . $tfile; + + if ($echo) { + printf(FILENAME_REASSIGNED . '
', htmlspecialchars($tfile)); + } + return $realname; +} + +/** + * Checks if an uploaded media item hits any configured limits. + * + * @param string The filename + * @return boolean TRUE when file is okay, FALSE when it is beyond limits + * + */ +function serendipity_checkMediaSize($file) { + global $serendipity; + + if (!empty($serendipity['maxFileSize'])) { + if (filesize($file) > $serendipity['maxFileSize']) { + printf(MEDIA_UPLOAD_SIZEERROR . '
', (int)$serendipity['maxFileSize']); + return false; + } + } + + if (!empty($serendipity['maxImgWidth']) || !empty($serendipity['maxImgHeight'])) { + $dim = serendipity_getimagesize($file); + if (!is_array($dim) || !isset($dim[0])) { + return true; + } + + if (!empty($serendipity['maxImgWidth'])) { + if ($dim[0] > $serendipity['maxImgWidth']) { + printf(MEDIA_UPLOAD_DIMERROR . '
', (int)$serendipity['maxImgWidth'], (int)$serendipity['maxImgHeight']); + return false; + } + } + + if (!empty($serendipity['maxImgHeight'])) { + if ($dim[1] > $serendipity['maxImgHeight']) { + printf(MEDIA_UPLOAD_DIMERROR . '
', (int)$serendipity['maxImgWidth'], (int)$serendipity['maxImgHeight']); + return false; + } + } + } + + return true; +} \ No newline at end of file diff --git a/include/tpl/config_local.inc.php b/include/tpl/config_local.inc.php index 7f04cd0..df46aad 100644 --- a/include/tpl/config_local.inc.php +++ b/include/tpl/config_local.inc.php @@ -507,6 +507,27 @@ 'permission' => 'siteConfiguration', 'default' => 110), + array('var' => 'maxFileSize', + 'title' => MEDIA_UPLOAD_SIZE, + 'description' => MEDIA_UPLOAD_SIZE_DESC, + 'type' => 'int', + 'permission' => 'blogConfiguration', + 'default' => ''), + + array('var' => 'maxImgWidth', + 'title' => MEDIA_UPLOAD_MAXWIDTH, + 'description' => MEDIA_UPLOAD_MAXWIDTH_DESC, + 'type' => 'int', + 'permission' => 'blogConfiguration', + 'default' => ''), + + array('var' => 'maxImgHeight', + 'title' => MEDIA_UPLOAD_MAXHEIGHT, + 'description' => MEDIA_UPLOAD_MAXHEIGHT_DESC, + 'type' => 'int', + 'permission' => 'blogConfiguration', + 'default' => ''), + array('var' => 'onTheFlySynch', 'title' => ONTHEFLYSYNCH, 'description' => ONTHEFLYSYNCH_DESC, diff --git a/lang/UTF-8/serendipity_lang_bg.inc.php b/lang/UTF-8/serendipity_lang_bg.inc.php index 01205c3..5bc716d 100644 --- a/lang/UTF-8/serendipity_lang_bg.inc.php +++ b/lang/UTF-8/serendipity_lang_bg.inc.php @@ -835,3 +835,13 @@ @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); @define('SYNDICATION_RFC2616', 'Активиране на стриктна съвместимост с RFC2616 RSS-емисии'); @define('SYNDICATION_RFC2616_DESC', 'Неактивирането на RFC2616 значи, че всички условни GET заявки към Serendipity ще връщат статиите, променени след времето на последната заявка. С установяването на \'Не\' вашите посетители ще получат всички статии след тяхната последна заявка, което може да се разглежда като добър начин на действие. Обаче някои агенти като Planet например, реагират странно. Ако това се случва, също не се спазва и RFC2616. Така че, ако установите тяази опция на \'Да\', ще бъдете съвместими с RFC2616, но читателите на вашата RSS емисия може да пропуснат статии по време на техните отпуски (отсъствия). Следователно и в двата случая или може да има проблеми с агрегатори като Planet, или действителните читатели на вашия блог може да пропуснат статии. Ако срещате оплаквания от някоя от страните, можете да превключите опцията. За подробности: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_cn.inc.php b/lang/UTF-8/serendipity_lang_cn.inc.php index 28d337a..4abd7ac 100644 --- a/lang/UTF-8/serendipity_lang_cn.inc.php +++ b/lang/UTF-8/serendipity_lang_cn.inc.php @@ -1,4 +1,4 @@ - @@ -850,3 +850,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_cz.inc.php b/lang/UTF-8/serendipity_lang_cz.inc.php index 480182e..6ad33f4 100644 --- a/lang/UTF-8/serendipity_lang_cz.inc.php +++ b/lang/UTF-8/serendipity_lang_cz.inc.php @@ -1,4 +1,4 @@ - @@ -850,3 +850,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_da.inc.php b/lang/UTF-8/serendipity_lang_da.inc.php index 55a2095..df92611 100644 --- a/lang/UTF-8/serendipity_lang_da.inc.php +++ b/lang/UTF-8/serendipity_lang_da.inc.php @@ -1,4 +1,4 @@ - @@ -849,3 +849,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_de.inc.php b/lang/UTF-8/serendipity_lang_de.inc.php index 481dbb3..b81fad5 100644 --- a/lang/UTF-8/serendipity_lang_de.inc.php +++ b/lang/UTF-8/serendipity_lang_de.inc.php @@ -1,4 +1,4 @@ -, @@ -865,3 +865,13 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ?? @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_fa.inc.php b/lang/UTF-8/serendipity_lang_fa.inc.php index 8522781..864c7a1 100644 --- a/lang/UTF-8/serendipity_lang_fa.inc.php +++ b/lang/UTF-8/serendipity_lang_fa.inc.php @@ -1,4 +1,4 @@ - @@ -849,3 +849,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_fi.inc.php b/lang/UTF-8/serendipity_lang_fi.inc.php index e520049..88bdc9c 100644 --- a/lang/UTF-8/serendipity_lang_fi.inc.php +++ b/lang/UTF-8/serendipity_lang_fi.inc.php @@ -1,4 +1,4 @@ - @@ -847,3 +847,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_fr.inc.php b/lang/UTF-8/serendipity_lang_fr.inc.php index aa7ce81..e332199 100644 --- a/lang/UTF-8/serendipity_lang_fr.inc.php +++ b/lang/UTF-8/serendipity_lang_fr.inc.php @@ -1,4 +1,4 @@ - @@ -854,3 +854,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_hu.inc.php b/lang/UTF-8/serendipity_lang_hu.inc.php index ce64a00..8aa66fb 100644 --- a/lang/UTF-8/serendipity_lang_hu.inc.php +++ b/lang/UTF-8/serendipity_lang_hu.inc.php @@ -848,3 +848,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_is.inc.php b/lang/UTF-8/serendipity_lang_is.inc.php index cce690e..eaefa1f 100644 --- a/lang/UTF-8/serendipity_lang_is.inc.php +++ b/lang/UTF-8/serendipity_lang_is.inc.php @@ -1,4 +1,4 @@ - @@ -848,3 +848,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_it.inc.php b/lang/UTF-8/serendipity_lang_it.inc.php index 0e2472d..e18bd4f 100644 --- a/lang/UTF-8/serendipity_lang_it.inc.php +++ b/lang/UTF-8/serendipity_lang_it.inc.php @@ -851,3 +851,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_ja.inc.php b/lang/UTF-8/serendipity_lang_ja.inc.php index 2d81b9f..6e1e886 100644 --- a/lang/UTF-8/serendipity_lang_ja.inc.php +++ b/lang/UTF-8/serendipity_lang_ja.inc.php @@ -1,4 +1,4 @@ -, 2004-2005. @@ -851,3 +851,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_ko.inc.php b/lang/UTF-8/serendipity_lang_ko.inc.php index 3181747..0c0c9db 100644 --- a/lang/UTF-8/serendipity_lang_ko.inc.php +++ b/lang/UTF-8/serendipity_lang_ko.inc.php @@ -1,4 +1,4 @@ - @@ -850,3 +850,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_nl.inc.php b/lang/UTF-8/serendipity_lang_nl.inc.php index 170e43a..cede355 100644 --- a/lang/UTF-8/serendipity_lang_nl.inc.php +++ b/lang/UTF-8/serendipity_lang_nl.inc.php @@ -1,4 +1,4 @@ - @@ -850,3 +850,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_no.inc.php b/lang/UTF-8/serendipity_lang_no.inc.php index 7324394..5b43849 100644 --- a/lang/UTF-8/serendipity_lang_no.inc.php +++ b/lang/UTF-8/serendipity_lang_no.inc.php @@ -1,4 +1,4 @@ - @@ -850,3 +850,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_pt.inc.php b/lang/UTF-8/serendipity_lang_pt.inc.php index 6a1c7b8..6eae8ee 100644 --- a/lang/UTF-8/serendipity_lang_pt.inc.php +++ b/lang/UTF-8/serendipity_lang_pt.inc.php @@ -1,4 +1,4 @@ - @@ -852,3 +852,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_pt_PT.inc.php b/lang/UTF-8/serendipity_lang_pt_PT.inc.php index edd6f40..4387e50 100644 --- a/lang/UTF-8/serendipity_lang_pt_PT.inc.php +++ b/lang/UTF-8/serendipity_lang_pt_PT.inc.php @@ -855,3 +855,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_ro.inc.php b/lang/UTF-8/serendipity_lang_ro.inc.php index 49f7275..2ba5c1f 100644 --- a/lang/UTF-8/serendipity_lang_ro.inc.php +++ b/lang/UTF-8/serendipity_lang_ro.inc.php @@ -848,3 +848,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_ru.inc.php b/lang/UTF-8/serendipity_lang_ru.inc.php index fde07b9..3f575d7 100644 --- a/lang/UTF-8/serendipity_lang_ru.inc.php +++ b/lang/UTF-8/serendipity_lang_ru.inc.php @@ -1,4 +1,4 @@ - @@ -851,3 +851,13 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_se.inc.php b/lang/UTF-8/serendipity_lang_se.inc.php index 207448a..fd0baff 100644 --- a/lang/UTF-8/serendipity_lang_se.inc.php +++ b/lang/UTF-8/serendipity_lang_se.inc.php @@ -847,3 +847,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_ta.inc.php b/lang/UTF-8/serendipity_lang_ta.inc.php index f990168..b3bc7fc 100644 --- a/lang/UTF-8/serendipity_lang_ta.inc.php +++ b/lang/UTF-8/serendipity_lang_ta.inc.php @@ -847,3 +847,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_tn.inc.php b/lang/UTF-8/serendipity_lang_tn.inc.php index 4faaa5f..5e54409 100644 --- a/lang/UTF-8/serendipity_lang_tn.inc.php +++ b/lang/UTF-8/serendipity_lang_tn.inc.php @@ -1,4 +1,4 @@ - @@ -850,3 +850,13 @@ $i18n_unknown = 'tw'; @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_tr.inc.php b/lang/UTF-8/serendipity_lang_tr.inc.php index 698374c..1a71b1a 100644 --- a/lang/UTF-8/serendipity_lang_tr.inc.php +++ b/lang/UTF-8/serendipity_lang_tr.inc.php @@ -851,3 +851,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_tw.inc.php b/lang/UTF-8/serendipity_lang_tw.inc.php index 9a56990..d8b75dc 100644 --- a/lang/UTF-8/serendipity_lang_tw.inc.php +++ b/lang/UTF-8/serendipity_lang_tw.inc.php @@ -1,4 +1,4 @@ - @@ -850,3 +850,13 @@ $i18n_unknown = 'tw'; @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/UTF-8/serendipity_lang_zh.inc.php b/lang/UTF-8/serendipity_lang_zh.inc.php index b8e617f..9db85d3 100644 --- a/lang/UTF-8/serendipity_lang_zh.inc.php +++ b/lang/UTF-8/serendipity_lang_zh.inc.php @@ -1,4 +1,4 @@ - $constants) { @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_bg.inc.php b/lang/serendipity_lang_bg.inc.php index 4c68b4c..77027f4 100644 --- a/lang/serendipity_lang_bg.inc.php +++ b/lang/serendipity_lang_bg.inc.php @@ -835,3 +835,13 @@ @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); @define('SYNDICATION_RFC2616', 'Àêòèâèðàíå íà ñòðèêòíà ñúâìåñòèìîñò ñ RFC2616 RSS-åìèñèè'); @define('SYNDICATION_RFC2616_DESC', 'Íåàêòèâèðàíåòî íà RFC2616 çíà÷è, ÷å âñè÷êè óñëîâíè GET çàÿâêè êúì Serendipity ùå âðúùàò ñòàòèèòå, ïðîìåíåíè ñëåä âðåìåòî íà ïîñëåäíàòà çàÿâêà. Ñ óñòàíîâÿâàíåòî íà \'Íå\' âàøèòå ïîñåòèòåëè ùå ïîëó÷àò âñè÷êè ñòàòèè ñëåä òÿõíàòà ïîñëåäíà çàÿâêà, êîåòî ìîæå äà ñå ðàçãëåæäà êàòî äîáúð íà÷èí íà äåéñòâèå. Îáà÷å íÿêîè àãåíòè êàòî Planet íàïðèìåð, ðåàãèðàò ñòðàííî. Àêî òîâà ñå ñëó÷âà, ñúùî íå ñå ñïàçâà è RFC2616. Òàêà ÷å, àêî óñòàíîâèòå òÿàçè îïöèÿ íà \'Äà\', ùå áúäåòå ñúâìåñòèìè ñ RFC2616, íî ÷èòàòåëèòå íà âàøàòà RSS åìèñèÿ ìîæå äà ïðîïóñíàò ñòàòèè ïî âðåìå íà òåõíèòå îòïóñêè (îòñúñòâèÿ). Ñëåäîâàòåëíî è â äâàòà ñëó÷àÿ èëè ìîæå äà èìà ïðîáëåìè ñ àãðåãàòîðè êàòî Planet, èëè äåéñòâèòåëíèòå ÷èòàòåëè íà âàøèÿ áëîã ìîæå äà ïðîïóñíàò ñòàòèè. Àêî ñðåùàòå îïëàêâàíèÿ îò íÿêîÿ îò ñòðàíèòå, ìîæåòå äà ïðåâêëþ÷èòå îïöèÿòà. Çà ïîäðîáíîñòè: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_cn.inc.php b/lang/serendipity_lang_cn.inc.php index 9aeea13..2ea0d7d 100644 --- a/lang/serendipity_lang_cn.inc.php +++ b/lang/serendipity_lang_cn.inc.php @@ -848,3 +848,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_cs.inc.php b/lang/serendipity_lang_cs.inc.php index ab692e8..ecc2e41 100644 --- a/lang/serendipity_lang_cs.inc.php +++ b/lang/serendipity_lang_cs.inc.php @@ -850,3 +850,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_cz.inc.php b/lang/serendipity_lang_cz.inc.php index de87623..3f609f8 100644 --- a/lang/serendipity_lang_cz.inc.php +++ b/lang/serendipity_lang_cz.inc.php @@ -850,3 +850,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_da.inc.php b/lang/serendipity_lang_da.inc.php index 654544c..8b0f8bb 100644 --- a/lang/serendipity_lang_da.inc.php +++ b/lang/serendipity_lang_da.inc.php @@ -849,3 +849,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_de.inc.php b/lang/serendipity_lang_de.inc.php index b072c82..19321c8 100644 --- a/lang/serendipity_lang_de.inc.php +++ b/lang/serendipity_lang_de.inc.php @@ -848,3 +848,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_en.inc.php b/lang/serendipity_lang_en.inc.php index b96b176..a40ae10 100644 --- a/lang/serendipity_lang_en.inc.php +++ b/lang/serendipity_lang_en.inc.php @@ -847,3 +847,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_es.inc.php b/lang/serendipity_lang_es.inc.php index a3acac2..d072c02 100644 --- a/lang/serendipity_lang_es.inc.php +++ b/lang/serendipity_lang_es.inc.php @@ -865,3 +865,13 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ?? @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_fa.inc.php b/lang/serendipity_lang_fa.inc.php index 59c3ee7..f48d01a 100644 --- a/lang/serendipity_lang_fa.inc.php +++ b/lang/serendipity_lang_fa.inc.php @@ -849,3 +849,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_fi.inc.php b/lang/serendipity_lang_fi.inc.php index 6c15530..dc8be43 100644 --- a/lang/serendipity_lang_fi.inc.php +++ b/lang/serendipity_lang_fi.inc.php @@ -847,3 +847,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_fr.inc.php b/lang/serendipity_lang_fr.inc.php index 336ae32..df4d440 100644 --- a/lang/serendipity_lang_fr.inc.php +++ b/lang/serendipity_lang_fr.inc.php @@ -854,3 +854,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_hu.inc.php b/lang/serendipity_lang_hu.inc.php index 2ea5bf9..ddc499e 100644 --- a/lang/serendipity_lang_hu.inc.php +++ b/lang/serendipity_lang_hu.inc.php @@ -848,3 +848,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_is.inc.php b/lang/serendipity_lang_is.inc.php index b779200..47b2e62 100644 --- a/lang/serendipity_lang_is.inc.php +++ b/lang/serendipity_lang_is.inc.php @@ -848,3 +848,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_it.inc.php b/lang/serendipity_lang_it.inc.php index 18fc6c9..27b8e1d 100644 --- a/lang/serendipity_lang_it.inc.php +++ b/lang/serendipity_lang_it.inc.php @@ -851,3 +851,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_ja.inc.php b/lang/serendipity_lang_ja.inc.php index d3d84a0..3cab0b1 100644 --- a/lang/serendipity_lang_ja.inc.php +++ b/lang/serendipity_lang_ja.inc.php @@ -851,3 +851,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_ko.inc.php b/lang/serendipity_lang_ko.inc.php index 7cb0757..6df4f34 100644 --- a/lang/serendipity_lang_ko.inc.php +++ b/lang/serendipity_lang_ko.inc.php @@ -850,3 +850,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_nl.inc.php b/lang/serendipity_lang_nl.inc.php index a6755f7..80e33ab 100644 --- a/lang/serendipity_lang_nl.inc.php +++ b/lang/serendipity_lang_nl.inc.php @@ -850,3 +850,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_no.inc.php b/lang/serendipity_lang_no.inc.php index 9e7e5a7..f175b95 100644 --- a/lang/serendipity_lang_no.inc.php +++ b/lang/serendipity_lang_no.inc.php @@ -850,3 +850,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_pt.inc.php b/lang/serendipity_lang_pt.inc.php index 98e65a5..2f13403 100644 --- a/lang/serendipity_lang_pt.inc.php +++ b/lang/serendipity_lang_pt.inc.php @@ -852,3 +852,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_pt_PT.inc.php b/lang/serendipity_lang_pt_PT.inc.php index 3e8eabb..94a8784 100644 --- a/lang/serendipity_lang_pt_PT.inc.php +++ b/lang/serendipity_lang_pt_PT.inc.php @@ -855,3 +855,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_ro.inc.php b/lang/serendipity_lang_ro.inc.php index 49f7275..2ba5c1f 100644 --- a/lang/serendipity_lang_ro.inc.php +++ b/lang/serendipity_lang_ro.inc.php @@ -848,3 +848,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_ru.inc.php b/lang/serendipity_lang_ru.inc.php index be29123..59574f1 100644 --- a/lang/serendipity_lang_ru.inc.php +++ b/lang/serendipity_lang_ru.inc.php @@ -851,3 +851,13 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_se.inc.php b/lang/serendipity_lang_se.inc.php index e0a92ec..056086c 100644 --- a/lang/serendipity_lang_se.inc.php +++ b/lang/serendipity_lang_se.inc.php @@ -847,3 +847,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_ta.inc.php b/lang/serendipity_lang_ta.inc.php index f990168..b3bc7fc 100644 --- a/lang/serendipity_lang_ta.inc.php +++ b/lang/serendipity_lang_ta.inc.php @@ -847,3 +847,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_tn.inc.php b/lang/serendipity_lang_tn.inc.php index 1388710..702be33 100644 --- a/lang/serendipity_lang_tn.inc.php +++ b/lang/serendipity_lang_tn.inc.php @@ -850,3 +850,13 @@ $i18n_unknown = 'tw'; @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_tr.inc.php b/lang/serendipity_lang_tr.inc.php index 698374c..1a71b1a 100644 --- a/lang/serendipity_lang_tr.inc.php +++ b/lang/serendipity_lang_tr.inc.php @@ -851,3 +851,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_tw.inc.php b/lang/serendipity_lang_tw.inc.php index b198df0..61f9a35 100644 --- a/lang/serendipity_lang_tw.inc.php +++ b/lang/serendipity_lang_tw.inc.php @@ -850,3 +850,13 @@ $i18n_unknown = 'tw'; @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/lang/serendipity_lang_zh.inc.php b/lang/serendipity_lang_zh.inc.php index a1287e1..115b751 100644 --- a/lang/serendipity_lang_zh.inc.php +++ b/lang/serendipity_lang_zh.inc.php @@ -848,3 +848,13 @@ @define('SYNDICATION_RFC2616_DESC', 'NOT Enforcing RFC2616 means that all Conditional GETs to Serendipity will return entries last modified since the time of the last request. With that setting to "false", your visitors will get all articles since their last request, which is considered a good thing. However, some Agents like Planet act weird, if that happens, at it also vioaltes RFC2616. So if you set this option to "TRUE" you will compliy with that RFC, but readers of your RSS feed might miss items in their holidays. So either way, either it hearts Aggregators like Planet, or it hurts actual readers of your blog. If you are facing complaints from either side, you can toggle this option. Reference: https://sourceforge.net/tracker/index.php?func=detail&aid=1461728&group_id=75065&atid=542822'); @define('MEDIA_PROPERTY_DATE', 'Associated Date'); @define('MEDIA_PROPERTY_RUN_LENGTH', 'Run-Length'); +@define('FILENAME_REASSIGNED', 'Automagically assigned new file name: %s'); +@define('MEDIA_UPLOAD_SIZE', 'Max. file upload size'); +@define('MEDIA_UPLOAD_SIZE_DESC', 'Enter the maximum filesize for uploaded files in bytes. This setting can be overruled by server-side settings in PHP.ini: upload_max_filesize, post_max_size, max_input_time all take precedence over this option. An empty string means to only use the server-side limits.'); +@define('MEDIA_UPLOAD_SIZEERROR', 'Error: You cannot upload files larger than %s bytes!'); +@define('MEDIA_UPLOAD_MAXWIDTH', 'Max. width of image files for upload'); +@define('MEDIA_UPLOAD_MAXWIDTH_DESC', 'Enter the maximum image width in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_MAXHEIGHT', 'Max. height of image files for upload'); +@define('MEDIA_UPLOAD_MAXHEIGHT_DESC', 'Enter the maximum image height in pixels for uploaded images.'); +@define('MEDIA_UPLOAD_DIMERROR', 'Error: You cannot upload image files larger than %s x %s pixels!'); + diff --git a/serendipity_config.inc.php b/serendipity_config.inc.php index 09ade05..91118bd 100644 --- a/serendipity_config.inc.php +++ b/serendipity_config.inc.php @@ -27,7 +27,7 @@ if (IS_installed === true && !defined('IN_serendipity')) { include(S9Y_INCLUDE_PATH . 'include/compat.inc.php'); // The version string -$serendipity['version'] = '1.1-alpha4'; +$serendipity['version'] = '1.1-alpha5'; // Name of folder for the default theme $serendipity['defaultTemplate'] = 'carl_contest'; diff --git a/sql/db.sql b/sql/db.sql index 763fbe3..169ae0b 100644 --- a/sql/db.sql +++ b/sql/db.sql @@ -120,10 +120,12 @@ create table {PREFIX}references ( id {AUTOINCREMENT} {PRIMARY}, entry_id int(10) {UNSIGNED} not null default '0', link text, - name text + name text, + type varchar(128' not null default '' ) {UTF_8}; CREATE INDEX refentry_idx ON {PREFIX}references (entry_id); +CREATE INDEX reftype_idx ON {PREFIX}references (type); # # Table structure for table '{PREFIX}exits' @@ -234,7 +236,8 @@ CREATE TABLE {PREFIX}images ( thumbnail_name varchar(255) not null default '', authorid int(11) default '0', path text, - hotlink int(1) + hotlink int(1), + realname varchar(255) not null default '' ) {UTF_8}; CREATE INDEX imagesauthorid_idx ON {PREFIX}images (authorid); diff --git a/sql/db_update_1.1-alpha4_1.1-alpha5_mysql.sql b/sql/db_update_1.1-alpha4_1.1-alpha5_mysql.sql new file mode 100644 index 0000000..4579b3b --- /dev/null +++ b/sql/db_update_1.1-alpha4_1.1-alpha5_mysql.sql @@ -0,0 +1,3 @@ +ALTER TABLE {PREFIX}images ADD COLUMN realname varchar(255) not null default ''; +ALTER TABLE {PREFIX}references ADD COLUMN type varchar(128) not null default ''; +CREATE INDEX reftype_idx ON {PREFIX}references (type); diff --git a/sql/db_update_1.1-alpha4_1.1-alpha5_postgres.sql b/sql/db_update_1.1-alpha4_1.1-alpha5_postgres.sql new file mode 100644 index 0000000..cdcd31a --- /dev/null +++ b/sql/db_update_1.1-alpha4_1.1-alpha5_postgres.sql @@ -0,0 +1,4 @@ +ALTER TABLE {PREFIX}images ADD COLUMN realname varchar(255) not null default ''; +ALTER TABLE {PREFIX}references ADD COLUMN type varchar(128) not null default ''; +CREATE INDEX reftype_idx ON {PREFIX}references (type); + diff --git a/sql/db_update_1.1-alpha4_1.1-alpha5_sqlite.sql b/sql/db_update_1.1-alpha4_1.1-alpha5_sqlite.sql new file mode 100644 index 0000000..24c6860 --- /dev/null +++ b/sql/db_update_1.1-alpha4_1.1-alpha5_sqlite.sql @@ -0,0 +1,65 @@ +CREATE TABLE {PREFIX}tempimages ( + id {AUTOINCREMENT} {PRIMARY}, + name varchar(255) not null default '', + extension varchar(5) not null default '', + mime varchar(255) not null default '', + size int(11) not null default '0', + dimensions_width int(11) not null default '0', + dimensions_height int(11) not null default '0', + date int(11) not null default '0', + thumbnail_name varchar(255) not null default '', + authorid int(11) default '0', + path text, + hotlink int(1), + realname varchar(255) not null default '' +) {UTF_8}; + +INSERT INTO {PREFIX}tempimages (id, name, extension, mime, size, dimensions_width, dimensions_height, date, thumbnail_name, authorid, path, hotlink) SELECT id, name, extension, mime, size, dimensions_width, dimensions_height, date, thumbnail_name, authorid, path, hotlink FROM {PREFIX}images; +DROP TABLE {PREFIX}images; + +CREATE TABLE {PREFIX}images ( + id {AUTOINCREMENT} {PRIMARY}, + name varchar(255) not null default '', + extension varchar(5) not null default '', + mime varchar(255) not null default '', + size int(11) not null default '0', + dimensions_width int(11) not null default '0', + dimensions_height int(11) not null default '0', + date int(11) not null default '0', + thumbnail_name varchar(255) not null default '', + authorid int(11) default '0', + path text, + hotlink int(1), + realname varchar(255) not null default '' +) {UTF_8}; + +CREATE INDEX imagesauthorid_idx ON {PREFIX}images (authorid); +CREATE {FULLTEXT} INDEX pathkey_idx on {PREFIX}images (path); + +INSERT INTO {PREFIX}images (id, name, extension, mime, size, dimensions_width, dimensions_height, date, thumbnail_name, authorid, path, hotlink) SELECT id, name, extension, mime, size, dimensions_width, dimensions_height, date, thumbnail_name, authorid, path, hotlink FROM {PREFIX}tempimages; +DROP TABLE {PREFIX}tempimages; + +CREATE TABLE {PREFIX}tempreferences ( + id {AUTOINCREMENT} {PRIMARY}, + entry_id int(10) {UNSIGNED} not null default '0', + link text, + name text, + type varchar(128' not null default '' +) {UTF_8}; + +INSERT INTO {PREFIX}tempreferences (id, entry_id, link, name) SELECT id, entry_id, link, name FROM {PREFIX}references; +DROP TABLE {PREFIX}references; + +CREATE TABLE {PREFIX}references ( + id {AUTOINCREMENT} {PRIMARY}, + entry_id int(10) {UNSIGNED} not null default '0', + link text, + name text, + type varchar(128' not null default '' +) {UTF_8}; + +CREATE INDEX refentry_idx ON {PREFIX}references (entry_id); +CREATE INDEX reftype_idx ON {PREFIX}references (type); + +INSERT INTO {PREFIX}references (id, entry_id, link, name) SELECT id, entry_id, link, name FROM {PREFIX}tempreferences; +DROP TABLE {PREFIX}tempreferences; \ No newline at end of file diff --git a/templates/default/admin/media_choose.tpl b/templates/default/admin/media_choose.tpl index 4553ffa..9380f1c 100644 --- a/templates/default/admin/media_choose.tpl +++ b/templates/default/admin/media_choose.tpl @@ -125,7 +125,7 @@ {if $media.file.is_image} {serendipity_hookPlugin hook="frontend_image_selector" eventData=$media.file hookAll=true} -

{$CONST.YOU_CHOSE|@sprintf:$media.file.name}

+

{$CONST.YOU_CHOSE|@sprintf:$media.file.realname}

@@ -205,7 +205,7 @@ {else}