diff options
| author | spiderr <spiderr@bitweaver.org> | 2023-11-25 14:23:35 -0500 |
|---|---|---|
| committer | spiderr <spiderr@bitweaver.org> | 2023-11-25 14:23:35 -0500 |
| commit | 0511f8c46fe11bfe814f4bc3e92aae91258a969d (patch) | |
| tree | eddc0f2c612c2a5d4b5307d6f18e6549a2fc504e /templates | |
| parent | 4140292003648502e765507b28ac43b42ba7e013 (diff) | |
| download | fisheye-0511f8c46fe11bfe814f4bc3e92aae91258a969d.tar.gz fisheye-0511f8c46fe11bfe814f4bc3e92aae91258a969d.tar.bz2 fisheye-0511f8c46fe11bfe814f4bc3e92aae91258a969d.zip | |
w3c cleanup: The type attribute is unnecessary for JavaScript resources.
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/admin_fisheye.tpl | 4 | ||||
| -rw-r--r-- | templates/edit_gallery.tpl | 2 | ||||
| -rw-r--r-- | templates/find_user.tpl | 4 | ||||
| -rw-r--r-- | templates/image_order.tpl | 2 | ||||
| -rw-r--r-- | templates/list_galleries.tpl | 2 | ||||
| -rw-r--r-- | templates/upload_fisheye.tpl | 4 |
6 files changed, 9 insertions, 9 deletions
diff --git a/templates/admin_fisheye.tpl b/templates/admin_fisheye.tpl index eb28eba..ece709b 100644 --- a/templates/admin_fisheye.tpl +++ b/templates/admin_fisheye.tpl @@ -1,5 +1,5 @@ {literal} -<script type="text/javascript">//<![CDATA[ +<script>//<![CDATA[ function updateGalleryPagination() { BitBase.hideById('fixed_grid-pagination'); BitBase.hideById('auto_flow-pagination'); @@ -169,6 +169,6 @@ function updateGalleryPagination() { {/form} {/strip} -<script type="text/javascript">//<![CDATA[ +<script>//<![CDATA[ updateGalleryPagination(); //]]></script> diff --git a/templates/edit_gallery.tpl b/templates/edit_gallery.tpl index 0c6f9d7..0fcd714 100644 --- a/templates/edit_gallery.tpl +++ b/templates/edit_gallery.tpl @@ -1,5 +1,5 @@ {literal} -<script type="text/javascript">//<![CDATA[ +<script>//<![CDATA[ function updateGalleryPagination() { document.getElementById('fixed_grid-pagination').style.display = 'none'; document.getElementById('auto_flow-pagination').style.display = 'none'; diff --git a/templates/find_user.tpl b/templates/find_user.tpl index 23b75f3..0eb54b7 100644 --- a/templates/find_user.tpl +++ b/templates/find_user.tpl @@ -2,14 +2,14 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Find User</title> - <script type="text/javascript" src="{$smarty.const.UTIL_PKG_URL}javascript/bitweaver.js"></script> + <script src="{$smarty.const.UTIL_PKG_URL}javascript/bitweaver.js"></script> <style type="text/css"><!-- {if $gBitSystem->mStyles.styleSheet}@import url({$gBitSystem->mStyles.styleSheet});{/if} --></style> {literal} - <script type="text/javascript">//<![CDATA[ + <script>//<![CDATA[ function returnUserInfo(userId, username) { self.opener.document.getElementById("found_user_id").value = userId; self.opener.document.getElementById("found_username").innerHTML = username; diff --git a/templates/image_order.tpl b/templates/image_order.tpl index f07cc96..b12223b 100644 --- a/templates/image_order.tpl +++ b/templates/image_order.tpl @@ -70,7 +70,7 @@ <tr> <td colspan="4" align="right"> <label>{tr}Use Random Gallery Image{/tr} <input type="radio" name="gallery_preview_content_id" id="gallery_preview_content_id" value="" {if $gContent->mInfo.preview_content_id == ""}checked="checked"{/if} /></label><br/> - <script type="text/javascript">/* <![CDATA[ */ + <script>/* <![CDATA[ */ document.write("<label>{tr}Batch select all images{/tr} <input name=\"switcher\" id=\"switcher\" type=\"checkbox\" onclick=\"BitBase.switchCheckboxes(this.form.id,'batch[]','switcher')\" /></label>"); /* ]]> */</script> </td> diff --git a/templates/list_galleries.tpl b/templates/list_galleries.tpl index 1265b72..996ab93 100644 --- a/templates/list_galleries.tpl +++ b/templates/list_galleries.tpl @@ -93,7 +93,7 @@ </div> <!-- end .fisheye --> {/strip} {literal} - <script src="/storage/static/js/popover.js" type="text/javascript"></script> + <script src="/storage/static/js/popover.js"></script> <script> $('background-image').error(function(){ $(this).attr('src', '/storage/static/images/no-image.png'); diff --git a/templates/upload_fisheye.tpl b/templates/upload_fisheye.tpl index d466ca0..3a2cd5e 100644 --- a/templates/upload_fisheye.tpl +++ b/templates/upload_fisheye.tpl @@ -45,11 +45,11 @@ <div class="form-group"> {formlabel label="Selected File(s)" for=""} {forminput} - <script type="text/javascript" src="{$smarty.const.UTIL_PKG_URL}javascript/multifile.js"></script> + <script src="{$smarty.const.UTIL_PKG_URL}javascript/multifile.js"></script> <div id="fileslist"></div> <div class="clear"></div> {formhelp note="These files will be uploaded when you hit the upload button below."} - <script type="text/javascript">/* <![CDATA[ Multi file upload */ + <script>/* <![CDATA[ Multi file upload */ var multi_selector = new MultiSelector( document.getElementById( 'fileslist' ), 10 ); multi_selector.addElement( document.getElementById( 'fileupload' ) ); /* ]]> */</script> |
