bludit/bl-kernel
Jereme Hancock 9a1ff17545
Allow passing in attributes for Theme js files
This is a follow up to a previous PR. The async attribute can cause issues with some js files. For instance I added the lozad.js (https://github.com/ApoorvSaxena/lozad.js) for lazy loading and included it via my theme. However, with the current automatic inclusion of "async" things didn't work. 

So this update allows Theme developers to prevent the async attribute by passing in "null".

Example: ```<?php echo Theme::javascript('js/lozad.min.js', DOMAIN_THEME, null); ?>```

If the Theme developer doesn't include "null" the default will be to use "async".
2020-04-05 20:15:09 -05:00
..
abstract Remove HTML and PHP tags from the users,categories and tags fields, prevent XSS 2019-10-12 11:35:35 +02:00
admin Bludit v3.12.0 metadata 2020-03-21 15:44:27 +01:00
ajax Security bug fixed #1131 and refresh profile picture after uploaded 2020-02-05 20:57:07 +01:00
boot Bludit v3.12.0 metadata 2020-03-21 15:44:27 +01:00
css Fix #1051 Bug - Media Manager Pagination 2020-01-01 22:28:59 +05:30
helpers Allow passing in attributes for Theme js files 2020-04-05 20:15:09 -05:00
img Move images to bl-kernel folder #981 2019-03-07 16:13:47 +01:00
js Update jstz to detect the timezone in the installation 2020-02-05 20:45:43 +01:00
categories.class.php include sticky and static pages to the categories 2019-02-28 19:44:46 +01:00
category.class.php Get categories via the API 2019-05-12 12:32:12 +02:00
functions.php Bug fixed, set a homepage and enable the filter /blog/ 2020-03-25 21:25:00 +01:00
language.class.php check extension and path traversal 2019-03-10 18:27:24 +01:00
login.class.php Migrate private variables to protected to allow to extend classes 2019-01-26 12:50:48 +01:00
pages.class.php Create directory for upload pictures for each new page 2020-03-20 19:48:44 +01:00
pagex.class.php Improve date modified returns 2019-11-18 20:18:29 +01:00
parsedown.class.php Update parsedown 1.7.3 -> 1.7.4 2020-01-01 16:24:11 +05:30
security.class.php Remove use of headers that can be used to bypass anti-brute force controls 2019-10-05 18:22:25 +01:00
site.class.php add support for vk.com social network 2019-12-07 14:32:39 +01:00
syslog.class.php Migrate private variables to protected to allow to extend classes 2019-01-26 12:50:48 +01:00
tag.class.php API improves 2019-02-19 08:38:17 +01:00
tags.class.php Bug fix for PHP 5.6 when upload images 2019-05-29 19:28:11 +02:00
url.class.php remove a few lines not used 2019-02-22 16:43:00 +01:00
user.class.php add support for vk.com social network 2019-12-07 14:32:39 +01:00
users.class.php add support for vk.com social network 2019-12-07 14:32:39 +01:00