mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +02:00
RSS Menu Lans to Generic Terms #6
Replace duplicates with common terms in RSS Plugin
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
<?php
|
||||
// $Id$
|
||||
/*
|
||||
* e107 website system
|
||||
*
|
||||
* Copyright (C) 2008-2016 e107 Inc (e107.org)
|
||||
* Released under the terms and conditions of the
|
||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||
*
|
||||
* e107 website system - Shortcodes
|
||||
*/
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
include_once(e_HANDLER.'shortcode_handler.php');
|
||||
@@ -148,7 +157,7 @@ class rss_menu_shortcodes extends e_shortcode
|
||||
$delid = $row['rss_id'];
|
||||
$options = "
|
||||
<a href='".e_SELF."?create.edit.".$row['rss_id']."' >".ADMIN_EDIT_ICON."</a>
|
||||
<input type='image' title=\"".LAN_DELETE."\" name='delete[{$delid}]' src='".ADMIN_DELETE_ICON_PATH."' onclick=\"return jsconfirm('".$tp->toJS(LAN_CONFIRMDEL ." [".RSS_LAN_ADMIN_2.": ".$delid." : ".$delname."]\\n\\n")."')\"/>";
|
||||
<input type='image' title=\"".LAN_DELETE."\" name='delete[{$delid}]' src='".ADMIN_DELETE_ICON_PATH."' onclick=\"return jsconfirm('".$tp->toJS(LAN_CONFIRMDEL ." [".LAN_ID.": ".$delid." : ".$delname."]\\n\\n")."')\"/>";
|
||||
return $options;
|
||||
}
|
||||
|
||||
@@ -161,7 +170,7 @@ class rss_menu_shortcodes extends e_shortcode
|
||||
function sc_rss_admin_form_url()
|
||||
{
|
||||
global $row,$PLUGINS_DIRECTORY;
|
||||
return SITEURL.$PLUGINS_DIRECTORY."rss_menu/rss.php?".e_LANQRY." <input class='tbox' type='text' name='rss_url' size='10' value=\"".$row['rss_url']."\" maxlength='50' /> .{".LAN_TYPE."}.{".RSS_LAN_ADMIN_12."}";
|
||||
return SITEURL.$PLUGINS_DIRECTORY."rss_menu/rss.php?".e_LANQRY." <input class='tbox' type='text' name='rss_url' size='10' value=\"".$row['rss_url']."\" maxlength='50' /> .{".LAN_TYPE."}.{".LAN_ID."}";
|
||||
}
|
||||
|
||||
function sc_rss_admin_form_topicid()
|
||||
|
Reference in New Issue
Block a user