I'm messing with a custom style that makes quite extensive markup changes*, so there are various things I need to track down.
My current question is about these tags, in posting_editor.html (lines 95-98 inclusive):I have loaded up a test copy of the template with extra comments inserted, to enable me to track things down. These two tags are being rendered as the closing tags for #postingbox and #postingbox > .inner (I would show you a screenshot of the document inspector but my comments are rather pithy).
However... if I run a recursive search for #postingbox, the only two places I can find it are in posting_layout.html...
and in posting_pm_layout.html...
As you can see, both of those instances include the closing tags for #postingbox and #postingbox > .inner, which as far as I can tell means they should not be needed anywhere else.
So, what is going on with posting_editor.html? Where are the other opening tags for #postingbox and #postingbox > .inner being generated? I cannot find them in any template, nor in any javascript file, nor in any core PHP file.
ETA: Censored screenshot added.
*I'm like that. I get an idea in my head and I want to pursue it to a satisfying conclusion. Yes, I'm bonkers.
My current question is about these tags, in posting_editor.html (lines 95-98 inclusive):
Code:
<!-- IF not S_SHOW_DRAFTS --></div></div><!-- ENDIF -->
However... if I run a recursive search for #postingbox, the only two places I can find it are in posting_layout.html...
Code:
<div class="panel" id="postingbox"><div class="inner"><h3>{L_POST_A}</h3><!-- DEFINE $EXTRA_POSTING_OPTIONS = 1 --><!-- INCLUDE posting_editor.html --><input type="hidden" name="show_panel" value="options-panel" />{S_FORM_TOKEN}</div></div>
and in posting_pm_layout.html...
Code:
<div class="panel" id="postingbox"><div class="inner"><!-- DEFINE $EXTRA_POSTING_OPTIONS = 1 --><!-- INCLUDE posting_editor.html --></div></div>
As you can see, both of those instances include the closing tags for #postingbox and #postingbox > .inner, which as far as I can tell means they should not be needed anywhere else.
So, what is going on with posting_editor.html? Where are the other opening tags for #postingbox and #postingbox > .inner being generated? I cannot find them in any template, nor in any javascript file, nor in any core PHP file.
ETA: Censored screenshot added.
*I'm like that. I get an idea in my head and I want to pursue it to a satisfying conclusion. Yes, I'm bonkers.
Statistics: Posted by Gumboots — Mon Sep 02, 2024 11:15 pm