1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-21 23:11:14 +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 = " $RSS_ADMIN_IMPORT_HEADER = "
<form action='".e_SELF."' id='imlistform' method='post' > <form action='".e_SELF."' id='imlistform' method='post' >
<table class='table adminform'> <table class='table table-striped adminlist'>
<thead>
<tr> <tr>
<th>".RSS_LAN_ADMIN_16."</td> <th class='center' style='width:5%'>Add</td>
<th>".RSS_LAN_ADMIN_3."</td>
<th>".LAN_NAME."</td> <th>".LAN_NAME."</td>
<th>".RSS_LAN_ADMIN_3."</td>
<th>".RSS_LAN_ADMIN_5."</td> <th>".RSS_LAN_ADMIN_5."</td>
<th>".RSS_LAN_ADMIN_12."</td> <th>".RSS_LAN_ADMIN_12."</td>
</tr>"; </tr>
</thead><tbody>";
} }
if(!isset($RSS_ADMIN_IMPORT_TABLE)) if(!isset($RSS_ADMIN_IMPORT_TABLE))
{ {
$RSS_ADMIN_IMPORT_TABLE = " $RSS_ADMIN_IMPORT_TABLE = "
<tr> <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>{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_URL}</td>
<td>{RSS_ADMIN_IMPORT_TOPICID}</td> <td>{RSS_ADMIN_IMPORT_TOPICID}</td>
</tr>"; </tr>";
@@ -197,7 +201,7 @@ class rss_ui extends e_admin_ui
if(!isset($RSS_ADMIN_IMPORT_FOOTER)) if(!isset($RSS_ADMIN_IMPORT_FOOTER))
{ {
$RSS_ADMIN_IMPORT_FOOTER = " $RSS_ADMIN_IMPORT_FOOTER = "</tbody>
</table> </table>
<div class='buttons-bar center'> <div class='buttons-bar center'>
".$frm->admin_button('import_rss',RSS_LAN_ADMIN_17,'submit')." ".$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']; $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='name[$i]' value='".$tp->toForm($feed['name'])."' />";
$text .= "<input type='hidden' name='url[$i]' value='".$tp->toForm($feed['url'])."' />"; $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'])."' />"; $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() function sc_rss_admin_import_path()
{ {
global $feed; global $feed, $i;
return $feed['path']; return "<label for='import-".$i."'>".$feed['path']."</label>";
} }
function sc_rss_admin_import_name() function sc_rss_admin_import_name()
{ {
global $feed; global $feed, $i;
return $feed['name']; return "<label for='import-".$i."'>".$feed['name']."</label>";
} }
function sc_rss_admin_import_text() function sc_rss_admin_import_text()