<%include include/head.html>
- <script language="javascript">
+ <script type="application/javascript">
function recheckMoveButtons() {
$("#sone .profile-field").each(function() {
$(".move-up-field", this).toggleClass("hidden", $(this).prev(".profile-field").length === 0);
<div class="page-id hidden">image-browser</div>
- <script language="javascript">
+ <script type="application/javascript">
/* hide all those forms. */
function hideAndShowBlock(blockElement, clickToShowElement, clickToHideElement) {
<%else>
<%if album.sone.local>
- <script language="javascript">
+ <script type="application/javascript">
$(function() {
getTranslation("WebInterface.DefaultText.UploadImage.Title", function(text) {
<%else>
<%if image.sone.local>
- <script language="javascript">
+ <script type="application/javascript">
$(function() {
getTranslation("WebInterface.DefaultText.EditImage.Title", function(text) {
$("#edit-image input[name='title']").each(function() {
<%elseif soneRequested>
<%if sone.local>
- <script language="javascript">
+ <script type="application/javascript">
$(function() {
getTranslation("WebInterface.DefaultText.CreateAlbum.Name", function(text) {
$("#create-album input[name='name']").each(function() {
<div class="page-id hidden">known-sones</div>
- <script language="javascript">
+ <script type="application/javascript">
$(document).ready(function() {
$("select[name=sort]").change(function() {
<%include include/head.html>
- <script language="javascript">
+ <script type="application/javascript">
$(document).ready(function() {
getTranslation("WebInterface.DefaultText.Option.InsertionDelay", function(insertionDelayDefaultText) {
registerInputTextareaSwap("#sone #options input[name=insertion-delay]", insertionDelayDefaultText, "insertion-delay", true, true);