diff --git a/Screens/f155_theme_101.sql b/Screens/f155_theme_101.sql
index e71a07c..d40d843 100644
--- a/Screens/f155_theme_101.sql
+++ b/Screens/f155_theme_101.sql
@@ -170,7 +170,8 @@ declare
l_clob clob;
l_length number := 1;
begin
-c1:=c1||''||chr(10)||
+c1:=c1||''||chr(10)||
''||chr(10)||
'
'||chr(10)||
'#TITLE#'||chr(10)||
@@ -179,16 +180,16 @@ c1:=c1||''||chr(10)||
-''||chr(10)||
+'
'||chr(10)||
-'
'||chr(10)||
+c1:=c1||'://www.nationalgrid.com/">

'||chr(10)||
'
'||chr(10)||
''||chr(10)||
'
'||chr(10)||
-'
Home |
Home |
Logout |
You are logged in as:&APP_USER.'||chr(10)||
+c1:=c1||'lass="hskpnav" title="Log out of the system" accesskey="2">Logout |
You are logged in as:&APP_USER.'||chr(10)||
'
'||chr(10)||
'
'||chr(10)||
''||chr(10)||
@@ -239,10 +240,10 @@ c3:=c3||''||chr(10)||
'#REGION_POSITION_04#'||chr(10)||
'
'||chr(10)||
''||chr(10)||
-'
Important Messages
'||chr(10)||
-'
Impo';
-c3:=c3||'iv class="t4messages">#GLOBAL_NOTIFICATION##SUCCESS_MESSAGE##NOTIFICATION_MESSAGE# '||chr(10)||
+c3:=c3||'rtant Messages'||chr(10)||
+'#GLOBAL_NOTIFICATION##SUCCESS_MESSAGE##NOTIFICATION_MESSAGE#
'||chr(10)||
''||chr(10)||
''||chr(10)||
''||chr(10)||
@@ -1007,41 +1008,58 @@ c1:=c1||'r vElementList = null;'||chr(10)||
' var vAjaxResult = null;'||chr(10)||
' var vMyMsg = '''';'||chr(10)||
''||chr(10)||
+'if (!document.getElementById)'||chr(10)||
+' return;'||chr(10)||
+''||chr(10)||
+'if (!document.createElement)'||chr(10)||
+' return;'||chr(10)||
''||chr(10)||
' vElementList = window.document.getElementsByTagName("div");'||chr(10)||
-' for (i=0; i < vElementList.length; i++)'||chr(10)||
+' for (i=0; ';
+
+c1:=c1||'i < vElementList.length; i++)'||chr(10)||
' {'||chr(10)||
' vElement = vElementList[i];'||chr(10)||
' '||chr(10)||
-' if (vElement';
-
-c1:=c1||'.className == "ErrorPageMessage")'||chr(10)||
+' if (vElement.className == "ErrorPageMessage")'||chr(10)||
' {'||chr(10)||
-' vErrorStack = (vErrorStack ==null?"":vErrorStack+"
")+vElement.innerHTML;'||chr(10)||
+' vErrorStack = (vErrorStack ==null?"":vErrorStack)+vElement.innerHTML;'||chr(10)||
' vElement.innerHTML = '''';'||chr(10)||
' vOraErrorStack = vErrorStack.split("ORA-");'||chr(10)||
' for(var j=1; j < vOraErrorStack.length; j++) {'||chr(10)||
' vOraError = vOraErrorStack[j];'||chr(10)||
-' vAjaxRequest = new htmldb_Get(null,&APP_ID.,''APPLICATION_PROCESS=''+p_err_process,0);'||chr(10)||
-' vAjaxReque';
+' vAjaxRequest = new htmldb_G';
-c1:=c1||'st.add(p_err_item,vOraError);'||chr(10)||
+c1:=c1||'et(null,&APP_ID.,''APPLICATION_PROCESS=''+p_err_process,0);'||chr(10)||
+' vAjaxRequest.add(p_err_item,vOraError);'||chr(10)||
' vAjaxResult = vAjaxRequest.get();'||chr(10)||
' if (vAjaxResult) {'||chr(10)||
-' vMyMsg = vMyMsg + vAjaxResult + ''
'' ;'||chr(10)||
+' vMyMsg = vMyMsg + vAjaxResult;'||chr(10)||
' } else {'||chr(10)||
-' vMyMsg = vMyMsg + ''ORA-''+vOraError.substring(0) + ''
'' ;'||chr(10)||
+' vMyMsg = vMyMsg + vOraError.substring(0);'||chr(10)||
' }'||chr(10)||
' }'||chr(10)||
-' document.getElementById(''ORA'').innerHTML = vMyMsg;'||chr(10)||
+'if (document.getElementById && document.createElement) {'||chr(10)||
+' var divA = document.getElementById(''ErrorOu';
+
+c1:=c1||'tputDiv'');'||chr(10)||
+' var oH = document.createElement(''h1'');'||chr(10)||
+' oH.appendChild(document.createTextNode(''Validation failed because:''));'||chr(10)||
+' var oP = document.createElement(''p'');'||chr(10)||
+' oP.id = ''FriendlyError'';'||chr(10)||
+' oP.appendChild(document.createTextNode(vMyMsg));'||chr(10)||
+' // Insert the heading as the first child of the element'||chr(10)||
+' divA.insertBefore(oP, divA.firstChild);'||chr(10)||
+' divA.insertBefore(oH, divA.firstChild);';
+
+c1:=c1||''||chr(10)||
+' }'||chr(10)||
' }'||chr(10)||
' }'||chr(10)||
'}'||chr(10)||
''||chr(10)||
''||chr(10)||
-'#FORM';
-
-c1:=c1||'_OPEN#'||chr(10)||
+'#FORM_OPEN#'||chr(10)||
''||chr(10)||
'';
@@ -1079,24 +1097,20 @@ c3:=c3||''||chr(10)||
'
'||chr(10)||
'
#REGION_POSITION_08#
'||chr(10)||
'
'||chr(10)||
-'
'||chr(10)||
-''||chr(10)||
-'
'||chr(10)||
+' '||chr(10)||
+'
'||chr(10)||
'#BOX_BODY#'||chr(10)||
-''||chr(10)||
-''||chr(10)||
-''||chr(10)||
'
'||chr(10)||
+'
'||chr(10)||
+''||chr(10)||
''||chr(10)||
'
Important Messages
'||chr(10)||
-'
#GLOBAL_NOTIFICATION#';
+'
#GLOBAL_NO';
-c3:=c3||'#SUCCESS_MESSAGE##NOTIFICATION_MESSAGE#
'||chr(10)||
+c3:=c3||'TIFICATION##SUCCESS_MESSAGE##NOTIFICATION_MESSAGE#
'||chr(10)||
'
'||chr(10)||
''||chr(10)||
''||chr(10)||
-''||chr(10)||
-''||chr(10)||
'';
wwv_flow_api.create_template(
@@ -1604,16 +1618,16 @@ declare
l_clob3 clob;
l_length number := 1;
begin
-t:=t||'
'||chr(10)||
+t:=t||''||chr(10)||
'
';
@@ -2088,7 +2102,7 @@ declare
l_length number := 1;
begin
t:=t||'
#TITLE#
'||chr(10)||
-'
'||chr(10)||
+''||chr(10)||
'
'||chr(10)||
''||chr(10)||
'| #CLOSE# #EXPAND##HELP##DELETE##EDIT##CHANGE##COPY##PREVIOUS##NEXT##CREATE##CREATE2# | '||chr(10)||
@@ -2109,7 +2123,6 @@ wwv_flow_api.create_plug_template (
p_theme_class_id => 9,
p_plug_heading_bgcolor => '#ffffff',
p_plug_font_size => '-1',
- p_translate_this_template => 'N',
p_template_comment => 'Red Theme');
end;
null;
@@ -2934,21 +2947,21 @@ declare
l_clob8 clob;
l_length number := 1;
begin
-t:=t||'
#TEXT#';
+t:=t||'
#TEXT#';
-t2:=t2||'
#TEXT#';
+t2:=t2||'
#TEXT#';
-t3:=t3||'
#TEXT#';
+t3:=t3||'
#TEXT#';
-t4:=t4||'
#TEXT#';
+t4:=t4||'
#TEXT#';
-t5:=t5||'
#TEXT#';
+t5:=t5||'
#TEXT#';
-t6:=t6||'
#TEXT#';
+t6:=t6||'
#TEXT#';
-t7:=t7||'
#TEXT#';
+t7:=t7||'
#TEXT#';
-t8:=t8||'
#TEXT#';
+t8:=t8||'
#TEXT#';
wwv_flow_api.create_list_template (
p_id=>24746820611526783 + wwv_flow_api.g_id_offset,