|
|
|
@ -69,8 +69,9 @@ if ($is_allowed_to_edit) { |
|
|
|
$html = ''; |
|
|
|
$html = ''; |
|
|
|
$step = 1; |
|
|
|
$step = 1; |
|
|
|
foreach ($list as $toc) { |
|
|
|
foreach ($list as $toc) { |
|
|
|
|
|
|
|
$stepId = "$step-".api_replace_dangerous_char($toc['title']); |
|
|
|
$x = 1000 * $step; |
|
|
|
$x = 1000 * $step; |
|
|
|
$html .= '<div id="step-'.$step.'" class="step slide" data-x="'.$x.'" data-y="-1500" >'; |
|
|
|
$html .= '<div id="'.strtolower($stepId).'" title="'.$toc['title'].'" class="step slide" data-x="'.$x.'" data-y="-1500" >'; |
|
|
|
$html .= '<div class="impress-content">'; |
|
|
|
$html .= '<div class="impress-content">'; |
|
|
|
$src = $lp->get_link('http', $toc['id']); |
|
|
|
$src = $lp->get_link('http', $toc['id']); |
|
|
|
if ($toc['type'] !== 'dir') { |
|
|
|
if ($toc['type'] !== 'dir') { |
|
|
|
|