From a956471a44a1b91e75fba84ba4da836adcc5affb Mon Sep 17 00:00:00 2001 From: Ian Date: Tue, 29 May 2012 20:39:23 +0200 Subject: [PATCH] added to MediaLB multidelete[] --- include/admin/images.inc.php | 75 +++++++-- include/admin/tpl/images.inc.tpl | 20 ++- include/functions_images.inc.php | 177 +++++++++++----------- lang/UTF-8/serendipity_lang_bg.inc.php | 3 + lang/UTF-8/serendipity_lang_cn.inc.php | 3 + lang/UTF-8/serendipity_lang_cs.inc.php | 5 +- lang/UTF-8/serendipity_lang_cz.inc.php | 5 +- lang/UTF-8/serendipity_lang_da.inc.php | 3 + lang/UTF-8/serendipity_lang_de.inc.php | 3 + lang/UTF-8/serendipity_lang_en.inc.php | 3 + lang/UTF-8/serendipity_lang_es.inc.php | 3 + lang/UTF-8/serendipity_lang_fa.inc.php | 3 + lang/UTF-8/serendipity_lang_fi.inc.php | 3 + lang/UTF-8/serendipity_lang_fr.inc.php | 3 + lang/UTF-8/serendipity_lang_hu.inc.php | 5 +- lang/UTF-8/serendipity_lang_is.inc.php | 3 + lang/UTF-8/serendipity_lang_it.inc.php | 6 +- lang/UTF-8/serendipity_lang_ja.inc.php | 3 + lang/UTF-8/serendipity_lang_ko.inc.php | 3 + lang/UTF-8/serendipity_lang_nl.inc.php | 3 + lang/UTF-8/serendipity_lang_no.inc.php | 3 + lang/UTF-8/serendipity_lang_pl.inc.php | 5 +- lang/UTF-8/serendipity_lang_pt.inc.php | 3 + lang/UTF-8/serendipity_lang_pt_PT.inc.php | 3 + lang/UTF-8/serendipity_lang_ro.inc.php | 6 +- lang/UTF-8/serendipity_lang_ru.inc.php | 3 + lang/UTF-8/serendipity_lang_sa.inc.php | 5 +- lang/UTF-8/serendipity_lang_se.inc.php | 5 +- lang/UTF-8/serendipity_lang_ta.inc.php | 5 +- lang/UTF-8/serendipity_lang_tn.inc.php | 3 + lang/UTF-8/serendipity_lang_tr.inc.php | 5 +- lang/UTF-8/serendipity_lang_tw.inc.php | 4 + lang/UTF-8/serendipity_lang_zh.inc.php | 3 + lang/serendipity_lang_bg.inc.php | 3 + lang/serendipity_lang_cn.inc.php | 4 + lang/serendipity_lang_cs.inc.php | 5 +- lang/serendipity_lang_cz.inc.php | 4 + lang/serendipity_lang_da.inc.php | 4 + lang/serendipity_lang_de.inc.php | 3 + lang/serendipity_lang_en.inc.php | 3 + lang/serendipity_lang_es.inc.php | 4 + lang/serendipity_lang_fa.inc.php | 4 + lang/serendipity_lang_fi.inc.php | 4 + lang/serendipity_lang_fr.inc.php | 4 + lang/serendipity_lang_hu.inc.php | 6 +- lang/serendipity_lang_is.inc.php | 3 + lang/serendipity_lang_it.inc.php | 5 +- lang/serendipity_lang_ja.inc.php | 4 + lang/serendipity_lang_ko.inc.php | 3 + lang/serendipity_lang_nl.inc.php | 4 + lang/serendipity_lang_no.inc.php | 3 + lang/serendipity_lang_pl.inc.php | 3 + lang/serendipity_lang_pt.inc.php | 3 + lang/serendipity_lang_pt_PT.inc.php | 3 + lang/serendipity_lang_ro.inc.php | 4 + lang/serendipity_lang_ru.inc.php | 3 + lang/serendipity_lang_sa.inc.php | 4 + lang/serendipity_lang_se.inc.php | 6 +- lang/serendipity_lang_ta.inc.php | 5 +- lang/serendipity_lang_tn.inc.php | 4 + lang/serendipity_lang_tr.inc.php | 6 +- lang/serendipity_lang_tw.inc.php | 4 + lang/serendipity_lang_zh.inc.php | 3 + templates/default/admin/media_items.tpl | 3 +- templates/default/admin/media_pane.tpl | 29 +++- 65 files changed, 411 insertions(+), 124 deletions(-) diff --git a/include/admin/images.inc.php b/include/admin/images.inc.php index 29e12de1..bbdcaeb3 100644 --- a/include/admin/images.inc.php +++ b/include/admin/images.inc.php @@ -10,6 +10,10 @@ if (!serendipity_checkPermission('adminImages')) { $data = array(); +if (!is_object($serendipity['smarty'])) { + serendipity_smarty_init(); +} + switch ($serendipity['GET']['adminAction']) { case 'imgedit': $data['case_imgedit'] = true; @@ -92,20 +96,39 @@ switch ($serendipity['GET']['adminAction']) { flush(); break; - case 'DoDelete': + case 'doDelete': if (!serendipity_checkFormToken() || !serendipity_checkPermission('adminImagesDelete')) { break; } - $data['case_DoDelete'] = true; - $file = $serendipity['GET']['fname']; - serendipity_deleteImage($serendipity['GET']['fid']); + $messages = array(); + $data['switched_output'] = true; + $data['is_doDelete'] = true; + $messages[] = serendipity_deleteImage($serendipity['GET']['fid']); + $messages[] = sprintf(RIP_ENTRY, $serendipity['GET']['fid']); - ob_start(); - showMediaLibrary(); - $data['showML_DD'] = ob_get_contents(); - ob_end_clean(); - break; + showMediaLibrary($messages); + unset($messages); + + case 'doMultiDelete': + if (!serendipity_checkFormToken() || !serendipity_checkPermission('adminImagesDelete')) { + break; + } + + $messages = array(); + $parts = explode(',', $serendipity['GET']['id']); + $data['switched_output'] = true; + $data['is_doMultiDelete'] = true; + foreach($parts AS $id) { + $id = (int)$id; + if ($id > 0) { + $image = serendipity_fetchImageFromDatabase($id); + $messages[] = serendipity_deleteImage((int)$id); + $messages[] = sprintf(RIP_ENTRY, $image['id'] . ' - ' . htmlspecialchars($image['realname'])); + } + } + showMediaLibrary($messages); + unset($messages); case 'delete': $file = serendipity_fetchImageFromDatabase($serendipity['GET']['fid']); @@ -115,16 +138,41 @@ switch ($serendipity['GET']['adminAction']) { } $data['case_delete'] = true; + $data['is_delete'] = true; if (!isset($serendipity['adminFile'])) { $serendipity['adminFile'] = 'serendipity_admin.php'; } $abortLoc = $serendipity['serendipityHTTPPath'] . $serendipity['adminFile'] . '?serendipity[adminModule]=images'; - $newLoc = $abortLoc . '&serendipity[adminAction]=DoDelete&serendipity[fid]=' . (int)$serendipity['GET']['fid'] . '&' . serendipity_setFormToken('url'); - $data['file'] = $file['name'] . '.' . $file['extension']; + $newLoc = $abortLoc . '&serendipity[adminAction]=doDelete&serendipity[fid]=' . (int)$serendipity['GET']['fid'] . '&' . serendipity_setFormToken('url'); + $data['file'] = $file['name'] . '.' . $file['extension']; $data['abortLoc'] = $abortLoc; $data['newLoc'] = $newLoc; break; + case 'multidelete': + if (!serendipity_checkFormToken() || !is_array($serendipity['POST']['multiDelete'])) { + break; + } + + $ids = ''; + $data['rip_image'] = array(); + $data['case_multidelete'] = true; + $data['is_multidelete'] = true; + foreach($serendipity['POST']['multiDelete'] AS $idx => $id) { + $ids .= (int)$id . ','; + $image = serendipity_fetchImageFromDatabase($id); + $data['rip_image'][] = sprintf(DELETE_SURE, $image['id'] . ' - ' . htmlspecialchars($image['realname'])); + } + if (!isset($serendipity['adminFile'])) { + $serendipity['adminFile'] = 'serendipity_admin.php'; + } + $abortLoc = $serendipity['serendipityHTTPPath'] . $serendipity['adminFile'] . '?serendipity[adminModule]=images'; + $newLoc = $serendipity['serendipityHTTPPath'] . $serendipity['adminFile'] . '?' . serendipity_setFormToken('url') . '&serendipity[action]=admin&serendipity[adminModule]=images&serendipity[adminAction]=doMultiDelete&serendipity[id]=' . $ids; + $data['switched_output'] = true; + $data['abortLoc'] = $abortLoc; + $data['newLoc'] = $newLoc; + break; + case 'rename': $data['case_rename'] = true; $serendipity['GET']['fid'] = (int)$serendipity['GET']['fid']; @@ -543,7 +591,6 @@ switch ($serendipity['GET']['adminAction']) { } } - serendipity_smarty_init(); $mediaFiles = array( 'token' => serendipity_setFormToken(), 'form_hidden' => $form_hidden, @@ -684,10 +731,6 @@ function showMediaLibrary($messages=false, $addvar_check = false) { $data['get']['fid'] = $serendipity['GET']['fid']; // don't trust {$smarty.get.vars} if not proofed, as we often change GET vars via serendipty['GET'] by runtime $data['get']['only_path'] = $serendipity['GET']['only_path']; // we dont need other GET vars in images.inc.tpl -if (!is_object($serendipity['smarty'])) { - serendipity_smarty_init(); -} - $serendipity['smarty']->assign($data); $tfile = dirname(__FILE__) . "/tpl/images.inc.tpl"; diff --git a/include/admin/tpl/images.inc.tpl b/include/admin/tpl/images.inc.tpl index aef68522..9d8bb8f4 100644 --- a/include/admin/tpl/images.inc.tpl +++ b/include/admin/tpl/images.inc.tpl @@ -47,11 +47,6 @@ {/if} {/if} - {if $case_DoDelete} - {** delete & showMediaLibrary($messages) **} - {$showML_DD} - {/if} - {if $case_delete}
{$CONST.ABOUT_TO_DELETE_FILE|sprintf:"$file"}
@@ -63,6 +58,21 @@
{/if} +{if $switched_output} +
+ {if ( $is_delete || $is_multidelete )} +

{$CONST.ABOUT_TO_DELETE_FILES}

+ {foreach $rip_image AS $ripimg} + {$ripimg}
+ {/foreach} + + {/if} +
+{/if} + {if $case_rename} {if $go_back}
diff --git a/include/functions_images.inc.php b/include/functions_images.inc.php index 11d28a6b..a6f817ea 100644 --- a/include/functions_images.inc.php +++ b/include/functions_images.inc.php @@ -28,7 +28,7 @@ function serendipity_isActiveFile($file) { if ($core) { return true; } - + $eventData = false; serendipity_plugin_api::hook_event('backend_media_check', $eventData, $file); return $eventData; @@ -315,55 +315,59 @@ function serendipity_updateImageInDatabase($updates, $id) { function serendipity_deleteImage($id) { global $serendipity; $dThumb = array(); + $messages = ''; $file = serendipity_fetchImageFromDatabase($id); if (!is_array($file)) { - printf(FILE_NOT_FOUND . '
', $id); - return false; - } + $messages .= sprintf(FILE_NOT_FOUND . '
', $id); + //return false; + } else { - $dFile = $file['path'] . $file['name'] . (empty($file['extension']) ? '' : '.' . $file['extension']); + $dFile = $file['path'] . $file['name'] . (empty($file['extension']) ? '' : '.' . $file['extension']); - $dThumb = array(array( - 'fthumb' => $file['thumbnail_name'] - )); + $dThumb = array(array( + 'fthumb' => $file['thumbnail_name'] + )); - if (!serendipity_checkPermission('adminImagesDelete')) { - return; - } + if (!serendipity_checkPermission('adminImagesDelete')) { + return; + } - if (!serendipity_checkPermission('adminImagesMaintainOthers') && $file['authorid'] != '0' && $file['authorid'] != $serendipity['authorid']) { - // A non-admin user may not delete private files from other users. - return; - } + if (!serendipity_checkPermission('adminImagesMaintainOthers') && $file['authorid'] != '0' && $file['authorid'] != $serendipity['authorid']) { + // A non-admin user may not delete private files from other users. + return; + } - if (!$file['hotlink']) { - if (file_exists($serendipity['serendipityPath'] . $serendipity['uploadPath'] . $dFile)) { - if (@unlink($serendipity['serendipityPath'] . $serendipity['uploadPath'] . $dFile)) { - printf(DELETE_FILE . '
', $dFile); - } else { - printf(DELETE_FILE_FAIL . '
', $dFile); - } - - serendipity_plugin_api::hook_event('backend_media_delete', $dThumb); - foreach($dThumb AS $thumb) { - $dfnThumb = $file['path'] . $file['name'] . (!empty($thumb['fthumb']) ? '.' . $thumb['fthumb'] : '') . (empty($file['extension']) ? '' : '.' . $file['extension']); - $dfThumb = $serendipity['serendipityPath'] . $serendipity['uploadPath'] . $dfnThumb; - - if (@unlink($dfThumb)) { - printf(DELETE_THUMBNAIL . '
', $dfnThumb); + if (!$file['hotlink']) { + if (file_exists($serendipity['serendipityPath'] . $serendipity['uploadPath'] . $dFile)) { + if (@unlink($serendipity['serendipityPath'] . $serendipity['uploadPath'] . $dFile)) { + $messages .= sprintf(DELETE_FILE . '
', $dFile); + } else { + $messages .= sprintf(DELETE_FILE_FAIL . '
', $dFile); } + + serendipity_plugin_api::hook_event('backend_media_delete', $dThumb); + foreach($dThumb AS $thumb) { + $dfnThumb = $file['path'] . $file['name'] . (!empty($thumb['fthumb']) ? '.' . $thumb['fthumb'] : '') . (empty($file['extension']) ? '' : '.' . $file['extension']); + $dfThumb = $serendipity['serendipityPath'] . $serendipity['uploadPath'] . $dfnThumb; + + if (@unlink($dfThumb)) { + $messages .= sprintf(DELETE_THUMBNAIL . '
', $dfnThumb); + } + } + } else { + $messages .= sprintf(FILE_NOT_FOUND . '
', $dFile); } } else { - printf(FILE_NOT_FOUND . '
', $dFile); + $messages .= sprintf(DELETE_HOTLINK_FILE . '
', $file['name']); } - } else { - printf(DELETE_HOTLINK_FILE . '
', $file['name']); + + serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}images WHERE id = ". (int)$id); + serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}mediaproperties WHERE mediaid = ". (int)$id); } - serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}images WHERE id = ". (int)$id); - serendipity_db_query("DELETE FROM {$serendipity['dbPrefix']}mediaproperties WHERE mediaid = ". (int)$id); + return $messages; } /** @@ -384,16 +388,16 @@ function serendipity_fetchImages($group = false, $start = 0, $end = 20, $images $basedir = $serendipity['serendipityPath'] . $serendipity['uploadPath']; $images = array(); if ($dir = @opendir($basedir . $odir)) { - $aTempArray = array(); - while (($file = @readdir($dir)) !== false) { - if ($file == '.svn' || $file == 'CVS' || $file == '.' || $file == '..') { - continue; - } - array_push($aTempArray, $file); - } - @closedir($dir); - sort($aTempArray); - foreach($aTempArray AS $f) { + $aTempArray = array(); + while (($file = @readdir($dir)) !== false) { + if ($file == '.svn' || $file == 'CVS' || $file == '.' || $file == '..') { + continue; + } + array_push($aTempArray, $file); + } + @closedir($dir); + sort($aTempArray); + foreach($aTempArray AS $f) { if (strpos($f, $serendipity['thumbSuffix']) !== false) { // This is a s9y thumbnail, skip it. continue; @@ -1804,11 +1808,11 @@ function serendipity_traversePath($basedir, $dir='', $onlyDirs = true, $pattern while (($file = @readdir($dh)) !== false) { if ($file != '.' && $file != '..') { $bPatternMatch = (is_null($pattern) || preg_match($pattern, $file)); - $sFullPath = $odir . $file; - $bIsDir = is_dir($sFullPath); + $sFullPath = $odir . $file; + $bIsDir = is_dir($sFullPath); if ($onlyDirs === false || $bIsDir) { - if ($bPatternMatch && - (!$bIsDir || $aExcludeDirs == null || !isset($aExcludeDirs[$file]))) { + if ($bPatternMatch && + (!$bIsDir || $aExcludeDirs == null || !isset($aExcludeDirs[$file]))) { $files[] = array( 'name' => $file, 'depth' => $depth, @@ -1819,10 +1823,10 @@ function serendipity_traversePath($basedir, $dir='', $onlyDirs = true, $pattern } if ($bIsDir && - ($max_depth === null || $depth < $max_depth) && - ($aExcludeDirs == null || !isset($aExcludeDirs[$file]))) { + ($max_depth === null || $depth < $max_depth) && + ($aExcludeDirs == null || !isset($aExcludeDirs[$file]))) { $next_dir = serendipity_dirSlash('end', $dir) . basename($file); - $files = array_merge($files, serendipity_traversePath($basedir, $next_dir, $onlyDirs, $pattern, ($depth+1), $max_depth, $apply_ACL, $aExcludeDirs)); + $files = array_merge($files, serendipity_traversePath($basedir, $next_dir, $onlyDirs, $pattern, ($depth+1), $max_depth, $apply_ACL, $aExcludeDirs)); } } } @@ -2700,22 +2704,22 @@ function serendipity_prepareMedia(&$file, $url = '') { $full_perm = serendipity_checkPermission('adminImagesMaintainOthers'); } - $sThumbSource = serendipity_getThumbNailPath($file['path'], $file['name'], $file['extension'], $file['thumbnail_name']); - $file['full_thumb'] = $serendipity['serendipityPath'] . $serendipity['uploadPath'] . $sThumbSource; - $file['full_thumbHTTP'] = $serendipity['serendipityHTTPPath'] . $serendipity['uploadHTTPPath'] . $sThumbSource; + $sThumbSource = serendipity_getThumbNailPath($file['path'], $file['name'], $file['extension'], $file['thumbnail_name']); + $file['full_thumb'] = $serendipity['serendipityPath'] . $serendipity['uploadPath'] . $sThumbSource; + $file['full_thumbHTTP'] = $serendipity['serendipityHTTPPath'] . $serendipity['uploadHTTPPath'] . $sThumbSource; if ($file['hotlink']) { $file['full_file'] = $file['path']; - $file['show_thumb'] = $file['path']; - if (!isset($file['imgsrc'])) { - $file['imgsrc'] = $file['show_thumb']; - } + $file['show_thumb'] = $file['path']; + if (!isset($file['imgsrc'])) { + $file['imgsrc'] = $file['show_thumb']; + } } else { $file['full_file'] = $serendipity['serendipityHTTPPath'] . $serendipity['uploadHTTPPath'] . $file['path'] . $file['name'] . (empty($file['extension']) ? '' : '.' . $file['extension']); - $file['show_thumb'] = $file['full_thumbHTTP']; - if (!isset($file['imgsrc'])) { - $file['imgsrc'] = $serendipity['uploadHTTPPath'] . $file['path'] . $file['name'] . (!empty($file['thumbnail_name']) ? '.' . $file['thumbnail_name'] : '') . (empty($file['extension']) ? '' : '.' . $file['extension']); - } + $file['show_thumb'] = $file['full_thumbHTTP']; + if (!isset($file['imgsrc'])) { + $file['imgsrc'] = $serendipity['uploadHTTPPath'] . $file['path'] . $file['name'] . (!empty($file['thumbnail_name']) ? '.' . $file['thumbnail_name'] : '') . (empty($file['extension']) ? '' : '.' . $file['extension']); + } } // Detect PDF thumbs @@ -2733,8 +2737,8 @@ function serendipity_prepareMedia(&$file, $url = '') { $file['links'] = array('imagelinkurl' => $file['full_file']); - $file['dim'] = @getimagesize($file['full_thumb'], $file['thumb_header']); - $file['dim_orig'] = @getimagesize($serendipity['serendipityPath'] . $file['full_file'], $file['header']); + $file['dim'] = @getimagesize($file['full_thumb'], $file['thumb_header']); + $file['dim_orig'] = @getimagesize($serendipity['serendipityPath'] . $file['full_file'], $file['header']); $file['is_image'] = serendipity_isImage($file); if ($file['is_image']) { @@ -2825,7 +2829,10 @@ function serendipity_showMedia(&$file, &$paths, $url = '', $manage = false, $lin } } - serendipity_smarty_init(); + if (!is_object($serendipity['smarty'])) { + serendipity_smarty_init(); + } + $media = array( 'manage' => $manage, 'lineBreak' => $lineBreak, @@ -3485,27 +3492,27 @@ function serendipity_moveMediaDirectory($oldDir, $newDir, $type = 'dir', $item_i function &serendipity_getMediaPaths() { global $serendipity; - $aExclude = array("CVS" => true, ".svn" => true); - serendipity_plugin_api::hook_event('backend_media_path_exclude_directories', $aExclude); - $paths = array(); + $aExclude = array("CVS" => true, ".svn" => true); + serendipity_plugin_api::hook_event('backend_media_path_exclude_directories', $aExclude); + $paths = array(); - $aResultSet = serendipity_traversePath( - $serendipity['serendipityPath'] . $serendipity['uploadPath'], - '', - false, - NULL, - 1, - NULL, - FALSE, - $aExclude - ); + $aResultSet = serendipity_traversePath( + $serendipity['serendipityPath'] . $serendipity['uploadPath'], + '', + false, + NULL, + 1, + NULL, + FALSE, + $aExclude + ); - foreach ($aResultSet AS $sKey => $sFile) { - if ($sFile['directory']) { - array_push($paths, $sFile); - } - unset($aResultSet[$sKey]); - } + foreach ($aResultSet AS $sKey => $sFile) { + if ($sFile['directory']) { + array_push($paths, $sFile); + } + unset($aResultSet[$sKey]); + } serendipity_directoryACL($paths, 'read'); usort($paths, 'serendipity_sortPath'); diff --git a/lang/UTF-8/serendipity_lang_bg.inc.php b/lang/UTF-8/serendipity_lang_bg.inc.php index 0749caf5..b8f73599 100644 --- a/lang/UTF-8/serendipity_lang_bg.inc.php +++ b/lang/UTF-8/serendipity_lang_bg.inc.php @@ -960,3 +960,6 @@ $i18n_filename_to = array('-', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_cn.inc.php b/lang/UTF-8/serendipity_lang_cn.inc.php index cbe3fe98..aa7d6705 100644 --- a/lang/UTF-8/serendipity_lang_cn.inc.php +++ b/lang/UTF-8/serendipity_lang_cn.inc.php @@ -969,3 +969,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_cs.inc.php b/lang/UTF-8/serendipity_lang_cs.inc.php index 516107b2..67c0aa46 100644 --- a/lang/UTF-8/serendipity_lang_cs.inc.php +++ b/lang/UTF-8/serendipity_lang_cs.inc.php @@ -997,4 +997,7 @@ $i18n_filename_to = array ( @define('ACTIVE_COMMENT_SUBSCRIPTION', 'Odebíráno'); @define('PENDING_COMMENT_SUBSCRIPTION', 'Čeká na potvrzení'); @define('NO_COMMENT_SUBSCRIPTION', 'Neodebíráno'); -@define('SUMMARY', 'Souhrn'); \ No newline at end of file +@define('SUMMARY', 'Souhrn'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_cz.inc.php b/lang/UTF-8/serendipity_lang_cz.inc.php index d2183ed9..d3e01f4a 100644 --- a/lang/UTF-8/serendipity_lang_cz.inc.php +++ b/lang/UTF-8/serendipity_lang_cz.inc.php @@ -997,4 +997,7 @@ $i18n_filename_to = array ( @define('ACTIVE_COMMENT_SUBSCRIPTION', 'Odebíráno'); @define('PENDING_COMMENT_SUBSCRIPTION', 'Čeká na potvrzení'); @define('NO_COMMENT_SUBSCRIPTION', 'Neodebíráno'); -@define('SUMMARY', 'Souhrn'); \ No newline at end of file +@define('SUMMARY', 'Souhrn'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_da.inc.php b/lang/UTF-8/serendipity_lang_da.inc.php index 0264ca1f..20d13328 100644 --- a/lang/UTF-8/serendipity_lang_da.inc.php +++ b/lang/UTF-8/serendipity_lang_da.inc.php @@ -966,3 +966,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_de.inc.php b/lang/UTF-8/serendipity_lang_de.inc.php index 5195108d..6f8a7a58 100644 --- a/lang/UTF-8/serendipity_lang_de.inc.php +++ b/lang/UTF-8/serendipity_lang_de.inc.php @@ -969,3 +969,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were translated on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'Sie beabsichtigen mehrere Dateien auf einmal zu löschen.
Wenn Sie diese in ihren Einträge verwenden, wird das Löschen Lücken erzeugen.
Soll trotzdem fortgefahren werden?

'); diff --git a/lang/UTF-8/serendipity_lang_en.inc.php b/lang/UTF-8/serendipity_lang_en.inc.php index 099e4f85..4d238ed1 100644 --- a/lang/UTF-8/serendipity_lang_en.inc.php +++ b/lang/UTF-8/serendipity_lang_en.inc.php @@ -967,3 +967,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_es.inc.php b/lang/UTF-8/serendipity_lang_es.inc.php index efed2b1e..822efdf2 100644 --- a/lang/UTF-8/serendipity_lang_es.inc.php +++ b/lang/UTF-8/serendipity_lang_es.inc.php @@ -985,3 +985,6 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ?? @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_fa.inc.php b/lang/UTF-8/serendipity_lang_fa.inc.php index 937696e1..208d6759 100644 --- a/lang/UTF-8/serendipity_lang_fa.inc.php +++ b/lang/UTF-8/serendipity_lang_fa.inc.php @@ -969,3 +969,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_fi.inc.php b/lang/UTF-8/serendipity_lang_fi.inc.php index c02e778c..20ee411d 100644 --- a/lang/UTF-8/serendipity_lang_fi.inc.php +++ b/lang/UTF-8/serendipity_lang_fi.inc.php @@ -967,3 +967,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_fr.inc.php b/lang/UTF-8/serendipity_lang_fr.inc.php index b360ac89..c8acd521 100644 --- a/lang/UTF-8/serendipity_lang_fr.inc.php +++ b/lang/UTF-8/serendipity_lang_fr.inc.php @@ -974,3 +974,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_hu.inc.php b/lang/UTF-8/serendipity_lang_hu.inc.php index 50e85f23..fc757dcc 100644 --- a/lang/UTF-8/serendipity_lang_hu.inc.php +++ b/lang/UTF-8/serendipity_lang_hu.inc.php @@ -1,4 +1,4 @@ - and Hrotkó Gábor @@ -965,3 +965,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_is.inc.php b/lang/UTF-8/serendipity_lang_is.inc.php index 019b6eb4..232edee5 100644 --- a/lang/UTF-8/serendipity_lang_is.inc.php +++ b/lang/UTF-8/serendipity_lang_is.inc.php @@ -968,3 +968,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_it.inc.php b/lang/UTF-8/serendipity_lang_it.inc.php index 47932c25..80de14a9 100644 --- a/lang/UTF-8/serendipity_lang_it.inc.php +++ b/lang/UTF-8/serendipity_lang_it.inc.php @@ -1,4 +1,4 @@ - @@ -971,3 +971,7 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/UTF-8/serendipity_lang_ja.inc.php b/lang/UTF-8/serendipity_lang_ja.inc.php index 8d07bf58..2036dc34 100644 --- a/lang/UTF-8/serendipity_lang_ja.inc.php +++ b/lang/UTF-8/serendipity_lang_ja.inc.php @@ -971,3 +971,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_ko.inc.php b/lang/UTF-8/serendipity_lang_ko.inc.php index 8f786624..f91221e7 100644 --- a/lang/UTF-8/serendipity_lang_ko.inc.php +++ b/lang/UTF-8/serendipity_lang_ko.inc.php @@ -970,3 +970,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_nl.inc.php b/lang/UTF-8/serendipity_lang_nl.inc.php index 8e72d828..3eba3259 100644 --- a/lang/UTF-8/serendipity_lang_nl.inc.php +++ b/lang/UTF-8/serendipity_lang_nl.inc.php @@ -969,3 +969,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_no.inc.php b/lang/UTF-8/serendipity_lang_no.inc.php index 7d758ead..429d076d 100644 --- a/lang/UTF-8/serendipity_lang_no.inc.php +++ b/lang/UTF-8/serendipity_lang_no.inc.php @@ -970,3 +970,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_pl.inc.php b/lang/UTF-8/serendipity_lang_pl.inc.php index 288899fd..5ec349f1 100644 --- a/lang/UTF-8/serendipity_lang_pl.inc.php +++ b/lang/UTF-8/serendipity_lang_pl.inc.php @@ -1,4 +1,4 @@ -If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_pt.inc.php b/lang/UTF-8/serendipity_lang_pt.inc.php index fc316524..c184a1e9 100644 --- a/lang/UTF-8/serendipity_lang_pt.inc.php +++ b/lang/UTF-8/serendipity_lang_pt.inc.php @@ -972,3 +972,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_pt_PT.inc.php b/lang/UTF-8/serendipity_lang_pt_PT.inc.php index 4ce5e141..4015790c 100644 --- a/lang/UTF-8/serendipity_lang_pt_PT.inc.php +++ b/lang/UTF-8/serendipity_lang_pt_PT.inc.php @@ -979,3 +979,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_ro.inc.php b/lang/UTF-8/serendipity_lang_ro.inc.php index cd8d3ba2..0afed503 100644 --- a/lang/UTF-8/serendipity_lang_ro.inc.php +++ b/lang/UTF-8/serendipity_lang_ro.inc.php @@ -1,4 +1,4 @@ - @@ -968,3 +968,7 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/UTF-8/serendipity_lang_ru.inc.php b/lang/UTF-8/serendipity_lang_ru.inc.php index de325a1a..b769168e 100644 --- a/lang/UTF-8/serendipity_lang_ru.inc.php +++ b/lang/UTF-8/serendipity_lang_ru.inc.php @@ -971,3 +971,6 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_sa.inc.php b/lang/UTF-8/serendipity_lang_sa.inc.php index 2fc23b82..6de95ae6 100644 --- a/lang/UTF-8/serendipity_lang_sa.inc.php +++ b/lang/UTF-8/serendipity_lang_sa.inc.php @@ -1,4 +1,4 @@ -If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_se.inc.php b/lang/UTF-8/serendipity_lang_se.inc.php index b4c7e39f..12202df3 100644 --- a/lang/UTF-8/serendipity_lang_se.inc.php +++ b/lang/UTF-8/serendipity_lang_se.inc.php @@ -1,4 +1,4 @@ - @@ -967,3 +967,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_ta.inc.php b/lang/UTF-8/serendipity_lang_ta.inc.php index b06fe040..7b5f6b8d 100644 --- a/lang/UTF-8/serendipity_lang_ta.inc.php +++ b/lang/UTF-8/serendipity_lang_ta.inc.php @@ -1,4 +1,4 @@ -If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_tn.inc.php b/lang/UTF-8/serendipity_lang_tn.inc.php index a290915a..eaef8bff 100644 --- a/lang/UTF-8/serendipity_lang_tn.inc.php +++ b/lang/UTF-8/serendipity_lang_tn.inc.php @@ -971,3 +971,6 @@ $i18n_unknown = 'tw'; @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_tr.inc.php b/lang/UTF-8/serendipity_lang_tr.inc.php index 7cbf0be4..e8cb517e 100644 --- a/lang/UTF-8/serendipity_lang_tr.inc.php +++ b/lang/UTF-8/serendipity_lang_tr.inc.php @@ -1,4 +1,4 @@ -If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/UTF-8/serendipity_lang_tw.inc.php b/lang/UTF-8/serendipity_lang_tw.inc.php index af3d209b..057b8c42 100644 --- a/lang/UTF-8/serendipity_lang_tw.inc.php +++ b/lang/UTF-8/serendipity_lang_tw.inc.php @@ -972,3 +972,7 @@ $i18n_unknown = 'tw'; @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/UTF-8/serendipity_lang_zh.inc.php b/lang/UTF-8/serendipity_lang_zh.inc.php index 17698457..bf400ca9 100644 --- a/lang/UTF-8/serendipity_lang_zh.inc.php +++ b/lang/UTF-8/serendipity_lang_zh.inc.php @@ -968,3 +968,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/serendipity_lang_bg.inc.php b/lang/serendipity_lang_bg.inc.php index 056b3774..0836ce55 100644 --- a/lang/serendipity_lang_bg.inc.php +++ b/lang/serendipity_lang_bg.inc.php @@ -960,3 +960,6 @@ $i18n_filename_to = array('-', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/serendipity_lang_cn.inc.php b/lang/serendipity_lang_cn.inc.php index cbe3fe98..ab7c7278 100644 --- a/lang/serendipity_lang_cn.inc.php +++ b/lang/serendipity_lang_cn.inc.php @@ -969,3 +969,7 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/serendipity_lang_cs.inc.php b/lang/serendipity_lang_cs.inc.php index 0ce4f0d8..6a43ff3e 100644 --- a/lang/serendipity_lang_cs.inc.php +++ b/lang/serendipity_lang_cs.inc.php @@ -997,4 +997,7 @@ $i18n_filename_to = array ( @define('ACTIVE_COMMENT_SUBSCRIPTION', 'Odebíráno'); @define('PENDING_COMMENT_SUBSCRIPTION', 'Èeká na potvrzení'); @define('NO_COMMENT_SUBSCRIPTION', 'Neodebíráno'); -@define('SUMMARY', 'Souhrn'); \ No newline at end of file +@define('SUMMARY', 'Souhrn'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/serendipity_lang_cz.inc.php b/lang/serendipity_lang_cz.inc.php index e32e04d4..636c4045 100644 --- a/lang/serendipity_lang_cz.inc.php +++ b/lang/serendipity_lang_cz.inc.php @@ -997,4 +997,8 @@ $i18n_filename_to = array ( @define('ACTIVE_COMMENT_SUBSCRIPTION', 'Odebíráno'); @define('PENDING_COMMENT_SUBSCRIPTION', 'Èeká na potvrzení'); @define('NO_COMMENT_SUBSCRIPTION', 'Neodebíráno'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + @define('SUMMARY', 'Souhrn'); \ No newline at end of file diff --git a/lang/serendipity_lang_da.inc.php b/lang/serendipity_lang_da.inc.php index 8813fed3..e03022fe 100644 --- a/lang/serendipity_lang_da.inc.php +++ b/lang/serendipity_lang_da.inc.php @@ -966,3 +966,7 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/serendipity_lang_de.inc.php b/lang/serendipity_lang_de.inc.php index a6af9d8d..1ecabc00 100644 --- a/lang/serendipity_lang_de.inc.php +++ b/lang/serendipity_lang_de.inc.php @@ -969,3 +969,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were translated on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'Sie beabsichtigen mehrere Dateien auf einmal zu löschen.
Wenn Sie diese in ihren Einträge verwenden, wird das Löschen Lücken erzeugen.
Soll trotzdem fortgefahren werden?

'); diff --git a/lang/serendipity_lang_en.inc.php b/lang/serendipity_lang_en.inc.php index a0808b65..96fec545 100644 --- a/lang/serendipity_lang_en.inc.php +++ b/lang/serendipity_lang_en.inc.php @@ -967,3 +967,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/serendipity_lang_es.inc.php b/lang/serendipity_lang_es.inc.php index 01022fd0..8bf3b9c7 100644 --- a/lang/serendipity_lang_es.inc.php +++ b/lang/serendipity_lang_es.inc.php @@ -985,3 +985,7 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ?? @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/serendipity_lang_fa.inc.php b/lang/serendipity_lang_fa.inc.php index 937696e1..267aa2d8 100644 --- a/lang/serendipity_lang_fa.inc.php +++ b/lang/serendipity_lang_fa.inc.php @@ -969,3 +969,7 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/serendipity_lang_fi.inc.php b/lang/serendipity_lang_fi.inc.php index c02e778c..e73dddaa 100644 --- a/lang/serendipity_lang_fi.inc.php +++ b/lang/serendipity_lang_fi.inc.php @@ -967,3 +967,7 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/serendipity_lang_fr.inc.php b/lang/serendipity_lang_fr.inc.php index ba021224..6817a1fc 100644 --- a/lang/serendipity_lang_fr.inc.php +++ b/lang/serendipity_lang_fr.inc.php @@ -974,3 +974,7 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/serendipity_lang_hu.inc.php b/lang/serendipity_lang_hu.inc.php index 1ba0a73d..b13acfaa 100644 --- a/lang/serendipity_lang_hu.inc.php +++ b/lang/serendipity_lang_hu.inc.php @@ -1,4 +1,4 @@ - and Hrotkó Gábor @@ -965,3 +965,7 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/serendipity_lang_is.inc.php b/lang/serendipity_lang_is.inc.php index 892737ba..2ff6c57e 100644 --- a/lang/serendipity_lang_is.inc.php +++ b/lang/serendipity_lang_is.inc.php @@ -968,3 +968,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/serendipity_lang_it.inc.php b/lang/serendipity_lang_it.inc.php index c73c2c41..dd7c1de3 100644 --- a/lang/serendipity_lang_it.inc.php +++ b/lang/serendipity_lang_it.inc.php @@ -1,4 +1,4 @@ - @@ -971,3 +971,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/serendipity_lang_ja.inc.php b/lang/serendipity_lang_ja.inc.php index 8d07bf58..abf725f3 100644 --- a/lang/serendipity_lang_ja.inc.php +++ b/lang/serendipity_lang_ja.inc.php @@ -971,3 +971,7 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/serendipity_lang_ko.inc.php b/lang/serendipity_lang_ko.inc.php index 8f786624..f91221e7 100644 --- a/lang/serendipity_lang_ko.inc.php +++ b/lang/serendipity_lang_ko.inc.php @@ -970,3 +970,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/serendipity_lang_nl.inc.php b/lang/serendipity_lang_nl.inc.php index 15ae91cd..1db41717 100644 --- a/lang/serendipity_lang_nl.inc.php +++ b/lang/serendipity_lang_nl.inc.php @@ -969,3 +969,7 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/serendipity_lang_no.inc.php b/lang/serendipity_lang_no.inc.php index 60e10f6f..0b5a0aba 100644 --- a/lang/serendipity_lang_no.inc.php +++ b/lang/serendipity_lang_no.inc.php @@ -970,3 +970,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/serendipity_lang_pl.inc.php b/lang/serendipity_lang_pl.inc.php index d4cfc8f0..afbd4b54 100644 --- a/lang/serendipity_lang_pl.inc.php +++ b/lang/serendipity_lang_pl.inc.php @@ -966,3 +966,6 @@ $i18n_filename_to = array('_', 'a', 'A', 'a', 'A', 'b', 'B', 'c', 'C', 'c', 'C @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/serendipity_lang_pt.inc.php b/lang/serendipity_lang_pt.inc.php index ddad01af..1d4d2ddd 100644 --- a/lang/serendipity_lang_pt.inc.php +++ b/lang/serendipity_lang_pt.inc.php @@ -972,3 +972,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/serendipity_lang_pt_PT.inc.php b/lang/serendipity_lang_pt_PT.inc.php index 351b6a0e..15c2314a 100644 --- a/lang/serendipity_lang_pt_PT.inc.php +++ b/lang/serendipity_lang_pt_PT.inc.php @@ -979,3 +979,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/serendipity_lang_ro.inc.php b/lang/serendipity_lang_ro.inc.php index cd8d3ba2..79ca22cd 100644 --- a/lang/serendipity_lang_ro.inc.php +++ b/lang/serendipity_lang_ro.inc.php @@ -968,3 +968,7 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/serendipity_lang_ru.inc.php b/lang/serendipity_lang_ru.inc.php index de325a1a..b769168e 100644 --- a/lang/serendipity_lang_ru.inc.php +++ b/lang/serendipity_lang_ru.inc.php @@ -971,3 +971,6 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/serendipity_lang_sa.inc.php b/lang/serendipity_lang_sa.inc.php index 37be9802..a665344b 100644 --- a/lang/serendipity_lang_sa.inc.php +++ b/lang/serendipity_lang_sa.inc.php @@ -886,3 +886,7 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/serendipity_lang_se.inc.php b/lang/serendipity_lang_se.inc.php index 55c7ae21..3e359fd6 100644 --- a/lang/serendipity_lang_se.inc.php +++ b/lang/serendipity_lang_se.inc.php @@ -1,4 +1,4 @@ - @@ -967,3 +967,7 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/serendipity_lang_ta.inc.php b/lang/serendipity_lang_ta.inc.php index b06fe040..7b5f6b8d 100644 --- a/lang/serendipity_lang_ta.inc.php +++ b/lang/serendipity_lang_ta.inc.php @@ -1,4 +1,4 @@ -If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/lang/serendipity_lang_tn.inc.php b/lang/serendipity_lang_tn.inc.php index a290915a..f4ba56d1 100644 --- a/lang/serendipity_lang_tn.inc.php +++ b/lang/serendipity_lang_tn.inc.php @@ -971,3 +971,7 @@ $i18n_unknown = 'tw'; @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/serendipity_lang_tr.inc.php b/lang/serendipity_lang_tr.inc.php index 7cbf0be4..8fbb4a55 100644 --- a/lang/serendipity_lang_tr.inc.php +++ b/lang/serendipity_lang_tr.inc.php @@ -1,4 +1,4 @@ -If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/serendipity_lang_tw.inc.php b/lang/serendipity_lang_tw.inc.php index 53f47e37..edc164af 100644 --- a/lang/serendipity_lang_tw.inc.php +++ b/lang/serendipity_lang_tw.inc.php @@ -972,3 +972,7 @@ $i18n_unknown = 'tw'; @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); + diff --git a/lang/serendipity_lang_zh.inc.php b/lang/serendipity_lang_zh.inc.php index b8bfed55..52242f9b 100644 --- a/lang/serendipity_lang_zh.inc.php +++ b/lang/serendipity_lang_zh.inc.php @@ -968,3 +968,6 @@ @define('PENDING_COMMENT_SUBSCRIPTION', 'Pending confirmation'); @define('NO_COMMENT_SUBSCRIPTION', 'Not subscribed'); @define('SUMMARY', 'Summary'); + +// Next lines were added on 2012/05/29 +@define('ABOUT_TO_DELETE_FILES', 'You are about to delete a bunch of files at once.
If you are using these in some of your entries, it will cause dead links or images
Are you sure you wish to proceed?

'); diff --git a/templates/default/admin/media_items.tpl b/templates/default/admin/media_items.tpl index 1b39b8c7..66fa5373 100644 --- a/templates/default/admin/media_items.tpl +++ b/templates/default/admin/media_items.tpl @@ -17,7 +17,8 @@ {if $file.is_image AND NOT $file.hotlink}{$CONST.IMAGE_ROTATE_RIGHT}
{/if} {$CONST.MEDIA_PROP}
{$CONST.MEDIA_DELETE}
- {/if} + + {/if}
{$file.realname}{if $file.orderkey != ''}: {$file.orderkey|@escape}{/if}
diff --git a/templates/default/admin/media_pane.tpl b/templates/default/admin/media_pane.tpl index ab77458e..f413e327 100644 --- a/templates/default/admin/media_pane.tpl +++ b/templates/default/admin/media_pane.tpl @@ -145,6 +145,25 @@ {if $media.nr_files < 1}
- {$CONST.NO_IMAGES_FOUND} -
{else} + + +
+ {$media.token} + + + +
@@ -187,5 +206,13 @@
+ + + + + + -{/if} \ No newline at end of file + +
+{/if}