anchor.diff:  </table>
   
   #gui_mid()
  +<div id="theLabel"><%= StringEscapeUtils.escapeHtml( textEditPage.getLabel() ) %></div>
   
   <table border="0" cellspacing="0" cellpadding="2" width="660" align="center">
  -<tr>#set( $textIndex = "<%= textEditPage.getTextIndex() %>" )#set( $documentId = "<%= textEditPage.getDocumentId() %>" )
  -	<td colspan="2">#gui_heading( "<? templates/sv/change_text.html/4/1 ?><%=
  -	(textEditPage != null && StringUtils.isNotBlank(textEditPage.getLabel()))
  -		? " &nbsp;&#150;&nbsp; <i>" + StringEscapeUtils.escapeHtml(textEditPage.getLabel()) + "</i>" : "" %>" )</td>
  -</tr>
   </vel:velocity>
   <tr>
  -	<td colspan="2" class="imcmsAdmForm"><%
  -	if (rows == 1) { %>
  -	<input type="text" tabindex="1" name="text" id="txtCont" style="width:100%" value="<%= StringEscapeUtils.escapeHtml( textEditPage.getTextString() ) %>"><%
  -	} else { %>
  -	<textarea name="text" tabindex="1" id="txtCont" cols="125" rows="<%= (rows > 1) ? rows : 18 %>" style="overflow: auto; width: 100%" wrap="virtual">
  -<%= StringEscapeUtils.escapeHtml( textEditPage.getTextString() ) %></textarea><%
  -	} %></td>
  +	<td colspan="2" class="imcmsAdmForm">
  +	<textarea name="text" tabindex="1" id="text" cols="125" rows="18" style="overflow: auto; width: 100%" wrap="virtual"><%= StringEscapeUtils.escapeHtml( textEditPage.getTextString() ) %></textarea></td>
   </tr>
   <vel:velocity>
   <tr>
   	<td colspan="2">
   	<table border="0" cellspacing="0" cellpadding="0" width="100%">
   	<tr>
  -		<td>
  -		<table border="0" cellpadding="0" cellspacing="0">
  -		<tr>
  -			<td class="imcmsAdmText">&nbsp;<? templates/sv/change_text.html/1001 ?>&nbsp;</td><%
  -		if (showModeText) { %>
  -			<td><input type="RADIO" tabindex="6" name="format_type" id="format_type0" value="0"<%
  -			%><%= (imcmsModeText) ? "" : " checked" %>></td>
  -			<td class="imcmsAdmText">
  -			<label for="format_type0" accesskey="T" title="Text (<%= isMac ? "Ctrl" : "Alt" %> + T)">
  -			&nbsp;<u>T</u>ext&nbsp;</label>&nbsp;</td><%
  -		}
  -		if (showModeHtml) { %>
  -			<td><input type="RADIO" tabindex="6" name="format_type" id="format_type1" value="1"<%
  -			%><%= (isHtmlAreaSupported && showModeEditor) ? " onClick=\"showHideHtmlArea(false);\"" : "" %><%
  -			%><%= ((imcmsModeHtml || (imcmsModeText && !showModeText)) && (!showEditorCookie || !showModeEditor || !showModeText)) ? " checked" : "" %>></td>
  -			<td class="imcmsAdmText">
  -			<label for="format_type1" accesskey="H" title="HTML (<%= isMac ? "Ctrl" : "Alt" %> + H)">
  -			&nbsp;<u>H</u>TML&nbsp;</label>&nbsp;</td><%
  -		}
  -		if (isHtmlAreaSupported && showModeEditor) { %>
  -			<td><input type="RADIO" tabindex="6" name="format_type" id="format_type2" style="display:none" value="1" <%
  -			%>onClick="showHideHtmlArea(true);"<%
  -			%><%= (imcmsModeHtml && showEditorCookie) ? " checked" : "" %>></td>
  -			<td class="imcmsAdmText">
  -			<label for="format_type2" id="format_type2_label" style="display:none" accesskey="<%= isMac ? "D" : "E" %>" title="Editor (<%= isMac ? "Ctrl" : "Alt" %> + <%= isMac ? "D" : "E" %>)">
  -			&nbsp;<%= isMac ? "E<u>d</u>itor" : "<u>E</u>ditor" %>&nbsp;</label>&nbsp;</td><%
  -		} %>
  -		</tr>
  -		</table></td>
   		<td align="right">
  -		<input tabindex="2" type="SUBMIT" class="imcmsFormBtn" name="ok" value="  <? templates/sv/change_text.html/2006 ?>  ">
  -		<input tabindex="3" type="SUBMIT" class="imcmsFormBtn" name="save" value="  <? templates/sv/change_text.html/save ?>  ">
  -		<input tabindex="4" type="RESET" class="imcmsFormBtn" value="<? templates/sv/change_text.html/2007 ?>" onClick="return checkReset();">
  -		<input tabindex="5" type="SUBMIT" class="imcmsFormBtn" name="cancel" value=" <? templates/sv/change_text.html/2008 ?> "></td>
  +            <input type="hidden" name="format_type" value="1" />
  +            <input tabindex="2" type="SUBMIT" class="imcmsFormBtn" name="ok" value="  <? templates/sv/change_text.html/2006 ?>  ">
  +            <input tabindex="3" type="SUBMIT" class="imcmsFormBtn" name="save" value="  <? templates/sv/change_text.html/save ?>  ">
  +            <input tabindex="4" type="RESET" class="imcmsFormBtn" value="<? templates/sv/change_text.html/2007 ?>">
  +            <input tabindex="5" type="SUBMIT" class="imcmsFormBtn" name="cancel" value=" <? templates/sv/change_text.html/2008 ?> ">
  +        </td>
   	</tr>
   	</table></td>
   </tr>
  -</form>
   </table>
   #gui_bottom()
   #gui_outer_end()
  -
  -<script language="javascript">
  -<!--
  -var winW = (document.all) ? document.body.offsetWidth - 20 : (document.getElementById) ? document.body.clientWidth  : 0 ;
  -var winH = (document.all) ? document.body.offsetHeight - 4 : (document.getElementById) ? document.body.clientHeight : 0 ;
  -
  -function setEditorSize() {
  -	if (document.getElementById) {
  -		winW  = (document.all) ? document.body.offsetWidth - 20 : document.body.clientWidth ;
  -		editW = winW - 130 ;
  -		editW = (editW < 650) ? 650 : editW ;
  -		document.getElementById("txtCont").style.width    = editW ;
  -		if (document.getElementById("theIframe")) {
  -			document.getElementById("theIframe").style.width    = editW ;
  -		}<%
  -		if (rows == -1) { %>
  -		winH  = (document.all) ? document.body.offsetHeight - 4 : document.body.clientHeight ;
  -		editH = winH - 250 ;
  -		editH = (editH < 250) ? 250 : editH ;
  -		document.getElementById("txtCont").style.height   = editH ;
  -		if (document.getElementById("theIframe")) {
  -			document.getElementById("theIframe").style.height   = editH - 41 ;
  -		}<%
  -		} %>
  -		document.getElementById("txtCont").style.overflow = "auto";
  -	}
  -}
  -setEditorSize() ;
  -
  -function checkReset() {<%
  -	if (isHtmlAreaSupported && showModeEditor) { %>
  -		var f = document.forms[0] ;
  -		var iChecked = f.format_type[2].checked ? 2 : f.format_type[1].checked ? 1 : 0 ;
  -		if (editor && f.format_type.length == 3 && f.format_type[2].checked) { // is in editor-mode
  -			showHideHtmlArea(false) ;
  -			f.reset() ;
  -			showHideHtmlArea(true) ;
  -			f.format_type[iChecked].checked = true ;
  -			return false ;
  -		} else {
  -			f.reset() ;
  -			f.format_type[iChecked].checked = true ;
  -			return false ;
  -		}<%
  -	} %>
  -	return true ;
  -}
  -
  -function checkMode() {
  -	var f = document.forms[0] ;<%
  -	//window.status = f.format_type + "" + (f.format_type.length > 0) + "" ; %>
  -	if (!(f.format_type.length > 0)) {
  -		f.format_type.checked = true ;
  -	} else if (f.format_type.length == 2 && !f.format_type[0].checked && !f.format_type[1].checked) {
  -		f.format_type[0].checked = true ;
  -	}
  -}
  -
  -if (document.getElementById) {
  -	if (document.getElementById("editorOpenText"))     document.getElementById("editorOpenText").style.display     = "block" ;
  -	if (document.getElementById("editorOpenBtn"))      document.getElementById("editorOpenBtn").style.display      = "block" ;
  -	if (document.getElementById("format_type2"))       document.getElementById("format_type2").style.display       = "block" ;
  -	if (document.getElementById("format_type2_label")) document.getElementById("format_type2_label").style.display = "inline" ;
  -}
  -//-->
  -</script>
  -
  +</form>
   </body>
   </html>
   </vel:velocity>
  
