Browse Source

Say hi to new title_bar & sub_bar :)

Signed-off-by: Antes <[email protected]>
Antes 11 years ago
parent
commit
b07fd08711

+ 3 - 3
Themes/default/Admin.template.php

@@ -168,7 +168,7 @@ function template_credits()
 
 					<div id="admincenter">
 						<div id="support_credits">
-							<div class="sub_places">
+							<div class="sub_bar">
 								<h3 class="subg">
 									', $txt['support_title'], ' <img src="', $settings['images_url'], '/smflogo.png" id="credits_logo" alt="">
 								</h3>
@@ -202,7 +202,7 @@ function template_credits()
 
 	// Point the admin to common support resources.
 	echo '
-							<div id="support_resources" class="sub_places">
+							<div id="support_resources" class="sub_bar">
 								<h3 class="subg">
 									', $txt['support_resources'], '
 								</h3>
@@ -216,7 +216,7 @@ function template_credits()
 
 	// The most important part - the credits :P.
 	echo '
-							<div id="credits_sections" class="sub_places">
+							<div id="credits_sections" class="sub_bar">
 								<h3 class="subg">
 									', $txt['admin_credits'], '
 								</h3>

+ 5 - 5
Themes/default/BoardIndex.template.php

@@ -232,7 +232,7 @@ function template_info_center()
 	// Here's where the "Info Center" starts...
 	echo '
 	<div class="roundframe" id="info_center">
-		<div class="info_bar">
+		<div class="title_bar">
 			<h3 class="infobg">
 				<span class="toggle_up floatright" id="upshrink_ic" title="', $txt['hide'], '" style="display: none;"></span>
 				<a href="#" id="upshrink_link">', sprintf($txt['info_center_title'], $context['forum_name_html_safe']), '</a>
@@ -293,7 +293,7 @@ function template_ic_block_recent()
 
 	// This is the "Recent Posts" bar.
 	echo '
-			<div class="sub_places">
+			<div class="sub_bar">
 				<h4 class="subg">
 					<a href="', $scripturl, '?action=recent"><img class="icon" src="', $settings['images_url'], '/post/xx.png" alt="">', $txt['recent_posts'], '</a>
 				</h4>
@@ -345,7 +345,7 @@ function template_ic_block_calendar()
 
 	// Show information about events, birthdays, and holidays on the calendar.
 	echo '
-			<div class="sub_places">
+			<div class="sub_bar">
 				<h4 class="subg">
 					<a href="', $scripturl, '?action=calendar' . '"><img class="icon" src="', $settings['images_url'], '/icons/calendar.png', '" alt="">', $context['calendar_only_today'] ? $txt['calendar_today'] : $txt['calendar_upcoming'], '</a>
 				</h4>
@@ -393,7 +393,7 @@ function template_ic_block_stats()
 
 	// Show statistical style information...
 	echo '
-			<div class="sub_places">
+			<div class="sub_bar">
 				<h4 class="subg">
 					<a href="', $scripturl, '?action=stats" title="', $txt['more_stats'], '"><span class="stats_icon boards"></span>', $txt['forum_stats'], '</a>
 				</h4>
@@ -410,7 +410,7 @@ function template_ic_block_online()
 	global $context, $scripturl, $txt, $modSettings, $settings;
 	// "Users online" - in order of activity.
 	echo '
-			<div class="sub_places">
+			<div class="sub_bar">
 				<h4 class="subg">
 					', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', '<span class="stats_icon people"></span>', $txt['online_users'], '', $context['show_who'] ? '</a>' : '', '
 				</h4>

+ 1 - 1
Themes/default/Display.template.php

