mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 17:14:42 +02:00
Book/Chapter image field added.
This commit is contained in:
@@ -536,6 +536,14 @@ class cpage_shortcodes extends e_shortcode
|
||||
return $tp->toIcon($row['chapter_icon']);
|
||||
}
|
||||
|
||||
function sc_chapter_image($parm=null)
|
||||
{
|
||||
$tp = e107::getParser();
|
||||
$row = $this->getChapter();
|
||||
|
||||
return $tp->toImage($row['chapter_image'],$parm);
|
||||
}
|
||||
|
||||
/**
|
||||
* @example {CHAPTER_DESCRIPTION}
|
||||
*/
|
||||
@@ -576,6 +584,9 @@ class cpage_shortcodes extends e_shortcode
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function sc_chapter_breadcrumb()
|
||||
{
|
||||
$tp = e107::getParser();
|
||||
|
Reference in New Issue
Block a user