1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 15:46:44 +02:00

Improvements for {PAGE_NAVIGATION} shortcode. {PAGE_CHAPTER_NAME} and {PAGE_CHAPTER_DESCRIPTION} added.

This commit is contained in:
Cameron
2013-05-29 15:33:39 -07:00
parent 93a30ead61
commit e1dae6ee40
4 changed files with 78 additions and 13 deletions

View File

@@ -790,7 +790,7 @@ class e_parse_shortcode
return $matches[0];
}
if(preg_match('/^([A-Z]*):(.*)/', $matches[1], $newMatch))
if(preg_match('/^([A-Z_]*):(.*)/', $matches[1], $newMatch))
{
$code = $newMatch[1];
$parmStr = trim($newMatch[2]);