Conditions | 5 |
Paths | 16 |
Total Lines | 25 |
Code Lines | 17 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
43 | function memberswelcome_edit($options) |
||
44 | { |
||
45 | $form = _MB_XOOPSMEMBERS_SHOWMEMBERSRANK . ' '; |
||
46 | if (1 == $options[0]) { |
||
47 | $chk = " checked"; |
||
48 | } |
||
49 | $form .= "<input type='radio' name='options[0]' value='1'" . $chk . ' > ' . _YES . ''; |
||
|
|||
50 | $chk = ''; |
||
51 | if (0 == $options[0]) { |
||
52 | $chk = " checked"; |
||
53 | } |
||
54 | $form .= " <input type='radio' name='options[0]' value='0'" . $chk . ' >' . _NO . '<br>'; |
||
55 | |||
56 | $form .= _MB_XOOPSMEMBERS_USEREALNAME . ' '; |
||
57 | if (1 == $options[1]) { |
||
58 | $chk = " checked"; |
||
59 | } |
||
60 | $form .= "<input type='radio' name='options[1]' value='1'" . $chk . ' > ' . _YES . ''; |
||
61 | $chk = ''; |
||
62 | if (0 == $options[1]) { |
||
63 | $chk = " checked"; |
||
64 | } |
||
65 | $form .= " <input type='radio' name='options[1]' value='0'" . $chk . ' >' . _NO . '<br>'; |
||
66 | |||
67 | return $form; |
||
68 | } |
||
70 |