blocks/oledrion_categoy_lists.php 1 location
|
@@ 53-65 (lines=13) @@
|
| 50 |
|
* @param array $options [0] = Nombre maximum de listes à voir, [1] = Type de listes (0 = les 2, 1 = liste cadeaux, 2 = produits recommandés) |
| 51 |
|
* @return array |
| 52 |
|
*/ |
| 53 |
|
function b_oledrion_category_lists_edit($options) |
| 54 |
|
{ |
| 55 |
|
include XOOPS_ROOT_PATH . '/modules/oledrion/include/common.php'; |
| 56 |
|
$form = ''; |
| 57 |
|
$form .= "<table border='0'>"; |
| 58 |
|
$form .= '<tr><td>' . _MB_OLEDRION_LISTS_COUNT . "</td><td><input type='text' name='options[]' id='options' value='" . (int)$options[0] . "' /></td></tr>"; |
| 59 |
|
$listTypes = Oledrion_lists::getTypesArray(); |
| 60 |
|
$listTypeSelect = Oledrion_utils::htmlSelect('options[]', $listTypes, (int)$options[1], false); |
| 61 |
|
$form .= '<tr><td>' . _MB_OLEDRION_LISTS_TYPE . '</td><td>' . $listTypeSelect . '</td></tr>'; |
| 62 |
|
$form .= '</table>'; |
| 63 |
|
|
| 64 |
|
return $form; |
| 65 |
|
} |
| 66 |
|
|
| 67 |
|
/** |
| 68 |
|
* Bloc à la volée |
blocks/oledrion_mostviewed_lists.php 1 location
|
@@ 60-72 (lines=13) @@
|
| 57 |
|
* @param array $options [0] = Nombre maximum de listes à voir, [1] = Type de listes (0 = les 2, 1 = liste cadeaux, 2 = produits recommandés) |
| 58 |
|
* @return array |
| 59 |
|
*/ |
| 60 |
|
function b_oledrion__mostviewed_lists_edit($options) |
| 61 |
|
{ |
| 62 |
|
include XOOPS_ROOT_PATH . '/modules/oledrion/include/common.php'; |
| 63 |
|
$form = ''; |
| 64 |
|
$form .= "<table border='0'>"; |
| 65 |
|
$form .= '<tr><td>' . _MB_OLEDRION_LISTS_COUNT . "</td><td><input type='text' name='options[]' id='options' value='" . (int)$options[0] . "' /></td></tr>"; |
| 66 |
|
$listTypes = Oledrion_lists::getTypesArray(); |
| 67 |
|
$listTypeSelect = Oledrion_utils::htmlSelect('options[]', $listTypes, (int)$options[1], false); |
| 68 |
|
$form .= '<tr><td>' . _MB_OLEDRION_LISTS_TYPE . '</td><td>' . $listTypeSelect . '</td></tr>'; |
| 69 |
|
$form .= '</table>'; |
| 70 |
|
|
| 71 |
|
return $form; |
| 72 |
|
} |
| 73 |
|
|
| 74 |
|
/** |
| 75 |
|
* Bloc à la volée |
blocks/oledrion_random_lists.php 1 location
|
@@ 60-72 (lines=13) @@
|
| 57 |
|
* @param array $options [0] = Nombre maximum de listes à voir, [1] = Type de listes (0 = les 2, 1 = liste cadeaux, 2 = produits recommandés) |
| 58 |
|
* @return array |
| 59 |
|
*/ |
| 60 |
|
function b_oledrion_random_lists_edit($options) |
| 61 |
|
{ |
| 62 |
|
include XOOPS_ROOT_PATH . '/modules/oledrion/include/common.php'; |
| 63 |
|
$form = ''; |
| 64 |
|
$form .= "<table border='0'>"; |
| 65 |
|
$form .= '<tr><td>' . _MB_OLEDRION_LISTS_COUNT . "</td><td><input type='text' name='options[]' id='options' value='" . (int)$options[0] . "' /></td></tr>"; |
| 66 |
|
$listTypes = Oledrion_lists::getTypesArray(); |
| 67 |
|
$listTypeSelect = Oledrion_utils::htmlSelect('options[]', $listTypes, (int)$options[1], false); |
| 68 |
|
$form .= '<tr><td>' . _MB_OLEDRION_LISTS_TYPE . '</td><td>' . $listTypeSelect . '</td></tr>'; |
| 69 |
|
$form .= '</table>'; |
| 70 |
|
|
| 71 |
|
return $form; |
| 72 |
|
} |
| 73 |
|
|
| 74 |
|
/** |
| 75 |
|
* Bloc à la volée |
blocks/oledrion_recent_lists.php 1 location
|
@@ 59-71 (lines=13) @@
|
| 56 |
|
* @param array $options [0] = Nombre maximum de listes à voir, [1] = Type de listes (0 = les 2, 1 = liste cadeaux, 2 = produits recommandés) |
| 57 |
|
* @return array |
| 58 |
|
*/ |
| 59 |
|
function b_oledrion_recent_lists_edit($options) |
| 60 |
|
{ |
| 61 |
|
include XOOPS_ROOT_PATH . '/modules/oledrion/include/common.php'; |
| 62 |
|
$form = ''; |
| 63 |
|
$form .= "<table border='0'>"; |
| 64 |
|
$form .= '<tr><td>' . _MB_OLEDRION_LISTS_COUNT . "</td><td><input type='text' name='options[]' id='options' value='" . (int)$options[0] . "' /></td></tr>"; |
| 65 |
|
$listTypes = Oledrion_lists::getTypesArray(); |
| 66 |
|
$listTypeSelect = Oledrion_utils::htmlSelect('options[]', $listTypes, (int)$options[1], false); |
| 67 |
|
$form .= '<tr><td>' . _MB_OLEDRION_LISTS_TYPE . '</td><td>' . $listTypeSelect . '</td></tr>'; |
| 68 |
|
$form .= '</table>'; |
| 69 |
|
|
| 70 |
|
return $form; |
| 71 |
|
} |
| 72 |
|
|
| 73 |
|
/** |
| 74 |
|
* Bloc à la volée |