forked from joomla/Component-Builder
Fixed an missing div tag in the custom code area.
This commit is contained in:
parent
65e6511a3e
commit
1e5fda0327
@ -3600,94 +3600,94 @@ 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<>$$$$]***/</code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code>/***[/INSERT<>$$$$]***/</code></td><td> </td></tr>
|
||||
</table>
|
||||
<table>
|
||||
<legend>Add New Replace Code</legend>
|
||||
<tr><td><code>/***[REPLACE<>$$$$]***/</code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code>/***[/REPLACE<>$$$$]***/</code></td><td> </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> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code>/***[/INSERTED$$$$]***/</code></td><td> </td></tr>
|
||||
</table>
|
||||
<table>
|
||||
<legend>JCB Add Replaced Code</legend>
|
||||
<tr><td><code>/***[REPLACED$$$$]***//*<span class='placeholder-key-id'>x</span>*/</code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code>/***[/REPLACED$$$$]***/</code></td><td> </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<>$$$$]***//*<span class='placeholder-key-id'>x</span>*/</code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code>/***[/INSERTED<>$$$$]***/</code></td><td> </td></tr>
|
||||
</table>
|
||||
<table>
|
||||
<legend>Update Replaced Code</legend>
|
||||
<tr><td><code>/***[REPLACED<>$$$$]***//*<span class='placeholder-key-id'>x</span>*/</code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code>/***[/REPLACED<>$$$$]***/</code></td><td> </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><!--[INSERT<>$$$$]--></code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code><!--[/INSERT<>$$$$]--></code></td><td> </td></tr>
|
||||
</table>
|
||||
<table>
|
||||
<legend>Add New Replace Code</legend>
|
||||
<tr><td><code><!--[REPLACE<>$$$$]--></code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code><!--[/REPLACE<>$$$$]--></code></td><td> </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> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code><!--[/INSERTED$$$$]--></code></td><td> </td></tr>
|
||||
</table>
|
||||
<table>
|
||||
<legend>JCB Add Replaced Code</legend>
|
||||
<tr><td><code><!--[REPLACED$$$$]--><!--<span class='placeholder-key-id'>x</span>--></code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code><!--[/REPLACED$$$$]--></code></td><td> </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<>$$$$]--><!--<span class='placeholder-key-id'>x</span>--></code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code><!--[/INSERTED<>$$$$]--></code></td><td> </td></tr>
|
||||
</table>
|
||||
<table>
|
||||
<legend>Update Replaced Code</legend>
|
||||
<tr><td><code><!--[REPLACED<>$$$$]--><!--<span class='placeholder-key-id'>x</span>--></code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code><!--[/REPLACED<>$$$$]--></code></td><td> </td></tr>
|
||||
</table>
|
||||
</div>
|
||||
<p><b><span class='placeholder-key-id'>x</span> is the ID of the code in the system don'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<>$$$$]***/</code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code>/***[/INSERT<>$$$$]***/</code></td><td> </td></tr>
|
||||
</table>
|
||||
<table>
|
||||
<legend>Add New Replace Code</legend>
|
||||
<tr><td><code>/***[REPLACE<>$$$$]***/</code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code>/***[/REPLACE<>$$$$]***/</code></td><td> </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> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code>/***[/INSERTED$$$$]***/</code></td><td> </td></tr>
|
||||
</table>
|
||||
<table>
|
||||
<legend>JCB Add Replaced Code</legend>
|
||||
<tr><td><code>/***[REPLACED$$$$]***//*<span class='placeholder-key-id'>x</span>*/</code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code>/***[/REPLACED$$$$]***/</code></td><td> </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<>$$$$]***//*<span class='placeholder-key-id'>x</span>*/</code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code>/***[/INSERTED<>$$$$]***/</code></td><td> </td></tr>
|
||||
</table>
|
||||
<table>
|
||||
<legend>Update Replaced Code</legend>
|
||||
<tr><td><code>/***[REPLACED<>$$$$]***//*<span class='placeholder-key-id'>x</span>*/</code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code>/***[/REPLACED<>$$$$]***/</code></td><td> </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><!--[INSERT<>$$$$]--></code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code><!--[/INSERT<>$$$$]--></code></td><td> </td></tr>
|
||||
</table>
|
||||
<table>
|
||||
<legend>Add New Replace Code</legend>
|
||||
<tr><td><code><!--[REPLACE<>$$$$]--></code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code><!--[/REPLACE<>$$$$]--></code></td><td> </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> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code><!--[/INSERTED$$$$]--></code></td><td> </td></tr>
|
||||
</table>
|
||||
<table>
|
||||
<legend>JCB Add Replaced Code</legend>
|
||||
<tr><td><code><!--[REPLACED$$$$]--><!--<span class='placeholder-key-id'>x</span>--></code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code><!--[/REPLACED$$$$]--></code></td><td> </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<>$$$$]--><!--<span class='placeholder-key-id'>x</span>--></code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code><!--[/INSERTED<>$$$$]--></code></td><td> </td></tr>
|
||||
</table>
|
||||
<table>
|
||||
<legend>Update Replaced Code</legend>
|
||||
<tr><td><code><!--[REPLACED<>$$$$]--><!--<span class='placeholder-key-id'>x</span>--></code></td><td> </td></tr>
|
||||
<tr><td> </td><td><YOUR CODE HERE></td></tr>
|
||||
<tr><td><code><!--[/REPLACED<>$$$$]--></code></td><td> </td></tr>
|
||||
</table>
|
||||
</div>
|
||||
<p><b><span class='placeholder-key-id'>x</span> is the ID of the code in the system don'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>
|
||||
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user