I might try to submit a patch for this once I
get setup with e2. But the idea being that the
same functionality can be acheived without
moving the nodelet. Since as far as I can
tell all forms (on note, perlquestion, etc.
types) have their action set to the workhorse
index.pl and method=POST we can make the whole
page live in one form. It seems index.pl is
already setup to act based upon "op", and
instead of it being a hidden field the submit
buttons could simply posess this name.
There might be some
other issues with other hidden fields e.g.
different nodelets having fields w/ the same
name but different values but I've seen nothing
yet. Added bonus for simplifying the HTML. Just
think, chat, vote, and approve in one fell
swoop :-D. Actually though one must explicitly
look for combined actions, so potentially confusing
combinations need not be supported. In fact
probably only approval needs to be processed
when vote or submit (from a reply) is hit.
Of course this would mean sending some unused
data if you don't do everything everytime,
very little though.
Oh know it all sounds rather complicated
but there really isn't much of anything to it.
This is just one way of implementing it
(instead of the much easier wholesale movement
of the approval nodelet) since there are some
who would not like to see special cases for
display brought into the body nodes themselves.
Which is more favorable?
--
perl -pe "s/\b;([st])/'\1/mg"
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.