mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 21:21:54 +02:00
$sc_style) renamed to most propper $SC_WRAPPER. Testing still required.
This commit is contained in:
parent
f6703349a5
commit
6b820f4076
@ -41,12 +41,12 @@ $CONTACT_TEMPLATE['menu'] = '
|
||||
|
||||
|
||||
// Option I - new sc style variable and format, global available per shortcode (mode also applied)
|
||||
// sc_style is uppercased now - distinguished from the legacy $sc_style variable and compatible with the new template standards, we deprecate $sc_style soon
|
||||
// sc_style is renamed to sc_wrapper and uppercased now - distinguished from the legacy $sc_style variable and compatible with the new template standards, we deprecate $sc_style soon
|
||||
|
||||
// $SC_STYLE['CONTACT_EMAIL_COPY'] = "<tr><td>{---}".LANCONTACT_07."</td></tr>";
|
||||
// $SC_STYLE['CONTACT_PERSON'] = "<tr><td>".LANCONTACT_14."<br />{---}</td></tr>";
|
||||
// $SC_STYLE['CONTACT_IMAGECODE'] = "<tr><td>".LANCONTACT_16."<br />{---}";
|
||||
// $SC_STYLE['CONTACT_IMAGECODE_INPUT'] = "{---}</td></tr>";
|
||||
// $SC_WRAPPER['CONTACT_EMAIL_COPY'] = "<tr><td>{---}".LANCONTACT_07."</td></tr>";
|
||||
// $SC_WRAPPER['CONTACT_PERSON'] = "<tr><td>".LANCONTACT_14."<br />{---}</td></tr>";
|
||||
// $SC_WRAPPER['CONTACT_IMAGECODE'] = "<tr><td>".LANCONTACT_16."<br />{---}";
|
||||
// $SC_WRAPPER['CONTACT_IMAGECODE_INPUT'] = "{---}</td></tr>";
|
||||
|
||||
|
||||
// Option II - Wrappers, used ONLY with batch objects, requires explicit wrapper registration
|
||||
|
@ -2187,9 +2187,9 @@ class e107
|
||||
self::setRegistry($regPath, (isset($$var) ? $$var : array()));
|
||||
|
||||
// sc_style not a global anymore and uppercase
|
||||
if(isset($SC_STYLE))
|
||||
if(isset($SC_WRAPPER))
|
||||
{
|
||||
self::scStyle($SC_STYLE);
|
||||
self::scStyle($SC_WRAPPER);
|
||||
}
|
||||
|
||||
// ID_WRAPPER support
|
||||
|
@ -1017,7 +1017,7 @@ class e_parse_shortcode
|
||||
}
|
||||
if (isset($this->sc_style[$code]['post']))
|
||||
{
|
||||
$post = $ret.$this->sc_style[$code]['post'];
|
||||
$post = $this->sc_style[$code]['post'];
|
||||
}
|
||||
}
|
||||
// new way - same format as wrapper
|
||||
|
Loading…
x
Reference in New Issue
Block a user