	url : '/ucenter/role/setUrl/' + id,
		title : '设置Url',
		okbtn : '保存'
	}, web.role.addUrl);
};
web.role.addUrl = function(){
	var ids = [];
	$('#treeul input:checked').each(function(){ids.push($(this).parent().qdata().id);});
	
	var res;
	qiao.ajax({
		async: false,
		url: '/ucenter/role/saveUrl',
		data:{ids:ids.join(','),roleid:$('input[name="roleid"]').val()}
	}, function(json){
		res = json;
	});
	
	if(res && res.type =='success'){
		return true;
	}else{
		qiao.bs.msg(res);
		return false;
	}
};
web.role.removeUrl = function(){
	var urls = [];
	$('tr.intr').each(function(){if($(this).hasClass('info')) urls.push($(this).qdata().id);});
	
	qiao.ajax({
		url: '/ucenter/role/removeUrl',
		data:{urls:urls.join(','),roleid:$('input[name="roleid"]').val()}
	}, function(res){
		if(res && res.type =='success'){
			$('tr.intr').each(function(){if($(this).hasClass('info')) $(this).removeClass('intr').addClass('outtr').prependTo('table.outtable');});
		}else{
			qiao.bs.msg(res);
		}
	});
};

// blog
web.blog = {};
web.blog.init = function(){
	qiao.bs.initimg();
	web.blog.reset();

	qiao.on('.goblog', 'click', web.blog.go);
	
	qiao.on('.readda', 'click', web.blog.readd);
	qiao.on('.addComment', 'click', web.blog.save);
	$('.taba:eq(0)').on('shown.bs.tab', web.blog.redis);
};
web.blog.reset = function(){
	$('input[name="row.blog_comment_parent_id"]').val('');
	$('textarea[name="row.blog_comment_content"]').val('');
};
web.blog.go = function(){
	location.href = base + '/blog/detail/' + $(this).qdata().code;
};
web.blog.readd = function(){
	$('input[name="row.blog_comment_parent_id"]').val($(this).qdata().id);
	$('.taba:eq(1)').tab('show');
	$('#commentreadd').find('fieldset').attr('disabled',null).end().find('.btn').attr('disabled',null).focus();
	if(ue2) ue2.setEnabled();
};
web.blog.redis = function(){
	web.blog.reset();
	$('#commentreadd').find('fieldset').attr('disabled','disabled').end().find('.btn').attr('disabled','disabled');
	setTimeout(function(){if(ue2) ue2.setDisabled();}, 400);
};
web.blog.save = function(){
	qiao.ajax({
		url : '/blog/comment/save',
		data : $(this).parent().prev().qser()
	}, function(res){
		if(res){
			if(res.msg == 'notlogin'){
				web.login.show();
			}else{
				qiao.bs.msg(res);
				if(res.type =='success'){
					setTimeout(function(){location.reload();},1000);
				}
			}
		}
	});
};

// blog-edit
web.blogedit = {};
web.blogedit.init = function(){
	qiao.on('.addBlog', 'click', web.blogedit.save);
};
web.blogedit.save = function(){
	var $form = $('#addBlogForm');
	var title = $.trim($form.find('input[name="row.blog_article_title"]').val()); 
	
	if(!title){
		qiao.bs.msg({msg:'请填写博客标题！',type:'danger'});
	}else{
		qiao.ajax({
			url : '/blog/article/save',
			data : $form.qser()
		}, function(res){
			qiao.bs.msg(res);
			
			if(res && res.type =='success'){
				setTimeout(function(){
					location.href = base + '/blog/detail/' + res.object.blog_article_code;
				},1000);
			}
		});
	}
};*side question * do Christians get a tax break??
Damn straight they do. They sit in observance of others making little judgments and assumptions. You do you, screw em.
Everyone is too quick to judge these days. Maybe we spend too long labelling and putting in plastic boxes for our own good,expecting more order in our lives to find that it spills over into every area.
Jesus told his followers to give to Caesar what is Caesars, when they asked do they have to pay taxes if they follow Jesus.
It's easier to be an atheist.
[@465377,SweetNSassy] I grew up Catholic too, including Catholic school. My family are devout Cathlics. I'm not religious.Spaghetti is one of my favourite foods as much as flageolet beans are one of my favourite beans. Whenever I have spaghetti or pasta, I like combining it with some sort of beans to add up the proteins.
Tossing in some vegetables as well just make a quick wholesome meal. I usually use any vegetables I have at hand and this time it was aubergine. What’s nice about this recipe is that you can make ahead for two meals and it keeps very well. I usually do not deep fry aubergines as they soak up too much oil. I find that shallow frying them in 2 tablespoons of olive oil while covering them gives them a nice creamy texture without compromising on the taste. And this recipe does not require them to be cooked to death beforehand. Now that I am writing down this recipe, I could go and eat some more!
Ingredients (6 servings)
1 large aubergine
250 g canned (or fresh) mushrooms
1 can (or 250 g) flageolet beans, drained
1 red onion chopped
2 garlic cloves finely chopped
1 can chopped tomatoes
3 tablespoons olive oil
1 bunch coriander (adjust quantity to taste) finely chopped
Salt to taste
300 g boiled spaghetti
- Cut the aubergines into small ¼-circle (or cube) pieces.
- In a large non-stick fry pan, place 2 tablespoons of olive oil.
- Add the aubergine and stir to coat with oil.
- Cover and allow to cook for 20 minutes on low heat, stirring occasionally. (Be careful not to fully cook them as they will cook for some more time in the sauce afterward).
- Meanwhile, in a deeper pan, add 1 tablespoon of olive oil.
- Add garlic and onion.
- Cook until onion is semi-translucent.
- Add mushrooms and cook for another 5 minutes.
- Add tomatoes and allow to reduce for 10 minutes.
- By this time the aubergine would be ready.
- Transfer the aubergines to the tomato sauce.
- Add the flageolet and stir. Add water if sauce has reduced too much.
- Cover and simmer for 5 – 7 minutes.
- Add salt to taste
- Sprinkle with fresh coriander.
Serve with boiled spaghetti.
Aubergine, beans (I like borlotti) and tomato makes THE BEST pasta sauce. Ever.
This is a great idea! but I hate to make stir-fry with aubergine because it soaks so much oil, I should try with water. Or use zucchini instead!
Even though it takes a bit extra time and it is not really needed (as most aubergines are not bitter as their reputaion!) I find that salting them for 15 min before rinsing thoroughly withh greatly reduce the amount of oil they absorb!!
Just made this to your recipe – it was lovely! Thanks!<BR/><BR/>ChalkyI lived in an apartment till I was 13. My childhood is full of great memories. My dad was always taking me out for fun activities, the playground, skating, wonderland, swimming, rollerblading, park walks, the flea market. Sure, having a house and backyard is nice but it also takes a lot of time and effort to maintain. Now instead of mowing the lawn or shoveling the snow you