Fixed an missing div tag in the custom code area.

This commit is contained in:
Llewellyn van der Merwe 2018-10-07 22:13:53 +02:00
parent 65e6511a3e
commit 1e5fda0327
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5

View File

@ -3600,95 +3600,95 @@ COM_COMPONENTBUILDER_CUSTOM_CODE_NEW="A New Custom Code"
COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_JCB_PLACEHOLDER_DESCRIPTION="<span id='jcb-placeholder'><code>[save to see placeholder]</code></span><br />You can also pass values to this code like this: <span id='jcb-placeholder-arg'><code>[save to see placeholder trick]</code></span> <br />Those values will be replace placeholders called args. These placeholders are zero based and should look like this: [[[arg0]]], [[[arg1]]] ... as many as you like. If you use 5 args in your code, you must always pass 5 values, since they are zero based your fifth arg will look like this [[[arg4]]]<br />Please note that you can not use this placeholder in other custom code views, but in all other custom code areas in JCB found in other views like the admin, site and custom admin views.<br />Another important note, all code with args will not be reversed updated from the changes in the editor out side of JCB at this time, since that will remove all the arg placeholders this means you will only be able to update the code here in the JCB UI. <br />This note will change once we have resolved these limitations."
COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_JCB_PLACEHOLDER_LABEL="You can use this code in any JCB code area, simply add this PlaceHolder."
COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_PLACEHOLDERS_EXPLAINED_DESCRIPTION="<div class='form-horizontal'><div class='span6'>
<h1>Understand how the placeholders work in (IDE)</h1>
<div id='phpjs-comment-info'>
<h2>Comment Type PHP/JS</h2>
<h3>How You Can Add New Code in the IDE</h3>
<table>
<legend>Add New Insert Code</legend>
<tr><td><code>/***[INSERT&lt;&gt;$$$$]***/</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>/***[/INSERT&lt;&gt;$$$$]***/</code></td><td>&nbsp;</td></tr>
</table>
<table>
<legend>Add New Replace Code</legend>
<tr><td><code>/***[REPLACE&lt;&gt;$$$$]***/</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>/***[/REPLACE&lt;&gt;$$$$]***/</code></td><td>&nbsp;</td></tr>
</table>
<h3>When JCB Adds it Back</h3>
<table>
<legend>JCB Add Inserted Code</legend>
<tr><td><code>/***[INSERTED$$$$]***//*<span class='placeholder-key-id'>x</span>*/</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>/***[/INSERTED$$$$]***/</code></td><td>&nbsp;</td></tr>
</table>
<table>
<legend>JCB Add Replaced Code</legend>
<tr><td><code>/***[REPLACED$$$$]***//*<span class='placeholder-key-id'>x</span>*/</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>/***[/REPLACED$$$$]***/</code></td><td>&nbsp;</td></tr>
</table>
<h3>When You Want to Changing Existing Custom Code in the IDE</h3>
<table>
<legend>Update Inserted Code</legend>
<tr><td><code>/***[INSERTED&lt;&gt;$$$$]***//*<span class='placeholder-key-id'>x</span>*/</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>/***[/INSERTED&lt;&gt;$$$$]***/</code></td><td>&nbsp;</td></tr>
</table>
<table>
<legend>Update Replaced Code</legend>
<tr><td><code>/***[REPLACED&lt;&gt;$$$$]***//*<span class='placeholder-key-id'>x</span>*/</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>/***[/REPLACED&lt;&gt;$$$$]***/</code></td><td>&nbsp;</td></tr>
</table>
</div>
<div id='html-comment-info'>
<h2>Comment Type HTML</h2>
<h3>How You Can Add New Code in the IDE</h3>
<table>
<legend>Add New Insert Code</legend>
<tr><td><code>&lt;!--[INSERT&lt;&gt;$$$$]--&gt;</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>&lt;!--[/INSERT&lt;&gt;$$$$]--&gt;</code></td><td>&nbsp;</td></tr>
</table>
<table>
<legend>Add New Replace Code</legend>
<tr><td><code>&lt;!--[REPLACE&lt;&gt;$$$$]--&gt;</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>&lt;!--[/REPLACE&lt;&gt;$$$$]--&gt;</code></td><td>&nbsp;</td></tr>
</table>
<h3>When JCB Adds it Back</h3>
<table>
<legend>JCB Add Inserted Code</legend>
<tr><td><code>&lt;!--[INSERTED$$$$]--&gt;&lt;!--<span class='placeholder-key-id'>x</span>--&gt;</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>&lt;!--[/INSERTED$$$$]--&gt;</code></td><td>&nbsp;</td></tr>
</table>
<table>
<legend>JCB Add Replaced Code</legend>
<tr><td><code>&lt;!--[REPLACED$$$$]--&gt;&lt;!--<span class='placeholder-key-id'>x</span>--&gt;</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>&lt;!--[/REPLACED$$$$]--&gt;</code></td><td>&nbsp;</td></tr>
</table>
<h3>When You Want to Changing Existing Custom Code in the IDE</h3>
<table>
<legend>Update Inserted Code</legend>
<tr><td><code>&lt;!--[INSERTED&lt;&gt;$$$$]--&gt;&lt;!--<span class='placeholder-key-id'>x</span>--&gt;</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>&lt;!--[/INSERTED&lt;&gt;$$$$]--&gt;</code></td><td>&nbsp;</td></tr>
</table>
<table>
<legend>Update Replaced Code</legend>
<tr><td><code>&lt;!--[REPLACED&lt;&gt;$$$$]--&gt;&lt;!--<span class='placeholder-key-id'>x</span>--&gt;</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>&lt;!--[/REPLACED&lt;&gt;$$$$]--&gt;</code></td><td>&nbsp;</td></tr>
</table>
</div>
<p><b><span class='placeholder-key-id'>x</span> is the ID of the code in the system don&apos;t change it when you edit the code in your IDE outside of JCB!</b></p>
</div>
<div class='span6' id='usedin' style='display: none;'>
<h1>Understand how the placeholders work in (IDE)</h1>
<div id='phpjs-comment-info'>
<h2>Comment Type PHP/JS</h2>
<h3>How You Can Add New Code in the IDE</h3>
<table>
<legend>Add New Insert Code</legend>
<tr><td><code>/***[INSERT&lt;&gt;$$$$]***/</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>/***[/INSERT&lt;&gt;$$$$]***/</code></td><td>&nbsp;</td></tr>
</table>
<table>
<legend>Add New Replace Code</legend>
<tr><td><code>/***[REPLACE&lt;&gt;$$$$]***/</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>/***[/REPLACE&lt;&gt;$$$$]***/</code></td><td>&nbsp;</td></tr>
</table>
<h3>When JCB Adds it Back</h3>
<table>
<legend>JCB Add Inserted Code</legend>
<tr><td><code>/***[INSERTED$$$$]***//*<span class='placeholder-key-id'>x</span>*/</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>/***[/INSERTED$$$$]***/</code></td><td>&nbsp;</td></tr>
</table>
<table>
<legend>JCB Add Replaced Code</legend>
<tr><td><code>/***[REPLACED$$$$]***//*<span class='placeholder-key-id'>x</span>*/</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>/***[/REPLACED$$$$]***/</code></td><td>&nbsp;</td></tr>
</table>
<h3>When You Want to Changing Existing Custom Code in the IDE</h3>
<table>
<legend>Update Inserted Code</legend>
<tr><td><code>/***[INSERTED&lt;&gt;$$$$]***//*<span class='placeholder-key-id'>x</span>*/</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>/***[/INSERTED&lt;&gt;$$$$]***/</code></td><td>&nbsp;</td></tr>
</table>
<table>
<legend>Update Replaced Code</legend>
<tr><td><code>/***[REPLACED&lt;&gt;$$$$]***//*<span class='placeholder-key-id'>x</span>*/</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>/***[/REPLACED&lt;&gt;$$$$]***/</code></td><td>&nbsp;</td></tr>
</table>
</div>
<div id='html-comment-info'>
<h2>Comment Type HTML</h2>
<h3>How You Can Add New Code in the IDE</h3>
<table>
<legend>Add New Insert Code</legend>
<tr><td><code>&lt;!--[INSERT&lt;&gt;$$$$]--&gt;</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>&lt;!--[/INSERT&lt;&gt;$$$$]--&gt;</code></td><td>&nbsp;</td></tr>
</table>
<table>
<legend>Add New Replace Code</legend>
<tr><td><code>&lt;!--[REPLACE&lt;&gt;$$$$]--&gt;</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>&lt;!--[/REPLACE&lt;&gt;$$$$]--&gt;</code></td><td>&nbsp;</td></tr>
</table>
<h3>When JCB Adds it Back</h3>
<table>
<legend>JCB Add Inserted Code</legend>
<tr><td><code>&lt;!--[INSERTED$$$$]--&gt;&lt;!--<span class='placeholder-key-id'>x</span>--&gt;</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>&lt;!--[/INSERTED$$$$]--&gt;</code></td><td>&nbsp;</td></tr>
</table>
<table>
<legend>JCB Add Replaced Code</legend>
<tr><td><code>&lt;!--[REPLACED$$$$]--&gt;&lt;!--<span class='placeholder-key-id'>x</span>--&gt;</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>&lt;!--[/REPLACED$$$$]--&gt;</code></td><td>&nbsp;</td></tr>
</table>
<h3>When You Want to Changing Existing Custom Code in the IDE</h3>
<table>
<legend>Update Inserted Code</legend>
<tr><td><code>&lt;!--[INSERTED&lt;&gt;$$$$]--&gt;&lt;!--<span class='placeholder-key-id'>x</span>--&gt;</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>&lt;!--[/INSERTED&lt;&gt;$$$$]--&gt;</code></td><td>&nbsp;</td></tr>
</table>
<table>
<legend>Update Replaced Code</legend>
<tr><td><code>&lt;!--[REPLACED&lt;&gt;$$$$]--&gt;&lt;!--<span class='placeholder-key-id'>x</span>--&gt;</code></td><td>&nbsp;</td></tr>
<tr><td>&nbsp;</td><td>&lt;YOUR CODE HERE&gt;</td></tr>
<tr><td><code>&lt;!--[/REPLACED&lt;&gt;$$$$]--&gt;</code></td><td>&nbsp;</td></tr>
</table>
</div>
<p><b><span class='placeholder-key-id'>x</span> is the ID of the code in the system don&apos;t change it when you edit the code in your IDE outside of JCB!</b></p>
</div>
<div class='span6' id='usedin' style='display: none;'>
<h1>USED IN</h1>
<div id='before-usedin'>Soon as enough data is available we will display all the areas where this code is used.</div>
<div id='usedin-a' style='display: none;'><h2>Components</h2><div id='area-a'></div></div>
@ -3706,6 +3706,7 @@ COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_PLACEHOLDERS_EXPLAINED_DESCRIPTION="<div c
<div id='loading-usedin' style='display: none;'><h2>Scanning Database<span class='loading-dots'>..</span></h2></div>
<div id='note-usedin-found' style='display: none;'><small>You can edit the above areas where this code is used.</small></div>
<div id='note-usedin-not' style='display: none;'><small>This code is not used in any area of the JCB custom code blocks at this time.</small></div>
</div>
</div>"
COM_COMPONENTBUILDER_CUSTOM_CODE_NOTE_PLACEHOLDERS_EXPLAINED_LABEL="Information Area."
COM_COMPONENTBUILDER_CUSTOM_CODE_NOT_REQUIRED="Not Required"