mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-11-29 11:24:11 +01:00
remove superfluous ?> at the end of .php files (left out apps/*/templates)
This commit is contained in:
parent
8b12b691af
commit
f7bdc57888
@ -17,4 +17,3 @@ $tmpl = new OCP\Template('contacts', 'part.editaddressbook');
|
||||
$tmpl->assign('new', true);
|
||||
$tmpl->assign('addressbook', $book);
|
||||
$tmpl->printPage();
|
||||
?>
|
||||
|
@ -25,4 +25,3 @@ foreach($vcard->children as $property){
|
||||
}
|
||||
}
|
||||
OCP\JSON::error(array('data' => array('message' => OC_Contacts_App::$l10n->t('Error setting checksum.'))));
|
||||
?>
|
||||
|
@ -45,5 +45,3 @@ $catman->delete($categories, $cards);
|
||||
debug('After delete: '.print_r($catman->categories(), true));
|
||||
OC_Contacts_VCard::updateDataByID($cards);
|
||||
OCP\JSON::success(array('data' => array('categories'=>$catman->categories())));
|
||||
|
||||
?>
|
||||
|
@ -13,5 +13,3 @@ OCP\JSON::checkAppEnabled('contacts');
|
||||
$categories = OC_Contacts_App::getCategories();
|
||||
|
||||
OCP\JSON::success(array('data' => array('categories'=>$categories)));
|
||||
|
||||
?>
|
||||
|
@ -14,5 +14,3 @@ OC_Contacts_App::scanCategories();
|
||||
$categories = OC_Contacts_App::getCategories();
|
||||
|
||||
OCP\JSON::success(array('data' => array('categories'=>$categories)));
|
||||
|
||||
?>
|
||||
|
@ -51,5 +51,3 @@ if( is_null($contact)) {
|
||||
bailOut(OC_Contacts_App::$l10n->t('The loading photo is not valid.'));
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
@ -39,5 +39,3 @@ $tmpl->assign('adr_types',$adr_types);
|
||||
|
||||
$page = $tmpl->fetchPage();
|
||||
OCP\JSON::success(array('data' => array('page'=>$page, 'checksum'=>$checksum)));
|
||||
|
||||
?>
|
||||
|
@ -14,4 +14,3 @@ $tmpl = new OCP\Template("contacts", "part.editaddressbook");
|
||||
$tmpl->assign('new', false);
|
||||
$tmpl->assign('addressbook', $addressbook);
|
||||
$tmpl->printPage();
|
||||
?>
|
||||
|
@ -32,5 +32,3 @@ if($id) {
|
||||
}
|
||||
$page = $tmpl->fetchPage();
|
||||
OCP\JSON::success(array('data' => array('page'=>$page)));
|
||||
|
||||
?>
|
||||
|
@ -21,4 +21,3 @@ $tmpl->assign('uploadMaxFilesize', $maxUploadFilesize);
|
||||
$tmpl->assign('requesttoken', $_SERVER['HTTP_REQUESTTOKEN']);
|
||||
$tmpl->assign('uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize));
|
||||
$tmpl->printpage();
|
||||
?>
|
||||
|
@ -13,4 +13,3 @@ $tmpl = new OCP\Template('contacts', 'part.import');
|
||||
$tmpl->assign('path', $_POST['path']);
|
||||
$tmpl->assign('filename', $_POST['filename']);
|
||||
$tmpl->printpage();
|
||||
?>
|
||||
|
@ -58,5 +58,3 @@ if(OC_Cache::set($tmpkey, $image->data(), 600)) {
|
||||
} else {
|
||||
bailOut('Couldn\'t save temporary image: '.$tmpkey);
|
||||
}
|
||||
|
||||
?>
|
||||
|
@ -70,6 +70,3 @@ if(file_exists($file['tmp_name'])) {
|
||||
} else {
|
||||
bailOut('Temporary file: \''.$file['tmp_name'].'\' has gone AWOL?');
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
|
@ -102,4 +102,3 @@ if(file_exists($file['tmp_name'])) {
|
||||
} else {
|
||||
bailOut('Temporary file: \''.$file['tmp_name'].'\' has gone AWOL?');
|
||||
}
|
||||
?>
|
||||
|
@ -32,4 +32,3 @@ if(isset($bookid)){
|
||||
header('Content-Disposition: inline; filename=' . str_replace(' ', '_', $data['fullname']) . '.vcf');
|
||||
echo $data['carddata'];
|
||||
}
|
||||
?>
|
||||
|
@ -73,5 +73,3 @@ $tmpl->assign('addressbooks', $addressbooks);
|
||||
$tmpl->assign('details', $details );
|
||||
$tmpl->assign('id',$id);
|
||||
$tmpl->printPage();
|
||||
|
||||
?>
|
||||
|
@ -4,4 +4,3 @@ $tmpl = new OCP\Template( 'contacts', 'settings');
|
||||
$tmpl->assign('addressbooks', OC_Contacts_Addressbook::all(OCP\USER::getUser()), false);
|
||||
|
||||
return $tmpl->fetchPage();
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user