Commit c8ee4f73b80e0bc71ca7e6ab4fa910759496dc2d

Authored by Administrator
1 parent a12c1a6c

add Vitaliy's widgets

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