diff --git a/plugins/rssplugin/loadFeed.inc.php b/plugins/rssplugin/loadFeed.inc.php
index 1fc89d2..12dd838 100644
--- a/plugins/rssplugin/loadFeed.inc.php
+++ b/plugins/rssplugin/loadFeed.inc.php
@@ -48,7 +48,7 @@
}
// Check if the feed matches a url
- if(!preg_match("/^http:\/\/([^\/]+)(.*)$/", $feed, $matches)){
+ if(!preg_match("/^http[s]?:\/\/([^\/]+)(.*)$/", $feed, $matches)){
// If not, it is an internal feed
$aRSSArray = KTrss::getInternalFeed($user);
}else{
diff --git a/plugins/rssplugin/rss2array.inc.php b/plugins/rssplugin/rss2array.inc.php
index 2d76129..5213541 100644
--- a/plugins/rssplugin/rss2array.inc.php
+++ b/plugins/rssplugin/rss2array.inc.php
@@ -7,31 +7,31 @@
* Document Management Made Simple
* Copyright (C) 2008 KnowledgeTree Inc.
* Portions copyright The Jam Warehouse Software (Pty) Limited
- *
+ *
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 as published by the
* Free Software Foundation.
- *
+ *
* This program 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 General Public License for more
* details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program. If not, see
{i18n}Create a rss feed which will be displayed on the dashboard{/i18n}
diff --git a/plugins/rssplugin/templates/RSSPlugin/editfeed.smarty b/plugins/rssplugin/templates/RSSPlugin/editfeed.smarty index 30c22ae..8ae155a 100644 --- a/plugins/rssplugin/templates/RSSPlugin/editfeed.smarty +++ b/plugins/rssplugin/templates/RSSPlugin/editfeed.smarty @@ -1,16 +1,3 @@ -{$context->oPage->requireJSResource("thirdpartyjs/tinymce/jscripts/tiny_mce/tiny_mce.js")} -{capture assign=sJS} -{literal} -tinyMCE.init({ - mode : "textareas", - theme : "simple", -}); -{/literal} -{/capture} -{$context->oPage->requireJSStandalone($sJS)} - - -{i18n}Edit a RSS feed{/i18n}