1
0
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:
Jörn Friedrich Dreyer 2012-07-09 16:51:16 +02:00
parent 8b12b691af
commit f7bdc57888
17 changed files with 0 additions and 27 deletions

View File

@ -17,4 +17,3 @@ $tmpl = new OCP\Template('contacts', 'part.editaddressbook');
$tmpl->assign('new', true); $tmpl->assign('new', true);
$tmpl->assign('addressbook', $book); $tmpl->assign('addressbook', $book);
$tmpl->printPage(); $tmpl->printPage();
?>

View File

@ -25,4 +25,3 @@ foreach($vcard->children as $property){
} }
} }
OCP\JSON::error(array('data' => array('message' => OC_Contacts_App::$l10n->t('Error setting checksum.')))); OCP\JSON::error(array('data' => array('message' => OC_Contacts_App::$l10n->t('Error setting checksum.'))));
?>

View File

@ -45,5 +45,3 @@ $catman->delete($categories, $cards);
debug('After delete: '.print_r($catman->categories(), true)); debug('After delete: '.print_r($catman->categories(), true));
OC_Contacts_VCard::updateDataByID($cards); OC_Contacts_VCard::updateDataByID($cards);
OCP\JSON::success(array('data' => array('categories'=>$catman->categories()))); OCP\JSON::success(array('data' => array('categories'=>$catman->categories())));
?>

View File

@ -13,5 +13,3 @@ OCP\JSON::checkAppEnabled('contacts');
$categories = OC_Contacts_App::getCategories(); $categories = OC_Contacts_App::getCategories();
OCP\JSON::success(array('data' => array('categories'=>$categories))); OCP\JSON::success(array('data' => array('categories'=>$categories)));
?>

View File

@ -14,5 +14,3 @@ OC_Contacts_App::scanCategories();
$categories = OC_Contacts_App::getCategories(); $categories = OC_Contacts_App::getCategories();
OCP\JSON::success(array('data' => array('categories'=>$categories))); OCP\JSON::success(array('data' => array('categories'=>$categories)));
?>

View File

@ -51,5 +51,3 @@ if( is_null($contact)) {
bailOut(OC_Contacts_App::$l10n->t('The loading photo is not valid.')); bailOut(OC_Contacts_App::$l10n->t('The loading photo is not valid.'));
} }
} }
?>

View File

@ -39,5 +39,3 @@ $tmpl->assign('adr_types',$adr_types);
$page = $tmpl->fetchPage(); $page = $tmpl->fetchPage();
OCP\JSON::success(array('data' => array('page'=>$page, 'checksum'=>$checksum))); OCP\JSON::success(array('data' => array('page'=>$page, 'checksum'=>$checksum)));
?>

View File

@ -14,4 +14,3 @@ $tmpl = new OCP\Template("contacts", "part.editaddressbook");
$tmpl->assign('new', false); $tmpl->assign('new', false);
$tmpl->assign('addressbook', $addressbook); $tmpl->assign('addressbook', $addressbook);
$tmpl->printPage(); $tmpl->printPage();
?>

View File

@ -32,5 +32,3 @@ if($id) {
} }
$page = $tmpl->fetchPage(); $page = $tmpl->fetchPage();
OCP\JSON::success(array('data' => array('page'=>$page))); OCP\JSON::success(array('data' => array('page'=>$page)));
?>

View File

@ -21,4 +21,3 @@ $tmpl->assign('uploadMaxFilesize', $maxUploadFilesize);
$tmpl->assign('requesttoken', $_SERVER['HTTP_REQUESTTOKEN']); $tmpl->assign('requesttoken', $_SERVER['HTTP_REQUESTTOKEN']);
$tmpl->assign('uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize)); $tmpl->assign('uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize));
$tmpl->printpage(); $tmpl->printpage();
?>

View File

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

View File

@ -58,5 +58,3 @@ if(OC_Cache::set($tmpkey, $image->data(), 600)) {
} else { } else {
bailOut('Couldn\'t save temporary image: '.$tmpkey); bailOut('Couldn\'t save temporary image: '.$tmpkey);
} }
?>

View File

@ -70,6 +70,3 @@ if(file_exists($file['tmp_name'])) {
} else { } else {
bailOut('Temporary file: \''.$file['tmp_name'].'\' has gone AWOL?'); bailOut('Temporary file: \''.$file['tmp_name'].'\' has gone AWOL?');
} }
?>

View File

@ -102,4 +102,3 @@ if(file_exists($file['tmp_name'])) {
} else { } else {
bailOut('Temporary file: \''.$file['tmp_name'].'\' has gone AWOL?'); bailOut('Temporary file: \''.$file['tmp_name'].'\' has gone AWOL?');
} }
?>

View File

@ -32,4 +32,3 @@ if(isset($bookid)){
header('Content-Disposition: inline; filename=' . str_replace(' ', '_', $data['fullname']) . '.vcf'); header('Content-Disposition: inline; filename=' . str_replace(' ', '_', $data['fullname']) . '.vcf');
echo $data['carddata']; echo $data['carddata'];
} }
?>

View File

@ -73,5 +73,3 @@ $tmpl->assign('addressbooks', $addressbooks);
$tmpl->assign('details', $details ); $tmpl->assign('details', $details );
$tmpl->assign('id',$id); $tmpl->assign('id',$id);
$tmpl->printPage(); $tmpl->printPage();
?>

View File

@ -4,4 +4,3 @@ $tmpl = new OCP\Template( 'contacts', 'settings');
$tmpl->assign('addressbooks', OC_Contacts_Addressbook::all(OCP\USER::getUser()), false); $tmpl->assign('addressbooks', OC_Contacts_Addressbook::all(OCP\USER::getUser()), false);
return $tmpl->fetchPage(); return $tmpl->fetchPage();
?>