mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 09:04:38 +02:00
new module creation
This commit is contained in:
17
e107_files/shortcode/breadcrumb.sc
Executable file
17
e107_files/shortcode/breadcrumb.sc
Executable file
@@ -0,0 +1,17 @@
|
||||
global $$parm;
|
||||
$bc = $$parm;
|
||||
$flist = explode(",", $bc['fieldlist']);
|
||||
$ret = "";
|
||||
foreach($flist as $f)
|
||||
{
|
||||
if($bc[$f]['value'])
|
||||
{
|
||||
$ret .= $bc[$f]['value'];
|
||||
if($bc[$f]['sep'])
|
||||
{
|
||||
$ret .= $bc[$f]['sep'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $ret;
|
Reference in New Issue
Block a user