bludit/bl-kernel/helpers
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
..
alert.class.php changes on directories names 2016-01-20 21:29:01 -03:00
cookie.class.php Compatibility with php 5.3 2017-12-15 23:58:29 +01:00
date.class.php Pages with differents dates after installation 2019-02-02 16:14:00 +01:00
dom.class.php Keep errors internal 2017-10-21 20:35:45 +02:00
email.class.php updates 2016-05-07 00:22:48 -03:00
filesystem.class.php Merge branch 'master' of github.com:dignajar/bludit 2020-03-14 12:03:50 +01:00
image.class.php Bug fix for #868, allow upload file extension with upper case letters 2018-11-21 18:48:34 -03:00
log.class.php trace mode for debug 2018-12-26 20:43:20 +01:00
paginator.class.php bug fix for #961 2019-02-22 18:42:27 +01:00
redirect.class.php After logout go to login page 2018-10-23 20:25:06 +02:00
sanitize.class.php Remove HTML and PHP tags from the users,categories and tags fields, prevent XSS 2019-10-12 11:35:35 +02:00
session.class.php User object, new reader role for users 2018-07-25 23:42:00 +02:00
tcp.class.php ping Google and Bing when sitemap changed 2018-09-18 19:46:10 +02:00
text.class.php Fix PHP 7.4 "Deprecated: Array and string offset access syntax with curly braces is deprecated" 2020-02-27 03:08:27 +05:30
theme.class.php Allow passing in attributes for Theme js files 2020-04-05 20:15:09 -05:00
valid.class.php changes on directories names 2016-01-20 21:29:01 -03:00