positive.code: <%@ page
  
  	import="imcode.server.document.textdocument.TextDomainObject,
  	        com.imcode.imcms.servlet.admin.ChangeText,
  	        org.apache.commons.lang.StringEscapeUtils,
              org.apache.commons.lang.StringUtils"
  
      contentType="text/html; charset=UTF-8"
  
  
negative.code: 	response.setContentType( "text/html; charset=" + Imcms.DEFAULT_ENCODING );
  ChangeText.TextEditPage textEditPage = (ChangeText.TextEditPage) request.getAttribute(ChangeText.TextEditPage.REQUEST_ATTRIBUTE__PAGE);
  
  %>
  <vel:velocity>
  <html>
  <head>
  <title><? templates/sv/change_text.html/1 ?></title>
  
  <link rel="stylesheet" type="text/css" href="<%= request.getContextPath() %>/imcms/css/imcms_admin.css.jsp">
  <script src="<%= request.getContextPath() %>/imcms/$language/scripts/imcms_admin.js.jsp" type="text/javascript"></script>
  </head>
  <body bgcolor="#FFFFFF" style="margin-bottom:0px;">
  <script type="text/javascript">
      _editor_url  = "<%=request.getContextPath()%>/imcms/xinha/"  // (preferably absolute) URL (including trailing slash) where Xinha is installed
      _editor_lang = "<%= LanguageMapper.convert639_2to639_1(Utility.getLoggedOnUser(request).getLanguageIso639_2()) %>";      // And the language we need to use in the editor.
  </script>
  <script type="text/javascript" src="<%= request.getContextPath() %>/imcms/xinha/htmlarea.js"></script>
  <script type="text/javascript" src="<%= request.getContextPath() %>/imcms/xinha/imcms.js"></script>
  <form method="POST" action="<%= request.getContextPath() %>/servlet/SaveText">
  <input type="hidden" name="meta_id"  value="<%= textEditPage.getDocumentId() %>">
  <input type="hidden" name="txt_no"   value="<%= textEditPage.getTextIndex() %>">
  
  #gui_outer_start()
  #gui_head( "<? global/imcms_administration ?>" )
  
  <table border="0" cellspacing="0" cellpadding="0" width="100%">
  <tr>
  	<td>
  	<table border="0" cellspacing="0" cellpadding="0">
  	<tr>
  		<td>
  		<input type="button" tabindex="10" value="<? global/back ?>" name="cancel" class="imcmsFormBtn"></td>
  	</tr>
  	</table></td>
  
  