@@ 483-486 (lines=4) @@ | ||
480 | $cblock->setVar('content', @$_POST['bcontent']); |
|
481 | $cblock->setVar('c_type', @$_POST['bctype']); |
|
482 | $cblock->setVar('bcachetime', $_POST['bcachetime']); |
|
483 | if (isset($options) && (count($options) > 0)) { |
|
484 | $options = implode('|', $options); |
|
485 | $cblock->setVar('options', $options); |
|
486 | } |
|
487 | $cblock->setVar('bid', 0); |
|
488 | $cblock->setVar('block_type', $block_type === 'C' ? 'C' : 'D'); |
|
489 | $cblock->setVar('func_num', 255); |
|
@@ 581-584 (lines=4) @@ | ||
578 | $myblock->setVar('c_type', $bctype); |
|
579 | } |
|
580 | $myblock->setVar('bcachetime', $bcachetime); |
|
581 | if (isset($options) && (count($options) > 0)) { |
|
582 | $options = implode('|', $options); |
|
583 | $myblock->setVar('options', $options); |
|
584 | } |
|
585 | if ($myblock->getVar('block_type') === 'C') { |
|
586 | switch ($myblock->getVar('c_type')) { |
|
587 | case 'H': |