|
|
 |
 |
 |
mainresponder.discuss.newMessageForm
Increase the size (maximum length) of the subject field in the edit Message form from 40 (60) to 70 (100).
Fix html bug in textare, "soft" is nto a legal value of wrap physical.
| on newMessageForm (inResponseTo=0, subject="", subjectprompt=nil, buttontext=nil, redirectUrl=nil, flShowFileUpload=false, fileprompt=nil, bodyprompt=nil, actionURL="", pta=nil, flEditableSubject=true, bodyText="", flLimitSubjectLength=true) |
| |
local (flWysEditor = false, flTagEditor = true) |
| |
bundle //figure out which editing tool is preferred |
| |
local (htmltext = "", indentlevel = 0) |
| |
local (enctypeAttrib = "") |
| |
local (editorText = mainResponder.discuss.getHtmlEditor (bodyText, pta, fieldName:"text")) |
| |
if (editorText == "") or (flTagEditor) |
| |
add ("<input type=\"hidden\" name=\"inResponseTo\" value=\"" + inResponseTo + "\">") |
| |
if flEditableSubject // 10/09/00 JES |
| |
else // add the subject as a hidden field |
| |
«PBS 02/15/00: possibly add the HTML editor buttons and menus. |
| |
if bodyprompt == nil //4/12/00; 1:15:56 PM by JES: localized default bodyprompt |
| |
else //add the HTML editor. |
| |
if buttontext == nil //4/12/00; 1:10:09 PM by JES: localized default buttontext |
| |
add ("<input type=\"submit\" value=\"" + buttontext + "\">") |
| |
add ("</form>"); indentlevel-- |
Relative to Frontier version 9.7b10
|