Procházet zdrojové kódy

Never do thingz before coffeeeeee :P

Signed-off-by: Antes <[email protected]>
Antes před 11 roky
rodič
revize
704f8cca46

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

@@ -233,7 +233,7 @@ function template_info_center()
 	echo '
 	<div class="roundframe" id="info_center">
 		<div class="title_bar">
-			<h3 class="infobg">
+			<h3 class="titlebg">
 				<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>
 			</h3>

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

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

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

@@ -180,7 +180,7 @@ function template_maintenance()
 			', $context['description'], '<br class="clear">
 		</p>
 		<div class="title_bar">
-			<h4 class="infobg">', $txt['admin_login'], '</h4>
+			<h4 class="titlebg">', $txt['admin_login'], '</h4>
 		</div>
 		<div class="roundframe">
 			<dl>
@@ -256,7 +256,7 @@ function template_retry_activate()
 	echo '
 		<form action="', $scripturl, '?action=activate;u=', $context['member_id'], '" method="post" accept-charset="', $context['character_set'], '">
 			<div class="title_bar">
-				<h3 class="infobg">', $context['page_title'], '</h3>
+				<h3 class="titlebg">', $context['page_title'], '</h3>
 			</div>
 			<div class="roundframe">';
 
@@ -285,7 +285,7 @@ function template_resend()
 	echo '
 		<form action="', $scripturl, '?action=activate;sa=resend" method="post" accept-charset="', $context['character_set'], '">
 			<div class="title_bar">
-				<h3 class="infobg">', $context['page_title'], '</h3>
+				<h3 class="titlebg">', $context['page_title'], '</h3>
 			</div>
 			<div class="roundframe">
 				<dl>

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

@@ -19,7 +19,7 @@ function template_main()
 	echo '
 	<div id="manage_boards">
 		<div class="title_bar">
-			<h3 class="infobg">', $txt['boardsEdit'], '</h3>
+			<h3 class="titlebg">', $txt['boardsEdit'], '</h3>
 		</div>';
 
 	if (!empty($context['move_board']))

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

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

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

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

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

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

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

@@ -379,8 +379,8 @@ 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="title_bar exp1">
-						<h4 class="infobg">
+					<div id="postAdditionalOptionsHeader" class="title_bar title_top">
+						<h4 class="titlebg">
 							<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>
 					</div>
@@ -505,8 +505,8 @@ function template_main()
 	if (!empty($modSettings['drafts_post_enabled']) && !empty($context['drafts']) && !empty($options['drafts_show_saved_enabled']))
 	{
 		echo '
-					<div id="postDraftOptionsHeader" class="title_bar exp1">
-						<h4 class="infobg">
+					<div id="postDraftOptionsHeader" class="title_bar title_top">
+						<h4 class="titlebg">
 							<span id="postDraftExpand" class="toggle_up floatright" style="display: none;"></span> <strong><a href="#" id="postDraftExpandLink">', $txt['draft_load'], '</a></strong>
 						</h4>
 					</div>

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

@@ -1166,7 +1166,7 @@ function template_statPanel()
 	echo '
 		<div id="activitytime" class="flow_hidden">
 			<div class="title_bar">
-				<h3 class="infobg">
+				<h3 class="titlebg">
 					<span class="stats_icon history"></span>', $txt['statPanel_activityTime'], '
 				</h3>
 			</div>
@@ -1213,7 +1213,7 @@ function template_statPanel()
 		<div class="flow_hidden">
 			<div id="popularposts">
 				<div class="title_bar">
-					<h3 class="infobg">
+					<h3 class="titlebg">
 						<span class="stats_icon replies"></span>', $txt['statPanel_topBoards'], '
 					</h3>
 				</div>
@@ -1252,7 +1252,7 @@ function template_statPanel()
 	echo '
 			<div id="popularactivity">
 				<div class="title_bar">
-					<h3 class="infobg">
+					<h3 class="titlebg">
 						<span class="stats_icon replies"></span>', $txt['statPanel_topBoardsActivity'], '
 					</h3>
 				</div>

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

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

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

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

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

@@ -19,9 +19,9 @@ function template_main()
 		<div class="cat_bar">
 			<h3 class="catbg">', $context['page_title'], '</h3>
 		</div>
-		<div class="roundframe exp1">
+		<div class="roundframe title_top">
 			<div class="title_bar">
-				<h4 class="infobg">
+				<h4 class="titlebg">
 					<span class="stats_icon general"></span>', $txt['general_stats'], '
 				</h4>
 			</div>
@@ -79,10 +79,10 @@ function template_main()
 				</dl>
 			</div>
 		</div>
-		<div class="roundframe exp1">
+		<div class="roundframe title_top">
 			<div id="top_posters">
 				<div class="title_bar">
-					<h4 class="infobg">
+					<h4 class="titlebg">
 						<span class="stats_icon posters"></span>', $txt['top_posters'], '
 					</h4>
 				</div>
@@ -119,7 +119,7 @@ function template_main()
 			</div>
 			<div id="top_boards">
 				<div class="title_bar">
-					<h4 class="infobg">
+					<h4 class="titlebg">
 						<span class="stats_icon boards"></span>', $txt['top_boards'], '
 					</h4>
 				</div>
@@ -155,10 +155,10 @@ function template_main()
 					</div>
 			</div>
 		</div>
-		<div class="roundframe exp1">
+		<div class="roundframe title_top">
 			<div id="top_topics_replies">
 				<div class="title_bar">
-					<h4 class="infobg">
+					<h4 class="titlebg">
 						<span class="stats_icon replies"></span>', $txt['top_topics_replies'], '
 					</h4>
 				</div>
@@ -194,7 +194,7 @@ function template_main()
 
 			<div id="top_topics_views">
 				<div class="title_bar">
-					<h4 class="infobg">
+					<h4 class="titlebg">
 						<span class="stats_icon views"></span>', $txt['top_topics_views'], '
 					</h4>
 				</div>
@@ -228,10 +228,10 @@ function template_main()
 				</div>
 			</div>
 		</div>
-		<div class="roundframe exp1">
+		<div class="roundframe title_top">
 			<div id="top_topics_starter">
 				<div class="title_bar">
-					<h4 class="infobg">
+					<h4 class="titlebg">
 						<span class="stats_icon starters"></span>', $txt['top_starters'], '
 					</h4>
 				</div>
@@ -265,7 +265,7 @@ function template_main()
 			</div>
 			<div id="most_online">
 				<div class="title_bar">
-					<h4 class="infobg">
+					<h4 class="titlebg">
 						<span class="stats_icon history"></span>', $txt['most_time_online'], '
 					</h4>
 				</div>
@@ -307,7 +307,7 @@ function template_main()
 				<span class="stats_icon history"></span>', $txt['forum_history'], '
 			</h3>
 		</div>
-		<div class="roundframe exp1">';
+		<div class="roundframe title_top">';
 
 	if (!empty($context['yearly']))
 	{

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

@@ -4289,7 +4289,7 @@ h3.titlebg, h4.titlebg, .titlebg, h3.subbg, h4.subbg, .subbg {
 	color: #555;
 	text-decoration: none;
 }	
-.exp1 {
+.title_top {
 	margin-top: 10px;
 }