Changeset 23551 for main/trunk/greenstone3/web/interfaces
- Timestamp:
- 2011-01-11T17:08:56+13:00 (13 years ago)
- Location:
- main/trunk/greenstone3/web/interfaces/oran
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/oran/js/gui_div.js
r23489 r23551 3 3 4 4 var initialised_iframe = "false"; 5 6 function onTextChange(item, text) 7 { 8 item.setAttribute("value",text); 9 } 10 5 11 6 12 //function createFormatStatement() -
main/trunk/greenstone3/web/interfaces/oran/transform/layouts/xml-to-gui.xsl
r23360 r23551 236 236 <xsl:variable name="mode"> 237 237 <xsl:choose> 238 <xsl:when test="not(@mode)">MODE=<input class="mode" type="text" name="rawtextinput" size="10" value="vertical" ><xsl:text></xsl:text></input></xsl:when>239 <xsl:otherwise>MODE=<input class="mode" type="text" name="rawtextinput" size="10" value="{@mode}" /></xsl:otherwise>238 <xsl:when test="not(@mode)">MODE=<input class="mode" type="text" name="rawtextinput" size="10" value="vertical" onChange="onTextChange(this, this.value)"><xsl:text></xsl:text></input></xsl:when> 239 <xsl:otherwise>MODE=<input class="mode" type="text" name="rawtextinput" size="10" value="{@mode}" onChange="onTextChange(this, this.value)"/></xsl:otherwise> 240 240 </xsl:choose> 241 241 </xsl:variable> 242 242 243 <table class="header"><tbody><tr><td class="header">MATCH=<input class="match" type="text" name="rawtextinput" size="10" value="{@match}" /></td><td class="header"><xsl:copy-of select="$mode"/></td><td class="header"><a href="#" class="minmax ui-icon ui-icon-plusthick" title="Click me to expand">[+]</a></td><td class="header"><a href="#" class="remove ui-icon ui-icon-closethick" title="Click me to remove"/></td></tr></tbody></table>243 <table class="header"><tbody><tr><td class="header">MATCH=<input class="match" type="text" name="rawtextinput" size="10" value="{@match}" onChange="onTextChange(this, this.value)"/></td><td class="header"><xsl:copy-of select="$mode"/></td><td class="header"><a href="#" class="minmax ui-icon ui-icon-plusthick" title="Click me to expand">[+]</a></td><td class="header"><a href="#" class="remove ui-icon ui-icon-closethick" title="Click me to remove"/></td></tr></tbody></table> 244 244 245 245 <table class="table" border="1"> … … 356 356 <div class="block leaf gsf_text" title="gsf:text"> 357 357 <xsl:variable name="rawtext"><xsl:value-of select="."/></xsl:variable> 358 <table class="header"><tbody><tr><td class="header"><input class="text" type="text" name="rawtextinput" size="10" value="{$rawtext}" ></input></td><td class="header"><a href="[myhref]" class="ui-icon ui-icon-closethick"/></td></tr></tbody></table>358 <table class="header"><tbody><tr><td class="header"><input class="text" type="text" name="rawtextinput" size="10" value="{$rawtext}" onChange="onTextChange(this, this.value)"></input></td><td class="header"><a href="[myhref]" class="ui-icon ui-icon-closethick"/></td></tr></tbody></table> 359 359 </div> 360 360 </xsl:template>
Note:
See TracChangeset
for help on using the changeset viewer.