LJ::entry_form

LJ::entry_form — Returns a properly formatted form for creating/editing entries.

Use

LJ::entry_form(head, onload, opts);

Arguments

  • head. string reference for the <head> section (JavaScript previews, etc).

  • onload. string reference for JavaScript functions to be called on page load

  • opts. hashref of keys/values: mode: either "update" or "edit", depending on context; datetime: date and time, formatted yyyy-mm-dd hh:mm; remote: remote u object; subject: entry subject; event: entry text; richtext: allow rich text formatting; auth_as_remote: bool option to authenticate as remote user, pre-filling pic/friend groups/etc.

Source:

cgi-bin/weblib.pl