@@ -131,7 +131,7 @@ function template_main()
 	{
 		echo '
 			<div class="linked_events">
-				<div class="info_bar">
+				<div class="title_bar">
 					<h3 class="infobg headerpadding">', $txt['calendar_linked_events'], '</h3>
 				</div>
 				<div class="description">

+ 3 - 3
Themes/default/Login.template.php

@@ -179,7 +179,7 @@ function template_maintenance()
 			<img class="floatleft" src="', $settings['images_url'], '/construction.png" width="40" height="40" alt="', $txt['in_maintain_mode'], '">
 			', $context['description'], '<br class="clear">
 		</p>
-		<div class="info_bar">
+		<div class="title_bar">
 			<h4 class="infobg">', $txt['admin_login'], '</h4>
 		</div>
 		<div class="roundframe">
@@ -255,7 +255,7 @@ function template_retry_activate()
 	// Just ask them for their code so they can try it again...
 	echo '
 		<form action="', $scripturl, '?action=activate;u=', $context['member_id'], '" method="post" accept-charset="', $context['character_set'], '">
-			<div class="info_bar">
+			<div class="title_bar">
 				<h3 class="infobg">', $context['page_title'], '</h3>
 			</div>
 			<div class="roundframe">';
@@ -284,7 +284,7 @@ function template_resend()
 	// Just ask them for their code so they can try it again...
 	echo '
 		<form action="', $scripturl, '?action=activate;sa=resend" method="post" accept-charset="', $context['character_set'], '">
-			<div class="info_bar">
+			<div class="title_bar">
 				<h3 class="infobg">', $context['page_title'], '</h3>
 			</div>
 			<div class="roundframe">

+ 1 - 1
Themes/default/ManageBoards.template.php

@@ -18,7 +18,7 @@ function template_main()
 	// Table header.
 	echo '
 	<div id="manage_boards">
-		<div class="info_bar">
+		<div class="title_bar">
 			<h3 class="infobg">', $txt['boardsEdit'], '</h3>
 		</div>';
 

+ 1 - 1
Themes/default/ManageNews.template.php

@@ -48,7 +48,7 @@ function template_email_members()
 			</div>
 			<br>
 
-			<div id="advanced_panel_header" class="info_bar">
+			<div id="advanced_panel_header" class="title_bar">
 				<h3 class="infobg">
 					<span id="advanced_panel_toggle" class="toggle_down floatright" style="display: none;"></span>
 					<a href="#" id="advanced_panel_link">', $txt['advanced'], '</a>

+ 1 - 1
Themes/default/ManagePermissions.template.php

@@ -278,7 +278,7 @@ function template_by_board()
 				', $txt['permissions_boards_desc'], '
 			</div>
 
-			<div class="info_bar exp1">
+			<div class="title_bar exp1">
 				<h3 id="board_permissions" class="infobg flow_hidden">
 					<span class="perm_name floatleft">', $txt['board_name'], '</span>
 					<span class="perm_profile floatleft">', $txt['permission_profile'], '</span>';

+ 1 - 1
Themes/default/ModerationCenter.template.php

@@ -485,7 +485,7 @@ function template_viewmodreport()
 					', sprintf($txt['mc_viewmodreport'], $context['report']['message_link'], $context['report']['author']['link']), '
 				</h3>
 			</div>
-			<div class="info_bar">
+			<div class="title_bar">
 				<h3 class="infobg">
 					<span class="floatleft">
 						', sprintf($txt['mc_modreport_summary'], $context['report']['num_reports'], $context['report']['last_updated']), '

+ 2 - 2
Themes/default/Post.template.php

@@ -379,7 +379,7 @@ function template_main()
 	// If the admin has enabled the hiding of the additional options - show a link and image for it.
 	if (!empty($settings['additional_options_collapsable']))
 		echo '
-					<div id="postAdditionalOptionsHeader" class="info_bar exp1">
+					<div id="postAdditionalOptionsHeader" class="title_bar exp1">
 						<h4 class="infobg">
 							<span id="postMoreExpand" class="toggle_up floatright" style="display: none;"></span> <strong><a href="#" id="postMoreExpandLink">', $context['can_post_attachment'] ? $txt['post_additionalopt_attach'] : $txt['post_additionalopt'], '</a></strong>
 						</h4>
@@ -505,7 +505,7 @@ function template_main()
 	if (!empty($modSettings['drafts_post_enabled']) && !empty($context['drafts']) && !empty($options['drafts_show_saved_enabled']))
 	{
 		echo '
-					<div id="postDraftOptionsHeader" class="info_bar exp1">
+					<div id="postDraftOptionsHeader" class="title_bar exp1">
 						<h4 class="infobg">
 							<span id="postDraftExpand" class="toggle_up floatright" style="display: none;"></span> <strong><a href="#" id="postDraftExpandLink">', $txt['draft_load'], '</a></strong>
 						</h4>

+ 3 - 3
Themes/default/Profile.template.php

@@ -1165,7 +1165,7 @@ function template_statPanel()
 	// This next section draws a graph showing what times of day they post the most.
 	echo '
 		<div id="activitytime" class="flow_hidden">
-			<div class="info_bar">
+			<div class="title_bar">
 				<h3 class="infobg">
 					<span class="stats_icon history"></span>', $txt['statPanel_activityTime'], '
 				</h3>
@@ -1212,7 +1212,7 @@ function template_statPanel()
 	echo '
 		<div class="flow_hidden">
 			<div id="popularposts">
-				<div class="info_bar">
+				<div class="title_bar">
 					<h3 class="infobg">
 						<span class="stats_icon replies"></span>', $txt['statPanel_topBoards'], '
 					</h3>
@@ -1251,7 +1251,7 @@ function template_statPanel()
 			</div>';
 	echo '
 			<div id="popularactivity">
-				<div class="info_bar">
+				<div class="title_bar">
 					<h3 class="infobg">
 						<span class="stats_icon replies"></span>', $txt['statPanel_topBoardsActivity'], '
 					</h3>

+ 4 - 4
Themes/default/Register.template.php

@@ -90,7 +90,7 @@ function template_registration_form()
 			<div class="cat_bar">
 				<h3 class="catbg">', $txt['registration_form'], '</h3>
 			</div>
-			<div class="info_bar exp1">
+			<div class="title_bar exp1">
 				<h4 class="infobg">', $txt['required_info'], '</h4>
 			</div>
 			<div class="windowbg2">
@@ -202,7 +202,7 @@ function template_registration_form()
 	if (!empty($context['profile_fields']) || !empty($context['custom_fields']))
 	{
 		echo '
-			<div class="info_bar exp1">
+			<div class="title_bar exp1">
 				<h4 class="infobg">', $txt['additional_information'], '</h4>
 			</div>
 			<div class="windowbg2">
@@ -318,7 +318,7 @@ function template_registration_form()
 	if ($context['visual_verification'])
 	{
 		echo '
-			<div class="info_bar exp1">
+			<div class="title_bar exp1">
 				<h4 class="infobg">', $txt['verification'], '</h4>
 			</div>
 			<div class="windowbg2">
@@ -386,7 +386,7 @@ function template_coppa()
 
 	// Formulate a nice complicated message!
 	echo '
-			<div class="info_bar exp1">
+			<div class="title_bar exp1">
 				<h3 class="infobg">', $context['page_title'], '</h3>
 			</div>
 			<div class="windowbg2">

+ 1 - 1
Themes/default/Search.template.php

@@ -123,7 +123,7 @@ function template_main()
 		echo '
 		<fieldset class="flow_hidden">
 			<div class="roundframe">
-				<div class="info_bar">
+				<div class="title_bar">
 					<h4 class="infobg">
 						<span id="advanced_panel_toggle" class="toggle_down floatright" style="display: none;"></span>
 						<a href="#" id="advanced_panel_link">', $txt['choose_board'], '</a>

+ 7 - 7
Themes/default/Stats.template.php

@@ -20,7 +20,7 @@ function template_main()
 			<h3 class="catbg">', $context['page_title'], '</h3>
 		</div>
 		<div class="roundframe exp1">
-			<div class="info_bar">
+			<div class="title_bar">
 				<h4 class="infobg">
 					<span class="stats_icon general"></span>', $txt['general_stats'], '
 				</h4>
@@ -81,7 +81,7 @@ function template_main()
 		</div>
 		<div class="roundframe exp1">
 			<div id="top_posters">
-				<div class="info_bar">
+				<div class="title_bar">
 					<h4 class="infobg">
 						<span class="stats_icon posters"></span>', $txt['top_posters'], '
 					</h4>
@@ -118,7 +118,7 @@ function template_main()
 					</div>
 			</div>
 			<div id="top_boards">
-				<div class="info_bar">
+				<div class="title_bar">
 					<h4 class="infobg">
 						<span class="stats_icon boards"></span>', $txt['top_boards'], '
 					</h4>
@@ -157,7 +157,7 @@ function template_main()
 		</div>
 		<div class="roundframe exp1">
 			<div id="top_topics_replies">
-				<div class="info_bar">
+				<div class="title_bar">
 					<h4 class="infobg">
 						<span class="stats_icon replies"></span>', $txt['top_topics_replies'], '
 					</h4>
@@ -193,7 +193,7 @@ function template_main()
 			</div>
 
 			<div id="top_topics_views">
-				<div class="info_bar">
+				<div class="title_bar">
 					<h4 class="infobg">
 						<span class="stats_icon views"></span>', $txt['top_topics_views'], '
 					</h4>
@@ -230,7 +230,7 @@ function template_main()
 		</div>
 		<div class="roundframe exp1">
 			<div id="top_topics_starter">
-				<div class="info_bar">
+				<div class="title_bar">
 					<h4 class="infobg">
 						<span class="stats_icon starters"></span>', $txt['top_starters'], '
 					</h4>
@@ -264,7 +264,7 @@ function template_main()
 				</div>
 			</div>
 			<div id="most_online">
-				<div class="info_bar">
+				<div class="title_bar">
 					<h4 class="infobg">
 						<span class="stats_icon history"></span>', $txt['most_time_online'], '
 					</h4>

+ 1 - 1
Themes/default/css/admin.css

@@ -1085,6 +1085,6 @@ h3.grid_header {
 /* These kids and their new-fangled thingummys. :P */
 /* When I were a lad, things were different! */
 
-#support_credits .sub_places {
+#support_credits .sub_bar {
 	padding: 6px 0px 5px 0px;
 }

+ 7 - 7
Themes/default/css/index.css

@@ -4257,8 +4257,8 @@ div#manage_boards dl dd textarea[name=desc] {
 	width: 100%;
 }
 
-/* Introduce Information Bar */
-.info_bar {
+/* Introduce New Title Bar */
+.title_bar {
 	border-right: 1px solid #ddd;
 	border-left: 1px solid #ddd;
 	border-top: 2px solid #ff9400;
@@ -4269,13 +4269,13 @@ div#manage_boards dl dd textarea[name=desc] {
 	text-align: left;
 	margin: 0 -1px;
 }
-.sub_places {
+.sub_bar {
 	border-bottom: 1px solid #ccc;
 	text-shadow: none;
 	background: none;
 	box-shadow: 0 -1px 0 #999 inset;
 }
-h3.infobg, h4.infobg, .infobg, h3.subg, h4.subg, .subg {
+h3.titlebg, h4.titlebg, .titlebg, h3.subbg, h4.subbg, .subbg {
 	background: none;
 	color: #555;
 	font-family: "Tahoma", sans-serif;
@@ -4284,7 +4284,7 @@ h3.infobg, h4.infobg, .infobg, h3.subg, h4.subg, .subg {
 	padding: 6px 12px 5px 12px;	
 	text-shadow: none;
 }
-.infobg a, .subg a {
+.titlebg a, .subbg a {
 	background: none;
 	color: #555;
 	text-decoration: none;
@@ -4294,10 +4294,10 @@ h3.infobg, h4.infobg, .infobg, h3.subg, h4.subg, .subg {
 }
 
 /* This place is about Info Center on BoardIndex */
-#info_center .sub_places {
+#info_center .sub_bar {
 	border-top: 1px solid #ccc;
 }
-#info_center .sub_places:first-child {
+#info_center .sub_bar:first-child {
 	border-top: none;
 }