diff --git a/Rocksolid_Light/common/grouplist.php b/Rocksolid_Light/common/grouplist.php index 987c0ae..195d35e 100644 --- a/Rocksolid_Light/common/grouplist.php +++ b/Rocksolid_Light/common/grouplist.php @@ -5,8 +5,7 @@ include "../spoolnews/newsportal.php"; $title .= ' - Available Newsgroups'; include "head.inc"; -echo '
'; -echo '

List of Available Newsgroups:

'; +echo '
List of Available Newsgroups:
'; // Use cache if new enough if (filemtime($grouplist_cache_filename) > (time() - $grouplist_cache_time)) { @@ -20,12 +19,12 @@ if (filemtime($grouplist_cache_filename) > (time() - $grouplist_cache_time)) { } ob_start(); -echo ''; +echo '
'; echo ''; -echo ''; -echo ''; -echo ''; -echo ''; +echo ''; +echo ''; +echo ''; +echo ''; echo ''; $menulist = get_section_menu_array(); @@ -46,7 +45,6 @@ foreach ($menulist as $menu) { } } } -//ksort($groups_array); $ns = nntp_open(); foreach ($groups_array as $thisgroup) { @@ -58,13 +56,13 @@ foreach ($groups_array as $thisgroup) { } else { $title = ''; } - echo ''; - echo ''; - echo ''; + echo '
SectionGroupDescriptionMessagesSectionGroupDescriptionMessages
'; - echo ' ' . $section[0] . ' '; - echo ''; - echo '' . urldecode($group[1]) . "
\r\n"; + echo '
'; + echo ' ' . $section[0]; + echo ''; + echo '' . urldecode($group[1]) . "
\r\n"; echo '
' . $title . ''; + echo '' . $title . ''; # Check if group exists. Open it if it does fputs($ns, "group " . urldecode($group[1]) . "\r\n"); $response = line_read($ns); @@ -77,9 +75,8 @@ foreach ($groups_array as $thisgroup) { } nntp_close($ns); echo '
'; -echo '
'; +echo '
'; include "../spoolnews/tail.inc"; -echo '
'; echo ''; file_put_contents($grouplist_cache_filename, ob_get_contents()); ob_end_flush(); diff --git a/Rocksolid_Light/common/header.php b/Rocksolid_Light/common/header.php index ba7f59e..a42a0bb 100644 --- a/Rocksolid_Light/common/header.php +++ b/Rocksolid_Light/common/header.php @@ -60,10 +60,8 @@ echo ''; class="responsive_image"> - -

- +  '; echo ''; echo ''; - echo '
'; + echo '
'; } } // Soup...Uh, Message of the Day if ($unread) { - $motd = '
*** You have unread mail. Click Here ***
'; + $motd = '*** You have unread mail. Click Here ***'; + echo '
';; +} else { + echo '
'; } -echo '
' . $motd . '
'; +echo $motd; +echo '
'; function check_unread_mail() { diff --git a/Rocksolid_Light/common/themes/style.css b/Rocksolid_Light/common/themes/style.css index a50fc15..7a23ab7 100644 --- a/Rocksolid_Light/common/themes/style.css +++ b/Rocksolid_Light/common/themes/style.css @@ -244,6 +244,10 @@ background: var(--color-visited); } +.header_links_text { + text-align:right +} + .np_header_bar_top { background: var(--color-header-background); padding: 1px; @@ -393,6 +397,105 @@ textarea.configuration { resize: none; } +/* Footer */ +.tail_footer { + text-align: center; +} + +.tail_server_pubkey_txt { + font-size: 0.5em; +} + +.tail_links_text { + font-size: 0.4em; +} + +/* Grouplist */ + +.grouplist_table { + text-align: center; + margin-left: auto; + margin-right: auto; + border-collapse: collapse; + border-top: 1px; +} + +.grouplist_header_title { + font-family: Arial, Helvetica, sans-serif; + font-weight: bold; + font-style: italic; + text-align: center; + font-size: 1.2em; +} + +.grouplist_title_section_name { + font-size: 1.2em; + border: 1px solid var(--color-text); + border-collapse: collapse; + padding-left: 10px; + padding-right: 10px; +} + +.grouplist_title_newsgroup_name { + font-size: 1.2em; + border: 1px solid var(--color-text); + border-collapse: collapse; + padding-left: 10px; + padding-right: 10px; +} + +.grouplist_title_newsgroup_desc { + font-size: 1.2em; + border: 1px solid var(--color-text); + border-collapse: collapse; + padding-left: 10px; + padding-right: 10px; +} + +.grouplist_title_newsgroup_artnum { + font-size: 1.2em; + border: 1px solid var(--color-text); + border-collapse: collapse; + padding-left: 10px; + padding-right: 10px; +} + +.grouplist_row_section_name { + font-size: 1.2em; + border: 1px solid var(--color-text); + border-collapse: collapse; + text-align: center; + padding-left: 10px; + padding-right: 10px; +} + +.grouplist_row_newsgroup_name { + font-size: 1.2em; + border: 1px solid var(--color-text); + border-collapse: collapse; + text-align: left; + padding-left: 10px; + padding-right: 10px; +} + +.grouplist_row_newsgroup_desc { + font-size: 1.2em; + border: 1px solid var(--color-text); + border-collapse: collapse; + text-align: left; + padding-left: 10px; + padding-right: 10px; +} + +.grouplist_row_newsgroup_artnum { + font-size: 1.2em; + border: 1px solid var(--color-text); + border-collapse: collapse; + text-align: left; + padding-left: 10px; + padding-right: 10px; +} + /* Mobile Styles */ @media only screen and (max-device-width: 480px) { body { @@ -838,6 +941,19 @@ table.np_results_table { font-size: 0.55em; } +/* display motd (new mail) */ +.np_display_motd_new_mail { + margin-top: 10; + margin-bottom: 10; + margin-right: 10; + text-decoration: none; + font-weight: bold; + color: var(--color-highlight); + text-align: center; + font-family: Arial, Helvetica, sans-serif; + font-size: 0.55em; +} + /* unsubscribe/new links in groups page */ .np_group_user_tools { margin-top: 3; diff --git a/Rocksolid_Light/rocksolid/tail.inc b/Rocksolid_Light/rocksolid/tail.inc index da25cf8..836aff1 100644 --- a/Rocksolid_Light/rocksolid/tail.inc +++ b/Rocksolid_Light/rocksolid/tail.inc @@ -1,19 +1,18 @@ '; +echo ''; \ No newline at end of file