koblog/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
js Update jstz to detect the timezone in the installation 2020-02-05 20:45:43 +01:00
categories.class.php
category.class.php
functions.php Bug fixed, set a homepage and enable the filter /blog/ 2020-03-25 21:25:00 +01:00
language.class.php
login.class.php
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
tag.class.php
tags.class.php
url.class.php
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