xoops_trust_path/libs/altsys/class/MyBlocksAdmin.class.php 1 location
|
@@ 845-851 (lines=7) @@
|
| 842 |
|
$block = new XoopsBlock($bid) ; |
| 843 |
|
} |
| 844 |
|
|
| 845 |
|
if (! $block->getVar('bid')) { |
| 846 |
|
// new defaults |
| 847 |
|
$bid = 0 ; |
| 848 |
|
$mode = 'new' ; |
| 849 |
|
$block->setVar('mid', 0) ; |
| 850 |
|
$block->setVar('block_type', 'C') ; |
| 851 |
|
} |
| 852 |
|
|
| 853 |
|
switch ($mode) { |
| 854 |
|
case 'clone' : |
xoops_trust_path/libs/altsys/class/MyBlocksAdminForX25.class.php 1 location
|
@@ 160-166 (lines=7) @@
|
| 157 |
|
//HACK by domifara |
| 158 |
|
$block = new XoopsBlock($bid) ; |
| 159 |
|
|
| 160 |
|
if (! $block->getVar('bid')) { |
| 161 |
|
// new defaults |
| 162 |
|
$bid = 0 ; |
| 163 |
|
$mode = 'new' ; |
| 164 |
|
$block->setVar('mid', 0) ; |
| 165 |
|
$block->setVar('block_type', 'C') ; |
| 166 |
|
} |
| 167 |
|
|
| 168 |
|
switch ($mode) { |
| 169 |
|
case 'clone' : |