diff options
author | Chad Kieffer <ckieffer@gmail.com> | 2009-10-30 00:14:57 -0600 |
---|---|---|
committer | Chad Kieffer <ckieffer@gmail.com> | 2009-10-30 00:14:57 -0600 |
commit | 03b4b2749825778e1fb436944e0e1225686f7705 (patch) | |
tree | df41e85fc55a7aaef9154d68793c97e8fb80bf4c | |
parent | c6fbd34f28f9d02f38a6c6cacbcd72fa34eee591 (diff) |
Add type attribute to rest of our script tags.
-rw-r--r-- | modules/gallery/views/movieplayer.html.php | 2 | ||||
-rw-r--r-- | modules/gallery/views/welcome_message.html.php | 2 | ||||
-rw-r--r-- | modules/server_add/helpers/server_add_theme.php | 2 | ||||
-rw-r--r-- | themes/night_wind/views/photo.html.php | 2 | ||||
-rw-r--r-- | themes/wind/views/photo.html.php | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/modules/gallery/views/movieplayer.html.php b/modules/gallery/views/movieplayer.html.php index e9783eb8..f7af8d93 100644 --- a/modules/gallery/views/movieplayer.html.php +++ b/modules/gallery/views/movieplayer.html.php @@ -1,6 +1,6 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <?= html::anchor($item->file_url(true), "", $attrs) ?> -<script> +<script type="text/javascript"> flowplayer( "<?= $attrs["id"] ?>", { diff --git a/modules/gallery/views/welcome_message.html.php b/modules/gallery/views/welcome_message.html.php index b50163fa..24d01bab 100644 --- a/modules/gallery/views/welcome_message.html.php +++ b/modules/gallery/views/welcome_message.html.php @@ -21,7 +21,7 @@ class="g-button ui-state-default ui-corners-all"> <?= t("Change password now") ?> </a> - <script> + <script type="text/javascript"> $("#g-after-install-change-password-link").gallery_dialog(); </script> </p> diff --git a/modules/server_add/helpers/server_add_theme.php b/modules/server_add/helpers/server_add_theme.php index e213779c..84f28df2 100644 --- a/modules/server_add/helpers/server_add_theme.php +++ b/modules/server_add/helpers/server_add_theme.php @@ -32,7 +32,7 @@ class server_add_theme_Core { $theme->css("jquery.autocomplete.css"); $base = url::site("__ARGS__"); $csrf = access::csrf_token(); - $head[] = "<script> var base_url = \"$base\"; var csrf = \"$csrf\";</script>"; + $head[] = "<script type=\"text/javascript\"> var base_url = \"$base\"; var csrf = \"$csrf\";</script>"; $theme->script("jquery.autocomplete.js"); $theme->script("admin.js"); diff --git a/themes/night_wind/views/photo.html.php b/themes/night_wind/views/photo.html.php index b33e2afa..e1231f65 100644 --- a/themes/night_wind/views/photo.html.php +++ b/themes/night_wind/views/photo.html.php @@ -2,7 +2,7 @@ <? if (access::can("view_full", $theme->item())): ?> <!-- Use javascript to show the full size as an overlay on the current page --> -<script> +<script type="text/javascript"> $(document).ready(function() { $(".g-fullsize-link").click(function() { $.gallery_show_full_size(<?= html::js_string($theme->item()->file_url()) ?>, "<?= $theme->item()->width ?>", "<?= $theme->item()->height ?>"); diff --git a/themes/wind/views/photo.html.php b/themes/wind/views/photo.html.php index b33e2afa..e1231f65 100644 --- a/themes/wind/views/photo.html.php +++ b/themes/wind/views/photo.html.php @@ -2,7 +2,7 @@ <? if (access::can("view_full", $theme->item())): ?> <!-- Use javascript to show the full size as an overlay on the current page --> -<script> +<script type="text/javascript"> $(document).ready(function() { $(".g-fullsize-link").click(function() { $.gallery_show_full_size(<?= html::js_string($theme->item()->file_url()) ?>, "<?= $theme->item()->width ?>", "<?= $theme->item()->height ?>"); |