[pmwiki-users] embedded code

Patrick R. Michaud pmichaud at pobox.com
Mon Mar 6 20:32:25 CST 2006

On Mon, Mar 06, 2006 at 07:38:35PM -0500, The Editor wrote:
> Sorry to ask a second time, but I still can't get this to work.  I
> changed the escapes to forward slashes as Pm suggested, but I don't
> know enough php to identify the mistake.  It just gives me a mostly
> blank page
> Markup('chatbox', 'directive', '/\\(:chatbox://)/',
>   "Keep(<input type='button' value=' Chat Now! '
> onclick=\"window.open('http://www.chatzy.com/chatroom','chat','width=675,height=500,resizable=no,scrollbars=no,
> toolbar=no,location=no,directories=no,status=no,menubar=no,coyphistory=no')\">");

Markup('chatbox', 'directive', '/\\(:chatbox:\\)/',
   Keep("<input type='button' value=' Chat Now! '
     onclick=\"window.open('http://www.chatzy.com/chatroom', 'chat', 'width=675,height=500,resizable=no,scrollbars=no,toolbar=no,location=no,directories=no,status=no,menubar=no,coyphistory=no')\">"));


More information about the pmwiki-users mailing list