diff options
-rw-r--r-- | external/ajax/setsites.php | 2 | ||||
-rw-r--r-- | external/appinfo/app.php | 12 | ||||
-rw-r--r-- | external/index.php | 12 | ||||
-rw-r--r-- | external/js/admin.js | 8 | ||||
-rw-r--r-- | external/lib/external.php | 14 |
5 files changed, 24 insertions, 24 deletions
diff --git a/external/ajax/setsites.php b/external/ajax/setsites.php index 0f9e061d0..12e15a159 100644 --- a/external/ajax/setsites.php +++ b/external/ajax/setsites.php @@ -6,7 +6,7 @@ * See the COPYING-README file. */ - + OCP\User::checkAdminUser(); OCP\JSON::callCheck(); diff --git a/external/appinfo/app.php b/external/appinfo/app.php index 1a02f3a1b..632e65bf5 100644 --- a/external/appinfo/app.php +++ b/external/appinfo/app.php @@ -5,20 +5,20 @@ * * @author Frank Karlitschek * @copyright 2012 Frank Karlitschek frank@owncloud.org - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE - * License as published by the Free Software Foundation; either + * License as published by the Free Software Foundation; either * version 3 of the License, or any later version. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU AFFERO GENERAL PUBLIC LICENSE for more details. - * - * You should have received a copy of the GNU Lesser General Public + * + * You should have received a copy of the GNU Lesser General Public * License along with this library. If not, see <http://www.gnu.org/licenses/>. - * + * */ OC::$CLASSPATH['OC_External'] = 'apps/external/lib/external.php'; diff --git a/external/index.php b/external/index.php index a0c47546d..02de718bc 100644 --- a/external/index.php +++ b/external/index.php @@ -5,20 +5,20 @@ * * @author Frank Karlitschek * @copyright 2012 Frank Karlitschek frank@owncloud.org - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE - * License as published by the Free Software Foundation; either + * License as published by the Free Software Foundation; either * version 3 of the License, or any later version. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU AFFERO GENERAL PUBLIC LICENSE for more details. - * - * You should have received a copy of the GNU Lesser General Public + * + * You should have received a copy of the GNU Lesser General Public * License along with this library. If not, see <http://www.gnu.org/licenses/>. - * + * */ require_once 'lib/external.php'; diff --git a/external/js/admin.js b/external/js/admin.js index d070c6cac..02ce84302 100644 --- a/external/js/admin.js +++ b/external/js/admin.js @@ -6,7 +6,7 @@ $(document).ready(function(){ // Handler functions function addSiteEventHandler(event) { event.preventDefault(); - + saveSites(); } @@ -22,13 +22,13 @@ $(document).ready(function(){ function saveSites() { var post = $('#external').serialize(); $.post( OC.filePath('external','ajax','setsites.php') , post, function(data) { - // OC.msg.finishedSaving('#site_name .msg', data); + // OC.msg.finishedSaving('#site_name .msg', data); }); } function showDeleteButton(event) { $(this).find('img.delete_button').fadeIn(100); - } + } function hideDeleteButton(event) { $(this).find('img.delete_button').fadeOut(100); @@ -49,7 +49,7 @@ $(document).ready(function(){ $('img.delete_button').click(deleteButtonEventHandler); $('img.delete_button:last').tipsy(); $('#external li:last').hover(showDeleteButton, hideDeleteButton); - + }); }); diff --git a/external/lib/external.php b/external/lib/external.php index d13a7cf6d..1131fc05c 100644 --- a/external/lib/external.php +++ b/external/lib/external.php @@ -5,27 +5,27 @@ * * @author Bartek Przybylski * @copyright 2012 Bartek Przybylski bart.p.pl@gmail.com - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE - * License as published by the Free Software Foundation; either + * License as published by the Free Software Foundation; either * version 3 of the License, or any later version. - * + * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU AFFERO GENERAL PUBLIC LICENSE for more details. - * - * You should have received a copy of the GNU Lesser General Public + * + * You should have received a copy of the GNU Lesser General Public * License along with this library. If not, see <http://www.gnu.org/licenses/>. - * + * */ class OC_External { public static function getSites() { if (($sites = json_decode(OCP\Config::getAppValue("external", "sites", ''))) != NULL) { - return $sites; + return $sites; } return array(); |