summaryrefslogtreecommitdiff
path: root/find.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2013-01-09 09:44:38 +0000
committerfisharebest <fisharebest@gmail.com>2013-01-09 09:44:38 +0000
commit1c9d0a3040114b555c5d4c1473e7a21e086a540d (patch)
tree35dda557004304522df023b51cbbbf4607282a71 /find.php
parent664e15817f676600d457f939e41b21ce242cd515 (diff)
downloadwebtrees-1c9d0a3040114b555c5d4c1473e7a21e086a540d.tar.gz
webtrees-1c9d0a3040114b555c5d4c1473e7a21e086a540d.tar.bz2
webtrees-1c9d0a3040114b555c5d4c1473e7a21e086a540d.zip
Update comments, renaming "directory" to "folder"
Diffstat (limited to 'find.php')
-rw-r--r--find.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/find.php b/find.php
index cd565a1aae..9ae04a9101 100644
--- a/find.php
+++ b/find.php
@@ -77,13 +77,13 @@ if ($chooseType!="media" && $chooseType!="0file") {
$chooseType = "all";
}
-//-- force the thumbnail directory to have the same layout as the media directory
+//-- force the thumbnail folder to have the same layout as the media folder
//-- Dots and slashes should be escaped for the preg_replace
$srch = "/".addcslashes($MEDIA_DIRECTORY, '/.')."/";
$repl = addcslashes($MEDIA_DIRECTORY."thumbs/", '/.');
$thumbdir = stripcslashes(preg_replace($srch, $repl, $directory));
-//-- prevent script from accessing an area outside of the media directory
+//-- prevent script from accessing an area outside of the media folder
//-- and keep level consistency
if (($level < 0) || ($level > $MEDIA_DIRECTORY_LEVELS)) {
$directory = $MEDIA_DIRECTORY;
@@ -586,11 +586,11 @@ if ($action=="filter") {
$uplink = '<a href="find.php?directory='.$pdir.'&amp;thumbdir='.$pthumb.'&amp;level='.($level-1).$thumbget.'&amp;type=media&amp;choose='.$choose.'&amp;filter='.htmlspecialchars($filter).'&amp;action=filter">&nbsp;&nbsp;&nbsp;&lt;-- <span dir="ltr">'.$pdir.'</span>&nbsp;&nbsp;&nbsp;</a>';
}
- // Start of media directory table
+ // Start of media folder table
// Tell the user where he is
echo '<div id="find-media"><span>', WT_I18N::translate('Folder'), '&nbsp;=&nbsp;</span>', substr($directory, 0, -1), '</div>';
- // display the directory list
+ // display the folder list
if (count($dirs) || $level) {
sort($dirs);
if ($level) {
@@ -720,7 +720,7 @@ if ($action=="filter") {
if (!$filter || $all) {
echo $place->getReverseName(); // When displaying all names, sort/display by the country, then region, etc.
} else {
- echo $place->getFullName(); // When we've searched for a place, sort by this place
+ echo $place->getFullName(); // When we’ve searched for a place, sort by this place
}
echo '</a></li>';
}