Commit c8ee4f73b80e0bc71ca7e6ab4fa910759496dc2d

Authored by Administrator
1 parent a12c1a6c

add Vitaliy's widgets

common/config/.gitignore
1 1 /params-local.php
2   -/main-local.php
3   -/main-remote.php
4 2 \ No newline at end of file
  3 +/main-local.php
5 4 \ No newline at end of file
... ...
frontend/views/accounts/general.php
... ... @@ -77,8 +77,8 @@
77 77 [1 => 'Частное лицо', 2 => 'Компания'],
78 78 [
79 79 'item' => function($index, $label, $name, $checked, $value) {
80   - $return = '<input type="radio" name="' . $name . '" value="' . $value . '" '.($checked ? "checked" :"").' >';
81   - $return .= '<label>';
  80 + $return = '<input id="select_admin_'.$value.'" type="radio" name="' . $name . '" value="' . $value . '" '.($checked ? "checked" :"").' >';
  81 + $return .= '<label for="select_admin_'.$value.'" >';
82 82 $return .= '<span></span>' . ucwords($label);
83 83 $return .= '</label>';
84 84  
... ...