*/
Calendar={
- space:' ',
UI:{
startEventDialog:function(){
$('.tipsy').remove();
var url;
if (calendarid == 'new'){
- url = "ajax/createcalendar.php";
+ url = OC.filePath('calendar', 'ajax', 'createcalendar.php');
}else{
- url = "ajax/updatecalendar.php";
+ url = OC.filePath('calendar', 'ajax', 'updatecalendar.php');
}
$.post(url, { id: calendarid, name: displayname, active: active, description: description, color: calendarcolor },
function(data){
$tmp['url'] = $data->url;
$tmp['web'] = $data->web;
-
return $tmp;
-
}
-
-
public static function ShowUpdatingHint(){
$data=OC_Updater::check();
if(isset($data['version']) and $data['version']<>'') {
$txt='Your ownCloud is up to date';
}
return($txt);
-
}
-
/**
* do ownCloud update
*/
//update version in config
}
-
}
-
-
-
?>