diff options
-rw-r--r-- | appinfo/app.php~ | 29 | ||||
-rw-r--r-- | appinfo/info.xml~ | 10 | ||||
-rw-r--r-- | index.php~ | 40 | ||||
-rw-r--r-- | news.kdev4 | 3 | ||||
-rw-r--r-- | settings.php~ | 13 | ||||
-rw-r--r-- | templates/settings.php~ | 10 |
6 files changed, 0 insertions, 105 deletions
diff --git a/appinfo/app.php~ b/appinfo/app.php~ deleted file mode 100644 index a8169548c..000000000 --- a/appinfo/app.php~ +++ /dev/null @@ -1,29 +0,0 @@ -<?php - -/** -* ownCloud - News app (feed reader) -* -* @author Alessandro Cosentino -* @copyright 2012 Alessandro Cosentino cosenal@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 -* 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 -* License along with this library. If not, see <http://www.gnu.org/licenses/>. -* -*/ - -OC_APP::registerAdmin('news','settings'); - -OC_App::register( array( 'order' => 70, 'id' => 'news', 'name' => 'News' )); - -OC_App::addNavigationEntry( array( 'id' => 'news', 'order' => 74, 'href' => OC_Helper::linkTo( 'news', 'index.php' ), 'icon' => OC_Helper::imagePath( 'news', 'example.png' ), 'name' => 'News')); - diff --git a/appinfo/info.xml~ b/appinfo/info.xml~ deleted file mode 100644 index 8cee86cde..000000000 --- a/appinfo/info.xml~ +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0"?> -<info> - <id>apptemplate</id> - <name>AppTemplate</name> - <description>Just an example application as a starting point for new developers</description> - <version>1.0</version> - <licence>AGPL</licence> - <author>Frank Karlitschek</author> - <require>2</require> -</info> diff --git a/index.php~ b/index.php~ deleted file mode 100644 index 6c4ba3986..000000000 --- a/index.php~ +++ /dev/null @@ -1,40 +0,0 @@ -<?php - -/** -* ownCloud - News app (feed reader) -* -* @author Alessandro Cosentino -* @copyright 2012 Alessandro Cosentino cosenal@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 -* 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 -* License along with this library. If not, see <http://www.gnu.org/licenses/>. -* -*/ - -require_once('../../owncloud/lib/base.php'); - -// Check if we are a user -if( !OC_User::isLoggedIn()){ - header( "Location: ".OC_Helper::linkTo( '', 'index.php' )); - exit(); -} - - -$somesetting=OC_Config::getValue( "somesetting", '' ); -OC_App::setActiveNavigationEntry( 'news'); -$tmpl = new OC_Template( 'news', 'main', 'user' ); -$tmpl->assign('somesetting',$somesetting); -$tmpl->printPage(); - - -?> diff --git a/news.kdev4 b/news.kdev4 deleted file mode 100644 index 4fee6442d..000000000 --- a/news.kdev4 +++ /dev/null @@ -1,3 +0,0 @@ -[Project] -Manager=KDevGenericManager -Name=news diff --git a/settings.php~ b/settings.php~ deleted file mode 100644 index 54d3f5c62..000000000 --- a/settings.php~ +++ /dev/null @@ -1,13 +0,0 @@ -<?php - -OC_Util::checkAdminUser(); - -OC_Util::addScript( "apptemplate", "admin" ); - -$tmpl = new OC_Template( 'apptemplate', 'settings'); - -$tmpl->assign('url',OC_Config::getValue( "somesetting", '' )); - -return $tmpl->fetchPage(); - -?> diff --git a/templates/settings.php~ b/templates/settings.php~ deleted file mode 100644 index df1bdf707..000000000 --- a/templates/settings.php~ +++ /dev/null @@ -1,10 +0,0 @@ -<form id="apptemplate"> - <fieldset class="personalblock"> - <strong>App Template</strong><br /> - <input type="text" name="somesetting" id="somesetting" value="<?php echo $_['url']; ?>" placeholder="<?php echo $l->t('Some Setting');?>" /> - <br /> - - -<span class="msg"></span> - </fieldset> -</form> |