space Baylys
Just practicing to pass the Turing test.
space
space
space
space
Developer for Hire!
space
addedValues Plugin
space

Home

What's new

Bayly.Root

Cornershop Plugin

Career

edutools Root

Enhancements

Interests

linguist Plugin

Manila

Patches

space

mainresponder

manilaData

manilamacros

manilaSuite

space
space

admin

backups

discuss

space
space

buildIndex

listMessages

postEditedMsg

space

gems

getCanonicalSiteName

hierarchyPage

hosting

html

mail

member

members

news

plugins

prefs

referer

renderNewsPage

rpcHandlers

rpcUtils

search

sendMail

siteStructure

staticRendering

storyList

space

system

Patches by Group

Papers

Sales

Sign My Guestbook

User(land) Relations.

Contact Address

Search Baylys

urlchains

space
Join Now
Login
space space space

manilaSuite.discuss.postEditedMsg

Support the added document feature of mainresponder. The Manilafixer plugin implements the UI support for this feature which allows attaching a document to a message in a Manila site DG.

on postEditedMsg (flNeuterMacros=true, flNeuterText=true, flCheckReferer=true)
  «Post an edited message.
 unaltered lines omitted
 
  local (pta = html.getPageTableAddress ())
  pta^.title = manilaSuite.getString ("discuss.messageReceivedPageTitle") // 4/19/00 JES: localized
 
  local (msgNum = number (pta^.postArgs.msgNum))
  local (adrMsg = mainResponder.discuss.getMessageTable (msgNum))
  local (adrMember = pta^.adrMemberInfo)
  local (adrSite = pta^.adrSiteRootTable)
 
  if flCheckReferer
 unaltered lines omitted
 
  bundle //PBS 02/09/00: if the object is checked out by someone else, return an error page.
 
  bundle //see if any pre post validation is requested, 04.06.20, 17:49:46 by DAB
  local (adrValidator, htmltext)
  if manilaSuite.plugins.ETPoverride.getScriptAddress("discussPostEditedMessage", @adrValidator) //04.06.20, 13:14:14 by DAB
  if not adrValidator^(@htmltext) //validator saw error, so returns whatever it says (repeat form)
  return htmltext
 
  bundle //PBS 04/05/00: call the homePageUpdate callbacks -- it may be an updated home page
 
  «mainResponder.discuss.postEditedMessage (flAcceptFileUploads:true, flAcceptFileDeletions:false, flNeuterText:flNeuterText, flNeuterMacros:flNeuterMacros, lastUpdateTime:manilaSuite.convertTime ()) //PBS 04/03/00: use the current time zone to set the last update time
  mainResponder.discuss.postEditedMessage (flAcceptFileUploads:true, flAcceptFileDeletions:true, flNeuterText:flNeuterText, flNeuterMacros:flNeuterMacros, lastUpdateTime:manilaSuite.convertTime ()) //DAB 03/01/04, 18:13:29 by DAB
  manilaSuite.discuss.setTimeZoneForMessage (adrMsg) //PBS 04/03/00: store the time zone with the message
 
  bundle //PBS 02/09/00: check in the object
 
  return ("")

Relative to Frontier version 9.7b10