Consistent use of URL::site()

This commit is contained in:
Deon George
2011-10-07 12:00:34 +11:00
parent be00deede7
commit 0f45467ec8
4 changed files with 6 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ class Controller_Welcome extends Controller_TemplateDefault {
if (! Auth::instance()->logged_in()) {
Script::add(array('type'=>'stdin','data'=>'
$(document).ready(function() {
$("#ajxbody").click(function() {$("#ajBODY").load("'.URL::site('/login').'",null,function(x,s,r) {}); return false;});
$("#ajxbody").click(function() {$("#ajBODY").load("'.URL::site('login').'",null,function(x,s,r) {}); return false;});
$("#ajBODY").ajaxSend(function() {$(this).html(\''.sprintf('%s <span class="ajaxmsg">%s<\/span>...',HTML::image('media/img/ajax-progress.gif',array('alt'=>_('Loading Login').'...')),_('Loading Login')).'\');return true;});
});'
));