|
@@ 438-441 (lines=4) @@
|
| 435 |
|
$cblock->setVar('content', @$_POST['bcontent']); |
| 436 |
|
$cblock->setVar('c_type', @$_POST['bctype']); |
| 437 |
|
$cblock->setVar('bcachetime', $_POST['bcachetime']); |
| 438 |
|
if (isset($options) && (count($options) > 0)) { |
| 439 |
|
$options = implode('|', $options); |
| 440 |
|
$cblock->setVar('options', $options); |
| 441 |
|
} |
| 442 |
|
$cblock->setVar('bid', 0); |
| 443 |
|
$cblock->setVar('block_type', $block_type == 'C' ? 'C' : 'D'); |
| 444 |
|
$cblock->setVar('func_num', 255); |
|
@@ 517-520 (lines=4) @@
|
| 514 |
|
$myblock->setVar('c_type', $bctype); |
| 515 |
|
} |
| 516 |
|
$myblock->setVar('bcachetime', $bcachetime); |
| 517 |
|
if (isset($options) && (count($options) > 0)) { |
| 518 |
|
$options = implode('|', $options); |
| 519 |
|
$myblock->setVar('options', $options); |
| 520 |
|
} |
| 521 |
|
if ('C' == $myblock->getVar('block_type')) { |
| 522 |
|
switch ($myblock->getVar('c_type')) { |
| 523 |
|
case 'H': |