@@ -261,14 +261,14 @@ protected function output() {
261261 $ this ->targets ().
262262 $ this ->times ().
263263 $ this ->other ().
264- '<div class="submit_section px-5 "><input type="button" class="btn btn-primary" id="adv_search" value=" ' .$ this ->trans ('Search ' ).'" /> ' .
264+ '<div class="submit_section px-3 mb-3 "><input type="button" class="btn btn-primary" id="adv_search" value=" ' .$ this ->trans ('Search ' ).'" /> ' .
265265 ' <input class="btn btn-light border" type="button" class="adv_reset" value=" ' .$ this ->trans ('Reset ' ).'" /> ' ;
266266 }
267267
268268 protected function targets () {
269- return '<div data-target=".targets_section" class="settings_subtitle cursor-pointer px-3 py-2 "><i class="bi bi-file-earmark-fill me-2"></i> ' .$ this ->trans ('Targets ' ).
269+ return '<div data-target=".targets_section" class="settings_subtitle cursor-pointer px-3 py-2 mt-3 "><i class="bi bi-file-earmark-fill me-2"></i> ' .$ this ->trans ('Targets ' ).
270270 '<span class="target_count"> ' .sprintf ($ this ->trans ('targets: %d ' ), 0 ).'</span></div> ' .
271- '<div class="targets_section mx-5 py-4 "><div class="col-lg-6 col-12" id="adv_target"><table class="adv_targets table table-borderless"><tr><th> ' .
271+ '<div class="targets_section mx-5 py-1 "><div class="col-lg-6 col-12" id="adv_target"><table class="adv_targets table table-borderless"><tr><th> ' .
272272 '<input type="radio" value="TEXT" id="adv_msg" class="target_radio form-check-input" checked="checked" ' .
273273 'name="target_type" /><label class="form-check-label ms-2" for="adv_msg"> ' .$ this ->trans ('Entire message ' ).'</label></th> ' .
274274 '<th><input type="radio" class="target_radio form-check-input" value="BODY" name="target_type" id="adv_body" ' .
@@ -286,7 +286,7 @@ protected function terms() {
286286 return '<div data-target=".terms_section" class="settings_subtitle cursor-pointer px-3 py-2 mt-3"> ' .
287287 '<i class="bi bi-search me-2"></i> ' .$ this ->trans ('Terms ' ).
288288 '<span class="term_count"> ' .sprintf ($ this ->trans ('terms: %d ' ), 0 ).'</span></div> ' .
289- '<div class="terms_section mx-5 py-4 "> ' .
289+ '<div class="terms_section mx-5 py-1 "> ' .
290290 '<div class="d-flex align-items-center"><span id="adv_term_not" class="adv_term_nots"><input type="checkbox" class="form-check-input" value="not" id="adv_term_not" /> !</span> ' .
291291 '<input class="adv_terms form-control w-auto" id="adv_term" type="text" /><i class="bi bi-plus-circle new_term cursor-pointer ms-3"></i></div></div> ' ;
292292 }
@@ -296,25 +296,25 @@ protected function times() {
296296 $ from_date = date ("Y-m-d " , $ from_time );
297297 $ to_time = strtotime ("+1 day " , time ());
298298 $ to_date = date ("Y-m-d " , $ to_time );
299- return '<div data-target=".time_section" class="settings_subtitle cursor-pointer px-3 py-2 "><i class="bi bi-calendar3-week-fill me-2"></i> ' .$ this ->trans ('Time ' ).
299+ return '<div data-target=".time_section" class="settings_subtitle cursor-pointer px-3 py-2 mt-3 "><i class="bi bi-calendar3-week-fill me-2"></i> ' .$ this ->trans ('Time ' ).
300300 '<span class="time_count"> ' .sprintf ($ this ->trans ('time ranges: %d ' ), 0 ).'</span></div> ' .
301- '<div class="time_section mx-5 py-4 "><span id="adv_time" class="adv_times d-flex align-items-center gap-2"> ' .$ this ->trans ('From ' ).
301+ '<div class="time_section mx-5 py-1 "><span id="adv_time" class="adv_times d-flex align-items-center gap-2"> ' .$ this ->trans ('From ' ).
302302 ' <input class="adv_time_fld_from form-control w-auto" type="date" value=" ' .$ this ->html_safe ($ from_date ).
303303 '" /> ' .$ this ->trans ('To ' ).' <input class="adv_time_fld_to form-control w-auto" type="date" value=" ' .
304304 $ this ->html_safe ($ to_date ).'" /></span><i class="bi bi-plus-circle new_time cursor-pointer"></i></div> ' ;
305305 }
306306
307307 protected function sources () {
308- return '<div data-target=".source_section" class="settings_subtitle cursor-pointer px-3 py-2 "><i class="bi bi-folder-fill me-2"></i> ' .$ this ->trans ('Sources ' ).
308+ return '<div data-target=".source_section" class="settings_subtitle cursor-pointer px-3 py-2 mt-3 "><i class="bi bi-folder-fill me-2"></i> ' .$ this ->trans ('Sources ' ).
309309 '<span class="source_count"> ' .sprintf ($ this ->trans ('sources: %d ' ), 0 ).'</span></div> ' .
310- '<div class="source_section mx-5 py-4 "> ' .$ this ->trans ('IMAP ' ).' <i class="bi bi-plus-circle adv_folder_select cursor-pointer"></i><br /><div ' .
310+ '<div class="source_section mx-5 py-1 "> ' .$ this ->trans ('IMAP ' ).' <i class="bi bi-plus-circle adv_folder_select cursor-pointer"></i><br /><div ' .
311311 'class="adv_folder_list"></div><div class="adv_source_list"></div></div> ' ;
312312 }
313313
314314 protected function other () {
315- return '<div data-target=".other_section" class="settings_subtitle cursor-pointer px-3 py-2 "><i class="bi bi-gear-fill me-2"></i> ' .$ this ->trans ('Other ' ).
315+ return '<div data-target=".other_section" class="settings_subtitle cursor-pointer px-3 py-2 mt-3 "><i class="bi bi-gear-fill me-2"></i> ' .$ this ->trans ('Other ' ).
316316 '<span class="other_count"> ' .sprintf ($ this ->trans ('other settings: %d ' ), 0 ).'</span></div> ' .
317- '<div class="other_section mx-5 py-4 "><div class="col-lg-6 col-12"><table class="table table-borderless"><tr><th> ' .$ this ->trans ('Character set ' ).'</th><td><select class="charset form-select w-auto"> ' .
317+ '<div class="other_section mx-5 py-1 mb-3 "><div class="col-lg-6 col-12"><table class="table table-borderless"><tr><th> ' .$ this ->trans ('Character set ' ).'</th><td><select class="charset form-select w-auto"> ' .
318318 '<option value=""> ' .$ this ->trans ('Default ' ).'</option><option value="UTF-8">UTF-8</option> ' .
319319 '<option value="ASCII">ASCII</option></select></td></tr><tr><th> ' .$ this ->trans ('Results per source ' ).'</th> ' .
320320 '<td><input type="number" value="100" class="adv_source_limit form-control" /></td></tr><tr><th> ' .$ this ->trans ('Flags ' ).'</th><td> ' .
0 commit comments