Commits

Anonymous committed 13faeef

Add ID to prefs_list/advanced_prefs : TXP4.2 feature

Comments (0)

Files changed (1)

textpattern/include/txp_prefs.php

 				echo t2.graf(
 						'<span class="left">'.$preflabel.'</span>'.
 						'<span class="right">'.$prefitem.'</span>',
-					'class="pref"').n;
+					'class="pref" id="'.$a['name'].'"').n;
 			}
 		}
 		
 			echo t2.graf(
 					'<span class="left">'.$preflabel.'</span>'.
 					'<span class="right">'.$prefitem.'</span>',
-					'class="pref"').n;
+					'class="pref" id="'.$a['name'].'"').n;
 		}
 
 		echo t2.div(