1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Correct Topic ID in Pull #2097

Correct Topic ID in Pull #2097
This commit is contained in:
MikeyGMT 2016-12-02 21:10:02 +00:00
parent a16950e9bd
commit 9279b481b0
3 changed files with 7 additions and 7 deletions

View File

@ -99,7 +99,7 @@ class rss_ui extends e_admin_ui
'rss_name' => array ( 'title' => LAN_TITLE, 'type' => 'text', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'rss_path' => array ( 'title' => LAN_PLUGIN_FOLDER,'type' => 'text', 'data' => 'str', 'readonly'=>1, 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'rss_url' => array ( 'title' => LAN_URL, 'type' => 'method', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
'rss_topicid' => array ( 'title' => LAN_ID, 'type' => 'text', 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'rss_topicid' => array ( 'title' => RSS_LAN_ADMIN_12,'type' => 'text', 'data' => 'int', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'rss_text' => array ( 'title' => LAN_DESCRIPTION,'type' => 'textarea', 'data' => 'str', 'width' => 'auto', 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'center', 'thclass' => 'center', ),
'rss_datestamp' => array ( 'title' => LAN_DATESTAMP, 'type' => 'datestamp', 'data' => 'int', 'readonly'=>true, 'width' => 'auto', 'filter' => true, 'help' => '', 'readParms' => '', 'writeParms' => '', 'class' => 'left', 'thclass' => 'left', ),
@ -183,7 +183,7 @@ class rss_ui extends e_admin_ui
<th>".LAN_PLUGIN_FOLDER."</td>
<th>".LAN_URL."</td>
<th>".LAN_ID."</td>
<th>".RSS_LAN_ADMIN_12."</td>
</tr>
</thead><tbody>";
}
@ -503,7 +503,7 @@ if(!isset($RSS_ADMIN_LIST_HEADER))
<th style='white-space:nowrap;'>{RSS_ADMIN_CAPTION=name,LAN_NAME}</th>
<th style='white-space:nowrap;'>{RSS_ADMIN_CAPTION=path,LAN_PLUGIN_FOLDER}</th>
<th style='white-space:nowrap;'>{RSS_ADMIN_CAPTION=url,LAN_URL}</th>
<th style='white-space:nowrap;'>".LAN_ID."</th>
<th style='white-space:nowrap;'>".RSS_LAN_ADMIN_12."</th>
<th style='white-space:nowrap;'>{RSS_ADMIN_CAPTION=limit,LAN_LIMIT}</th>
<th style='white-space:nowrap;'>".LAN_OPTIONS."</th>
</tr>
@ -552,7 +552,7 @@ if(!isset($RSS_ADMIN_CREATE_TABLE))
<td>{RSS_ADMIN_FORM_URL}</td>
</tr>
<tr>
<td>".LAN_ID."</td>
<td>".RSS_LAN_ADMIN_12."</td>
<td>{RSS_ADMIN_FORM_TOPICID}</td>
</tr>
<tr>
@ -622,7 +622,7 @@ if(!isset($RSS_ADMIN_IMPORT_HEADER))
<th>".LAN_PLUGIN_FOLDER."</td>
<th>".LAN_NAME."</td>
<th>".LAN_URL."</td>
<th>".LAN_ID."</td>
<th>".RSS_LAN_ADMIN_12."</td>
</tr>";
}
if(!isset($RSS_ADMIN_IMPORT_TABLE))

View File

@ -67,7 +67,7 @@ define("RSS_LAN_ADMIN_1", "Existing RSS feeds");
//define("RSS_LAN_ADMIN_9", "Type");
define("RSS_LAN_ADMIN_10", "rss feed create entry");
define("RSS_LAN_ADMIN_11", "rss feed import feeds");
//define("RSS_LAN_ADMIN_12", "Topic id");//LAN_ID
define("RSS_LAN_ADMIN_12", "Topic ID");//LAN_ID
define("RSS_LAN_ADMIN_13", "Include Other-news items in News Feed?");
//define("RSS_LAN_ADMIN_14", "Enable");//LAN_ENABLE

View File

@ -170,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."}.{".LAN_ID."}";
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."}";
}
function sc_rss_admin_form_topicid()