forked from GNUsocial/gnu-social
		
	add a label for submit button
darcs-hash:20080520175906-84dde-3b4aec544d517b21344fa802ca00026c8362b573.gz
This commit is contained in:
		@@ -218,10 +218,12 @@ function common_password($id, $label) {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
function common_submit($id, $label) {
 | 
					function common_submit($id, $label) {
 | 
				
			||||||
	common_element_start('p');
 | 
						common_element_start('p');
 | 
				
			||||||
 | 
						common_element('label', NULL, ' ');
 | 
				
			||||||
	common_element('input', array('type' => 'submit',
 | 
						common_element('input', array('type' => 'submit',
 | 
				
			||||||
								  'id' => $id,
 | 
													  'id' => $id,
 | 
				
			||||||
								  'name' => $id,
 | 
													  'name' => $id,
 | 
				
			||||||
								  'value' => $label));
 | 
													  'value' => $label,
 | 
				
			||||||
 | 
													  'class' => 'button'));
 | 
				
			||||||
	common_element_end('p');
 | 
						common_element_end('p');
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user