Merge branch 'master' into calendar_export

This commit is contained in:
Georg Ehrke 2012-06-16 09:48:32 +02:00
commit be4820bbca
25 changed files with 25 additions and 43 deletions

View File

@ -22,4 +22,3 @@ if($del == true){
}else{
OCP\JSON::error(array('error'=>'dberror'));
}
?>

View File

@ -17,4 +17,3 @@ $tmpl->assign('new', false);
$tmpl->assign('calendarcolor_options', $calendarcolor_options);
$tmpl->assign('calendar', $calendar);
$tmpl->printPage();
?>

View File

@ -21,4 +21,3 @@ $tmpl->assign('new', false);
$tmpl->assign('calendarcolor_options', $calendarcolor_options);
$tmpl->assign('calendar', $calendar);
$tmpl->printPage();
?>

View File

@ -20,4 +20,3 @@ $tmpl->assign('new', true);
$tmpl->assign('calendarcolor_options', $calendarcolor_options);
$tmpl->assign('calendar', $calendar);
$tmpl->printPage();
?>

View File

@ -12,4 +12,3 @@ OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('calendar');
$output = new OCP\Template("calendar", "part.choosecalendar");
$output -> printpage();
?>

View File

@ -43,4 +43,3 @@ if($errarr){
}
OCP\JSON::success();
}
?>

View File

@ -22,4 +22,3 @@ if($errarr){
$result = OC_Calendar_Object::add($cal, $vcalendar->serialize());
OCP\JSON::success();
}
?>

View File

@ -13,4 +13,3 @@ $tmpl = new OCP\Template('calendar', 'part.import');
$tmpl->assign('path', $_POST['path']);
$tmpl->assign('filename', $_POST['filename']);
$tmpl->printpage();
?>

View File

@ -71,4 +71,3 @@ foreach($uids as $uid) {
}
}
OCP\JSON::success();
?>

View File

@ -9,4 +9,3 @@
OCP\JSON::checkLoggedIn();
$firstday = OCP\Config::getUserValue( OCP\USER::getUser(), 'calendar', 'firstday', 'mo');
OCP\JSON::encodedPrint(array('firstday' => $firstday));
?>

View File

@ -24,4 +24,3 @@ if($timezone == OCP\Config::getUserValue(OCP\USER::getUser(), 'calendar', 'timez
OCP\Config::setUserValue(OCP\USER::getUser(), 'calendar', 'timezone', $timezone);
$message = array('message'=> $l->t('New Timezone:') . $timezone);
OCP\JSON::success($message);
?>

View File

@ -13,5 +13,3 @@ if(isset($_POST["firstday"])){
}else{
OCP\JSON::error();
}
?>

View File

@ -13,5 +13,3 @@ if(isset($_POST["timeformat"])){
}else{
OCP\JSON::error();
}
?>

View File

@ -23,5 +23,3 @@ if( isset( $_POST['timezone'] ) ){
}else{
OCP\JSON::error(array('data' => array( 'message' => $l->t('Invalid request') )));
}
?>

View File

@ -9,4 +9,3 @@
OCP\JSON::checkLoggedIn();
$timeformat = OCP\Config::getUserValue( OCP\USER::getUser(), 'calendar', 'timeformat', "24");
OCP\JSON::encodedPrint(array("timeformat" => $timeformat));
?>