Version Description
- Fixed: Styles on Twenty Seventeen theme.
- Fixed: Conflict with lazy load in albums views.
- Fixed: Google fonts bad request.
- Fixed: Tag in gallery box url.
- Fixed: German translation (Thanks to Hans-Jurgen Stephan).
- Fixed: Tag pages display bug.
- Fixed: Upload only images zip.
- Fixed: Show galleries in pages loaded with ajax.
- Fixed: Conflict with "All in One SEO Pack" plugin.
Download this release
Release Info
Developer | webdorado |
Plugin | Photo Gallery by WD – Responsive Photo Gallery |
Version | 1.3.22 |
Comparing to | |
See all releases |
Code changes from version 1.3.21 to 1.3.22
- css/bwg_frontend.css +5 -1
- filemanager/UploadHandler.php +32 -30
- filemanager/view.php +16 -17
- framework/WDWLibrary.php +11 -10
- frontend/models/BWGModelWidget.php +1 -1
- frontend/views/BWGViewAlbum_compact_preview.php +4 -8
- frontend/views/BWGViewAlbum_extended_preview.php +2 -2
- frontend/views/BWGViewGalleryBox.php +1 -1
- frontend/views/BWGViewImage_browser.php +1 -1
- frontend/views/BWGViewThumbnails.php +1 -1
- js/bwg_frontend.js +11 -3
- languages/bwg-de_DE.mo +0 -0
- languages/bwg-de_DE.po +27 -27
- photo-gallery.php +9 -9
- readme.txt +12 -1
css/bwg_frontend.css
CHANGED
@@ -3,6 +3,10 @@ div[id^="bwg_container"] p {
|
|
3 |
margin: 0 !important;
|
4 |
}
|
5 |
|
|
|
|
|
|
|
|
|
6 |
div[id^="bwg_container"] .SumoSelect > .CaptionCont,
|
7 |
div[id^="bwg_container"] .SumoSelect:focus > .CaptionCont,
|
8 |
div[id^="bwg_container"] .SumoSelect:hover > .CaptionCont,
|
@@ -47,7 +51,7 @@ div[id^="bwg_container"] .SumoSelect.open > .CaptionCont {
|
|
47 |
|
48 |
div[id^="bwg_container"] a {
|
49 |
border: none;
|
50 |
-
box-shadow: none;
|
51 |
outline: none;
|
52 |
font-size: 0;
|
53 |
cursor: pointer;
|
3 |
margin: 0 !important;
|
4 |
}
|
5 |
|
6 |
+
div[id^="bwg_container"] img {
|
7 |
+
box-shadow: none !important;
|
8 |
+
}
|
9 |
+
|
10 |
div[id^="bwg_container"] .SumoSelect > .CaptionCont,
|
11 |
div[id^="bwg_container"] .SumoSelect:focus > .CaptionCont,
|
12 |
div[id^="bwg_container"] .SumoSelect:hover > .CaptionCont,
|
51 |
|
52 |
div[id^="bwg_container"] a {
|
53 |
border: none;
|
54 |
+
box-shadow: none !important;
|
55 |
outline: none;
|
56 |
font-size: 0;
|
57 |
cursor: pointer;
|
filemanager/UploadHandler.php
CHANGED
@@ -605,35 +605,37 @@ class bwg_UploadHandler {
|
|
605 |
}
|
606 |
|
607 |
protected function handle_zip_file($file_path, $file) {
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
|
|
|
|
637 |
|
638 |
protected function handle_directory($target_dir) {
|
639 |
$extracted_files = scandir($target_dir);
|
@@ -753,7 +755,7 @@ class bwg_UploadHandler {
|
|
753 |
$this->handle_image_file($file_path, $file);
|
754 |
}
|
755 |
else {
|
756 |
-
$this->handle_zip_file($file_path, $file);
|
757 |
}
|
758 |
}
|
759 |
else {
|
605 |
}
|
606 |
|
607 |
protected function handle_zip_file($file_path, $file) {
|
608 |
+
$zip = new ZipArchive;
|
609 |
+
$res = $zip->open($file_path);
|
610 |
+
if ($res === TRUE) {
|
611 |
+
$allow_extract = true;
|
612 |
+
for($i = 0; $i < $zip->numFiles; $i++) {
|
613 |
+
$OnlyFileName = $zip->getNameIndex($i);
|
614 |
+
$FullFileName = $zip->statIndex($i);
|
615 |
+
if (!($FullFileName['name'][strlen($FullFileName['name']) - 1] == "/")) {
|
616 |
+
if (!preg_match('#\.(gif|jpe?g|png|bmp|mp4|flv|webm|ogg|mp3|wav|pdf|ini|txt)$#i', $OnlyFileName)) {
|
617 |
+
$allow_extract = false;
|
618 |
+
}
|
619 |
+
}
|
620 |
+
}
|
621 |
+
if ($allow_extract) {
|
622 |
+
$target_dir = substr($file_path, 0, strlen($file_path) - 4);
|
623 |
+
if (!is_dir($target_dir)) {
|
624 |
+
mkdir($target_dir, 0777);
|
625 |
+
}
|
626 |
+
$zip->extractTo($target_dir);
|
627 |
+
}
|
628 |
+
else {
|
629 |
+
$file->error = 'Zip file should contain only image files.';
|
630 |
+
}
|
631 |
+
$zip->close();
|
632 |
+
if ($allow_extract) {
|
633 |
+
$this->handle_directory($target_dir);
|
634 |
+
}
|
635 |
+
}
|
636 |
+
unlink($file_path);
|
637 |
+
return $file->error;
|
638 |
+
}
|
639 |
|
640 |
protected function handle_directory($target_dir) {
|
641 |
$extracted_files = scandir($target_dir);
|
755 |
$this->handle_image_file($file_path, $file);
|
756 |
}
|
757 |
else {
|
758 |
+
$file->error = $this->handle_zip_file($file_path, $file);
|
759 |
}
|
760 |
}
|
761 |
else {
|
filemanager/view.php
CHANGED
@@ -416,7 +416,7 @@ class FilemanagerView {
|
|
416 |
onBtnBackClick();
|
417 |
},
|
418 |
done: function (e, data) {
|
419 |
-
jQuery.each(data.files, function (index, file) {
|
420 |
if (file.error) {
|
421 |
alert(errorLoadingFile + ' :: ' + file.error);
|
422 |
}
|
@@ -447,22 +447,21 @@ class FilemanagerView {
|
|
447 |
</div>
|
448 |
</div>
|
449 |
</div>
|
450 |
-
|
451 |
-
<input type="hidden" name="
|
452 |
-
<input type="hidden" name="
|
453 |
-
<input type="hidden" name="
|
454 |
-
<input type="hidden" name="
|
455 |
-
<input type="hidden" name="
|
456 |
-
<input type="hidden" name="
|
457 |
-
<input type="hidden" name="
|
458 |
-
<input type="hidden" name="
|
459 |
-
<input type="hidden" name="
|
460 |
-
<input type="hidden" name="
|
461 |
-
<input type="hidden" name="
|
462 |
-
<input type="hidden" name="
|
463 |
-
<input type="hidden" name="
|
464 |
-
<input type="hidden" name="
|
465 |
-
<input type="hidden" name="clipboard_dest" value="<?php echo $clipboard_dest; ?>"/>
|
466 |
</form>
|
467 |
<?php
|
468 |
include_once (WD_BWG_DIR .'/includes/bwg_pointers.php');
|
416 |
onBtnBackClick();
|
417 |
},
|
418 |
done: function (e, data) {
|
419 |
+
jQuery.each(data.result.files, function (index, file) {
|
420 |
if (file.error) {
|
421 |
alert(errorLoadingFile + ' :: ' + file.error);
|
422 |
}
|
447 |
</div>
|
448 |
</div>
|
449 |
</div>
|
450 |
+
<input type="hidden" name="task" value="" />
|
451 |
+
<input type="hidden" name="extensions" value="<?php echo (isset($_REQUEST['extensions']) ? esc_html($_REQUEST['extensions']) : '*'); ?>" />
|
452 |
+
<input type="hidden" name="callback" value="<?php echo (isset($_REQUEST['callback']) ? esc_html($_REQUEST['callback']) : ''); ?>" />
|
453 |
+
<input type="hidden" name="sort_by" value="<?php echo $sort_by; ?>" />
|
454 |
+
<input type="hidden" name="sort_order" value="<?php echo $sort_order; ?>" />
|
455 |
+
<input type="hidden" name="items_view" value="<?php echo $items_view; ?>" />
|
456 |
+
<input type="hidden" name="dir" value="<?php echo (isset($_REQUEST['dir']) ? str_replace('\\', '', ($_REQUEST['dir'])) : ''); ?>" />
|
457 |
+
<input type="hidden" name="file_names" value="" />
|
458 |
+
<input type="hidden" name="file_namesML" value="" />
|
459 |
+
<input type="hidden" name="file_new_name" value="" />
|
460 |
+
<input type="hidden" name="new_dir_name" value="" />
|
461 |
+
<input type="hidden" name="clipboard_task" value="<?php echo $clipboard_task; ?>" />
|
462 |
+
<input type="hidden" name="clipboard_files" value="<?php echo $clipboard_files; ?>" />
|
463 |
+
<input type="hidden" name="clipboard_src" value="<?php echo $clipboard_src; ?>" />
|
464 |
+
<input type="hidden" name="clipboard_dest" value="<?php echo $clipboard_dest; ?>" />
|
|
|
465 |
</form>
|
466 |
<?php
|
467 |
include_once (WD_BWG_DIR .'/includes/bwg_pointers.php');
|
framework/WDWLibrary.php
CHANGED
@@ -917,14 +917,7 @@ class WDWLibrary {
|
|
917 |
}
|
918 |
|
919 |
public static function get_google_fonts() {
|
920 |
-
$google_fonts = array('ABeeZee' => 'ABeeZee', 'Abel' => 'Abel', 'Abril Fatface' => 'Abril Fatface', 'Aclonica' => 'Aclonica', 'Acme' => 'Acme', 'Actor' => 'Actor', 'Adamina' => 'Adamina', 'Advent Pro' => 'Advent Pro', 'Aguafina Script' => 'Aguafina Script', 'Akronim' => 'Akronim', 'Aladin' => 'Aladin', 'Aldrich' => 'Aldrich', 'Alef' => 'Alef', 'Alegreya' => 'Alegreya', 'Alegreya SC' => 'Alegreya SC', 'Alegreya Sans' => 'Alegreya Sans', 'Alex Brush' => 'Alex Brush', 'Alfa Slab One' => 'Alfa Slab One', 'Alice' => 'Alice', 'Alike' => 'Alike', 'Alike Angular' => 'Alike Angular', 'Allan' => 'Allan', 'Allerta' => 'Allerta', 'Allerta Stencil' => 'Allerta Stencil', 'Allura' => 'Allura', 'Almendra' => 'Almendra', 'Almendra display' => 'Almendra Display', 'Almendra sc' => 'Almendra SC', 'Amarante' => 'Amarante', 'Amaranth' => 'Amaranth', 'Amatic sc' => 'Amatic SC', 'Amethysta' => 'Amethysta', 'Amiri' => 'Amiri', 'Amita' => 'Amita', 'Anaheim' => 'Anaheim', 'Andada' => 'Andada', 'Andika' => 'Andika', 'Angkor' => 'Angkor', 'Annie Use Your Telescope' => 'Annie Use Your Telescope', 'Anonymous Pro' => 'Anonymous Pro', 'Antic' => 'Antic', 'Antic Didone' => 'Antic Didone', 'Antic Slab' => 'Antic Slab', 'Anton' => 'Anton', 'Arapey' => 'Arapey', 'Arbutus' => 'Arbutus', 'Arbutus slab' => 'Arbutus Slab', 'Architects daughter' => 'Architects Daughter', 'Archivo black' => 'Archivo Black', 'Archivo narrow' => 'Archivo Narrow', 'Arimo' => 'Arimo', 'Arizonia' => 'Arizonia', 'Armata' => 'Armata', 'Artifika' => 'Artifika', 'Arvo' => 'Arvo', 'Arya' => 'Arya', 'Asap' => 'Asap', 'Asar' => 'Asar', 'Asset' => 'Asset', 'Astloch' => 'Astloch', 'Asul' => 'Asul', 'Atomic age' => 'Atomic Age', 'Aubrey' => 'Aubrey', 'Audiowide' => 'Audiowide', 'Autour one' => 'Autour One', 'Average' => 'Average', 'Average Sans' => 'Average Sans', 'Averia Gruesa Libre' => 'Averia Gruesa Libre', 'Averia Libre' => 'Averia Libre', 'Averia Sans Libre' => 'Averia Sans Libre', 'Averia Serif Libre' => 'Averia Serif Libre', 'Bad Script' => 'Bad Script', 'Balthazar' => 'Balthazar', 'Bangers' => 'Bangers', 'Basic' => 'Basic', 'Battambang' => 'Battambang', 'Baumans' => 'Baumans', 'Bayon' => 'Bayon', 'Belgrano' => 'Belgrano', 'BenchNine' => 'BenchNine', 'Bentham' => 'Bentham', 'Berkshire Swash' => 'Berkshire Swash', 'Bevan' => 'Bevan', 'Bigelow Rules' => 'Bigelow Rules', 'Bigshot One' => 'Bigshot One', 'Bilbo' => 'Bilbo', 'Bilbo Swash Caps' => 'Bilbo Swash Caps', 'Biryani' => 'Biryani', 'Bitter' => 'Bitter', 'Black Ops One' => 'Black Ops One', 'Bokor' => 'Bokor', 'Bonbon' => 'Bonbon', 'Boogaloo' => 'Boogaloo', 'Bowlby One' => 'Bowlby One', 'bowlby One SC' => 'Bowlby One SC', 'Brawler' => 'Brawler', 'Bree Serif' => 'Bree Serif', 'Bubblegum Sans' => 'Bubblegum Sans', 'Bubbler One' => 'Bubbler One', 'Buda' => 'Buda', 'Buda Light 300' => 'Buda Light 300', 'Buenard' => 'Buenard', 'Butcherman' => 'Butcherman', 'Butterfly Kids' => 'Butterfly Kids', 'Cabin' => 'Cabin', 'Cabin Condensed' => 'Cabin Condensed', 'Cabin Sketch' => 'Cabin Sketch', 'Caesar Dressing' => 'Caesar Dressing', 'Cagliostro' => 'Cagliostro', 'Calligraffitti' => 'Calligraffitti', 'Cambay' => 'Cambay', 'Cambo' => 'Cambo', 'Candal' => 'Candal', 'Cantarell' => 'Cantarell', 'Cantata One' => 'Cantata One', 'Cantora One' => 'Cantora One', 'Capriola' => 'Capriola', 'Cardo' => 'Cardo', 'Carme' => 'Carme', 'Carrois Gothic' => 'Carrois Gothic', 'Carrois Gothic SC' => 'Carrois Gothic SC', 'Carter One' => 'Carter One', 'Caudex' => 'Caudex', 'Caveat Brush' => 'Caveat Brush', 'Cedarville cursive' => 'Cedarville Cursive', 'Ceviche One' => 'Ceviche One', 'Changa One' => 'Changa One', 'Chango' => 'Chango', 'Chau philomene One' => 'Chau Philomene One', 'Chela One' => 'Chela One', 'Chelsea Market' => 'Chelsea Market', 'Chenla' => 'Chenla', 'Cherry Cream Soda' => 'Cherry Cream Soda', 'Chewy' => 'Chewy', 'Chicle' => 'Chicle', 'Chivo' => 'Chivo', 'Chonburi' => 'Chonburi', 'Cinzel' => 'Cinzel', 'Cinzel Decorative' => 'Cinzel Decorative', 'Clicker Script' => 'Clicker Script', 'Coda' => 'Coda', 'Coda Caption' => 'Coda Caption', 'Codystar' => 'Codyst
|
921 |
-
ar', 'Combo' => 'Combo', 'Comfortaa' => 'Comfortaa', 'Coming soon' => 'Coming Soon', 'Concert One' => 'Concert One', 'Condiment' => 'Condiment', 'Content' => 'Content', 'Contrail One' => 'Contrail One', 'Convergence' => 'Convergence', 'Cookie' => 'Cookie', 'Copse' => 'Copse', 'Corben' => 'Corben', 'Courgette' => 'Courgette', 'Cousine' => 'Cousine', 'Coustard' => 'Coustard', 'Covered By Your Grace' => 'Covered By Your Grace', 'Crafty Girls' => 'Crafty Girls', 'Creepster' => 'Creepster', 'Crete Round' => 'Crete Round', 'Crimson Text' => 'Crimson Text', 'Croissant One' => 'Croissant One', 'Crushed' => 'Crushed', 'Cuprum' => 'Cuprum', 'Cutive' => 'Cutive', 'Cutive Mono' => 'Cutive Mono', 'Damion' => 'Damion', 'Dancing Script' => 'Dancing Script', 'Dangrek' => 'Dangrek', 'Dawning of a New Day' => 'Dawning of a New Day', 'Days One' => 'Days One', 'Dekko' => 'Dekko', 'Delius' => 'Delius', 'Delius Swash Caps' => 'Delius Swash Caps', 'Delius Unicase' => 'Delius Unicase', 'Della Respira' => 'Della Respira', 'Denk One' => 'Denk One', 'Devonshire' => 'Devonshire', 'Dhurjati' => 'Dhurjati', 'Didact Gothic' => 'Didact Gothic', 'Diplomata' => 'Diplomata', 'Diplomata SC' => 'Diplomata SC', 'Domine' => 'Domine', 'Donegal One' => 'Donegal One', 'Doppio One' => 'Doppio One', 'Dorsa' => 'Dorsa', 'Dosis' => 'Dosis', 'Dr Sugiyama' => 'Dr Sugiyama', 'Droid Sans' => 'Droid Sans', 'Droid Sans Mono' => 'Droid Sans Mono', 'Droid Serif' => 'Droid Serif', 'Duru Sans' => 'Duru Sans', 'Dynalight' => 'Dynalight', 'Eb Garamond' => 'EB Garamond', 'Eagle Lake' => 'Eagle Lake', 'Eater' => 'Eater', 'Economica' => 'Economica', 'Eczar' => 'Eczar', 'Ek Mukta' => 'Ek Mukta', 'Electrolize' => 'Electrolize', 'Elsie' => 'Elsie', 'Elsie Swash Caps' => 'Elsie Swash Caps', 'Emblema One' => 'Emblema One', 'Emilys Candy' => 'Emilys Candy', 'Engagement' => 'Engagement', 'Englebert' => 'Englebert', 'Enriqueta' => 'Enriqueta', 'Erica One' => 'Erica One', 'Esteban' => 'Esteban', 'Euphoria Script' => 'Euphoria Script', 'Ewert' => 'Ewert', 'Exo' => 'Exo', 'Exo 2' => 'Exo 2', 'Expletus Sans' => 'Expletus Sans', 'Fanwood Text' => 'Fanwood Text', 'Fascinate' => 'Fascinate', 'Fascinate Inline' => 'Fascinate Inline', 'Faster One' => 'Faster One', 'Fasthand' => 'Fasthand', 'Fauna One' => 'Fauna One', 'Federant' => 'Federant', 'Federo' => 'Federo', 'Felipa' => 'Felipa', 'Fenix' => 'Fenix', 'Finger Paint' => 'Finger Paint', 'Fira Mono' => 'Fira Mono', 'Fjalla One' => 'Fjalla One', 'Fjord One' => 'Fjord One', 'Flamenco' => 'Flamenco', 'Flavors' => 'Flavors', 'Fondamento' => 'Fondamento', 'Fontdiner swanky' => 'Fontdiner Swanky', 'Forum' => 'Forum', 'Francois One' => 'Francois One', 'Freckle Face' => 'Freckle Face', 'Fredericka the Great' => 'Fredericka the Great', 'Fredoka One' => 'Fredoka One', 'Freehand' => 'Freehand', 'Fresca' => 'Fresca', 'Frijole' => 'Frijole', 'Fruktur' => 'Fruktur', 'Fugaz One' => 'Fugaz One', 'GFS Didot' => 'GFS Didot', 'GFS Neohellenic' => 'GFS Neohellenic', 'Gabriela' => 'Gabriela', 'Gafata' => 'Gafata', 'Galdeano' => 'Galdeano', 'Galindo' => 'Galindo', 'Gentium Basic' => 'Gentium Basic', 'Gentium Book Basic' => 'Gentium Book Basic', 'Geo' => 'Geo', 'Geostar' => 'Geostar', 'Geostar Fill' => 'Geostar Fill', 'Germania One' => 'Germania One', 'Gidugu' => 'Gidugu', 'Gilda Display' => 'Gilda Display', 'Give You Glory' => 'Give You Glory', 'Glass Antiqua' => 'Glass Antiqua', 'Glegoo' => 'Glegoo', 'Gloria Hallelujah' => 'Gloria Hallelujah', 'Goblin One' => 'Goblin One', 'Gochi Hand' => 'Gochi Hand', 'Gorditas' => 'Gorditas', 'Goudy Bookletter 1911' => 'Goudy Bookletter 1911', 'Graduate' => 'Graduate', 'Grand Hotel' => 'Grand Hotel', 'Gravitas One' => 'Gravitas One', 'Great Vibes' => 'Great Vibes', 'Griffy' => 'Griffy', 'Gruppo' => 'Gruppo', 'Gudea' => 'Gudea', 'Gurajada' => 'Gurajada', 'Habibi' => 'Habibi', 'Halant' => 'Halant', 'Hammersmith One' => 'Hammersmith One', 'Hanalei' => 'Hanalei', 'Hanalei Fill' => 'Hanalei Fill', 'Handlee' => 'Handlee', 'Hanuman' => 'Hanuman', 'Happy Monkey' => 'Happy Monkey', 'Headland One' => 'Headland One', 'Henny Penny' => 'Henny P
|
922 |
-
|
923 |
-
enny', 'Herr Von Muellerhoff' => 'Herr Von Muellerhoff', 'Hind' => 'Hind', 'Holtwood One SC' => 'Holtwood One SC', 'Homemade Apple' => 'Homemade Apple', 'Homenaje' => 'Homenaje', 'IM Fell DW Pica' => 'IM Fell DW Pica', 'IM Fell DW Pica SC' => 'IM Fell DW Pica SC', 'IM Fell Double Pica' => 'IM Fell Double Pica', 'IM Fell Double Pica SC' => 'IM Fell Double Pica SC', 'IM Fell English' => 'IM Fell English', 'IM Fell English SC' => 'IM Fell English SC', 'IM Fell French Canon' => 'IM Fell French Canon', 'IM Fell French Canon SC' => 'IM Fell French Canon SC', 'IM Fell Great Primer' => 'IM Fell Great Primer', 'IM Fell Great Primer SC' => 'IM Fell Great Primer SC', 'Iceberg' => 'Iceberg', 'Iceland' => 'Iceland', 'Imprima' => 'Imprima', 'Inconsolata' => 'Inconsolata', 'Inder' => 'Inder', 'Indie Flower' => 'Indie Flower', 'Inika' => 'Inika', 'Inknut Antiqua' => 'Inknut Antiqua', 'Irish Grover' => 'Irish Grover', 'Istok Web' => 'Istok Web', 'Italiana' => 'Italiana', 'Italianno' => 'Italianno', 'Itim' => 'Itim', 'Jacques Francois' => 'Jacques Francois', 'Jacques Francois Shadow' => 'Jacques Francois Shadow', 'Jaldi' => 'Jaldi', 'Jim Nightshade' => 'Jim Nightshade', 'Jockey One' => 'Jockey One', 'Jolly Lodger' => 'Jolly Lodger', 'Josefin Sans' => 'Josefin Sans', 'Josefin Slab' => 'Josefin Slab', 'Joti One' => 'Joti One', 'Judson' => 'Judson', 'Julee' => 'Julee', 'Julius Sans One' => 'Julius Sans One', 'Junge' => 'Junge', 'Jura' => 'Jura', 'Just Another Hand' => 'Just Another Hand', 'Just Me Again Down Here' => 'Just Me Again Down Here', 'Kadwa' => 'Kadwa', 'Kameron' => 'Kameron', 'Kanit' => 'Kanit', 'Karla' => 'Karla', 'Kaushan Script' => 'Kaushan Script', 'Kavoon' => 'Kavoon', 'Keania One' => 'Keania One', 'kelly Slab' => 'Kelly Slab', 'Kenia' => 'Kenia', 'Khand' => 'Khand', 'Khmer' => 'Khmer', 'Khula' => 'Khula', 'Kite One' => 'Kite One', 'Knewave' => 'Knewave', 'Kotta One' => 'Kotta One', 'Koulen' => 'Koulen', 'Kranky' => 'Kranky', 'Kreon' => 'Kreon', 'Kristi' => 'Kristi', 'Krona One' => 'Krona One', 'Kurale' => 'Kurale', 'La Belle Aurore' => 'La Belle Aurore', 'Laila' => 'Laila', 'Lakki Reddy' => 'Lakki Reddy', 'Lancelot' => 'Lancelot', 'Lateef' => 'Lateef', 'Lato' => 'Lato', 'League Script' => 'League Script', 'Leckerli One' => 'Leckerli One', 'Ledger' => 'Ledger', 'Lekton' => 'Lekton', 'Lemon' => 'Lemon', 'Libre Baskerville' => 'Libre Baskerville', 'Life Savers' => 'Life Savers', 'Lilita One' => 'Lilita One', 'Lily Script One' => 'Lily Script One', 'Limelight' => 'Limelight', 'Linden Hill' => 'Linden Hill', 'Lobster' => 'Lobster', 'Lobster Two' => 'Lobster Two', 'Londrina Outline' => 'Londrina Outline', 'Londrina Shadow' => 'Londrina Shadow', 'Londrina Sketch' => 'Londrina Sketch', 'Londrina Solid' => 'Londrina Solid', 'Lora' => 'Lora', 'Love Ya Like A Sister' => 'Love Ya Like A Sister', 'Loved by the King' => 'Loved by the King', 'Lovers Quarrel' => 'Lovers Quarrel', 'Luckiest Guy' => 'Luckiest Guy', 'Lusitana' => 'Lusitana', 'Lustria' => 'Lustria', 'Macondo' => 'Macondo', 'Macondo Swash Caps' => 'Macondo Swash Caps', 'Magra' => 'Magra', 'Maiden Orange' => 'Maiden Orange', 'Mako' => 'Mako', 'Mandali' => 'Mandali', 'Marcellus' => 'Marcellus', 'Marcellus SC' => 'Marcellus SC', 'Marck Script' => 'Marck Script', 'Margarine' => 'Margarine', 'Marko One' => 'Marko One', 'Marmelad' => 'Marmelad', 'Martel' => 'Martel', 'Martel Sans' => 'Martel Sans', 'Marvel' => 'Marvel', 'Mate' => 'Mate', 'Mate SC' => 'Mate SC', 'Maven Pro' => 'Maven Pro', 'McLaren' => 'McLaren', 'Meddon' => 'Meddon', 'MedievalSharp' => 'MedievalSharp', 'Medula One' => 'Medula One', 'Megrim' => 'Megrim', 'Meie Script' => 'Meie Script', 'Merienda' => 'Merienda', 'Merienda One' => 'Merienda One', 'Merriweather' => 'Merriweather', 'Merriweather Sans' => 'Merriweather Sans', 'Metal' => 'Metal', 'Metal mania' => 'Metal Mania', 'Metamorphous' => 'Metamorphous', 'Metrophobic' => 'Metrophobic', 'Michroma' => 'Michroma', 'Milonga' => 'Milonga', 'Miltonian' => 'Miltonian', 'Miltonian Tattoo' => 'Miltonian Tattoo', 'Miniver' =>
|
924 |
-
'Miniver', 'Miss Fajardose' => 'Miss Fajardose', 'Modak' => 'Modak', 'Modern Antiqua' => 'Modern Antiqua', 'Molengo' => 'Molengo', 'Molle' => 'Molle:400i', 'Monda' => 'Monda', 'Monofett' => 'Monofett', 'Monoton' => 'Monoton', 'Monsieur La Doulaise' => 'Monsieur La Doulaise', 'Montaga' => 'Montaga', 'Montez' => 'Montez', 'Montserrat' => 'Montserrat', 'Montserrat Alternates' => 'Montserrat Alternates', 'Montserrat Subrayada' => 'Montserrat Subrayada', 'Moul' => 'Moul', 'Moulpali' => 'Moulpali', 'Mountains of Christmas' => 'Mountains of Christmas', 'Mouse Memoirs' => 'Mouse Memoirs', 'Mr Bedfort' => 'Mr Bedfort', 'Mr Dafoe' => 'Mr Dafoe', 'Mr De Haviland' => 'Mr De Haviland', 'Mrs Saint Delafield' => 'Mrs Saint Delafield', 'Mrs Sheppards' => 'Mrs Sheppards', 'Muli' => 'Muli', 'Mystery Quest' => 'Mystery Quest', 'NTR' => 'NTR', 'Neucha' => 'Neucha', 'Neuton' => 'Neuton', 'New Rocker' => 'New Rocker', 'News Cycle' => 'News Cycle', 'Niconne' => 'Niconne', 'Nixie One' => 'Nixie One', 'Nobile' => 'Nobile', 'Nokora' => 'Nokora', 'Norican' => 'Norican', 'Nosifer' => 'Nosifer', 'Nothing You Could Do' => 'Nothing You Could Do', 'Noticia Text' => 'Noticia Text', 'Noto Sans' => 'Noto Sans', 'Noto Serif' => 'Noto Serif', 'Nova Cut' => 'Nova Cut', 'Nova Flat' => 'Nova Flat', 'Nova Mono' => 'Nova Mono', 'Nova Oval' => 'Nova Oval', 'Nova Round' => 'Nova Round', 'Nova Script' => 'Nova Script', 'Nova Slim' => 'Nova Slim', 'Nova Square' => 'Nova Square', 'Numans' => 'Numans', 'Nunito' => 'Nunito', 'Odor Mean Chey' => 'Odor Mean Chey', 'Offside' => 'Offside', 'Old standard tt' => 'Old Standard TT', 'Oldenburg' => 'Oldenburg', 'Oleo Script' => 'Oleo Script', 'Oleo Script Swash Caps' => 'Oleo Script Swash Caps', 'Open Sans' => 'Open Sans', 'Open Sans Condensed' => 'Open Sans Condensed:300', 'Oranienbaum' => 'Oranienbaum', 'Orbitron' => 'Orbitron', 'Oregano' => 'Oregano', 'Orienta' => 'Orienta', 'Original Surfer' => 'Original Surfer', 'Oswald' => 'Oswald', 'Over the Rainbow' => 'Over the Rainbow', 'Overlock' => 'Overlock', 'Overlock SC' => 'Overlock SC', 'Ovo' => 'Ovo', 'Oxygen' => 'Oxygen', 'Oxygen Mono' => 'Oxygen Mono', 'PT Mono' => 'PT Mono', 'PT Sans' => 'PT Sans', 'PT Sans Caption' => 'PT Sans Caption', 'PT Sans Narrow' => 'PT Sans Narrow', 'PT Serif' => 'PT Serif', 'PT Serif Caption' => 'PT Serif Caption', 'Pacifico' => 'Pacifico', 'Palanquin' => 'Palanquin', 'Palanquin Dark' => 'Palanquin Dark', 'Paprika' => 'Paprika', 'Parisienne' => 'Parisienne', 'Passero One' => 'Passero One', 'Passion One' => 'Passion One', 'Pathway Gothic One' => 'Pathway Gothic One', 'Patrick Hand' => 'Patrick Hand', 'Patrick Hand SC' => 'Patrick Hand SC', 'Patua One' => 'Patua One', 'Paytone One' => 'Paytone One', 'Peddana' => 'Peddana', 'Peralta' => 'Peralta', 'Permanent Marker' => 'Permanent Marker', 'Petit Formal Script' => 'Petit Formal Script', 'Petrona' => 'Petrona', 'Philosopher' => 'Philosopher', 'Piedra' => 'Piedra', 'Pinyon Script' => 'Pinyon Script', 'Pirata One' => 'Pirata One', 'Plaster' => 'Plaster', 'Play' => 'Play', 'Playball' => 'Playball', 'Playfair Display' => 'Playfair Display', 'Playfair Display SC' => 'Playfair Display SC', 'Podkova' => 'Podkova', 'Poiret One' => 'Poiret One', 'Poller One' => 'Poller One', 'Poly' => 'Poly', 'Pompiere' => 'Pompiere', 'Pontano Sans' => 'Pontano Sans', 'Poppins' => 'Poppins', 'Port Lligat Sans' => 'Port Lligat Sans', 'Port Lligat Slab' => 'Port Lligat Slab', 'Pragati Narrow' => 'Pragati Narrow', 'Prata' => 'Prata', 'Preahvihear' => 'Preahvihear', 'Press start 2P' => 'Press Start 2P', 'Princess Sofia' => 'Princess Sofia', 'Prociono' => 'Prociono', 'Prosto One' => 'Prosto One', 'Puritan' => 'Puritan', 'Purple Purse' => 'Purple Purse', 'Quando' => 'Quando', 'Quantico' => 'Quantico', 'Quattrocento' => 'Quattrocento', 'Quattrocento Sans' => 'Quattrocento Sans', 'Questrial' => 'Questrial', 'Quicksand' => 'Quicksand', 'Quintessential' => 'Quintessential', 'Qwigley' => 'Qwigley', 'Racing sans One' => 'Racing Sans One', 'Radley' => 'Radley', 'Rajdhani' => 'Rajdhani', 'Raleway' => 'Raleway', 'Ral
|
925 |
-
eway Dots' => 'Raleway Dots', 'Ramabhadra' => 'Ramabhadra', 'Ramaraja' => 'Ramaraja', 'Rambla' => 'Rambla', 'Rammetto One' => 'Rammetto One', 'Ranchers' => 'Ranchers', 'Rancho' => 'Rancho', 'Ranga' => 'Ranga', 'Rationale' => 'Rationale', 'Ravi Prakash' => 'Ravi Prakash', 'Redressed' => 'Redressed', 'Reenie Beanie' => 'Reenie Beanie', 'Revalia' => 'Revalia', 'Rhodium Libre' => 'Rhodium Libre', 'Ribeye' => 'Ribeye', 'Ribeye Marrow' => 'Ribeye Marrow', 'Righteous' => 'Righteous', 'Risque' => 'Risque', 'Roboto' => 'Roboto', 'Roboto Condensed' => 'Roboto Condensed', 'Roboto Mono' => 'Roboto Mono', 'Roboto Slab' => 'Roboto Slab', 'Rochester' => 'Rochester', 'Rock Salt' => 'Rock Salt', 'Rokkitt' => 'Rokkitt', 'Romanesco' => 'Romanesco', 'Ropa Sans' => 'Ropa Sans', 'Rosario' => 'Rosario', 'Rosarivo' => 'Rosarivo', 'Rouge Script' => 'Rouge Script', 'Rozha One' => 'Rozha One', 'Rubik' => 'Rubik', 'Rubik Mono One' => 'Rubik Mono One', 'Rubik One' => 'Rubik One', 'Ruda' => 'Ruda', 'Rufina' => 'Rufina', 'Ruge Boogie' => 'Ruge Boogie', 'Ruluko' => 'Ruluko', 'Rum Raisin' => 'Rum Raisin', 'Ruslan Display' => 'Ruslan Display', 'Russo One' => 'Russo One', 'Ruthie' => 'Ruthie', 'Rye' => 'Rye', 'Sacramento' => 'Sacramento', 'Sahitya' => 'Sahitya', 'Sail' => 'Sail', 'Salsa' => 'Salsa', 'Sanchez' => 'Sanchez', 'Sancreek' => 'Sancreek', 'Sansita One' => 'Sansita One', 'Sarina' => 'Sarina', 'Sarpanch' => 'Sarpanch', 'Satisfy' => 'Satisfy', 'Scada' => 'Scada', 'Schoolbell' => 'Schoolbell', 'Seaweed Script' => 'Seaweed Script', 'Sevillana' => 'Sevillana', 'Seymour One' => 'Seymour One', 'Shadows Into Light' => 'Shadows Into Light', 'Shadows Into Light Two' => 'Shadows Into Light Two', 'Shanti' => 'Shanti', 'Share' => 'Share', 'Share Tech' => 'Share Tech', 'Share Tech Mono' => 'Share Tech Mono', 'Shojumaru' => 'Shojumaru', 'Short Stack' => 'Short Stack', 'Siemreap' => 'Siemreap', 'Sigmar One' => 'Sigmar One', 'Signika' => 'Signika', 'Signika Negative' => 'Signika Negative', 'Simonetta' => 'Simonetta', 'Sintony' => 'Sintony', 'Sirin Stencil' => 'Sirin Stencil', 'Six Caps' => 'Six Caps', 'Skranji' => 'Skranji', 'Slabo 13px' => 'Slabo 13px', 'Slackey' => 'Slackey', 'Smokum' => 'Smokum', 'Smythe' => 'Smythe', 'Sniglet' => 'Sniglet', 'Snippet' => 'Snippet', 'Snowburst One' => 'Snowburst One', 'Sofadi One' => 'Sofadi One', 'Sofia' => 'Sofia', 'Sonsie One' => 'Sonsie One', 'Sorts Mill Goudy' => 'Sorts Mill Goudy', 'Source Code Pro' => 'Source Code Pro', 'Source Sans Pro' => 'Source Sans Pro', 'Source Serif Pro' => 'Source Serif Pro', 'Special Elite' => 'Special Elite', 'Spicy Rice' => 'Spicy Rice', 'Spinnaker' => 'Spinnaker', 'Spirax' => 'Spirax', 'Squada One' => 'Squada One', 'Sree Krushnadevaraya' => 'Sree Krushnadevaraya', 'Stalemate' => 'Stalemate', 'Stalinist One' => 'Stalinist One', 'Stardos Stencil' => 'Stardos Stencil', 'Stint Ultra Condensed' => 'Stint Ultra Condensed', 'Stint Ultra Expanded' => 'Stint Ultra Expanded', 'Stoke' => 'Stoke', 'Strait' => 'Strait', 'Sue Ellen Francisco' => 'Sue Ellen Francisco', 'Sumana' => 'Sumana', 'Sunshiney' => 'Sunshiney', 'Supermercado One' => 'Supermercado One', 'Sura' => 'Sura', 'Suranna' => 'Suranna', 'Suravaram' => 'Suravaram', 'Suwannaphum' => 'Suwannaphum', 'Swanky and Moo Moo' => 'Swanky and Moo Moo', 'Syncopate' => 'Syncopate', 'Tangerine' => 'Tangerine', 'Taprom' => 'Taprom', 'Tauri' => 'Tauri', 'Teko' => 'Teko', 'Telex' => 'Telex', 'Tenali Ramakrishna' => 'Tenali Ramakrishna', 'Tenor Sans' => 'Tenor Sans', 'Text Me One' => 'Text Me One', 'The Girl Next Door' => 'The Girl Next Door', 'Tienne' => 'Tienne', 'Tillana' => 'Tillana', 'Timmana' => 'Timmana', 'Tinos' => 'Tinos', 'Titan One' => 'Titan One', 'Titillium Web' => 'Titillium Web', 'Trade Winds' => 'Trade Winds', 'Trocchi' => 'Trocchi', 'Trochut' => 'Trochut', 'Trykker' => 'Trykker', 'Tulpen One' => 'Tulpen One', 'Ubuntu' => 'Ubuntu', 'Ubuntu Condensed' => 'Ubuntu Condensed', 'Ubuntu Mono' => 'Ubuntu Mono', 'Ultra' => 'Ultra', 'Uncial Antiqua' => 'Uncial Antiqua', 'Underdog' => 'Underdog', 'Unica One' => 'Unica One', 'UnifrakturCook' => 'UnifrakturC
|
926 |
-
|
927 |
-
ook:700', 'UnifrakturMaguntia' => 'UnifrakturMaguntia', 'Unkempt' => 'Unkempt', 'Unlock' => 'Unlock', 'Unna' => 'Unna', 'VT323' => 'VT323', 'Vampiro One' => 'Vampiro One', 'Varela' => 'Varela', 'Varela Round' => 'Varela Round', 'Vast Shadow' => 'Vast Shadow', 'Vibur' => 'Vibur', 'Vidaloka' => 'Vidaloka', 'Viga' => 'Viga', 'Voces' => 'Voces', 'Volkhov' => 'Volkhov', 'Vollkorn' => 'Vollkorn', 'Voltaire' => 'Voltaire', 'Waiting for the sunrise' => 'Waiting for the Sunrise', 'Wallpoet' => 'Wallpoet', 'Walter Turncoat' => 'Walter Turncoat', 'Warnes' => 'Warnes', 'Wellfleet' => 'Wellfleet', 'Wendy One' => 'Wendy One', 'Wire One' => 'Wire One', 'Work Sans' => 'Work Sans', 'Yanone Kaffeesatz' => 'Yanone Kaffeesatz', 'Yantramanav' => 'Yantramanav', 'Yellowtail' => 'Yellowtail', 'Yeseva One' => 'Yeseva One', 'Yesteryear' => 'Yesteryear', 'Zeyada' => 'Zeyada');
|
928 |
return $google_fonts;
|
929 |
}
|
930 |
|
@@ -949,6 +942,9 @@ ook:700', 'UnifrakturMaguntia' => 'UnifrakturMaguntia', 'Unkempt' => 'Unkempt',
|
|
949 |
if ($from != '') {
|
950 |
$row->permalink = self::bwg_create_post($row->name, $row->slug, array("type" => "gallery", "mode" => $from), $id);
|
951 |
}
|
|
|
|
|
|
|
952 |
}
|
953 |
else {
|
954 |
$row = new stdClass();
|
@@ -1064,8 +1060,13 @@ ook:700', 'UnifrakturMaguntia' => 'UnifrakturMaguntia', 'Unkempt' => 'Unkempt',
|
|
1064 |
public static function get_album_row_data($id, $create_post) {
|
1065 |
global $wpdb;
|
1066 |
$row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bwg_album WHERE published=1 AND id="%d"', $id));
|
1067 |
-
if ($row
|
1068 |
-
|
|
|
|
|
|
|
|
|
|
|
1069 |
}
|
1070 |
return $row;
|
1071 |
}
|
917 |
}
|
918 |
|
919 |
public static function get_google_fonts() {
|
920 |
+
$google_fonts = array('ABeeZee' => 'ABeeZee', 'Abel' => 'Abel', 'Abril Fatface' => 'Abril Fatface', 'Aclonica' => 'Aclonica', 'Acme' => 'Acme', 'Actor' => 'Actor', 'Adamina' => 'Adamina', 'Advent Pro' => 'Advent Pro', 'Aguafina Script' => 'Aguafina Script', 'Akronim' => 'Akronim', 'Aladin' => 'Aladin', 'Aldrich' => 'Aldrich', 'Alef' => 'Alef', 'Alegreya' => 'Alegreya', 'Alegreya SC' => 'Alegreya SC', 'Alegreya Sans' => 'Alegreya Sans', 'Alex Brush' => 'Alex Brush', 'Alfa Slab One' => 'Alfa Slab One', 'Alice' => 'Alice', 'Alike' => 'Alike', 'Alike Angular' => 'Alike Angular', 'Allan' => 'Allan', 'Allerta' => 'Allerta', 'Allerta Stencil' => 'Allerta Stencil', 'Allura' => 'Allura', 'Almendra' => 'Almendra', 'Almendra display' => 'Almendra Display', 'Almendra sc' => 'Almendra SC', 'Amarante' => 'Amarante', 'Amaranth' => 'Amaranth', 'Amatic sc' => 'Amatic SC', 'Amethysta' => 'Amethysta', 'Amiri' => 'Amiri', 'Amita' => 'Amita', 'Anaheim' => 'Anaheim', 'Andada' => 'Andada', 'Andika' => 'Andika', 'Angkor' => 'Angkor', 'Annie Use Your Telescope' => 'Annie Use Your Telescope', 'Anonymous Pro' => 'Anonymous Pro', 'Antic' => 'Antic', 'Antic Didone' => 'Antic Didone', 'Antic Slab' => 'Antic Slab', 'Anton' => 'Anton', 'Arapey' => 'Arapey', 'Arbutus' => 'Arbutus', 'Arbutus slab' => 'Arbutus Slab', 'Architects daughter' => 'Architects Daughter', 'Archivo black' => 'Archivo Black', 'Archivo narrow' => 'Archivo Narrow', 'Arimo' => 'Arimo', 'Arizonia' => 'Arizonia', 'Armata' => 'Armata', 'Artifika' => 'Artifika', 'Arvo' => 'Arvo', 'Arya' => 'Arya', 'Asap' => 'Asap', 'Asar' => 'Asar', 'Asset' => 'Asset', 'Astloch' => 'Astloch', 'Asul' => 'Asul', 'Atomic age' => 'Atomic Age', 'Aubrey' => 'Aubrey', 'Audiowide' => 'Audiowide', 'Autour one' => 'Autour One', 'Average' => 'Average', 'Average Sans' => 'Average Sans', 'Averia Gruesa Libre' => 'Averia Gruesa Libre', 'Averia Libre' => 'Averia Libre', 'Averia Sans Libre' => 'Averia Sans Libre', 'Averia Serif Libre' => 'Averia Serif Libre', 'Bad Script' => 'Bad Script', 'Balthazar' => 'Balthazar', 'Bangers' => 'Bangers', 'Basic' => 'Basic', 'Battambang' => 'Battambang', 'Baumans' => 'Baumans', 'Bayon' => 'Bayon', 'Belgrano' => 'Belgrano', 'BenchNine' => 'BenchNine', 'Bentham' => 'Bentham', 'Berkshire Swash' => 'Berkshire Swash', 'Bevan' => 'Bevan', 'Bigelow Rules' => 'Bigelow Rules', 'Bigshot One' => 'Bigshot One', 'Bilbo' => 'Bilbo', 'Bilbo Swash Caps' => 'Bilbo Swash Caps', 'Biryani' => 'Biryani', 'Bitter' => 'Bitter', 'Black Ops One' => 'Black Ops One', 'Bokor' => 'Bokor', 'Bonbon' => 'Bonbon', 'Boogaloo' => 'Boogaloo', 'Bowlby One' => 'Bowlby One', 'bowlby One SC' => 'Bowlby One SC', 'Brawler' => 'Brawler', 'Bree Serif' => 'Bree Serif', 'Bubblegum Sans' => 'Bubblegum Sans', 'Bubbler One' => 'Bubbler One', 'Buda' => 'Buda', 'Buda Light 300' => 'Buda Light 300', 'Buenard' => 'Buenard', 'Butcherman' => 'Butcherman', 'Butterfly Kids' => 'Butterfly Kids', 'Cabin' => 'Cabin', 'Cabin Condensed' => 'Cabin Condensed', 'Cabin Sketch' => 'Cabin Sketch', 'Caesar Dressing' => 'Caesar Dressing', 'Cagliostro' => 'Cagliostro', 'Calligraffitti' => 'Calligraffitti', 'Cambay' => 'Cambay', 'Cambo' => 'Cambo', 'Candal' => 'Candal', 'Cantarell' => 'Cantarell', 'Cantata One' => 'Cantata One', 'Cantora One' => 'Cantora One', 'Capriola' => 'Capriola', 'Cardo' => 'Cardo', 'Carme' => 'Carme', 'Carrois Gothic' => 'Carrois Gothic', 'Carrois Gothic SC' => 'Carrois Gothic SC', 'Carter One' => 'Carter One', 'Caudex' => 'Caudex', 'Caveat Brush' => 'Caveat Brush', 'Cedarville cursive' => 'Cedarville Cursive', 'Ceviche One' => 'Ceviche One', 'Changa One' => 'Changa One', 'Chango' => 'Chango', 'Chau philomene One' => 'Chau Philomene One', 'Chela One' => 'Chela One', 'Chelsea Market' => 'Chelsea Market', 'Chenla' => 'Chenla', 'Cherry Cream Soda' => 'Cherry Cream Soda', 'Chewy' => 'Chewy', 'Chicle' => 'Chicle', 'Chivo' => 'Chivo', 'Chonburi' => 'Chonburi', 'Cinzel' => 'Cinzel', 'Cinzel Decorative' => 'Cinzel Decorative', 'Clicker Script' => 'Clicker Script', 'Coda' => 'Coda', 'Coda Caption' => 'Coda Caption', 'Codystar' => 'Codystar', 'Combo' => 'Combo', 'Comfortaa' => 'Comfortaa', 'Coming soon' => 'Coming Soon', 'Concert One' => 'Concert One', 'Condiment' => 'Condiment', 'Content' => 'Content', 'Contrail One' => 'Contrail One', 'Convergence' => 'Convergence', 'Cookie' => 'Cookie', 'Copse' => 'Copse', 'Corben' => 'Corben', 'Courgette' => 'Courgette', 'Cousine' => 'Cousine', 'Coustard' => 'Coustard', 'Covered By Your Grace' => 'Covered By Your Grace', 'Crafty Girls' => 'Crafty Girls', 'Creepster' => 'Creepster', 'Crete Round' => 'Crete Round', 'Crimson Text' => 'Crimson Text', 'Croissant One' => 'Croissant One', 'Crushed' => 'Crushed', 'Cuprum' => 'Cuprum', 'Cutive' => 'Cutive', 'Cutive Mono' => 'Cutive Mono', 'Damion' => 'Damion', 'Dancing Script' => 'Dancing Script', 'Dangrek' => 'Dangrek', 'Dawning of a New Day' => 'Dawning of a New Day', 'Days One' => 'Days One', 'Dekko' => 'Dekko', 'Delius' => 'Delius', 'Delius Swash Caps' => 'Delius Swash Caps', 'Delius Unicase' => 'Delius Unicase', 'Della Respira' => 'Della Respira', 'Denk One' => 'Denk One', 'Devonshire' => 'Devonshire', 'Dhurjati' => 'Dhurjati', 'Didact Gothic' => 'Didact Gothic', 'Diplomata' => 'Diplomata', 'Diplomata SC' => 'Diplomata SC', 'Domine' => 'Domine', 'Donegal One' => 'Donegal One', 'Doppio One' => 'Doppio One', 'Dorsa' => 'Dorsa', 'Dosis' => 'Dosis', 'Dr Sugiyama' => 'Dr Sugiyama', 'Droid Sans' => 'Droid Sans', 'Droid Sans Mono' => 'Droid Sans Mono', 'Droid Serif' => 'Droid Serif', 'Duru Sans' => 'Duru Sans', 'Dynalight' => 'Dynalight', 'Eb Garamond' => 'EB Garamond', 'Eagle Lake' => 'Eagle Lake', 'Eater' => 'Eater', 'Economica' => 'Economica', 'Eczar' => 'Eczar', 'Ek Mukta' => 'Ek Mukta', 'Electrolize' => 'Electrolize', 'Elsie' => 'Elsie', 'Elsie Swash Caps' => 'Elsie Swash Caps', 'Emblema One' => 'Emblema One', 'Emilys Candy' => 'Emilys Candy', 'Engagement' => 'Engagement', 'Englebert' => 'Englebert', 'Enriqueta' => 'Enriqueta', 'Erica One' => 'Erica One', 'Esteban' => 'Esteban', 'Euphoria Script' => 'Euphoria Script', 'Ewert' => 'Ewert', 'Exo' => 'Exo', 'Exo 2' => 'Exo 2', 'Expletus Sans' => 'Expletus Sans', 'Fanwood Text' => 'Fanwood Text', 'Fascinate' => 'Fascinate', 'Fascinate Inline' => 'Fascinate Inline', 'Faster One' => 'Faster One', 'Fasthand' => 'Fasthand', 'Fauna One' => 'Fauna One', 'Federant' => 'Federant', 'Federo' => 'Federo', 'Felipa' => 'Felipa', 'Fenix' => 'Fenix', 'Finger Paint' => 'Finger Paint', 'Fira Mono' => 'Fira Mono', 'Fjalla One' => 'Fjalla One', 'Fjord One' => 'Fjord One', 'Flamenco' => 'Flamenco', 'Flavors' => 'Flavors', 'Fondamento' => 'Fondamento', 'Fontdiner swanky' => 'Fontdiner Swanky', 'Forum' => 'Forum', 'Francois One' => 'Francois One', 'Freckle Face' => 'Freckle Face', 'Fredericka the Great' => 'Fredericka the Great', 'Fredoka One' => 'Fredoka One', 'Freehand' => 'Freehand', 'Fresca' => 'Fresca', 'Frijole' => 'Frijole', 'Fruktur' => 'Fruktur', 'Fugaz One' => 'Fugaz One', 'GFS Didot' => 'GFS Didot', 'GFS Neohellenic' => 'GFS Neohellenic', 'Gabriela' => 'Gabriela', 'Gafata' => 'Gafata', 'Galdeano' => 'Galdeano', 'Galindo' => 'Galindo', 'Gentium Basic' => 'Gentium Basic', 'Gentium Book Basic' => 'Gentium Book Basic', 'Geo' => 'Geo', 'Geostar' => 'Geostar', 'Geostar Fill' => 'Geostar Fill', 'Germania One' => 'Germania One', 'Gidugu' => 'Gidugu', 'Gilda Display' => 'Gilda Display', 'Give You Glory' => 'Give You Glory', 'Glass Antiqua' => 'Glass Antiqua', 'Glegoo' => 'Glegoo', 'Gloria Hallelujah' => 'Gloria Hallelujah', 'Goblin One' => 'Goblin One', 'Gochi Hand' => 'Gochi Hand', 'Gorditas' => 'Gorditas', 'Goudy Bookletter 1911' => 'Goudy Bookletter 1911', 'Graduate' => 'Graduate', 'Grand Hotel' => 'Grand Hotel', 'Gravitas One' => 'Gravitas One', 'Great Vibes' => 'Great Vibes', 'Griffy' => 'Griffy', 'Gruppo' => 'Gruppo', 'Gudea' => 'Gudea', 'Gurajada' => 'Gurajada', 'Habibi' => 'Habibi', 'Halant' => 'Halant', 'Hammersmith One' => 'Hammersmith One', 'Hanalei' => 'Hanalei', 'Hanalei Fill' => 'Hanalei Fill', 'Handlee' => 'Handlee', 'Hanuman' => 'Hanuman', 'Happy Monkey' => 'Happy Monkey', 'Headland One' => 'Headland One', 'Henny Penny' => 'Henny Penny', 'Herr Von Muellerhoff' => 'Herr Von Muellerhoff', 'Hind' => 'Hind', 'Holtwood One SC' => 'Holtwood One SC', 'Homemade Apple' => 'Homemade Apple', 'Homenaje' => 'Homenaje', 'IM Fell DW Pica' => 'IM Fell DW Pica', 'IM Fell DW Pica SC' => 'IM Fell DW Pica SC', 'IM Fell Double Pica' => 'IM Fell Double Pica', 'IM Fell Double Pica SC' => 'IM Fell Double Pica SC', 'IM Fell English' => 'IM Fell English', 'IM Fell English SC' => 'IM Fell English SC', 'IM Fell French Canon' => 'IM Fell French Canon', 'IM Fell French Canon SC' => 'IM Fell French Canon SC', 'IM Fell Great Primer' => 'IM Fell Great Primer', 'IM Fell Great Primer SC' => 'IM Fell Great Primer SC', 'Iceberg' => 'Iceberg', 'Iceland' => 'Iceland', 'Imprima' => 'Imprima', 'Inconsolata' => 'Inconsolata', 'Inder' => 'Inder', 'Indie Flower' => 'Indie Flower', 'Inika' => 'Inika', 'Inknut Antiqua' => 'Inknut Antiqua', 'Irish Grover' => 'Irish Grover', 'Istok Web' => 'Istok Web', 'Italiana' => 'Italiana', 'Italianno' => 'Italianno', 'Itim' => 'Itim', 'Jacques Francois' => 'Jacques Francois', 'Jacques Francois Shadow' => 'Jacques Francois Shadow', 'Jaldi' => 'Jaldi', 'Jim Nightshade' => 'Jim Nightshade', 'Jockey One' => 'Jockey One', 'Jolly Lodger' => 'Jolly Lodger', 'Josefin Sans' => 'Josefin Sans', 'Josefin Slab' => 'Josefin Slab', 'Joti One' => 'Joti One', 'Judson' => 'Judson', 'Julee' => 'Julee', 'Julius Sans One' => 'Julius Sans One', 'Junge' => 'Junge', 'Jura' => 'Jura', 'Just Another Hand' => 'Just Another Hand', 'Just Me Again Down Here' => 'Just Me Again Down Here', 'Kadwa' => 'Kadwa', 'Kameron' => 'Kameron', 'Kanit' => 'Kanit', 'Karla' => 'Karla', 'Kaushan Script' => 'Kaushan Script', 'Kavoon' => 'Kavoon', 'Keania One' => 'Keania One', 'kelly Slab' => 'Kelly Slab', 'Kenia' => 'Kenia', 'Khand' => 'Khand', 'Khmer' => 'Khmer', 'Khula' => 'Khula', 'Kite One' => 'Kite One', 'Knewave' => 'Knewave', 'Kotta One' => 'Kotta One', 'Koulen' => 'Koulen', 'Kranky' => 'Kranky', 'Kreon' => 'Kreon', 'Kristi' => 'Kristi', 'Krona One' => 'Krona One', 'Kurale' => 'Kurale', 'La Belle Aurore' => 'La Belle Aurore', 'Laila' => 'Laila', 'Lakki Reddy' => 'Lakki Reddy', 'Lancelot' => 'Lancelot', 'Lateef' => 'Lateef', 'Lato' => 'Lato', 'League Script' => 'League Script', 'Leckerli One' => 'Leckerli One', 'Ledger' => 'Ledger', 'Lekton' => 'Lekton', 'Lemon' => 'Lemon', 'Libre Baskerville' => 'Libre Baskerville', 'Life Savers' => 'Life Savers', 'Lilita One' => 'Lilita One', 'Lily Script One' => 'Lily Script One', 'Limelight' => 'Limelight', 'Linden Hill' => 'Linden Hill', 'Lobster' => 'Lobster', 'Lobster Two' => 'Lobster Two', 'Londrina Outline' => 'Londrina Outline', 'Londrina Shadow' => 'Londrina Shadow', 'Londrina Sketch' => 'Londrina Sketch', 'Londrina Solid' => 'Londrina Solid', 'Lora' => 'Lora', 'Love Ya Like A Sister' => 'Love Ya Like A Sister', 'Loved by the King' => 'Loved by the King', 'Lovers Quarrel' => 'Lovers Quarrel', 'Luckiest Guy' => 'Luckiest Guy', 'Lusitana' => 'Lusitana', 'Lustria' => 'Lustria', 'Macondo' => 'Macondo', 'Macondo Swash Caps' => 'Macondo Swash Caps', 'Magra' => 'Magra', 'Maiden Orange' => 'Maiden Orange', 'Mako' => 'Mako', 'Mandali' => 'Mandali', 'Marcellus' => 'Marcellus', 'Marcellus SC' => 'Marcellus SC', 'Marck Script' => 'Marck Script', 'Margarine' => 'Margarine', 'Marko One' => 'Marko One', 'Marmelad' => 'Marmelad', 'Martel' => 'Martel', 'Martel Sans' => 'Martel Sans', 'Marvel' => 'Marvel', 'Mate' => 'Mate', 'Mate SC' => 'Mate SC', 'Maven Pro' => 'Maven Pro', 'McLaren' => 'McLaren', 'Meddon' => 'Meddon', 'MedievalSharp' => 'MedievalSharp', 'Medula One' => 'Medula One', 'Megrim' => 'Megrim', 'Meie Script' => 'Meie Script', 'Merienda' => 'Merienda', 'Merienda One' => 'Merienda One', 'Merriweather' => 'Merriweather', 'Merriweather Sans' => 'Merriweather Sans', 'Metal' => 'Metal', 'Metal mania' => 'Metal Mania', 'Metamorphous' => 'Metamorphous', 'Metrophobic' => 'Metrophobic', 'Michroma' => 'Michroma', 'Milonga' => 'Milonga', 'Miltonian' => 'Miltonian', 'Miltonian Tattoo' => 'Miltonian Tattoo', 'Miniver' => 'Miniver', 'Miss Fajardose' => 'Miss Fajardose', 'Modak' => 'Modak', 'Modern Antiqua' => 'Modern Antiqua', 'Molengo' => 'Molengo', 'Molle' => 'Molle:400i', 'Monda' => 'Monda', 'Monofett' => 'Monofett', 'Monoton' => 'Monoton', 'Monsieur La Doulaise' => 'Monsieur La Doulaise', 'Montaga' => 'Montaga', 'Montez' => 'Montez', 'Montserrat' => 'Montserrat', 'Montserrat Alternates' => 'Montserrat Alternates', 'Montserrat Subrayada' => 'Montserrat Subrayada', 'Moul' => 'Moul', 'Moulpali' => 'Moulpali', 'Mountains of Christmas' => 'Mountains of Christmas', 'Mouse Memoirs' => 'Mouse Memoirs', 'Mr Bedfort' => 'Mr Bedfort', 'Mr Dafoe' => 'Mr Dafoe', 'Mr De Haviland' => 'Mr De Haviland', 'Mrs Saint Delafield' => 'Mrs Saint Delafield', 'Mrs Sheppards' => 'Mrs Sheppards', 'Muli' => 'Muli', 'Mystery Quest' => 'Mystery Quest', 'NTR' => 'NTR', 'Neucha' => 'Neucha', 'Neuton' => 'Neuton', 'New Rocker' => 'New Rocker', 'News Cycle' => 'News Cycle', 'Niconne' => 'Niconne', 'Nixie One' => 'Nixie One', 'Nobile' => 'Nobile', 'Nokora' => 'Nokora', 'Norican' => 'Norican', 'Nosifer' => 'Nosifer', 'Nothing You Could Do' => 'Nothing You Could Do', 'Noticia Text' => 'Noticia Text', 'Noto Sans' => 'Noto Sans', 'Noto Serif' => 'Noto Serif', 'Nova Cut' => 'Nova Cut', 'Nova Flat' => 'Nova Flat', 'Nova Mono' => 'Nova Mono', 'Nova Oval' => 'Nova Oval', 'Nova Round' => 'Nova Round', 'Nova Script' => 'Nova Script', 'Nova Slim' => 'Nova Slim', 'Nova Square' => 'Nova Square', 'Numans' => 'Numans', 'Nunito' => 'Nunito', 'Odor Mean Chey' => 'Odor Mean Chey', 'Offside' => 'Offside', 'Old standard tt' => 'Old Standard TT', 'Oldenburg' => 'Oldenburg', 'Oleo Script' => 'Oleo Script', 'Oleo Script Swash Caps' => 'Oleo Script Swash Caps', 'Open Sans' => 'Open Sans', 'Open Sans Condensed' => 'Open Sans Condensed:300', 'Oranienbaum' => 'Oranienbaum', 'Orbitron' => 'Orbitron', 'Oregano' => 'Oregano', 'Orienta' => 'Orienta', 'Original Surfer' => 'Original Surfer', 'Oswald' => 'Oswald', 'Over the Rainbow' => 'Over the Rainbow', 'Overlock' => 'Overlock', 'Overlock SC' => 'Overlock SC', 'Ovo' => 'Ovo', 'Oxygen' => 'Oxygen', 'Oxygen Mono' => 'Oxygen Mono', 'PT Mono' => 'PT Mono', 'PT Sans' => 'PT Sans', 'PT Sans Caption' => 'PT Sans Caption', 'PT Sans Narrow' => 'PT Sans Narrow', 'PT Serif' => 'PT Serif', 'PT Serif Caption' => 'PT Serif Caption', 'Pacifico' => 'Pacifico', 'Palanquin' => 'Palanquin', 'Palanquin Dark' => 'Palanquin Dark', 'Paprika' => 'Paprika', 'Parisienne' => 'Parisienne', 'Passero One' => 'Passero One', 'Passion One' => 'Passion One', 'Pathway Gothic One' => 'Pathway Gothic One', 'Patrick Hand' => 'Patrick Hand', 'Patrick Hand SC' => 'Patrick Hand SC', 'Patua One' => 'Patua One', 'Paytone One' => 'Paytone One', 'Peddana' => 'Peddana', 'Peralta' => 'Peralta', 'Permanent Marker' => 'Permanent Marker', 'Petit Formal Script' => 'Petit Formal Script', 'Petrona' => 'Petrona', 'Philosopher' => 'Philosopher', 'Piedra' => 'Piedra', 'Pinyon Script' => 'Pinyon Script', 'Pirata One' => 'Pirata One', 'Plaster' => 'Plaster', 'Play' => 'Play', 'Playball' => 'Playball', 'Playfair Display' => 'Playfair Display', 'Playfair Display SC' => 'Playfair Display SC', 'Podkova' => 'Podkova', 'Poiret One' => 'Poiret One', 'Poller One' => 'Poller One', 'Poly' => 'Poly', 'Pompiere' => 'Pompiere', 'Pontano Sans' => 'Pontano Sans', 'Poppins' => 'Poppins', 'Port Lligat Sans' => 'Port Lligat Sans', 'Port Lligat Slab' => 'Port Lligat Slab', 'Pragati Narrow' => 'Pragati Narrow', 'Prata' => 'Prata', 'Preahvihear' => 'Preahvihear', 'Press start 2P' => 'Press Start 2P', 'Princess Sofia' => 'Princess Sofia', 'Prociono' => 'Prociono', 'Prosto One' => 'Prosto One', 'Puritan' => 'Puritan', 'Purple Purse' => 'Purple Purse', 'Quando' => 'Quando', 'Quantico' => 'Quantico', 'Quattrocento' => 'Quattrocento', 'Quattrocento Sans' => 'Quattrocento Sans', 'Questrial' => 'Questrial', 'Quicksand' => 'Quicksand', 'Quintessential' => 'Quintessential', 'Qwigley' => 'Qwigley', 'Racing sans One' => 'Racing Sans One', 'Radley' => 'Radley', 'Rajdhani' => 'Rajdhani', 'Raleway' => 'Raleway', 'Raleway Dots' => 'Raleway Dots', 'Ramabhadra' => 'Ramabhadra', 'Ramaraja' => 'Ramaraja', 'Rambla' => 'Rambla', 'Rammetto One' => 'Rammetto One', 'Ranchers' => 'Ranchers', 'Rancho' => 'Rancho', 'Ranga' => 'Ranga', 'Rationale' => 'Rationale', 'Ravi Prakash' => 'Ravi Prakash', 'Redressed' => 'Redressed', 'Reenie Beanie' => 'Reenie Beanie', 'Revalia' => 'Revalia', 'Rhodium Libre' => 'Rhodium Libre', 'Ribeye' => 'Ribeye', 'Ribeye Marrow' => 'Ribeye Marrow', 'Righteous' => 'Righteous', 'Risque' => 'Risque', 'Roboto' => 'Roboto', 'Roboto Condensed' => 'Roboto Condensed', 'Roboto Mono' => 'Roboto Mono', 'Roboto Slab' => 'Roboto Slab', 'Rochester' => 'Rochester', 'Rock Salt' => 'Rock Salt', 'Rokkitt' => 'Rokkitt', 'Romanesco' => 'Romanesco', 'Ropa Sans' => 'Ropa Sans', 'Rosario' => 'Rosario', 'Rosarivo' => 'Rosarivo', 'Rouge Script' => 'Rouge Script', 'Rozha One' => 'Rozha One', 'Rubik' => 'Rubik', 'Rubik Mono One' => 'Rubik Mono One', 'Rubik One' => 'Rubik One', 'Ruda' => 'Ruda', 'Rufina' => 'Rufina', 'Ruge Boogie' => 'Ruge Boogie', 'Ruluko' => 'Ruluko', 'Rum Raisin' => 'Rum Raisin', 'Ruslan Display' => 'Ruslan Display', 'Russo One' => 'Russo One', 'Ruthie' => 'Ruthie', 'Rye' => 'Rye', 'Sacramento' => 'Sacramento', 'Sahitya' => 'Sahitya', 'Sail' => 'Sail', 'Salsa' => 'Salsa', 'Sanchez' => 'Sanchez', 'Sancreek' => 'Sancreek', 'Sansita One' => 'Sansita One', 'Sarina' => 'Sarina', 'Sarpanch' => 'Sarpanch', 'Satisfy' => 'Satisfy', 'Scada' => 'Scada', 'Schoolbell' => 'Schoolbell', 'Seaweed Script' => 'Seaweed Script', 'Sevillana' => 'Sevillana', 'Seymour One' => 'Seymour One', 'Shadows Into Light' => 'Shadows Into Light', 'Shadows Into Light Two' => 'Shadows Into Light Two', 'Shanti' => 'Shanti', 'Share' => 'Share', 'Share Tech' => 'Share Tech', 'Share Tech Mono' => 'Share Tech Mono', 'Shojumaru' => 'Shojumaru', 'Short Stack' => 'Short Stack', 'Siemreap' => 'Siemreap', 'Sigmar One' => 'Sigmar One', 'Signika' => 'Signika', 'Signika Negative' => 'Signika Negative', 'Simonetta' => 'Simonetta', 'Sintony' => 'Sintony', 'Sirin Stencil' => 'Sirin Stencil', 'Six Caps' => 'Six Caps', 'Skranji' => 'Skranji', 'Slabo 13px' => 'Slabo 13px', 'Slackey' => 'Slackey', 'Smokum' => 'Smokum', 'Smythe' => 'Smythe', 'Sniglet' => 'Sniglet', 'Snippet' => 'Snippet', 'Snowburst One' => 'Snowburst One', 'Sofadi One' => 'Sofadi One', 'Sofia' => 'Sofia', 'Sonsie One' => 'Sonsie One', 'Sorts Mill Goudy' => 'Sorts Mill Goudy', 'Source Code Pro' => 'Source Code Pro', 'Source Sans Pro' => 'Source Sans Pro', 'Source Serif Pro' => 'Source Serif Pro', 'Special Elite' => 'Special Elite', 'Spicy Rice' => 'Spicy Rice', 'Spinnaker' => 'Spinnaker', 'Spirax' => 'Spirax', 'Squada One' => 'Squada One', 'Sree Krushnadevaraya' => 'Sree Krushnadevaraya', 'Stalemate' => 'Stalemate', 'Stalinist One' => 'Stalinist One', 'Stardos Stencil' => 'Stardos Stencil', 'Stint Ultra Condensed' => 'Stint Ultra Condensed', 'Stint Ultra Expanded' => 'Stint Ultra Expanded', 'Stoke' => 'Stoke', 'Strait' => 'Strait', 'Sue Ellen Francisco' => 'Sue Ellen Francisco', 'Sumana' => 'Sumana', 'Sunshiney' => 'Sunshiney', 'Supermercado One' => 'Supermercado One', 'Sura' => 'Sura', 'Suranna' => 'Suranna', 'Suravaram' => 'Suravaram', 'Suwannaphum' => 'Suwannaphum', 'Swanky and Moo Moo' => 'Swanky and Moo Moo', 'Syncopate' => 'Syncopate', 'Tangerine' => 'Tangerine', 'Taprom' => 'Taprom', 'Tauri' => 'Tauri', 'Teko' => 'Teko', 'Telex' => 'Telex', 'Tenali Ramakrishna' => 'Tenali Ramakrishna', 'Tenor Sans' => 'Tenor Sans', 'Text Me One' => 'Text Me One', 'The Girl Next Door' => 'The Girl Next Door', 'Tienne' => 'Tienne', 'Tillana' => 'Tillana', 'Timmana' => 'Timmana', 'Tinos' => 'Tinos', 'Titan One' => 'Titan One', 'Titillium Web' => 'Titillium Web', 'Trade Winds' => 'Trade Winds', 'Trocchi' => 'Trocchi', 'Trochut' => 'Trochut', 'Trykker' => 'Trykker', 'Tulpen One' => 'Tulpen One', 'Ubuntu' => 'Ubuntu', 'Ubuntu Condensed' => 'Ubuntu Condensed', 'Ubuntu Mono' => 'Ubuntu Mono', 'Ultra' => 'Ultra', 'Uncial Antiqua' => 'Uncial Antiqua', 'Underdog' => 'Underdog', 'Unica One' => 'Unica One', 'UnifrakturCook' => 'UnifrakturCook:700', 'UnifrakturMaguntia' => 'UnifrakturMaguntia', 'Unkempt' => 'Unkempt', 'Unlock' => 'Unlock', 'Unna' => 'Unna', 'VT323' => 'VT323', 'Vampiro One' => 'Vampiro One', 'Varela' => 'Varela', 'Varela Round' => 'Varela Round', 'Vast Shadow' => 'Vast Shadow', 'Vibur' => 'Vibur', 'Vidaloka' => 'Vidaloka', 'Viga' => 'Viga', 'Voces' => 'Voces', 'Volkhov' => 'Volkhov', 'Vollkorn' => 'Vollkorn', 'Voltaire' => 'Voltaire', 'Waiting for the sunrise' => 'Waiting for the Sunrise', 'Wallpoet' => 'Wallpoet', 'Walter Turncoat' => 'Walter Turncoat', 'Warnes' => 'Warnes', 'Wellfleet' => 'Wellfleet', 'Wendy One' => 'Wendy One', 'Wire One' => 'Wire One', 'Work Sans' => 'Work Sans', 'Yanone Kaffeesatz' => 'Yanone Kaffeesatz', 'Yantramanav' => 'Yantramanav', 'Yellowtail' => 'Yellowtail', 'Yeseva One' => 'Yeseva One', 'Yesteryear' => 'Yesteryear', 'Zeyada' => 'Zeyada');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
921 |
return $google_fonts;
|
922 |
}
|
923 |
|
942 |
if ($from != '') {
|
943 |
$row->permalink = self::bwg_create_post($row->name, $row->slug, array("type" => "gallery", "mode" => $from), $id);
|
944 |
}
|
945 |
+
else {
|
946 |
+
$row->permalink = '';
|
947 |
+
}
|
948 |
}
|
949 |
else {
|
950 |
$row = new stdClass();
|
1060 |
public static function get_album_row_data($id, $create_post) {
|
1061 |
global $wpdb;
|
1062 |
$row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'bwg_album WHERE published=1 AND id="%d"', $id));
|
1063 |
+
if ($row) {
|
1064 |
+
if ($create_post) {
|
1065 |
+
$row->permalink = WDWLibrary::bwg_create_post($row->name, $row->slug, array("type" => "album", "mode" => "compact"), $id);
|
1066 |
+
}
|
1067 |
+
else {
|
1068 |
+
$row->permalink = '';
|
1069 |
+
}
|
1070 |
}
|
1071 |
return $row;
|
1072 |
}
|
frontend/models/BWGModelWidget.php
CHANGED
@@ -4,7 +4,7 @@ class BWGModelWidgetFrontEnd {
|
|
4 |
global $wpdb;
|
5 |
$rows = $wpdb->get_results('SELECT image.thumb_url as thumb_url, image.id as image_id, tags.name, tags.slug, tags.term_id, image.filetype FROM ' . $wpdb->prefix . 'terms AS tags INNER JOIN ' . $wpdb->prefix . 'term_taxonomy AS taxonomy ON taxonomy.term_id=tags.term_id INNER JOIN (SELECT image.thumb_url, tag.tag_id, image.id, image.filetype FROM ' . $wpdb->prefix . 'bwg_image AS image INNER JOIN ' . $wpdb->prefix . 'bwg_image_tag AS tag ON image.id=tag.image_id ORDER BY RAND()) AS image ON image.tag_id=tags.term_id WHERE taxonomy.taxonomy="bwg_tag" GROUP BY tags.term_id' . ($count ? ' LIMIT ' . $count : ""));
|
6 |
foreach ($rows as $row) {
|
7 |
-
$row->permalink = WDWLibrary::bwg_create_post($row->name, $row->slug, array("type" => "
|
8 |
}
|
9 |
return $rows;
|
10 |
}
|
4 |
global $wpdb;
|
5 |
$rows = $wpdb->get_results('SELECT image.thumb_url as thumb_url, image.id as image_id, tags.name, tags.slug, tags.term_id, image.filetype FROM ' . $wpdb->prefix . 'terms AS tags INNER JOIN ' . $wpdb->prefix . 'term_taxonomy AS taxonomy ON taxonomy.term_id=tags.term_id INNER JOIN (SELECT image.thumb_url, tag.tag_id, image.id, image.filetype FROM ' . $wpdb->prefix . 'bwg_image AS image INNER JOIN ' . $wpdb->prefix . 'bwg_image_tag AS tag ON image.id=tag.image_id ORDER BY RAND()) AS image ON image.tag_id=tags.term_id WHERE taxonomy.taxonomy="bwg_tag" GROUP BY tags.term_id' . ($count ? ' LIMIT ' . $count : ""));
|
6 |
foreach ($rows as $row) {
|
7 |
+
$row->permalink = WDWLibrary::bwg_create_post($row->name, $row->slug, array("type" => "tag", "mode" => "tag"), $row->term_id);
|
8 |
}
|
9 |
return $rows;
|
10 |
}
|
frontend/views/BWGViewAlbum_compact_preview.php
CHANGED
@@ -130,9 +130,8 @@ class BWGViewAlbum_compact_preview {
|
|
130 |
return;
|
131 |
}
|
132 |
$album_gallery_id = (isset($_REQUEST['album_gallery_id_' . $bwg]) ? esc_html($_REQUEST['album_gallery_id_' . $bwg]) : $params['album_id']);
|
133 |
-
$
|
134 |
-
|
135 |
-
if (!$album_gallery_id || ($type == 'album' && !$album_row_data)) {
|
136 |
echo WDWLibrary::message(__('There is no album selected or the album was deleted.', 'bwg'), 'wd_error');
|
137 |
return;
|
138 |
}
|
@@ -549,9 +548,6 @@ class BWGViewAlbum_compact_preview {
|
|
549 |
margin: 0 auto;
|
550 |
}
|
551 |
</style>
|
552 |
-
<?php
|
553 |
-
$album_row = WDWLibrary::get_album_row_data($album_gallery_id, true);
|
554 |
-
?>
|
555 |
<div id="bwg_container1_<?php echo $bwg; ?>">
|
556 |
<div id="bwg_container2_<?php echo $bwg; ?>">
|
557 |
<form id="gal_front_form_<?php echo $bwg; ?>" method="post" action="#">
|
@@ -609,7 +605,7 @@ class BWGViewAlbum_compact_preview {
|
|
609 |
}
|
610 |
foreach ($album_galleries_row as $album_galallery_row) {
|
611 |
if ($album_galallery_row->is_album) {
|
612 |
-
$album_row = WDWLibrary::get_album_row_data($album_galallery_row->alb_gal_id,
|
613 |
if (!$album_row) {
|
614 |
continue;
|
615 |
}
|
@@ -622,7 +618,7 @@ class BWGViewAlbum_compact_preview {
|
|
622 |
$permalink = $album_row->permalink;
|
623 |
}
|
624 |
else {
|
625 |
-
$gallery_row = WDWLibrary::get_gallery_row_data($album_galallery_row->alb_gal_id, "compact");
|
626 |
if (!$gallery_row) {
|
627 |
continue;
|
628 |
}
|
130 |
return;
|
131 |
}
|
132 |
$album_gallery_id = (isset($_REQUEST['album_gallery_id_' . $bwg]) ? esc_html($_REQUEST['album_gallery_id_' . $bwg]) : $params['album_id']);
|
133 |
+
$album_row = WDWLibrary::get_album_row_data($album_gallery_id, FALSE);
|
134 |
+
if (!$album_gallery_id || ($type == 'album' && !$album_row)) {
|
|
|
135 |
echo WDWLibrary::message(__('There is no album selected or the album was deleted.', 'bwg'), 'wd_error');
|
136 |
return;
|
137 |
}
|
548 |
margin: 0 auto;
|
549 |
}
|
550 |
</style>
|
|
|
|
|
|
|
551 |
<div id="bwg_container1_<?php echo $bwg; ?>">
|
552 |
<div id="bwg_container2_<?php echo $bwg; ?>">
|
553 |
<form id="gal_front_form_<?php echo $bwg; ?>" method="post" action="#">
|
605 |
}
|
606 |
foreach ($album_galleries_row as $album_galallery_row) {
|
607 |
if ($album_galallery_row->is_album) {
|
608 |
+
$album_row = WDWLibrary::get_album_row_data($album_galallery_row->alb_gal_id, $from === "widget");
|
609 |
if (!$album_row) {
|
610 |
continue;
|
611 |
}
|
618 |
$permalink = $album_row->permalink;
|
619 |
}
|
620 |
else {
|
621 |
+
$gallery_row = WDWLibrary::get_gallery_row_data($album_galallery_row->alb_gal_id, ($from === "widget" ? "compact" : ""));
|
622 |
if (!$gallery_row) {
|
623 |
continue;
|
624 |
}
|
frontend/views/BWGViewAlbum_extended_preview.php
CHANGED
@@ -76,7 +76,7 @@ class BWGViewAlbum_extended_preview {
|
|
76 |
$type = (isset($_REQUEST['type_' . $bwg]) ? esc_html($_REQUEST['type_' . $bwg]) : 'album');
|
77 |
$bwg_search = ((isset($_POST['bwg_search_' . $bwg]) && esc_html($_POST['bwg_search_' . $bwg]) != '') ? esc_html($_POST['bwg_search_' . $bwg]) : '');
|
78 |
$album_gallery_id = (isset($_REQUEST['album_gallery_id_' . $bwg]) ? esc_html($_REQUEST['album_gallery_id_' . $bwg]) : $params['album_id']);
|
79 |
-
if (!$album_gallery_id || ($type == 'album' && !WDWLibrary::get_album_row_data($album_gallery_id,
|
80 |
echo WDWLibrary::message(__('There is no album selected or the album was deleted.', 'bwg'), 'wd_error');
|
81 |
return;
|
82 |
}
|
@@ -576,7 +576,7 @@ class BWGViewAlbum_extended_preview {
|
|
576 |
}
|
577 |
foreach ($album_galleries_row as $album_galallery_row) {
|
578 |
if ($album_galallery_row->is_album) {
|
579 |
-
$album_row = WDWLibrary::get_album_row_data($album_galallery_row->alb_gal_id,
|
580 |
if (!$album_row) {
|
581 |
continue;
|
582 |
}
|
76 |
$type = (isset($_REQUEST['type_' . $bwg]) ? esc_html($_REQUEST['type_' . $bwg]) : 'album');
|
77 |
$bwg_search = ((isset($_POST['bwg_search_' . $bwg]) && esc_html($_POST['bwg_search_' . $bwg]) != '') ? esc_html($_POST['bwg_search_' . $bwg]) : '');
|
78 |
$album_gallery_id = (isset($_REQUEST['album_gallery_id_' . $bwg]) ? esc_html($_REQUEST['album_gallery_id_' . $bwg]) : $params['album_id']);
|
79 |
+
if (!$album_gallery_id || ($type == 'album' && !WDWLibrary::get_album_row_data($album_gallery_id, FALSE))) {
|
80 |
echo WDWLibrary::message(__('There is no album selected or the album was deleted.', 'bwg'), 'wd_error');
|
81 |
return;
|
82 |
}
|
576 |
}
|
577 |
foreach ($album_galleries_row as $album_galallery_row) {
|
578 |
if ($album_galallery_row->is_album) {
|
579 |
+
$album_row = WDWLibrary::get_album_row_data($album_galallery_row->alb_gal_id, FALSE);
|
580 |
if (!$album_row) {
|
581 |
continue;
|
582 |
}
|
frontend/views/BWGViewGalleryBox.php
CHANGED
@@ -23,7 +23,7 @@ class BWGViewGalleryBox {
|
|
23 |
public function display() {
|
24 |
global $WD_BWG_UPLOAD_DIR;
|
25 |
require_once(WD_BWG_DIR . '/framework/WDWLibraryEmbed.php');
|
26 |
-
$tag = (isset($_GET['
|
27 |
$gallery_id = WDWLibrary::esc_script('get', 'gallery_id', 0, 'int');
|
28 |
$bwg = (isset($_GET['current_view']) ? esc_html($_GET['current_view']) : 0);
|
29 |
$current_image_id = WDWLibrary::esc_script('get', 'image_id', 0, 'int');
|
23 |
public function display() {
|
24 |
global $WD_BWG_UPLOAD_DIR;
|
25 |
require_once(WD_BWG_DIR . '/framework/WDWLibraryEmbed.php');
|
26 |
+
$tag = (isset($_GET['tags']) ? esc_html($_GET['tags']) : 0);
|
27 |
$gallery_id = WDWLibrary::esc_script('get', 'gallery_id', 0, 'int');
|
28 |
$bwg = (isset($_GET['current_view']) ? esc_html($_GET['current_view']) : 0);
|
29 |
$current_image_id = WDWLibrary::esc_script('get', 'image_id', 0, 'int');
|
frontend/views/BWGViewImage_browser.php
CHANGED
@@ -112,7 +112,7 @@ class BWGViewImage_browser {
|
|
112 |
'enable_image_tumblr' => $params['popup_enable_tumblr'],
|
113 |
'watermark_type' => $params['watermark_type'],
|
114 |
'slideshow_effect_duration' => isset($params['popup_effect_duration']) ? $params['popup_effect_duration'] : 1,
|
115 |
-
'
|
116 |
);
|
117 |
$items_per_page = array('images_per_page' => 1, 'load_more_image_count' => 1);
|
118 |
if ($params['watermark_type'] == 'none') {
|
112 |
'enable_image_tumblr' => $params['popup_enable_tumblr'],
|
113 |
'watermark_type' => $params['watermark_type'],
|
114 |
'slideshow_effect_duration' => isset($params['popup_effect_duration']) ? $params['popup_effect_duration'] : 1,
|
115 |
+
'tags' => (isset($params['tag']) ? $params['tag'] : 0)
|
116 |
);
|
117 |
$items_per_page = array('images_per_page' => 1, 'load_more_image_count' => 1);
|
118 |
if ($params['watermark_type'] == 'none') {
|
frontend/views/BWGViewThumbnails.php
CHANGED
@@ -495,8 +495,8 @@ class BWGViewThumbnails {
|
|
495 |
<script>
|
496 |
<?php
|
497 |
$params_array = array(
|
498 |
-
'tag' => (isset($params['tag']) ? $params['tag'] : 0),
|
499 |
'action' => 'GalleryBox',
|
|
|
500 |
'current_view' => $bwg,
|
501 |
'gallery_id' => $params['gallery_id'],
|
502 |
'theme_id' => $params['theme_id'],
|
495 |
<script>
|
496 |
<?php
|
497 |
$params_array = array(
|
|
|
498 |
'action' => 'GalleryBox',
|
499 |
+
'tags' => (isset($params['tag']) ? $params['tag'] : 0),
|
500 |
'current_view' => $bwg,
|
501 |
'gallery_id' => $params['gallery_id'],
|
502 |
'theme_id' => $params['theme_id'],
|
js/bwg_frontend.js
CHANGED
@@ -72,9 +72,17 @@ function spider_frontend_ajax(form_id, current_view, id, album_gallery_id, cur_a
|
|
72 |
}
|
73 |
}
|
74 |
).success(function(jqXHR, textStatus, errorThrown) {
|
75 |
-
|
76 |
-
|
77 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
jQuery("#ajax_loading_" + current_view).css('display', 'none');
|
79 |
jQuery("#bwg_tags_id_" + id).val(jQuery("#bwg_tag_id_" + id).val());
|
80 |
|
72 |
}
|
73 |
}
|
74 |
).success(function(jqXHR, textStatus, errorThrown) {
|
75 |
+
jQuery("div[id^='bwg_container1_'] img").each(function () {
|
76 |
+
if (jQuery(this).attr("data-lazy-src") != '') {
|
77 |
+
jQuery(this).attr("src", jQuery(this).attr("data-lazy-src"));
|
78 |
+
}
|
79 |
+
else if (jQuery(this).attr("data-src") != '') {
|
80 |
+
jQuery(this).attr("src", jQuery(this).attr("data-src"));
|
81 |
+
}
|
82 |
+
});
|
83 |
+
jQuery(".blog_style_image_buttons_conteiner_" + current_view).find(jQuery(".bwg_blog_style_img_" + current_view)).load(function(){
|
84 |
+
jQuery(".bwg_blog_style_img_" + current_view).closest(jQuery(".blog_style_image_buttons_conteiner_" + current_view)).show();
|
85 |
+
});
|
86 |
jQuery("#ajax_loading_" + current_view).css('display', 'none');
|
87 |
jQuery("#bwg_tags_id_" + id).val(jQuery("#bwg_tag_id_" + id).val());
|
88 |
|
languages/bwg-de_DE.mo
CHANGED
Binary file
|
languages/bwg-de_DE.po
CHANGED
@@ -2,19 +2,19 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: bwg\n"
|
4 |
"POT-Creation-Date: 2016-01-08 09:54+0400\n"
|
5 |
-
"PO-Revision-Date: 2016-
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: de\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
"X-Poedit-KeywordsList: __\n"
|
16 |
-
"X-Poedit-SearchPath-0: C
|
17 |
-
"gallery
|
18 |
"X-Poedit-SearchPath-1: C:/wamp/www/wordpress/wp-content/plugins/photo-"
|
19 |
"gallery/framework\n"
|
20 |
|
@@ -71,7 +71,7 @@ msgstr "Album ist leer."
|
|
71 |
#: C:\wamp\www\wordpress\wp-content\plugins\photo-gallery\frontend/views/BWGViewAlbum_extended_preview.php:1024
|
72 |
#: C:\wamp\www\wordpress\wp-content\plugins\photo-gallery\frontend/views/BWGViewAlbum_masonry_preview.php:583
|
73 |
msgid "There are no images matching your search."
|
74 |
-
msgstr "Es gibt keine Bilder, die
|
75 |
|
76 |
#: C:\wamp\www\wordpress\wp-content\plugins\photo-gallery\frontend/views/BWGViewAlbum_compact_preview.php:1041
|
77 |
#: C:\wamp\www\wordpress\wp-content\plugins\photo-gallery\frontend/views/BWGViewAlbum_extended_preview.php:1029
|
@@ -270,7 +270,7 @@ msgstr "Kommentar löschen"
|
|
270 |
|
271 |
#: C:\wamp\www\wordpress\wp-content\plugins\photo-gallery\frontend/views/BWGViewGalleryBox.php:2261
|
272 |
msgid "Show Comments"
|
273 |
-
msgstr "
|
274 |
|
275 |
#: C:\wamp\www\wordpress\wp-content\plugins\photo-gallery\frontend/views/BWGViewGalleryBox.php:2480
|
276 |
msgid "Hide info"
|
@@ -291,71 +291,71 @@ msgstr "Vollbildmodus beenden"
|
|
291 |
|
292 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:46
|
293 |
msgid "Item Succesfully Saved."
|
294 |
-
msgstr ""
|
295 |
|
296 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:52
|
297 |
msgid "Error. Please install plugin again."
|
298 |
-
msgstr ""
|
299 |
|
300 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:58
|
301 |
msgid "Item Succesfully Deleted."
|
302 |
-
msgstr ""
|
303 |
|
304 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:64
|
305 |
msgid "You can't delete default theme"
|
306 |
-
msgstr ""
|
307 |
|
308 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:70
|
309 |
msgid "Items Succesfully Deleted."
|
310 |
-
msgstr ""
|
311 |
|
312 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:76
|
313 |
msgid "You must select at least one item."
|
314 |
-
msgstr ""
|
315 |
|
316 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:82
|
317 |
msgid "The item is successfully set as default."
|
318 |
-
msgstr ""
|
319 |
|
320 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:88
|
321 |
msgid "Options Succesfully Saved."
|
322 |
-
msgstr ""
|
323 |
|
324 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:94
|
325 |
msgid "Item Succesfully Published."
|
326 |
-
msgstr ""
|
327 |
|
328 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:100
|
329 |
msgid "Items Succesfully Published."
|
330 |
-
msgstr ""
|
331 |
|
332 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:106
|
333 |
msgid "Item Succesfully Unpublished."
|
334 |
-
msgstr ""
|
335 |
|
336 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:112
|
337 |
msgid "Items Succesfully Unpublished."
|
338 |
-
msgstr ""
|
339 |
|
340 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:118
|
341 |
msgid "Ordering Succesfully Saved."
|
342 |
-
msgstr ""
|
343 |
|
344 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:124
|
345 |
msgid "A term with the name provided already exists."
|
346 |
-
msgstr ""
|
347 |
|
348 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:130
|
349 |
msgid "Name field is required."
|
350 |
-
msgstr ""
|
351 |
|
352 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:136
|
353 |
msgid "The slug must be unique."
|
354 |
-
msgstr ""
|
355 |
|
356 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:142
|
357 |
msgid "Changes must be saved."
|
358 |
-
msgstr ""
|
359 |
|
360 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:188
|
361 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:362
|
@@ -379,11 +379,11 @@ msgstr "von"
|
|
379 |
|
380 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:436
|
381 |
msgid "item"
|
382 |
-
msgstr ""
|
383 |
|
384 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:516
|
385 |
msgid " item(s)"
|
386 |
-
msgstr "
|
387 |
|
388 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:521
|
389 |
msgid "First"
|
@@ -423,11 +423,11 @@ msgstr "Laden Sie Mehr ..."
|
|
423 |
|
424 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:846
|
425 |
msgid "Order by: "
|
426 |
-
msgstr "Sortieren nach"
|
427 |
|
428 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:848
|
429 |
msgid "Default"
|
430 |
-
msgstr "
|
431 |
|
432 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:849
|
433 |
msgid "Filename"
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: bwg\n"
|
4 |
"POT-Creation-Date: 2016-01-08 09:54+0400\n"
|
5 |
+
"PO-Revision-Date: 2016-12-10 18:25+0100\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: de\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.8.11\n"
|
13 |
"X-Poedit-Basepath: .\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
"X-Poedit-KeywordsList: __\n"
|
16 |
+
"X-Poedit-SearchPath-0: C:/wamp/www/wordpress/wp-content/plugins/photo-"
|
17 |
+
"gallery/frontend\n"
|
18 |
"X-Poedit-SearchPath-1: C:/wamp/www/wordpress/wp-content/plugins/photo-"
|
19 |
"gallery/framework\n"
|
20 |
|
71 |
#: C:\wamp\www\wordpress\wp-content\plugins\photo-gallery\frontend/views/BWGViewAlbum_extended_preview.php:1024
|
72 |
#: C:\wamp\www\wordpress\wp-content\plugins\photo-gallery\frontend/views/BWGViewAlbum_masonry_preview.php:583
|
73 |
msgid "There are no images matching your search."
|
74 |
+
msgstr "Es gibt keine Bilder, die ihrer Suche entsprechen."
|
75 |
|
76 |
#: C:\wamp\www\wordpress\wp-content\plugins\photo-gallery\frontend/views/BWGViewAlbum_compact_preview.php:1041
|
77 |
#: C:\wamp\www\wordpress\wp-content\plugins\photo-gallery\frontend/views/BWGViewAlbum_extended_preview.php:1029
|
270 |
|
271 |
#: C:\wamp\www\wordpress\wp-content\plugins\photo-gallery\frontend/views/BWGViewGalleryBox.php:2261
|
272 |
msgid "Show Comments"
|
273 |
+
msgstr "Kommentare anzeigen "
|
274 |
|
275 |
#: C:\wamp\www\wordpress\wp-content\plugins\photo-gallery\frontend/views/BWGViewGalleryBox.php:2480
|
276 |
msgid "Hide info"
|
291 |
|
292 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:46
|
293 |
msgid "Item Succesfully Saved."
|
294 |
+
msgstr "Objekt erfolgreich gesichert."
|
295 |
|
296 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:52
|
297 |
msgid "Error. Please install plugin again."
|
298 |
+
msgstr "Fehler, bitte installiere das Plugin nocheinmal."
|
299 |
|
300 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:58
|
301 |
msgid "Item Succesfully Deleted."
|
302 |
+
msgstr "Objekt erfolgreich gelöscht."
|
303 |
|
304 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:64
|
305 |
msgid "You can't delete default theme"
|
306 |
+
msgstr "Sie können das Standard Theme nicht löschen"
|
307 |
|
308 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:70
|
309 |
msgid "Items Succesfully Deleted."
|
310 |
+
msgstr "Objekte erfrolgreich gelöscht."
|
311 |
|
312 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:76
|
313 |
msgid "You must select at least one item."
|
314 |
+
msgstr "Sie müssen mindestens ein Objekt auswählen."
|
315 |
|
316 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:82
|
317 |
msgid "The item is successfully set as default."
|
318 |
+
msgstr "Das Objekt wurde erfolgreich als Standard gespeichert."
|
319 |
|
320 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:88
|
321 |
msgid "Options Succesfully Saved."
|
322 |
+
msgstr "Optionen erfolgreich gespeichert."
|
323 |
|
324 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:94
|
325 |
msgid "Item Succesfully Published."
|
326 |
+
msgstr "Objekt erfolgreich veröffentlicht."
|
327 |
|
328 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:100
|
329 |
msgid "Items Succesfully Published."
|
330 |
+
msgstr "Objekte erfolgreich veröffentlicht."
|
331 |
|
332 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:106
|
333 |
msgid "Item Succesfully Unpublished."
|
334 |
+
msgstr "Objekt erfolgreich nicht veröffentlicht."
|
335 |
|
336 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:112
|
337 |
msgid "Items Succesfully Unpublished."
|
338 |
+
msgstr "Objekte erfolgreich nicht veröffentlicht."
|
339 |
|
340 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:118
|
341 |
msgid "Ordering Succesfully Saved."
|
342 |
+
msgstr "Der Auftrag wurde erfolgreich gespeichert."
|
343 |
|
344 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:124
|
345 |
msgid "A term with the name provided already exists."
|
346 |
+
msgstr "Ein Begriff mit dem eingegebenen Namen existiert breits."
|
347 |
|
348 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:130
|
349 |
msgid "Name field is required."
|
350 |
+
msgstr "Das Feld Name wird benötigt."
|
351 |
|
352 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:136
|
353 |
msgid "The slug must be unique."
|
354 |
+
msgstr "Die Webadresse muss eindeutig sein."
|
355 |
|
356 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:142
|
357 |
msgid "Changes must be saved."
|
358 |
+
msgstr "Änderungen müssen gesichert werden."
|
359 |
|
360 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:188
|
361 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:362
|
379 |
|
380 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:436
|
381 |
msgid "item"
|
382 |
+
msgstr "Objekt"
|
383 |
|
384 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:516
|
385 |
msgid " item(s)"
|
386 |
+
msgstr "Objekt(e)"
|
387 |
|
388 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:521
|
389 |
msgid "First"
|
423 |
|
424 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:846
|
425 |
msgid "Order by: "
|
426 |
+
msgstr "Sortieren nach:"
|
427 |
|
428 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:848
|
429 |
msgid "Default"
|
430 |
+
msgstr "Standard"
|
431 |
|
432 |
#: C:/wamp/www/wordpress/wp-content/plugins/photo-gallery/framework/WDWLibrary.php:849
|
433 |
msgid "Filename"
|
photo-gallery.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Plugin Name: Photo Gallery
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
|
6 |
* Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
|
7 |
-
* Version: 1.3.
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -298,7 +298,7 @@ function photo_gallery($id) {
|
|
298 |
}
|
299 |
|
300 |
function bwg_shortcode($params) {
|
301 |
-
if ( is_admin() ) {
|
302 |
return;
|
303 |
}
|
304 |
if (isset($params['id'])) {
|
@@ -1932,7 +1932,7 @@ function bwg_activate() {
|
|
1932 |
));
|
1933 |
}
|
1934 |
$version = WD_BWG_VERSION;
|
1935 |
-
$new_version = '1.3.
|
1936 |
if ($version && version_compare($version, $new_version, '<')) {
|
1937 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
1938 |
bwg_update($version);
|
@@ -1984,7 +1984,7 @@ wp_oembed_add_provider( '#https://instagr(\.am|am\.com)/p/.*#i', 'https://api.in
|
|
1984 |
|
1985 |
function bwg_update_hook() {
|
1986 |
$version = WD_BWG_VERSION;
|
1987 |
-
$new_version = '1.3.
|
1988 |
if ($version && version_compare($version, $new_version, '<')) {
|
1989 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
1990 |
bwg_update($version);
|
@@ -2017,8 +2017,8 @@ function bwg_styles() {
|
|
2017 |
wp_enqueue_style('bwg_tables', WD_BWG_URL . '/css/bwg_tables.css', array(), wd_bwg_version());
|
2018 |
require_once(WD_BWG_DIR . '/framework/WDWLibrary.php');
|
2019 |
$google_fonts = WDWLibrary::get_google_fonts();
|
2020 |
-
for ($i = 0; $i < count($google_fonts); $i = $i +
|
2021 |
-
$fonts = array_slice($google_fonts, $i,
|
2022 |
$query = implode("|", str_replace(' ', '+', $fonts));
|
2023 |
$url = 'https://fonts.googleapis.com/css?family=' . $query . '&subset=greek,latin,greek-ext,vietnamese,cyrillic-ext,latin-ext,cyrillic';
|
2024 |
wp_enqueue_style('bwg_googlefonts_' . $i, $url, null, null);
|
@@ -2243,8 +2243,8 @@ function bwg_front_end_scripts() {
|
|
2243 |
// Google fonts.
|
2244 |
require_once(WD_BWG_DIR . '/framework/WDWLibrary.php');
|
2245 |
$google_fonts = WDWLibrary::get_google_fonts();
|
2246 |
-
for ($i = 0; $i < count($google_fonts); $i = $i +
|
2247 |
-
$fonts = array_slice($google_fonts, $i,
|
2248 |
$query = implode("|", str_replace(' ', '+', $fonts));
|
2249 |
$url = 'https://fonts.googleapis.com/css?family=' . $query . '&subset=greek,latin,greek-ext,vietnamese,cyrillic-ext,latin-ext,cyrillic';
|
2250 |
wp_enqueue_style('bwg_googlefonts_' . $i, $url, null, null);
|
@@ -2267,7 +2267,7 @@ function bwg_create_post_type() {
|
|
2267 |
$show_hide_post_meta = array('editor', 'comments', 'thumbnail', 'title');
|
2268 |
}
|
2269 |
else {
|
2270 |
-
$show_hide_post_meta = array('thumbnail', 'title');
|
2271 |
}
|
2272 |
if ($row->show_hide_custom_post == 0) {
|
2273 |
$show_hide_custom_post = false;
|
4 |
* Plugin Name: Photo Gallery
|
5 |
* Plugin URI: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
|
6 |
* Description: This plugin is a fully responsive gallery plugin with advanced functionality. It allows having different image galleries for your posts and pages. You can create unlimited number of galleries, combine them into albums, and provide descriptions and tags.
|
7 |
+
* Version: 1.3.22
|
8 |
* Author: WebDorado
|
9 |
* Author URI: https://web-dorado.com/
|
10 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
298 |
}
|
299 |
|
300 |
function bwg_shortcode($params) {
|
301 |
+
if ( is_admin() && defined('DOING_AJAX') && !DOING_AJAX) {
|
302 |
return;
|
303 |
}
|
304 |
if (isset($params['id'])) {
|
1932 |
));
|
1933 |
}
|
1934 |
$version = WD_BWG_VERSION;
|
1935 |
+
$new_version = '1.3.22';
|
1936 |
if ($version && version_compare($version, $new_version, '<')) {
|
1937 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
1938 |
bwg_update($version);
|
1984 |
|
1985 |
function bwg_update_hook() {
|
1986 |
$version = WD_BWG_VERSION;
|
1987 |
+
$new_version = '1.3.22';
|
1988 |
if ($version && version_compare($version, $new_version, '<')) {
|
1989 |
require_once WD_BWG_DIR . "/update/bwg_update.php";
|
1990 |
bwg_update($version);
|
2017 |
wp_enqueue_style('bwg_tables', WD_BWG_URL . '/css/bwg_tables.css', array(), wd_bwg_version());
|
2018 |
require_once(WD_BWG_DIR . '/framework/WDWLibrary.php');
|
2019 |
$google_fonts = WDWLibrary::get_google_fonts();
|
2020 |
+
for ($i = 0; $i < count($google_fonts); $i = $i + 120) {
|
2021 |
+
$fonts = array_slice($google_fonts, $i, 120);
|
2022 |
$query = implode("|", str_replace(' ', '+', $fonts));
|
2023 |
$url = 'https://fonts.googleapis.com/css?family=' . $query . '&subset=greek,latin,greek-ext,vietnamese,cyrillic-ext,latin-ext,cyrillic';
|
2024 |
wp_enqueue_style('bwg_googlefonts_' . $i, $url, null, null);
|
2243 |
// Google fonts.
|
2244 |
require_once(WD_BWG_DIR . '/framework/WDWLibrary.php');
|
2245 |
$google_fonts = WDWLibrary::get_google_fonts();
|
2246 |
+
for ($i = 0; $i < count($google_fonts); $i = $i + 120) {
|
2247 |
+
$fonts = array_slice($google_fonts, $i, 120);
|
2248 |
$query = implode("|", str_replace(' ', '+', $fonts));
|
2249 |
$url = 'https://fonts.googleapis.com/css?family=' . $query . '&subset=greek,latin,greek-ext,vietnamese,cyrillic-ext,latin-ext,cyrillic';
|
2250 |
wp_enqueue_style('bwg_googlefonts_' . $i, $url, null, null);
|
2267 |
$show_hide_post_meta = array('editor', 'comments', 'thumbnail', 'title');
|
2268 |
}
|
2269 |
else {
|
2270 |
+
$show_hide_post_meta = array('editor', 'thumbnail', 'title');
|
2271 |
}
|
2272 |
if ($row->show_hide_custom_post == 0) {
|
2273 |
$show_hide_custom_post = false;
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-photo-gallery-plugin.html
|
|
4 |
Tags: album, image gallery, gallery, image, images, lightbox, photo, photo gallery, photos, responsive, thumbnail, widget
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 1.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -173,6 +173,17 @@ To enable the feature of adding Media Library images, go to Photo Gallery > Opti
|
|
173 |
|
174 |
== Changelog ==
|
175 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
= 1.3.21 =
|
177 |
* Fixed: Frontend content language in AJAX response on Wordpress 4.7.
|
178 |
* Fixed: Images check all in backend on Wordpress 4.7.
|
4 |
Tags: album, image gallery, gallery, image, images, lightbox, photo, photo gallery, photos, responsive, thumbnail, widget
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 1.3.22
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
173 |
|
174 |
== Changelog ==
|
175 |
|
176 |
+
= 1.3.22 =
|
177 |
+
* Fixed: Styles on Twenty Seventeen theme.
|
178 |
+
* Fixed: Conflict with lazy load in albums views.
|
179 |
+
* Fixed: Google fonts bad request.
|
180 |
+
* Fixed: Tag in gallery box url.
|
181 |
+
* Fixed: German translation (Thanks to Hans-Jurgen Stephan).
|
182 |
+
* Fixed: Tag pages display bug.
|
183 |
+
* Fixed: Upload only images zip.
|
184 |
+
* Fixed: Show galleries in pages loaded with ajax.
|
185 |
+
* Fixed: Conflict with "All in One SEO Pack" plugin.
|
186 |
+
|
187 |
= 1.3.21 =
|
188 |
* Fixed: Frontend content language in AJAX response on Wordpress 4.7.
|
189 |
* Fixed: Images check all in backend on Wordpress 4.7.
|