remove superfluous ?> at the end of .php files (left out apps/*/templates)
This commit is contained in:
parent
b67199bb45
commit
e59a1806cf
|
@ -146,4 +146,3 @@ class OC_Bookmarks_Bookmarks{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
|
@ -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();
|
||||||
?>
|
|
||||||
|
|
|
@ -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.'))));
|
||||||
?>
|
|
||||||
|
|
|
@ -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())));
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -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)));
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -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)));
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -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.'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -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)));
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -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();
|
||||||
?>
|
|
||||||
|
|
|
@ -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)));
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -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();
|
||||||
?>
|
|
||||||
|
|
|
@ -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();
|
||||||
?>
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -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?');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -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?');
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
|
@ -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'];
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -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();
|
||||||
?>
|
|
||||||
|
|
|
@ -23,4 +23,3 @@ else
|
||||||
OCP\Config::setAppValue('external', 'sites', json_encode($sites));
|
OCP\Config::setAppValue('external', 'sites', json_encode($sites));
|
||||||
|
|
||||||
echo 'true';
|
echo 'true';
|
||||||
?>
|
|
||||||
|
|
|
@ -40,4 +40,3 @@ if (isset($_GET['id'])) {
|
||||||
$tmpl->printPage();
|
$tmpl->printPage();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
|
@ -32,5 +32,3 @@ class OC_External {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -7,4 +7,3 @@ OCP\Util::addscript( "external", "admin" );
|
||||||
$tmpl = new OCP\Template( 'external', 'settings');
|
$tmpl = new OCP\Template( 'external', 'settings');
|
||||||
|
|
||||||
return $tmpl->fetchPage();
|
return $tmpl->fetchPage();
|
||||||
?>
|
|
||||||
|
|
|
@ -52,5 +52,3 @@ if(OC_Filesystem::file_exists($base) and OC_Filesystem::is_dir($base)){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
OCP\JSON::encodedPrint($files);
|
OCP\JSON::encodedPrint($files);
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -26,5 +26,3 @@ if($success) {
|
||||||
} else {
|
} else {
|
||||||
OCP\JSON::error(array("data" => array( "message" => "Could not delete:\n" . $filesWithError )));
|
OCP\JSON::error(array("data" => array( "message" => "Could not delete:\n" . $filesWithError )));
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -34,4 +34,3 @@ $files = $_GET["files"];
|
||||||
$dir = $_GET["dir"];
|
$dir = $_GET["dir"];
|
||||||
|
|
||||||
OC_Files::get($dir, $files, $_SERVER['REQUEST_METHOD'] == 'HEAD' ? true : false);
|
OC_Files::get($dir, $files, $_SERVER['REQUEST_METHOD'] == 'HEAD' ? true : false);
|
||||||
?>
|
|
||||||
|
|
|
@ -42,5 +42,3 @@ $list->assign( "files", $files, false );
|
||||||
$data = array('files' => $list->fetchPage());
|
$data = array('files' => $list->fetchPage());
|
||||||
|
|
||||||
OCP\JSON::success(array('data' => $data));
|
OCP\JSON::success(array('data' => $data));
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -7,5 +7,3 @@ $RUNTIME_NOAPPS=false;
|
||||||
|
|
||||||
|
|
||||||
print OC_Helper::mimetypeIcon($_GET['mime']);
|
print OC_Helper::mimetypeIcon($_GET['mime']);
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -17,5 +17,3 @@ if(OC_Files::move($dir,$file,$target,$file)){
|
||||||
}else{
|
}else{
|
||||||
OCP\JSON::error(array("data" => array( "message" => "Could not move $file" )));
|
OCP\JSON::error(array("data" => array( "message" => "Could not move $file" )));
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -22,5 +22,3 @@ foreach( OC_Files::getdirectorycontent( $dir, $mimetype ) as $i ){
|
||||||
}
|
}
|
||||||
|
|
||||||
OCP\JSON::success(array('data' => $files));
|
OCP\JSON::success(array('data' => $files));
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -18,5 +18,3 @@ if( OC_Files::move( $dir, $file, $dir, $newname )) {
|
||||||
else{
|
else{
|
||||||
OCP\JSON::error(array("data" => array( "message" => "Unable to rename file" )));
|
OCP\JSON::error(array("data" => array( "message" => "Unable to rename file" )));
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
// see lib/base.php for an example
|
// see lib/base.php for an example
|
||||||
//session_start();
|
//session_start();
|
||||||
$_SESSION['timezone'] = $_GET['time'];
|
$_SESSION['timezone'] = $_GET['time'];
|
||||||
?>
|
|
|
@ -60,5 +60,3 @@ if(strpos($dir,'..') === false){
|
||||||
}
|
}
|
||||||
|
|
||||||
OCP\JSON::error(array('data' => array('error' => $error, "file" => $fileName)));
|
OCP\JSON::error(array('data' => array('error' => $error, "file" => $fileName)));
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -46,4 +46,3 @@ header('Content-Length: '.OC_Filesystem::filesize($filename));
|
||||||
|
|
||||||
@ob_end_clean();
|
@ob_end_clean();
|
||||||
OC_Filesystem::readfile( $filename );
|
OC_Filesystem::readfile( $filename );
|
||||||
?>
|
|
||||||
|
|
|
@ -98,5 +98,3 @@ $tmpl->assign( 'uploadMaxFilesize', $maxUploadFilesize);
|
||||||
$tmpl->assign( 'uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize));
|
$tmpl->assign( 'uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize));
|
||||||
$tmpl->assign( 'allowZipDownload', intval(OCP\Config::getSystemValue('allowZipDownload', true)));
|
$tmpl->assign( 'allowZipDownload', intval(OCP\Config::getSystemValue('allowZipDownload', true)));
|
||||||
$tmpl->printPage();
|
$tmpl->printPage();
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -56,5 +56,3 @@ $tmpl = new OCP\Template( "files", "index", "user" );
|
||||||
$tmpl->assign( 'files', $files );
|
$tmpl->assign( 'files', $files );
|
||||||
$tmpl->assign( "breadcrumb", $breadcrumb );
|
$tmpl->assign( "breadcrumb", $breadcrumb );
|
||||||
$tmpl->printPage();
|
$tmpl->printPage();
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -11,5 +11,3 @@ if ($_POST['isPersonal'] == 'true') {
|
||||||
$isPersonal = false;
|
$isPersonal = false;
|
||||||
}
|
}
|
||||||
OC_Mount_Config::addMountPoint($_POST['mountPoint'], $_POST['class'], $_POST['classOptions'], $_POST['mountType'], $_POST['applicable'], $isPersonal);
|
OC_Mount_Config::addMountPoint($_POST['mountPoint'], $_POST['class'], $_POST['classOptions'], $_POST['mountType'], $_POST['applicable'], $isPersonal);
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -11,5 +11,3 @@ if ($_POST['isPersonal'] == 'true') {
|
||||||
$isPersonal = false;
|
$isPersonal = false;
|
||||||
}
|
}
|
||||||
OC_Mount_Config::removeMountPoint($_POST['mountPoint'], $_POST['mountType'], $_POST['applicable'], $isPersonal);
|
OC_Mount_Config::removeMountPoint($_POST['mountPoint'], $_POST['mountType'], $_POST['applicable'], $isPersonal);
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -45,6 +45,3 @@ if (!is_array($config) or !isset($config['amazons3']) or !$config['amazons3']['r
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
|
@ -4,5 +4,3 @@ OCP\Util::addscript( 'files_imageviewer', 'lightbox' );
|
||||||
OCP\Util::addscript('files_imageviewer', 'jquery.mousewheel-3.0.4.pack');
|
OCP\Util::addscript('files_imageviewer', 'jquery.mousewheel-3.0.4.pack');
|
||||||
OCP\Util::addscript('files_imageviewer', 'jquery.fancybox-1.3.4.pack');
|
OCP\Util::addscript('files_imageviewer', 'jquery.fancybox-1.3.4.pack');
|
||||||
OCP\Util::addStyle( 'files_imageviewer', 'jquery.fancybox-1.3.4' );
|
OCP\Util::addStyle( 'files_imageviewer', 'jquery.fancybox-1.3.4' );
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -6,4 +6,3 @@ OCP\Util::addscript( 'files_pdfviewer', 'pdfjs/compatibility');
|
||||||
OCP\Util::addscript( 'files_pdfviewer', 'viewer');
|
OCP\Util::addscript( 'files_pdfviewer', 'viewer');
|
||||||
OCP\Util::addscript( 'files_pdfviewer', 'pdfjs/build/pdf');
|
OCP\Util::addscript( 'files_pdfviewer', 'pdfjs/build/pdf');
|
||||||
OCP\Util::addscript( 'files_pdfviewer', 'pdfjs/viewer');
|
OCP\Util::addscript( 'files_pdfviewer', 'pdfjs/viewer');
|
||||||
?>
|
|
||||||
|
|
|
@ -11,5 +11,3 @@ $link = $_POST['link'];
|
||||||
$text = $user.' shared the '.$type.' '.$_POST['file'].' with you. It is available for download here: '.$link;
|
$text = $user.' shared the '.$type.' '.$_POST['file'].' with you. It is available for download here: '.$link;
|
||||||
$fromaddress = OCP\Config::getUserValue($user, 'settings', 'email', 'sharing-noreply@'.OCP\Util::getServerHost());
|
$fromaddress = OCP\Config::getUserValue($user, 'settings', 'email', 'sharing-noreply@'.OCP\Util::getServerHost());
|
||||||
OC_Mail::send($_POST['toaddress'], $_POST['toaddress'], $subject, $text, $fromaddress, $user);
|
OC_Mail::send($_POST['toaddress'], $_POST['toaddress'], $subject, $text, $fromaddress, $user);
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -64,5 +64,3 @@ while ($path != $userDirectory) {
|
||||||
}
|
}
|
||||||
|
|
||||||
OCP\JSON::success(array('data' => $item));
|
OCP\JSON::success(array('data' => $item));
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -20,5 +20,3 @@ if ($rows = OC_Share::getMySharedItems()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
OCP\JSON::success(array('data' => $items));
|
OCP\JSON::success(array('data' => $items));
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -10,5 +10,3 @@ $permissions = $_POST['permissions'];
|
||||||
OC_Share::setPermissions($source, $uid_shared_with, $permissions);
|
OC_Share::setPermissions($source, $uid_shared_with, $permissions);
|
||||||
|
|
||||||
OCP\JSON::success();
|
OCP\JSON::success();
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -35,5 +35,3 @@ foreach ($sources as $source) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -7,5 +7,3 @@ if ($_POST['resharing'] == true) {
|
||||||
} else {
|
} else {
|
||||||
OCP\Config::setAppValue('files_sharing', 'resharing', 'no');
|
OCP\Config::setAppValue('files_sharing', 'resharing', 'no');
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -9,5 +9,3 @@ $uid_shared_with = $_POST['uid_shared_with'];
|
||||||
OC_Share::unshare($source, $uid_shared_with);
|
OC_Share::unshare($source, $uid_shared_with);
|
||||||
|
|
||||||
OCP\JSON::success();
|
OCP\JSON::success();
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -28,5 +28,3 @@ $users[] = "</optgroup>";
|
||||||
$groups[] = "</optgroup>";
|
$groups[] = "</optgroup>";
|
||||||
$users = array_merge($users, $groups);
|
$users = array_merge($users, $groups);
|
||||||
OCP\JSON::encodedPrint($users);
|
OCP\JSON::encodedPrint($users);
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -86,4 +86,3 @@ if (isset($_GET['token']) && $source = OC_Share::getSource($_GET['token'])) {
|
||||||
$tmpl->printPage();
|
$tmpl->printPage();
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
|
@ -513,5 +513,3 @@ class OC_Share {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -33,5 +33,3 @@ OCP\Util::addscript("files_sharing", "list");
|
||||||
$tmpl = new OCP\Template("files_sharing", "list", "user");
|
$tmpl = new OCP\Template("files_sharing", "list", "user");
|
||||||
$tmpl->assign("shared_items", OC_Share::getMySharedItems());
|
$tmpl->assign("shared_items", OC_Share::getMySharedItems());
|
||||||
$tmpl->printPage();
|
$tmpl->printPage();
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -4,4 +4,3 @@ OCP\Util::addStyle( 'files_texteditor', 'DroidSansMono/stylesheet' );
|
||||||
OCP\Util::addStyle( 'files_texteditor', 'style' );
|
OCP\Util::addStyle( 'files_texteditor', 'style' );
|
||||||
OCP\Util::addscript( 'files_texteditor', 'editor');
|
OCP\Util::addscript( 'files_texteditor', 'editor');
|
||||||
OCP\Util::addscript( 'files_texteditor', 'aceeditor/ace');
|
OCP\Util::addscript( 'files_texteditor', 'aceeditor/ace');
|
||||||
?>
|
|
||||||
|
|
|
@ -7,5 +7,3 @@ if (OCP\Config::getSystemValue('versions', 'true')=='true') {
|
||||||
} else {
|
} else {
|
||||||
OCP\Config::setSystemValue('versions', 'true');
|
OCP\Config::setSystemValue('versions', 'true');
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -71,5 +71,3 @@ if ( isset( $_GET['path'] ) ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$tmpl->printPage( );
|
$tmpl->printPage( );
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -68,5 +68,3 @@ class Hooks {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -7,4 +7,3 @@ OCP\Util::addscript( 'files_versions', 'versions' );
|
||||||
$tmpl = new OCP\Template( 'files_versions', 'settings');
|
$tmpl = new OCP\Template( 'files_versions', 'settings');
|
||||||
|
|
||||||
return $tmpl->fetchPage();
|
return $tmpl->fetchPage();
|
||||||
?>
|
|
||||||
|
|
|
@ -28,5 +28,3 @@ OCP\JSON::checkAppEnabled('gallery');
|
||||||
OC_Gallery_Album::create(OCP\USER::getUser(), $_GET['album_name']);
|
OC_Gallery_Album::create(OCP\USER::getUser(), $_GET['album_name']);
|
||||||
|
|
||||||
OCP\JSON::success(array('name' => $_GET['album_name']));
|
OCP\JSON::success(array('name' => $_GET['album_name']));
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -186,4 +186,3 @@ if ($_GET['operation']) {
|
||||||
OCP\JSON::error(array('cause' => 'Unknown operation'));
|
OCP\JSON::error(array('cause' => 'Unknown operation'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
|
@ -103,4 +103,3 @@ $tmpl = new OCP\Template( 'gallery', 'index', 'user' );
|
||||||
$tmpl->assign('root', $root, false);
|
$tmpl->assign('root', $root, false);
|
||||||
$tmpl->assign('tl', $tl, false);
|
$tmpl->assign('tl', $tl, false);
|
||||||
$tmpl->printPage();
|
$tmpl->printPage();
|
||||||
?>
|
|
||||||
|
|
|
@ -38,5 +38,3 @@ class OC_Gallery_Hooks_Handlers {
|
||||||
//TODO: implement this
|
//TODO: implement this
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -60,5 +60,3 @@ function CroppedThumbnail($imgSrc,$thumbnail_width,$thumbnail_height, $tgtImg, $
|
||||||
imagedestroy($process);
|
imagedestroy($process);
|
||||||
imagedestroy($myImage);
|
imagedestroy($myImage);
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -111,4 +111,3 @@ class ThumbnailsManager {
|
||||||
private function __construct() {}
|
private function __construct() {}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
|
@ -174,5 +174,3 @@ class TileStack extends TileBase {
|
||||||
private $tiles_array;
|
private $tiles_array;
|
||||||
private $stack_name;
|
private $stack_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -83,5 +83,3 @@ if ($ts->getCount() != 0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
echo $tl->get();
|
echo $tl->get();
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -131,4 +131,3 @@ if($arguments['action']){
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
|
@ -35,4 +35,3 @@ $autoUpdate=(isset($_GET['autoupdate']) and $_GET['autoupdate']=='true');
|
||||||
OCP\Config::setUserValue(OCP\USER::getUser(),'media','autoupdate',(integer)$autoUpdate);
|
OCP\Config::setUserValue(OCP\USER::getUser(),'media','autoupdate',(integer)$autoUpdate);
|
||||||
|
|
||||||
OCP\JSON::success(array('data' => $autoUpdate));
|
OCP\JSON::success(array('data' => $autoUpdate));
|
||||||
?>
|
|
||||||
|
|
|
@ -40,5 +40,3 @@ OCP\App::setActiveNavigationEntry( 'media_index' );
|
||||||
|
|
||||||
$tmpl = new OCP\Template( 'media', 'music', 'user' );
|
$tmpl = new OCP\Template( 'media', 'music', 'user' );
|
||||||
$tmpl->printPage();
|
$tmpl->printPage();
|
||||||
?>
|
|
||||||
|
|
||||||
|
|
|
@ -419,5 +419,3 @@ class OC_MEDIA_AMPACHE{
|
||||||
echo('</root>');
|
echo('</root>');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -387,5 +387,3 @@ class OC_MEDIA_COLLECTION{
|
||||||
$query->execute(array($newPath,$oldPath));
|
$query->execute(array($newPath,$oldPath));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -3,4 +3,3 @@
|
||||||
$tmpl = new OCP\Template( 'media', 'settings');
|
$tmpl = new OCP\Template( 'media', 'settings');
|
||||||
|
|
||||||
return $tmpl->fetchPage();
|
return $tmpl->fetchPage();
|
||||||
?>
|
|
||||||
|
|
|
@ -4,4 +4,3 @@ require_once('lib_remoteStorage.php');
|
||||||
$tmpl = new OCP\Template( 'remoteStorage', 'settings');
|
$tmpl = new OCP\Template( 'remoteStorage', 'settings');
|
||||||
|
|
||||||
return $tmpl->fetchPage();
|
return $tmpl->fetchPage();
|
||||||
?>
|
|
||||||
|
|
|
@ -31,4 +31,3 @@ $entry = array(
|
||||||
'href' => OCP\Util::linkTo( "user_migrate", "admin.php" ),
|
'href' => OCP\Util::linkTo( "user_migrate", "admin.php" ),
|
||||||
'name' => 'Import'
|
'name' => 'Import'
|
||||||
);
|
);
|
||||||
?>
|
|
||||||
|
|
|
@ -1705,4 +1705,3 @@ $run_mode = (isset($_REQUEST['openid_mode'])
|
||||||
debug("Run mode: $run_mode at: " . time());
|
debug("Run mode: $run_mode at: " . time());
|
||||||
debug($_REQUEST, 'Request params');
|
debug($_REQUEST, 'Request params');
|
||||||
call_user_func($run_mode . '_mode');
|
call_user_func($run_mode . '_mode');
|
||||||
?>
|
|
||||||
|
|
|
@ -45,6 +45,3 @@ if(!OCP\User::userExists($USERNAME)){
|
||||||
$IDENTITY=OCP\Util::linkToAbsolute( "user_openid", "user.php" ).'/'.$USERNAME;
|
$IDENTITY=OCP\Util::linkToAbsolute( "user_openid", "user.php" ).'/'.$USERNAME;
|
||||||
|
|
||||||
require_once 'phpmyid.php';
|
require_once 'phpmyid.php';
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -58,4 +58,3 @@ foreach($apps as $app) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
echo "]}";
|
echo "]}";
|
||||||
?>
|
|
||||||
|
|
|
@ -45,5 +45,3 @@ foreach( OC_Group::getGroups() as $i ){
|
||||||
}
|
}
|
||||||
|
|
||||||
OC_JSON::encodedPrint($groups);
|
OC_JSON::encodedPrint($groups);
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -29,4 +29,3 @@ $app = $_POST["app"];
|
||||||
$l = OC_L10N::get( $app );
|
$l = OC_L10N::get( $app );
|
||||||
|
|
||||||
OC_JSON::success(array('data' => $l->getTranslations()));
|
OC_JSON::success(array('data' => $l->getTranslations()));
|
||||||
?>
|
|
||||||
|
|
|
@ -44,5 +44,3 @@ foreach( OC_User::getUsers() as $i ){
|
||||||
}
|
}
|
||||||
|
|
||||||
OC_JSON::encodedPrint($users);
|
OC_JSON::encodedPrint($users);
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -36,5 +36,3 @@ if(!isset($_SERVER['PHP_AUTH_USER'])){
|
||||||
OC_JSON::encodedPrint(array("username" => $_SERVER["PHP_AUTH_USER"], "user_valid" => "false"));
|
OC_JSON::encodedPrint(array("username" => $_SERVER["PHP_AUTH_USER"], "user_valid" => "false"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -39,5 +39,3 @@ if($categories->hasCategory($category)) {
|
||||||
}
|
}
|
||||||
|
|
||||||
OC_JSON::success(array('data' => array('categories'=>$categories->categories())));
|
OC_JSON::success(array('data' => array('categories'=>$categories->categories())));
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -34,5 +34,3 @@ if(is_null($categories)) {
|
||||||
$vcategories = new OC_VCategories($app);
|
$vcategories = new OC_VCategories($app);
|
||||||
$vcategories->delete($categories);
|
$vcategories->delete($categories);
|
||||||
OC_JSON::success(array('data' => array('categories'=>$vcategories->categories())));
|
OC_JSON::success(array('data' => array('categories'=>$vcategories->categories())));
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -31,5 +31,3 @@ $categories = $vcategories->categories();
|
||||||
debug(print_r($categories, true));
|
debug(print_r($categories, true));
|
||||||
$tmpl->assign('categories',$categories);
|
$tmpl->assign('categories',$categories);
|
||||||
$tmpl->printpage();
|
$tmpl->printpage();
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -7,4 +7,3 @@ $l->t("Users");
|
||||||
$l->t("Apps");
|
$l->t("Apps");
|
||||||
$l->t("Admin");
|
$l->t("Admin");
|
||||||
$l->t("Help");
|
$l->t("Help");
|
||||||
?>
|
|
||||||
|
|
|
@ -134,4 +134,3 @@ class MDB2_Driver_Function_sqlite3 extends MDB2_Driver_Function_Common
|
||||||
|
|
||||||
// }}}
|
// }}}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
|
@ -1360,4 +1360,3 @@ class MDB2_Driver_Manager_sqlite3 extends MDB2_Driver_Manager_Common
|
||||||
|
|
||||||
// }}}
|
// }}}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
|
@ -1332,5 +1332,3 @@ class MDB2_Statement_sqlite3 extends MDB2_Statement_Common
|
||||||
$this->free();
|
$this->free();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -158,6 +158,3 @@ class App {
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -134,5 +134,3 @@ class Config {
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -91,5 +91,3 @@ class DB {
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -115,5 +115,3 @@ class Files {
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -105,5 +105,3 @@ class JSON {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -105,5 +105,3 @@ class Response {
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -104,6 +104,3 @@ function html_select_options($options, $selected, $params=array()) {
|
||||||
class Template extends \OC_Template {
|
class Template extends \OC_Template {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -120,6 +120,3 @@ class User {
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -321,5 +321,3 @@ class Util {
|
||||||
return(\OC_Helper::mb_str_replace($search, $replace, $subject, $encoding, $count));
|
return(\OC_Helper::mb_str_replace($search, $replace, $subject, $encoding, $count));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -380,5 +380,3 @@ class OC_Setup {
|
||||||
file_put_contents(OC_Config::getValue('datadirectory', OC::$SERVERROOT.'/data').'/index.html', '');
|
file_put_contents(OC_Config::getValue('datadirectory', OC::$SERVERROOT.'/data').'/index.html', '');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -84,4 +84,3 @@ class OC_Updater{
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
|
@ -223,4 +223,3 @@ class OC_VCategories {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
|
|
|
@ -40,6 +40,3 @@ echo('
|
||||||
</provider>
|
</provider>
|
||||||
</providers>
|
</providers>
|
||||||
');
|
');
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
|
@ -24,5 +24,3 @@
|
||||||
require_once('../lib/base.php');
|
require_once('../lib/base.php');
|
||||||
@ob_clean();
|
@ob_clean();
|
||||||
OC_OCS::handle();
|
OC_OCS::handle();
|
||||||
|
|
||||||
?>
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue