Token currently doesn't list the site mission as an available token. It would be helpful, for example, to have the site mission in outgoing invite messages (sent by the Invite module). Please review the attached patch.
Token currently doesn't list the site mission as an available token. It would be helpful, for example, to have the site mission in outgoing invite messages (sent by the Invite module). Please review the attached patch.
Comments
Comment #1
Christefano-oldaccount commentedRerolled for the current Token 5.x-dev.
Comment #2
gregglesYour patch in #1 seems to be a little wrong (line ending problem?).
In general I think this is a good idea, but it probably needs to be sent through a check function. phptemplate.engine sends it through filter_xss_admin - see the phptemplate_page function.
Comment #3
Christefano-oldaccount commentedYikes, just goes to show I should review my own patches. I think one of the files read by diff was read as a binary.
Here's another one which includes the use of filter_xss_admin(). Great suggestion.
Comment #4
Christefano-oldaccount commentedOops, let's try that again.
Comment #5
christefano commentedHas anyone had a chance to review this yet?
Comment #6
christefano commentedStill applies cleanly against 5.x-1.11.
Comment #7
christefano commentedRerolled for the current 5.x-dev.
Comment #8
gregglesThanks, christefano for your persistance on this issue. I've applied it to both 6.x http://drupal.org/cvs?commit=127513 and 5.x http://drupal.org/cvs?commit=127512
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.