mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2225 redesign quick search help popin
This commit is contained in:
@@ -137,3 +137,5 @@ SELECT
|
||||
}
|
||||
|
||||
$template->assign('associated_categories', $associated_categories);
|
||||
|
||||
load_language('help_quick_search.lang');
|
||||
@@ -129,5 +129,13 @@ $(document).ready(function () {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$('.help-popin-search').on('click', function() {
|
||||
$('#modalQuickSearch').fadeIn();
|
||||
});
|
||||
|
||||
$('#closeModalQuickSearch').on('click', function() {
|
||||
$('#modalQuickSearch').fadeOut();
|
||||
});
|
||||
})
|
||||
|
||||
|
||||
@@ -73,8 +73,6 @@ const str_add_alb_associate = "{"Add Album"|@translate}";
|
||||
const str_select_alb_associate = "{"Select an album"|@translate}";
|
||||
|
||||
$(document).ready(function() {
|
||||
jQuery('.help-popin-search').colorbox({ width:"600px" });
|
||||
|
||||
function checkPermitAction() {
|
||||
var nbSelected = 0;
|
||||
if ($("input[name=setSelected]").is(':checked')) {
|
||||
|
||||
@@ -209,7 +209,10 @@ let errorFilters = '';
|
||||
<p>{'Search'|@translate}</p>
|
||||
<a href="#" class="removeFilter" title="{'remove this filter'|translate}"><span>[x]</span></a>
|
||||
<input name="q" size=40 value="{if isset($filter.search)} {$filter.search.q|stripslashes|htmlspecialchars}{/if}">
|
||||
<a href="admin/popuphelp.php?page=quick_search&output=content_only" title="{'Help'|@translate}" class="help-popin-search"><span class="icon-help-circled">{'Search tips'|translate}</span></a>
|
||||
<p title="{'Help'|@translate}" class="help-popin-search">
|
||||
<i class="icon-help-circled"></i>
|
||||
<span>{'Search tips'|translate}</span>
|
||||
</p>
|
||||
{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
|
||||
{if (isset($no_search_results))}
|
||||
<div>{'No results for'|@translate} :
|
||||
@@ -265,4 +268,22 @@ let errorFilters = '';
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<div class="bg-modal" id="modalQuickSearch">
|
||||
<div class="modal-content">
|
||||
<a class="icon-cancel close-modal" id="closeModalQuickSearch"></a>
|
||||
|
||||
<div class="quick-search-content">
|
||||
<div class="quick-search-header">
|
||||
<div class="AddIconContainer">
|
||||
<span class="AddIcon icon-blue icon-search"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-syntax">
|
||||
{assign var=is_dark_mode value=$themeconf.colorscheme == 'dark'}
|
||||
{include file='themes/default/template/help/quick_search.tpl' dark_mode=$is_dark_mode}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{include file='include/album_selector.inc.tpl'}
|
||||
@@ -4028,6 +4028,42 @@ LEGEND SPAN {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.help-popin-search {
|
||||
cursor: pointer;
|
||||
font-weight: normal !important;
|
||||
}
|
||||
|
||||
.help-popin-search:hover span,
|
||||
.help-popin-search:hover .icon-help-circled::before {
|
||||
color: #3C3C3C !important;
|
||||
}
|
||||
|
||||
#modalQuickSearch p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#modalQuickSearch .modal-content {
|
||||
max-height: 400px;
|
||||
height: 100%;
|
||||
width: 500px;
|
||||
gap:20px;
|
||||
}
|
||||
|
||||
.quick-search-content {
|
||||
height: 100%;
|
||||
overflow-y: scroll;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.quick-search-header {
|
||||
padding-top: 5px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#order_filters a.removeFilter {font-weight:normal;}
|
||||
#order_filters span.property span.filter:first-child a.removeFilter {display:none;} /* can't delete the first field */
|
||||
#order_filters span.filter {display:block;margin-left:20px;}
|
||||
@@ -8177,7 +8213,7 @@ color:#FF7B00;
|
||||
.bg-modal {
|
||||
display: none;
|
||||
position: fixed;
|
||||
z-index: 100;
|
||||
z-index: 999;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
|
||||
@@ -1156,6 +1156,11 @@ li.plupload_delete a.remove-format:hover{color: #c0c0c0;}
|
||||
#batchManagerGlobal .ui-slider .ui-slider-range {background-color: #aaaaaa;}
|
||||
#batchManagerGlobal .ui-slider-range.ui-widget-header.ui-corner-all {border: 1px solid #ffaf58; background-color: #ffaf58;}
|
||||
|
||||
.help-popin-search:hover span,
|
||||
.help-popin-search:hover .icon-help-circled::before {
|
||||
color: #ededed !important;
|
||||
}
|
||||
|
||||
.selected-associate-item {
|
||||
background-color: #333;
|
||||
box-shadow: 0px 2px #000000AA;
|
||||
|
||||
58
language/en_UK/help_quick_search.lang.php
Normal file
58
language/en_UK/help_quick_search.lang.php
Normal file
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This file is part of Piwigo. |
|
||||
// | |
|
||||
// | For copyright and license information, please view the COPYING.txt |
|
||||
// | file that was distributed with this source code. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
$lang['Search using extended syntax'] = 'Search using extended syntax';
|
||||
$lang['The quick search engine allows you to use boolean operators to refine your search. By default, the search applies to all keywords. Searches are not case sensitive.'] = 'The quick search engine allows you to use boolean operators to refine your search. By default, the search applies to all keywords. Searches are not case sensitive.';
|
||||
$lang['Here is a list of actions you can perform:'] = 'Here is a list of actions you can perform:';
|
||||
$lang['Exact search'] = 'Exact search';
|
||||
$lang['Use quotes to search for an exact keyword or phrase.'] = 'Use quotes to search for an exact keyword or phrase.';
|
||||
$lang['OR inclusive'] = 'OR inclusive';
|
||||
$lang['Add an OR between words.'] = 'Add an OR between words.';
|
||||
$lang['Exclude'] = 'Exclude';
|
||||
$lang['Add a dash (-) or NOT before a word to exclude from search. Note that NOT acts as a filtering operator so you cannot have a search containing only NOT operators. You cannot combine OR with NOT (john OR NOT bill is not valid)'] = 'Add a dash (-) or NOT before a word to exclude from search. Note that NOT acts as a filtering operator so you cannot have a search containing only NOT operators. You cannot combine OR with NOT (john OR NOT bill is not valid)';
|
||||
$lang['Grouping'] = 'Grouping';
|
||||
$lang['Searches only in tag names without looking at photo titles or descriptions.'] = 'Searches only in tag names without looking at photo titles or descriptions.';
|
||||
$lang['Searches only for photos with the given words in title or description.'] = 'Searches only for photos with the given words in title or description.';
|
||||
$lang['Searches by file name.'] = 'Searches by file name.';
|
||||
$lang['Searches by author.'] = 'Searches by author.';
|
||||
$lang['photos taken in 2003'] = 'photos taken in 2003';
|
||||
$lang['photos from may 2003'] = 'photos from may 2003';
|
||||
$lang['photos from 2003 to 2008'] = 'photos from 2003 to 2008';
|
||||
$lang['photos after Jan 1st 2008'] = 'photos after Jan 1st 2008';
|
||||
$lang['Searches photos by taken date.'] = 'Searches photos by taken date.';
|
||||
$lang['Searches photos by posted date.'] = 'Searches photos by posted date.';
|
||||
$lang['Searches photos with a given width or height.'] = 'Searches photos with a given width or height.';
|
||||
$lang['returns photos of 5 megapixels'] = 'returns photos of 5 megapixels';
|
||||
$lang['returns photos of 12 megapixels or more'] = 'returns photos of 12 megapixels or more';
|
||||
$lang['Searches photos by size in pixels.'] = 'Searches photos by size in pixels.';
|
||||
$lang['finds photos from compact cameras in portrait or landscape modes'] = 'finds photos from compact cameras in portrait or landscape modes';
|
||||
$lang['finds panoramas'] = 'finds panoramas';
|
||||
$lang['Searches photos by width/height ratio.'] = 'Searches photos by width/height ratio.';
|
||||
$lang['will give you all photos with at least one note.'] = 'will give you all photos with at least one note.';
|
||||
$lang['will give you photos without notes.'] = 'will give you photos without notes.';
|
||||
$lang['finds files between 1MB and 10MB.'] = 'finds files between 1MB and 10MB.';
|
||||
$lang['Searches photos by file size.'] = 'Searches photos by file size.';
|
||||
$lang['finds photo 123 to 126 (it may find between 0 and 4 photos, because photos can be deleted)'] = 'finds photo 123 to 126 (it may find between 0 and 4 photos, because photos can be deleted)';
|
||||
$lang['Searches photos by its numeric identifier in Piwigo.'] = 'Searches photos by its numeric identifier in Piwigo.';
|
||||
$lang['Same principle as for'] = 'Same principle as for';
|
||||
$lang['photos posted in 2003'] = 'photos posted in 2003';
|
||||
$lang['return photos wider than 500px'] = 'photos wider than 500px';
|
||||
$lang['return photos less than 700px high'] = 'photos less than 700px high';
|
||||
$lang['return photos with at least 1,000 views'] = 'return photos with at least 1,000 views';
|
||||
$lang['Searches photos by rating.'] = 'Searches photos by rating.';
|
||||
$lang['Searches for photos by number of views.'] = 'Searches for photos by number of views.';
|
||||
$lang['With keywords'] = 'With keywords';
|
||||
$lang['Supported numeric operators'] = 'Supported numeric operators';
|
||||
$lang['equals 100'] = 'equals 100';
|
||||
$lang['greater than 100'] = 'greater than 100';
|
||||
$lang['less than 100'] = 'less than 100';
|
||||
$lang['between 10 and 100 (inclusive)'] = 'between 10 and 100 (inclusive)';
|
||||
$lang['up to 100 (inclusive)'] = 'up to 100 (inclusive)';
|
||||
$lang['from 100 and above'] = 'from 100 and above';
|
||||
$lang['These operators can be used with numeric fields such as'] = 'These operators can be used with numeric fields such as';
|
||||
$lang['Others'] = 'Others';
|
||||
58
language/fr_FR/help_quick_search.lang.php
Normal file
58
language/fr_FR/help_quick_search.lang.php
Normal file
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
// +-----------------------------------------------------------------------+
|
||||
// | This file is part of Piwigo. |
|
||||
// | |
|
||||
// | For copyright and license information, please view the COPYING.txt |
|
||||
// | file that was distributed with this source code. |
|
||||
// +-----------------------------------------------------------------------+
|
||||
|
||||
$lang['Search using extended syntax'] = 'Rechercher avec la syntaxe étendue';
|
||||
$lang['The quick search engine allows you to use boolean operators to refine your search. By default, the search applies to all keywords. Searches are not case sensitive.'] = 'Le moteur de recherche rapide permet d’utiliser les opérateurs booléens pour affiner votre recherche. Par défaut, la recherche s’applique à l’ensemble des mots clés. Les recherches ne sont pas sensibles à la casse.';
|
||||
$lang['Here is a list of actions you can perform:'] = 'Voici la liste des actions que vous pouvez effectuer :';
|
||||
$lang['Exact search'] = 'Recherche exacte';
|
||||
$lang['Use quotes to search for an exact keyword or phrase.'] = 'Utilisez des guillemets pour rechercher un mot-clé ou une phrase exacte.';
|
||||
$lang['OR inclusive'] = 'OU inclusif';
|
||||
$lang['Add an OR between words.'] = 'Ajoutez un OR entre les mots.';
|
||||
$lang['Exclude'] = 'Exclure';
|
||||
$lang['Add a dash (-) or NOT before a word to exclude from search. Note that NOT acts as a filtering operator so you cannot have a search containing only NOT operators. You cannot combine OR with NOT (john OR NOT bill is not valid)'] = 'Ajoutez un tiret (-) ou NOT devant un mot pour l’exclure de la recherche. Notez que NOT agit comme un opérateur de filtrage, vous ne pouvez donc pas effectuer une recherche contenant uniquement des opérateurs NOT. Vous ne pouvez pas combiner OR avec NOT (john OR NOT bill n’est pas valide).';
|
||||
$lang['Grouping'] = 'Groupement';
|
||||
$lang['Searches only in tag names without looking at photo titles or descriptions.'] = 'Recherche uniquement dans les noms de tags sans tenir compte des titres ou descriptions des photos.';
|
||||
$lang['Searches only for photos with the given words in title or description.'] = 'Recherche uniquement les photos contenant les mots donnés dans le titre ou la description.';
|
||||
$lang['Searches by file name.'] = 'Recherche par nom de fichier.';
|
||||
$lang['Searches by author.'] = 'Recherche par auteur.';
|
||||
$lang['photos taken in 2003'] = 'photos prises en 2003';
|
||||
$lang['photos from may 2003'] = 'photos de mai 2003';
|
||||
$lang['photos from 2003 to 2008'] = 'photos de 2003 à 2008';
|
||||
$lang['photos after Jan 1st 2008'] = 'photos après le 1er janvier 2008';
|
||||
$lang['Searches photos by taken date.'] = 'Recherche des photos par date de prise de vue.';
|
||||
$lang['Searches photos by posted date.'] = 'Recherche des photos par date de publication.';
|
||||
$lang['Searches photos with a given width or height.'] = 'Recherche des photos avec une largeur ou hauteur donnée.';
|
||||
$lang['returns photos of 5 megapixels'] = 'renvoie des photos de 5 mégapixels';
|
||||
$lang['returns photos of 12 megapixels or more'] = 'renvoie des photos de 12 mégapixels ou plus';
|
||||
$lang['Searches photos by size in pixels.'] = 'Recherche des photos par taille en pixels.';
|
||||
$lang['finds photos from compact cameras in portrait or landscape modes'] = 'trouve des photos d’appareils compacts en mode portrait ou paysage';
|
||||
$lang['finds panoramas'] = 'trouve des panoramas';
|
||||
$lang['Searches photos by width/height ratio.'] = 'Recherche des photos par ratio largeur/hauteur.';
|
||||
$lang['will give you all photos with at least one note.'] = 'renverra toutes les photos avec au moins une note.';
|
||||
$lang['will give you photos without notes.'] = 'renverra les photos sans notes.';
|
||||
$lang['finds files between 1MB and 10MB.'] = 'trouve des fichiers entre 1 Mo et 10 Mo.';
|
||||
$lang['Searches photos by file size.'] = 'Recherche des photos par taille de fichier.';
|
||||
$lang['finds photo 123 to 126 (it may find between 0 and 4 photos, because photos can be deleted)'] = 'trouve les photos 123 à 126 (il peut en trouver entre 0 et 4, car des photos peuvent avoir été supprimées)';
|
||||
$lang['Searches photos by its numeric identifier in Piwigo.'] = 'Recherche des photos par leur identifiant numérique dans Piwigo.';
|
||||
$lang['Same principle as for'] = 'Même principe que pour';
|
||||
$lang['photos posted in 2003'] = 'photos publiées en 2003';
|
||||
$lang['return photos wider than 500px'] = 'renvoie des photos dont la largeur dépasse 500px';
|
||||
$lang['return photos less than 700px high'] = 'renvoie des photos dont la hauteur est inférieure à 700px';
|
||||
$lang['return photos with at least 1,000 views'] = 'renvoie des photos ayant été vues au moins 1 000 fois';
|
||||
$lang['Searches photos by rating.'] = 'Recherches de photos par note.';
|
||||
$lang['Searches for photos by number of views.'] = 'Recherches de photos par nombre de vues.';
|
||||
$lang['With keywords'] = 'Avec mots-clés';
|
||||
$lang['Supported numeric operators'] = 'Opérateurs numériques pris en charge';
|
||||
$lang['equals 100'] = 'égal à 100';
|
||||
$lang['greater than 100'] = 'supérieur à 100';
|
||||
$lang['less than 100'] = 'inférieur à 100';
|
||||
$lang['between 10 and 100 (inclusive)'] = 'entre 10 et 100 (inclus)';
|
||||
$lang['up to 100 (inclusive)'] = 'jusqu\'à 100 (inclus)';
|
||||
$lang['from 100 and above'] = 'à partir de 100 et plus';
|
||||
$lang['These operators can be used with numeric fields such as'] = 'Ces opérateurs peuvent être utilisés avec des champs numériques tels que';
|
||||
$lang['Others'] = 'Autres';
|
||||
71
themes/default/css/help/quick_search.css
Normal file
71
themes/default/css/help/quick_search.css
Normal file
@@ -0,0 +1,71 @@
|
||||
.quick-search-headers {
|
||||
font-size: 1.4em;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
color: #000;
|
||||
margin-bottom: 10px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.quick-search-infos p {
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
.quick-search-items p {
|
||||
margin: 0;
|
||||
color: #3C3C3C;
|
||||
}
|
||||
|
||||
.quick-search-items {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 30px;
|
||||
}
|
||||
|
||||
.quick-search-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 5px;
|
||||
border-left: 4px solid #D9D9D9;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.quick-search-item-info {
|
||||
display: grid;
|
||||
grid-template-columns: 110px 1fr;
|
||||
}
|
||||
|
||||
.quick-search-item-type p,
|
||||
.quick-search-item-tip p,
|
||||
.quick-search-item-example p,
|
||||
.quick-search-section {
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
.quick-search-item-example {
|
||||
padding: 4px 10px;
|
||||
background-color: #F0F0F0;
|
||||
height: fit-content;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.quick-search-item-tip p {
|
||||
color: #868686 !important;
|
||||
}
|
||||
|
||||
.quick-search-section {
|
||||
font-weight: bold;
|
||||
margin: 10px 0 !important;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.dark.quick-search-items p {
|
||||
color: #cccccc;
|
||||
}
|
||||
.dark .quick-search-item-example{
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
.dark .quick-search-item {
|
||||
border-left: 4px solid #333;
|
||||
}
|
||||
306
themes/default/template/help/quick_search.tpl
Normal file
306
themes/default/template/help/quick_search.tpl
Normal file
@@ -0,0 +1,306 @@
|
||||
{combine_css path="themes/default/css/help/quick_search.css"}
|
||||
|
||||
<div class="quick-search-headers">
|
||||
<span>{"Search using extended syntax"|translate}</span>
|
||||
</div>
|
||||
<div class="quick-search-infos">
|
||||
<p>
|
||||
{"The quick search engine allows you to use boolean operators to refine your search. By default, the search applies to all keywords. Searches are not case sensitive."|translate}
|
||||
</p>
|
||||
<p>{"Here is a list of actions you can perform:"|translate}</p>
|
||||
</div>
|
||||
|
||||
<p class="quick-search-section">{"With keywords"|translate}</p>
|
||||
|
||||
<div class="quick-search-items{if $is_dark_mode} dark {/if}">
|
||||
{* quoted keyword / phrase *}
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>{"Exact search"|translate}</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p><b>"</b>george washington<b>"</b></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-item-tip">
|
||||
<p>{"Use quotes to search for an exact keyword or phrase."|translate}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* OR inclusive *}
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>{"OR inclusive"|translate}</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p>john <b>OR</b> bill</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-item-tip">
|
||||
<p>{"Add an OR between words."|translate}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* exclude *}
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>{"Exclude"|translate}</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p>george washington <b>NOT</b> bush</p>
|
||||
<p><b>-</b>george</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-item-tip">
|
||||
{"Add a dash (-) or NOT before a word to exclude from search. Note that NOT acts as a filtering operator so you cannot have a search containing only NOT operators. You cannot combine OR with NOT (john OR NOT bill is not valid)"|translate}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* OR inclusive *}
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>{"Grouping"|translate} ()</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p><b>(</b>mother OR father<b>)</b> AND <b>(</b>daugther OR son<b>)</b></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="quick-search-section" style="padding-top: 30px;">{"Others"|translate}</p>
|
||||
<div class="quick-search-items{if $is_dark_mode} dark {/if}">
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>{"Supported numeric operators"|translate}</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p><b>=100</b> {"equals 100"|translate}</p>
|
||||
<p><b>>100</b> {"greater than 100"|translate}</p>
|
||||
<p><b><100</b> {"less than 100"|translate}</p>
|
||||
<p><b>10..100</b> {"between 10 and 100 (inclusive)"|translate}</p>
|
||||
<p><b>..100</b> {"up to 100 (inclusive)"|translate}</p>
|
||||
<p><b>100..</b> {"from 100 and above"|translate}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-item-tip">
|
||||
{"These operators can be used with numeric fields such as"|translate} created:, posted:, width:, height:, size:, ratio:, hits:, score:, filesize:, id:.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* tags: *}
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>tag:</p>
|
||||
<p>tags:</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p><b>tag:</b>(john OR bill)</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-item-tip">
|
||||
{"Searches only in tag names without looking at photo titles or descriptions."|translate}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* photos: *}
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>photo:</p>
|
||||
<p>photos:</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p><b>photo:</b>Tiger</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-item-tip">
|
||||
{"Searches only for photos with the given words in title or description."|translate}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* files: *}
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>file:</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p><b>file:</b>DSC_</p>
|
||||
<p><b>file:</b>*.webp</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-item-tip">
|
||||
{"Searches by file name."|translate}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* author: *}
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>author:</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p><b>author:</b>John</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-item-tip">
|
||||
{"Searches by author."|translate}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* created: taken: shot: *}
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>created:</p>
|
||||
<p>taken:</p>
|
||||
<p>shot:</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p><b>taken:2003</b> {"photos taken in 2003"|translate}</p>
|
||||
<p><b>taken:20035, taken:2003-5, taken:2003-05</b> {"photos from may 2003"|translate}</p>
|
||||
<p><b>taken:2003..2008</b> {"photos from 2003 to 2008"|translate}</p>
|
||||
<p><b>taken:>2008, taken:2008*, taken:2008..</b> {"photos after Jan 1st 2008"|translate}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-item-tip">
|
||||
{"Searches photos by taken date."|translate}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* posted: *}
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>posted:</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p><b>posted:2003</b> {"photos posted in 2003"|translate}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-item-tip">
|
||||
{"Searches photos by posted date."|translate} {"Same principle as for"|translate} created:.
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* width: height: *}
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>width:</p>
|
||||
<p>height:</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p><b>width:</b>>500 {"return photos wider than 500px"|translate}</p>
|
||||
<p><b>height:</b><700 {"return photos less than 700px high"|translate}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-item-tip">
|
||||
{"Searches photos with a given width or height."|translate}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* size: *}
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>size:</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p><b>size:</b>5m {"returns photos of 5 megapixels"|translate}</p>
|
||||
<p><b>size:</b>>12m {"returns photos of 12 megapixels or more"|translate}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-item-tip">
|
||||
{"Searches photos by size in pixels."|translate}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* ratio: *}
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>ratio:</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p><b>ratio:</b>3/4 OR <b>ratio:</b>4/3
|
||||
{"finds photos from compact cameras in portrait or landscape modes"|translate}</p>
|
||||
<p><b>ratio:</b>>16/9 {"finds panoramas"|translate}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-item-tip">
|
||||
{"Searches photos by width/height ratio."|translate}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* hits: *}
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>hits:</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p><b>hits:</b>>1000 {"return photos with at least 1,000 views"|translate}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-item-tip">
|
||||
<p>{"Searches for photos by number of views."|translate}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* score: rating:*}
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>score:</p>
|
||||
<p>rating:</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p><b>score:</b>* {"will give you all photos with at least one note."|translate}</p>
|
||||
<p><b>score:</b> {"will give you photos without notes."|translate}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-item-tip">
|
||||
<p>{"Searches photos by rating."|translate}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* filesize: *}
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>filesize:</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p><b>filesize:</b>1m..10m {"finds files between 1MB and 10MB."|translate}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-item-tip">
|
||||
{"Searches photos by file size."|translate}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* id: *}
|
||||
<div class="quick-search-item">
|
||||
<div class="quick-search-item-info">
|
||||
<div class="quick-search-item-type">
|
||||
<p>id:</p>
|
||||
</div>
|
||||
<div class="quick-search-item-example">
|
||||
<p><b>id:</b>123..126
|
||||
{"finds photo 123 to 126 (it may find between 0 and 4 photos, because photos can be deleted)"|translate}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="quick-search-item-tip">
|
||||
{"Searches photos by its numeric identifier in Piwigo."|translate}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user