[hmath-commits] org.hmath.server new.jsp,1.1,1.2
Status: Pre-Alpha
Brought to you by:
jsurfer
|
From: Klaus H. <js...@us...> - 2004-03-28 17:31:31
|
Update of /cvsroot/hmath/org.hmath.server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25212 Modified Files: new.jsp Log Message: JavaScript buttons for MSIE Index: new.jsp =================================================================== RCS file: /cvsroot/hmath/org.hmath.server/new.jsp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** new.jsp 9 Mar 2004 20:16:01 -0000 1.1 --- new.jsp 28 Mar 2004 17:20:12 -0000 1.2 *************** *** 4,13 **** ** @version $Id$ --%> ! <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %> <%@ taglib uri="http://snipsnap.com/snipsnap" prefix="s" %> ! <div class="snip-wrapper"> <div class="snip-title"><h1 class="snip-name"><fmt:message key="snip.create"/></h1></div> <form class="form" name="f" method="post" action="exec/store" enctype="multipart/form-data"> --- 4,14 ---- ** @version $Id$ --%> ! <%@ taglib uri="http://hartmath.org/hartmath" prefix="hm" %> <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %> <%@ taglib uri="http://snipsnap.com/snipsnap" prefix="s" %> + <%@ page import="org.radeox.util.Encoder"%> ! <div class="snip-wrapper"> <div class="snip-title"><h1 class="snip-name"><fmt:message key="snip.create"/></h1></div> <form class="form" name="f" method="post" action="exec/store" enctype="multipart/form-data"> *************** *** 33,39 **** <div class="snip-content"> <div class="snip-input"> ! <table> ! <tr><td><textarea name="content" type="text" cols="80" rows="20"><c:out value="${content}" escapeXml="true"/></textarea></td></tr> ! <tr><td class="form-buttons"> <input value="<fmt:message key="dialog.preview"/>" name="preview" type="submit"/> <input value="<fmt:message key="dialog.save"/>" name="save" type="submit"/> --- 34,73 ---- <div class="snip-content"> <div class="snip-input"> ! <table width="600" border="0" cellspacing="0" cellpadding="2"> ! <hm:browser type="mathplayer"> ! <tr align="center" valign="middle"> ! <td colspan="1"><span class="genmed"> ! <input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 40px" onClick="bbstyle(0)" onMouseOver="helpline('b')" /> ! </span></td> ! <td colspan="1"><span class="genmed"> ! <input type="button" class="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 40px" onClick="bbstyle(2)" onMouseOver="helpline('i')" /> ! </span></td> ! <td><span class="genmed"> ! <input type="button" class="button" accesskey="s" name="addbbcode4" value=" s " style="width: 40px" onClick="bbstyle(4)" onMouseOver="helpline('s')" /> ! </span></td> ! <td><span class="genmed"> ! <input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width: 60px" onClick="bbstyle(6)" onMouseOver="helpline('q')" /> ! </span></td> ! <td><span class="genmed"> ! <input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width: 60px" onClick="bbstyle(8)" onMouseOver="helpline('c')" /> ! </span></td> ! <td><span class="genmed"> ! <input type="button" class="button" accesskey="m" name="addbbcode10" value="Math" style="width: 60px" onClick="bbstyle(10)" onMouseOver="helpline('m')" /> ! </span></td> ! <td><span class="genmed"> ! <input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width: 50px" onClick="bbstyle(14)" onMouseOver="helpline('p')" /> ! </span></td> ! <td><span class="genmed"> ! <input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 50px" onClick="bbstyle(16)" onMouseOver="helpline('w')" /> ! </span></td> ! </tr> ! <tr> ! <td colspan="9"> <span class="gensmall"> ! <input type="text" name="helpbox" size="45" maxlength="100" style="width:600px; font-size:10px" class="helpline" value="2 modes: (1)Press button appends tag to text (2)Select text + Press button " /> ! </span></td> ! </tr> ! </hm:browser> ! <tr><td colspan="9"><textarea name="content" type="text" cols="80" rows="20" style="width:600px" class="post" onselect="storeCaret(this);" onclick="storeCaret(this);"><c:out value="${content}" escapeXml="true"/></textarea></td></tr> ! <tr><td colspan="9" class="form-buttons"> <input value="<fmt:message key="dialog.preview"/>" name="preview" type="submit"/> <input value="<fmt:message key="dialog.save"/>" name="save" type="submit"/> |