blocks/instr_lastinstr.php 1 location
|
@@ 76-84 (lines=9) @@
|
| 73 |
|
* @param array $options |
| 74 |
|
* @return string |
| 75 |
|
*/ |
| 76 |
|
function b_instr_lastinstr_edit($options = []) |
| 77 |
|
{ |
| 78 |
|
$form = ''; |
| 79 |
|
$form .= _MB_INSTR_DISPLAYINSTRC . ' <input name="options[0]" size="5" maxlength="255" value="' . $options[0] . '" type="text" /><br>' . "\n"; |
| 80 |
|
$form .= _MB_INSTR_NUMCHARSC . ' <input name="options[1]" size="5" maxlength="255" value="' . $options[1] . '" type="text" /><br>' . "\n"; |
| 81 |
|
|
| 82 |
|
// Возвращаем форму |
| 83 |
|
return $form; |
| 84 |
|
} |
| 85 |
|
|
blocks/instr_lastpage.php 1 location
|
@@ 79-87 (lines=9) @@
|
| 76 |
|
* @param array $options |
| 77 |
|
* @return string |
| 78 |
|
*/ |
| 79 |
|
function b_instr_lastpage_edit($options = []) |
| 80 |
|
{ |
| 81 |
|
$form = ''; |
| 82 |
|
$form .= _MB_INSTR_DISPLAYPAGESC . ' <input name="options[0]" size="5" maxlength="255" value="' . $options[0] . '" type="text" /><br>' . "\n"; |
| 83 |
|
$form .= _MB_INSTR_NUMCHARSC . ' <input name="options[1]" size="5" maxlength="255" value="' . $options[1] . '" type="text" /><br>' . "\n"; |
| 84 |
|
|
| 85 |
|
// Возвращаем форму |
| 86 |
|
return $form; |
| 87 |
|
} |
| 88 |
|
|