 7414932235
			
		
	
	
		7414932235
		
	
	
	
	
		
			
			It involves how widgets work. Now widgets must always be *registered* to work, even blockparser's. Blockparser has got then a nice GUI to select which pages should be available as widgets; once the page has been enabled it is then available in the main widget panels This solves the non-editable input things with non-firefox browsers: this way you just won't have the editbox anymore :P I hope you'll like the changes. There are many additions in lang files, so be careful to update (otherwise you'll get blank lines)!
		
			
				
	
	
		
			27 lines
		
	
	
		
			1002 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			1002 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 	
 | |
| 	$lang['admin']['widgets']['submenu']['blockparser'] = 'BlockParser Widgets';
 | |
| 	
 | |
| 	$lang['admin']['widgets']['blockparser'] = array(
 | |
| 		'head'		=> 'BlockParser Widgets',
 | |
| 		'description'	=> 'BlockParser plugin allows you to create a widget from a static page. </p><p>
 | |
| 		Select one or more static pages from the list to make a corresponding widget available.</p><p>
 | |
| 		Each <a href="?p=static&action=write">new static page</a> you create will be listed here.',
 | |
| 
 | |
| 		'id'		=> 'Static page',
 | |
| 		'title'		=> 'Title',
 | |
| 		'action'	=> 'Action',
 | |
| 		'enable'	=> 'Enable',
 | |
| 		'disable'	=> 'Disable',
 | |
| 		'edit'		=> 'Edit',
 | |
| 		
 | |
| 	);
 | |
| 	$lang['admin']['widgets']['blockparser']['msgs'] = array(
 | |
| 		1		=> 'Your new widget is available. Add it to your blog from the <a href="?p=widgets">main panel!</a>',
 | |
| 		-1		=> 'Can\'t create the requested widget',
 | |
| 		2		=> 'You have disabled a widget: don\'t forget to remove any references from the <a href="?p=widgets">main panel</a>!',
 | |
| 		-2		=> 'Can\'t disable the widget'
 | |
| 	);
 | |
| 	
 | |
| ?>
 |