1. Doug Stewart
  2. elbee-elgee

Source

elbee-elgee / includes / functions / admin.php

Diff from to

File includes/functions/admin.php

 					$tmp_name = $lblg_options_group . '['. $key . ']';
 					$input_name = $option['input'];
 					$input_img = $option['image'];
-					print_r($options);
-					echo sprintf( '<label class="lbimageradio"><input type="radio" name="%s" value="%s" %s /><img src="%s" title="%s" /></label>', $tmp_name, $input_name, checked( $input_name, $options[$key], false ), $input_img, $input_name) . "\n";
+
+					echo sprintf( '<label class="lbimageradio"><input type="radio" class="lbimageradio" name="%s" value="%s" %s /><img src="%s" title="%s" /></label>', $tmp_name, $input_name, checked( $input_name, $options[$key], false ), $input_img, $input_name) . "\n";
 				}
 			} else {
 		 		foreach ( $value['options'] as $opt_key => $opt_value ) {
 		margin: 5px;
 		padding: 5px;
 	}
+	
+	input[type=radio].lbimageradio:checked + img{
+		border-color: #ccc;
+	}
+	
 </style>	
 <?php
 }