1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-21 06:51:30 +02:00

RSS admin-area styling fixes.

This commit is contained in:
Cameron
2015-04-03 18:56:30 -07:00
parent 619b40b2e3
commit c777106629
2 changed files with 16 additions and 12 deletions

View File

@@ -223,7 +223,7 @@ class rss_menu_shortcodes extends e_shortcode
$feed['text'] = $feed['description'];
}
$text = "<input type='checkbox' name='importid[$i]' value='1' />";
$text = "<input id='import-".$i."' type='checkbox' name='importid[$i]' value='1' />";
$text .= "<input type='hidden' name='name[$i]' value='".$tp->toForm($feed['name'])."' />";
$text .= "<input type='hidden' name='url[$i]' value='".$tp->toForm($feed['url'])."' />";
$text .= "<input type='hidden' name='topic_id[$i]' value='".$tp->toForm($feed['topic_id'])."' />";
@@ -236,14 +236,14 @@ class rss_menu_shortcodes extends e_shortcode
function sc_rss_admin_import_path()
{
global $feed;
return $feed['path'];
global $feed, $i;
return "<label for='import-".$i."'>".$feed['path']."</label>";
}
function sc_rss_admin_import_name()
{
global $feed;
return $feed['name'];
global $feed, $i;
return "<label for='import-".$i."'>".$feed['name']."</label>";
}
function sc_rss_admin_import_text()