1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-21 15:01:47 +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

@@ -174,22 +174,26 @@ class rss_ui extends e_admin_ui
{
$RSS_ADMIN_IMPORT_HEADER = "
<form action='".e_SELF."' id='imlistform' method='post' >
<table class='table adminform'>
<table class='table table-striped adminlist'>
<thead>
<tr>
<th>".RSS_LAN_ADMIN_16."</td>
<th>".RSS_LAN_ADMIN_3."</td>
<th class='center' style='width:5%'>Add</td>
<th>".LAN_NAME."</td>
<th>".RSS_LAN_ADMIN_3."</td>
<th>".RSS_LAN_ADMIN_5."</td>
<th>".RSS_LAN_ADMIN_12."</td>
</tr>";
</tr>
</thead><tbody>";
}
if(!isset($RSS_ADMIN_IMPORT_TABLE))
{
$RSS_ADMIN_IMPORT_TABLE = "
<tr>
<td>{RSS_ADMIN_IMPORT_CHECK}</td>
<td class='first center'>{RSS_ADMIN_IMPORT_CHECK}</td>
<td>{RSS_ADMIN_IMPORT_NAME}<small>{RSS_ADMIN_IMPORT_TEXT}</small></td>
<td>{RSS_ADMIN_IMPORT_PATH}</td>
<td><b>{RSS_ADMIN_IMPORT_NAME}</b><br />{RSS_ADMIN_IMPORT_TEXT}</td>
<td>{RSS_ADMIN_IMPORT_URL}</td>
<td>{RSS_ADMIN_IMPORT_TOPICID}</td>
</tr>";
@@ -197,7 +201,7 @@ class rss_ui extends e_admin_ui
if(!isset($RSS_ADMIN_IMPORT_FOOTER))
{
$RSS_ADMIN_IMPORT_FOOTER = "
$RSS_ADMIN_IMPORT_FOOTER = "</tbody>
</table>
<div class='buttons-bar center'>
".$frm->admin_button('import_rss',RSS_LAN_ADMIN_17,'submit')."

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()