1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 01:25:01 +02:00

Login page template/shortcode fixes.

This commit is contained in:
Cameron
2016-02-29 15:13:32 -08:00
parent 8c0680a18a
commit b4c4352080
7 changed files with 69 additions and 73 deletions

View File

@@ -748,6 +748,8 @@ class e_parse_shortcode
if (is_object($extraCodes))
{
$this->addedCodes = &$extraCodes;
@@ -1302,6 +1304,8 @@ class e_shortcode
* Sets wrapper id (to be retrieved from the registry while parsing)
* Example e107::getScBatch('contact')->wrapper('contact/form');
* which results in using the $CONTACT_WRAPPER['form'] wrapper in the parsing phase
* Template cannot be loaded via include, only by getTemplate or getCoreTemplate
* e107::getScBatch() must be used also.
*/
public function wrapper($id = null)
{