1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 09:39:55 +02:00

Issue #3103 -Wrappers containing parms were not overriding wrappers of the same name without parms.

This commit is contained in:
Cameron
2018-08-16 11:34:29 -07:00
parent 73fbe980a4
commit ec3a2e28b5
2 changed files with 13 additions and 8 deletions

View File

@@ -152,6 +152,9 @@ $sc_style['CPAGENAV|default']['post'] = '</div>';
$PAGE_WRAPPER['customfields']['CPAGEFIELDTITLE'] = "<tr id='customfields-{CPAGEFIELDNAME}'><td>{---}</td>";
$PAGE_WRAPPER['customfields']['CPAGEFIELD'] = "<td>{---}</td></tr>";
// Override the wrapper above for {CPAGEFIELD: name=myvideo}
$PAGE_WRAPPER['customfields']['CPAGEFIELD: name=myvideo'] = "<tr><td colspan='2'>{---}</td></tr>";
$PAGE_TEMPLATE['customfields']['body'] = '
<div class="col-xs-12 col-md-5 pull-right" style="margin-right:-15px">
@@ -159,6 +162,7 @@ $sc_style['CPAGENAV|default']['post'] = '</div>';
<tr>
<th class="text-center" colspan="2">Custom Fields</th>
</tr>
{CPAGEFIELD: name=myvideo}
{CPAGEFIELDTITLE: name=mybbarea}
{CPAGEFIELD: name=mybbarea}
{CPAGEFIELDTITLE: name=myboolean}
@@ -191,8 +195,7 @@ $sc_style['CPAGENAV|default']['post'] = '</div>';
{CPAGEFIELD: name=mytext}
{CPAGEFIELDTITLE: name=myurl}
{CPAGEFIELD: name=myurl}
{CPAGEFIELDTITLE: name=myvideo}
{CPAGEFIELD: name=myvideo}
</table>
{CPAGEEDIT}
</div>