batch manager, search help tips: switch to popin instead of popup

This commit is contained in:
plegall
2023-09-29 18:18:13 +02:00
parent 689b31f87d
commit ac1daad2da
@@ -1,5 +1,5 @@
{include file='include/datepicker.inc.tpl' load_mode='async'}
{include file='include/colorbox.inc.tpl' load_mode='async'}
{include file='include/colorbox.inc.tpl' load_mode='footer'}
{include file='include/add_album.inc.tpl' load_mode='async'}
{combine_script id='common' load='footer' path='admin/themes/default/js/common.js'}
@@ -80,6 +80,8 @@ var selectedMessage_none = "{'No photo selected, %d photos in current set'|@tran
var selectedMessage_all = "{'All %d photos are selected'|@translate}";
$(document).ready(function() {
jQuery('.help-popin-search').colorbox({ width:"600px" });
function checkPermitAction() {
var nbSelected = 0;
if ($("input[name=setSelected]").is(':checked')) {
@@ -493,7 +495,7 @@ var sliders = {
<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" onclick="popuphelp(this.href);return false;" title="{'Help'|@translate}"><span class="icon-help-circled">{'Search tips'|translate}</span></a>
<a href="admin/popuphelp.php?page=quick_search&amp;output=content_only" title="{'Help'|@translate}" class="help-popin-search"><span class="icon-help-circled">{'Search tips'|translate}</span></a>
{combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'}
{if (isset($no_search_results))}
<div>{'No results for'|@translate} :