Skip to content

Commit

Permalink
SAK-29171 remove deprecated language attribute from script tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ottenhoff committed Mar 17, 2015
1 parent 7ceecfb commit 73c9cb8
Show file tree
Hide file tree
Showing 50 changed files with 72 additions and 72 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## $Header: /cvs/sakai2/legacy/tools/src/webapp/vm/admin/chef_aliases_edit.vm,v 1.2 2005/05/24 19:36:12 gsilver.umich.edu Exp $
<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
focus_path = [#if(!$alias)"id"#else"target"#end];
</script>
<div class="portletBody">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
focus_path = ["archive-id"];
</script>
<div class="portletBody">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
focus_path = ["archive-id"];
</script>
<div class="portletBody">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
##<!-- $Header: /cvs/sakai2/legacy/tools/src/webapp/vm/admin/chef_realms_edit.vm,v 1.3 2005/05/28 03:04:35 ggolden.umich.edu Exp $ -->

<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
focus_path = [#if(!$realm)"id"#else"provider"#end];
</script>
<div class="portletBody">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## $Header: /cvs/sakai2/legacy/tools/src/webapp/vm/admin/chef_realms_edit_role.vm,v 1.2 2005/05/24 20:22:20 gsilver.umich.edu Exp $

<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
focus_path = ["id"];
</script>
<div class="portletBody">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## $Header: /cvs/sakai2/legacy/tools/src/webapp/vm/admin/chef_realms_edit_user.vm,v 1.2 2005/05/24 20:22:20 gsilver.umich.edu Exp $

<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
focus_path = ["id"];
</script>
<div class="portletBody">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##<!-- $Header: /cvs/sakai2/legacy/tools/src/webapp/vm/admin/chef_realms_list.vm,v 1.2 2005/05/19 19:53:01 gsilver.umich.edu Exp $ -->
<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
focus_path = ["search"];
</script>
<div class="portletBody">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
##<!-- $Header: /cvs/sakai2/legacy/tools/src/webapp/vm/admin/chef_realms_saveas.vm,v 1.2 2005/05/24 19:36:12 gsilver.umich.edu Exp $ -->
<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
focus_path = ["id"];
</script>
<div class="portletBody">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## $Header: /cvs/sakai2/legacy/tools/src/webapp/vm/admin/chef_realms_saveas_role.vm,v 1.2 2005/05/24 19:36:12 gsilver.umich.edu Exp $

<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
focus_path = ["id"];
</script>
<div class="portletBody">
Expand Down
4 changes: 2 additions & 2 deletions chat/chat-tool/tool/src/webapp/jsp/room.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ var chat2_messageCountTemplate = "<h:outputText value="#{ChatTool.messagesShownT
</t:div>
<p style="clear:both;display:block;"></p>

<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
setMainFrameHeight('<h:outputText value="#{ChatTool.framePlacementId}" />');
</script>

<!-- We can't use the sakai:courier tag because it works from the tool placement id... and this is now specific to presence in the room -->
<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
updateTime = 10000;
updateUrl = "<h:outputText value="#{ChatTool.courierString}" />";
scheduleUpdate();
Expand Down
2 changes: 1 addition & 1 deletion chat/chat-tool/tool/src/webapp/jsp/roomMonitor.jspf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</c:forEach>
</ul>

<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
//set for the chatscript.js
deleteMsg = "<h:outputText value="#{msgs['list.del']}" />";
deleteUrl = "<h:outputText value="#{ChatTool.toolContext}/sakai.chat.deleteMessage.helper/deleteMessageConfirm?session.current_message=" />";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
</form>
.
</div>
<script language="JavaScript" type="text/javascript">
<script type="text/javascript">
<!--
function submitform(id)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## $Header: /cvs/sakai2/legacy/tools/src/webapp/vm/content/chef_resources_webdav.vm,v 1.7 2005/06/08 15:19:32 gsilver.umich.edu Exp $
<!-- chef_resources_webdav.vm, use with org.chefproject.ContentListAction.java -->
<script language="JavaScript" type="text/JavaScript">
<script type="text/javascript">
<!--
function openCopyrightWindow(theURL,winName,winSettings)
{
Expand Down Expand Up @@ -55,7 +55,7 @@
</script>
## to prevent horiz scroll on IE
<!--[if IE]>
<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
document.body.style.width='96%'
</script>
<![endif]-->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- sakai_cropbox_options.vm, use with org.sakaiproject.content.tool.ResourcesAction.java -->

<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
<!--
function submitform(id)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- sakai_filepicker_attach.vm, version: Id: $, use with org.sakaiproject.content.tool.FilePickerAction.java -->
<script language="JavaScript" type="text/JavaScript">
<script type="text/javascript">
<!--
function openCopyrightWindow(theURL,winName,winSettings)
{
Expand Down Expand Up @@ -50,7 +50,7 @@
<input type="hidden" name="sakai_csrf_token" value="$sakai_csrf_token" />
</form>

<script language="JavaScript" type="text/JavaScript">
<script type="text/javascript">
function doattachsubmit(itemId) {
document.getElementById('doattachitemid').setAttribute('value',itemId);
var f = document.getElementById('doattachitem');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ $(document).ready(function() {
<input type="hidden" name="sakai_csrf_token" value="$sakai_csrf_token" />
</form>

<script language="JavaScript" type="text/JavaScript">
<script type="text/javascript">
function doattachsubmit(itemId) {
document.getElementById('doattachitemid').setAttribute('value',itemId);
var f = document.getElementById('doattachitem');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

</form>
</div>
<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
<!--
focus_path = ["page"];
function submitform(id)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<script type="text/javascript">
focus_path = [ "selected-item" ];
</script>
<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
<!--
function submitform(id)
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- sakai_resources_options.vm, use with org.sakaiproject.content.tool.ResourcesAction.java -->

<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
<!--
function submitform(id)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
</form>

</div>
<script language="JavaScript" type="text/javascript">
<script type="text/javascript">
<!--
function submitform(id)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<input type="hidden" name="sakai_csrf_token" value="$sakai_csrf_token" />
</form>
</div>
<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
<!--
function submitform(id)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<input type="hidden" name="sakai_csrf_token" value="$sakai_csrf_token" />
</form>
</div>
<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
<!--
function submitform(id)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<input type="hidden" name="sakai_csrf_token" value="$sakai_csrf_token" />
</form>
</div>
<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
<!--
function submitform(id)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<input type="hidden" name="sakai_csrf_token" value="$sakai_csrf_token" />
</form>
</div>
<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
<!--
function submitform(id)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</form>
</div>

<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
$(document).ready (function (){
/*Sort by name*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<input type="hidden" name="sakai_csrf_token" value="$sakai_csrf_token" />
</form>
</div>
<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
<!--
function submitform(id)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<input type="hidden" name="sakai_csrf_token" value="$sakai_csrf_token" />
</form>
</div>
<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
<!--
function submitform(id)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<input type="hidden" name="sakai_csrf_token" value="$sakai_csrf_token" />
</form>
</div>
<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
<!--
function submitform(id)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<input type="hidden" name="sakai_csrf_token" value="$sakai_csrf_token" />
</form>
</div>
<script type="text/javascript" language="JavaScript">
<script type="text/javascript">
<!--
function submitform(id)
{
Expand Down
2 changes: 1 addition & 1 deletion jsf/jsf-resource/src/webapp/inputColor/inputColor.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</select>
</td></tr>
<tr><td align="center">
<script language="JavaScript">
<script type="text/javascript">
var P = opener.TCP;
onload = "P.show(P.initPalette)";
document.forms[0].elements[0].selectedIndex = P.initPalette;
Expand Down
6 changes: 3 additions & 3 deletions jsf/jsf-resource/src/webapp/inputDate/calendar.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<style>
td {font-family: Tahoma, Verdana, sans-serif; font-size: 12px;}
</style>
<script language="JavaScript">
<script type="text/javascript">

// months as they appear in the calendar's title
var ARR_MONTHS = ["January", "February", "March", "April", "May", "June",
Expand Down Expand Up @@ -93,7 +93,7 @@
<table cellspacing="1" cellpadding="3" border="0" width="100%">
<tr><td colspan="7"><table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<script language="JavaScript">
<script type="text/javascript">
document.write(
'<td>'+(obj_caller&&obj_caller.year_scroll?'<a href="javascript:set_datetime('+dt_prev_year.valueOf()+')"><img src="'+STR_ICONPATH+'prev_year.gif" width="16" height="16" border="0" alt="previous year"></a>&nbsp;':'')+'<a href="javascript:set_datetime('+dt_prev_month.valueOf()+')"><img src="'+STR_ICONPATH+'prev.gif" width="16" height="16" border="0" alt="previous month"></a></td>'+
'<td align="center" width="100%"><font color="#ffffff">'+ARR_MONTHS[dt_current.getMonth()]+' '+dt_current.getFullYear() + '</font></td>'+
Expand All @@ -103,7 +103,7 @@
</tr>
</table></td></tr>
<tr>
<script language="JavaScript">
<script type="text/javascript">

// print weekdays titles
for (var n=0; n<7; n++)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<html style="width:300px; Height: 60px;">
<head>
<title>Select Phrase</title>
<script language="javascript">
<script type="text/javascript">

var myTitle = window.dialogArguments;
document.title = myTitle;
Expand Down Expand Up @@ -32,4 +32,4 @@

</div>
</form>
</body></html>
</body></html>
6 changes: 3 additions & 3 deletions podcasts/podcasts-app/src/webapp/html/calendar.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<style>
td {font-family: Tahoma, Verdana, sans-serif; font-size: 12px;}
</style>
<script language="JavaScript">
<script type="text/javascript">

// months as they appear in the calendar's title
var ARR_MONTHS = ["January", "February", "March", "April", "May", "June",
Expand Down Expand Up @@ -126,7 +126,7 @@
<table cellspacing="1" cellpadding="3" border="0" width="100%">
<tr><td colspan="7"><table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<script language="JavaScript">
<script type="text/javascript">
document.write(
'<td>'+(obj_caller&&obj_caller.year_scroll?'<a href="javascript:set_datetime_update('+dt_prev_year.valueOf()+', root)"><img src="'+STR_ICONPATH+'prev_year.gif" width="16" height="16" border="0" alt="previous year"></a>&nbsp;':'')+'<a href="javascript:set_datetime_update('+dt_prev_month.valueOf()+', root)"><img src="'+STR_ICONPATH+'prev.gif" width="16" height="16" border="0" alt="previous month"></a></td>'+
'<td align="center" width="100%"><font color="#ffffff">'+ARR_MONTHS[dt_current.getMonth()]+' '+dt_current.getFullYear() + '</font></td>'+
Expand All @@ -136,7 +136,7 @@
</tr>
</table></td></tr>
<tr>
<script language="JavaScript">
<script type="text/javascript">

// print weekdays titles
for (var n=0; n<7; n++)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<style>
td {font-family: Tahoma, Verdana, sans-serif; font-size: 12px;}
</style>
<script language="JavaScript">
<script type="text/javascript">

// months as they appear in the calendar's title
var ARR_MONTHS = ["January", "February", "March", "April", "May", "June",
Expand Down Expand Up @@ -109,7 +109,7 @@
<table cellspacing="1" cellpadding="3" border="0" width="100%">
<tr><td colspan="7"><table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<script language="JavaScript">
<script type="text/javascript">
document.write(
'<td>'+(obj_caller&&obj_caller.year_scroll?'<a href="javascript:set_datetime_update('+dt_prev_year.valueOf()+', root)"><img src="'+STR_ICONPATH+'prev_year.gif" width="16" height="16" border="0" alt="previous year"></a>&nbsp;':'')+'<a href="javascript:set_datetime_update('+dt_prev_month.valueOf()+', root)"><img src="'+STR_ICONPATH+'prev.gif" width="16" height="16" border="0" alt="previous month"></a></td>'+
'<td align="center" width="100%"><font color="#ffffff">'+ARR_MONTHS[dt_current.getMonth()]+' '+dt_current.getFullYear() + '</font></td>'+
Expand All @@ -119,7 +119,7 @@
</tr>
</table></td></tr>
<tr>
<script language="JavaScript">
<script type="text/javascript">

// print weekdays titles
for (var n=0; n<7; n++)
Expand Down
4 changes: 2 additions & 2 deletions podcasts/podcasts-app/src/webapp/podcasts/podAdd.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<link href="./css/podcaster.css" type="text/css" rel="stylesheet" media="all" />

<sakai:view>
<script type="text/javascript" src="jsf/widget/datepicker/datepicker.js" language="JavaScript" ></script>
<script type="text/javascript" src="jsf/widget/datepicker/datepicker.js"></script>

<h:form id="podAdd" enctype="multipart/form-data">

Expand Down Expand Up @@ -85,4 +85,4 @@
</sakai:button_bar>
</h:form>
</sakai:view>
</f:view>
</f:view>
2 changes: 1 addition & 1 deletion podcasts/podcasts-app/src/webapp/podcasts/podMain.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<f:view>
<sakai:view title="#{msgs.podcast_home_title}" toolCssHref="css/podcaster.css">
<script type="text/javascript" language="JavaScript" src="scripts/popupscripts.js"></script>
<script type="text/javascript" src="scripts/popupscripts.js"></script>

<h:form>

Expand Down
Loading

0 comments on commit 73c9cb8

Please sign in to comment.