1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02:00

Prevent gallery js loading on every admin page.

This commit is contained in:
Cameron
2016-06-30 08:38:32 -07:00
parent d601dd5243
commit 7a90a38473

View File

@@ -19,7 +19,7 @@ if(USER_AREA)
.thumbnails .span2:nth-child(6n+1) { .thumbnails .span2:nth-child(6n+1) {
margin-left:0; margin-left:0;
}", 'jquery'); }", 'jquery');
}
$plugPrefs = e107::getPlugConfig('gallery')->getPref(); $plugPrefs = e107::getPlugConfig('gallery')->getPref();
@@ -29,3 +29,5 @@ if(vartrue($plugPrefs['pp_global'], false))
// Load prettyPhoto settings and files. // Load prettyPhoto settings and files.
gallery_load_prettyphoto(); gallery_load_prettyphoto();
} }
}