Subsilver2 Code Tag

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Ideas Centre
User avatar
chatalie
Registered User
Posts: 46
Joined: Wed Mar 19, 2008 11:34 pm
Contact:

Subsilver2 Code Tag

Post by chatalie »

Hi, I am using a subsilver2 based theme, and I was wondering if there was a way for me to use the same type of code tag as in prosilver. I like the way the prosilver puts the code in a scroll box and allows you to copy it with select all. It would really save alot of room on my posts if possible.

Thnks
(^.^)

User avatar
Raimon
Former Team Member
Posts: 12088
Joined: Tue May 30, 2006 5:31 pm
Location: Netherlands
Name: Raimon Meuldijk
Contact:

Re: Subsilver2 Code Tag

Post by Raimon »

Open /styles/subsilver2/template/bbcode.html

search:

Code: Select all

<!-- BEGIN code_open -->
<div class="codetitle"><b>{L_CODE}:</b></div><div class="codecontent">
<!-- END code_open -->

<!-- BEGIN code_close -->
</div>
<!-- END code_close -->
replace with:

Code: Select all

<!-- BEGIN code_open -->
<div class="codetitle"><b>{L_CODE}:</b> <a href="#" onclick="selectCode(this); return false;">{L_SELECT_ALL_CODE}</a></div><div class="codecontent"><code>
<!-- END code_open -->

<!-- BEGIN code_close -->
</code></div>
<!-- END code_close -->
open /styles/subsilver2/template/overall_header.html

search:

Code: Select all

// ]]>
</script>
add before:

Code: Select all

function selectCode(a)
{
	// Get ID of code block
	var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0];

	// Not IE
	if (window.getSelection)
	{
		var s = window.getSelection();
		// Safari
		if (s.setBaseAndExtent)
		{
			s.setBaseAndExtent(e, 0, e, e.innerText.length - 1);
		}
		// Firefox and Opera
		else
		{
			var r = document.createRange();
			r.selectNodeContents(e);
			s.removeAllRanges();
			s.addRange(r);
		}
	}
	// Some older browsers
	else if (document.getSelection)
	{
		var s = document.getSelection();
		var r = document.createRange();
		r.selectNodeContents(e);
		s.removeAllRanges();
		s.addRange(r);
	}
	// IE
	else if (document.selection)
	{
		var r = document.body.createTextRange();
		r.moveToElementText(e);
		r.select();
	}
}
open styles/subsilver2/theme/stylesheet.css

search:

Code: Select all

.codecontent {
	direction: ltr;
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #A9B8C2;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	color: #006600;
	font-size: 0.85em;
	font-family: Monaco, 'Courier New', monospace;
	background-color: #FAFAFA;
}
replace with:

Code: Select all

.codecontent {
overflow: auto;
	display: block;
	height: auto;
	max-height: 200px;
	white-space: normal;
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #A9B8C2;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	color: #006600;
	font-size: 0.85em;
	font-family: Monaco, 'Courier New', monospace;
	background-color: #FAFAFA;
}
Need phpBB installation, extenstions, Styles or integrate phpBB with you website?
Contact me for fair prices and good service!

User avatar
chatalie
Registered User
Posts: 46
Joined: Wed Mar 19, 2008 11:34 pm
Contact:

Re: Subsilver2 Code Tag

Post by chatalie »

Oh, thank you so much Raimon. This worked very well.
(^.^)

autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: Subsilver2 Code Tag

Post by autinhyeu »

This is file "overall_header.html" in my board:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
{SEO_BASE_HREF}

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<title>{PAGE_TITLE}<!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF --></title>
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="verify-v1" content="ANoZei7t6nYedEunBE63Z/MlBeG1qaxYCP4n2Ij8Rcc=" />
{META_TAG}

{META}
<!-- BEGIN gym_rsslinks -->
<link rel="alternate" type="application/rss+xml" title="{gym_rsslinks.TITLE}" href="{gym_rsslinks.URL}" />
<!-- END gym_rsslinks -->

<link rel="icon" href="{FAVICON}" type="image/x-icon" /> 
<link rel="shortcut icon" href="{FAVICON}" type="image/x-icon" />
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<!-- INCLUDE prime_show_deleted_post.html -->
<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
	}
<!-- ENDIF -->

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

// www.phpBB-SEO.com SEO TOOLKIT BEGIN
function jumpto() {
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var perpage = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';
	var seo_delim_start = '{SEO_START_DELIM}';
	var seo_static_pagination = '{SEO_SATIC_PAGE}';
	var seo_ext_pagination = '{SEO_EXT_PAGE}';
	if (page !== null && !isNaN(page) && page > 0) {
		var seo_page = (page - 1) * perpage;
		if ( base_url.indexOf('?') >= 0 ) {
			document.location.href = base_url.replace(/&/g, '&') + '&start=' + seo_page;
		} else if ( seo_page > 0 ) {
			var seo_type1 = base_url.match(/\.[a-z0-9]+$/i);
			if (seo_type1 !== null) {
				document.location.href = base_url.replace(/\.[a-z0-9]+$/i, '') + seo_delim_start + seo_page + seo_type1;
			}
			var seo_type2 = base_url.match(/\/$/);
			if (seo_type2 !== null) {
				document.location.href = base_url + seo_static_pagination + seo_page + seo_ext_pagination;
			}
		} else {
			document.location.href = base_url;
		}
	}
}
// www.phpBB-SEO.com SEO TOOLKIT END


/**
* Find a member
*/
function find_username(url)
{
	popup(url, 760, 570, '_usersearch');
	return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');
	
	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}

		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

// ]]>
</script>
<!-- // MOD : ABBC3 (V1.0.9) - Start -->
<!-- IF S_ABBC3_MOD and (S_NEW_MESSAGE or S_EDIT_POST or S_VIEWTOPIC or S_DISPLAY_PREVIEW or S_PRIVMSGS or S_POST_REVIEW or S_DISPLAY_REVIEW or S_BBCODE_ALLOWED or mcp) -->
<script type="text/javascript" src="{S_ABBC3_PATH}/abbcode.js" charset="{S_CONTENT_ENCODING}"></script>

<script type="text/javascript">
// <![CDATA[
	var GB_ROOT_DIR                       = "{S_ABBC3_PATH}/greybox/";
<!-- IF S_ABBC3_RESIZE -->	
	NcodeImageResizer.MODE                = '{S_ABBC3_RESIZE_METHOD}'; // 'greybox' 'enlarge' 'samewindow' 'newwindow'
	NcodeImageResizer.IMAGE               = '{S_ABBC3_PATH}/images/errormt0.gif';
	NcodeImageResizer.MAXWIDTH            = '{S_ABBC3_MAX_IMG_WIDTH}' ;
	NcodeImageResizer.MAXHEIGHT           = '{S_ABBC3_MAX_IMG_HEIGHT}' ;
	NcodeImageResizer.warning_small       = '{L_ABBC3_RESIZE_SMALL}';
	NcodeImageResizer.warning_filesize    = '{L_ABBC3_RESIZE_FILESIZE}';
	NcodeImageResizer.warning_no_filesize = '{L_ABBC3_RESIZE_NOFILESIZE}';
	NcodeImageResizer.warning_fullsize    = '{L_ABBC3_RESIZE_FULLSIZE}';
<!-- ENDIF -->
// ]]>
</script>
<!-- IF (S_ABBC3_GREYBOX or S_BBCODE_ALLOWED) -->
<script type="text/javascript" src="{S_ABBC3_PATH}/greybox/AJS.js"></script>
<script type="text/javascript" src="{S_ABBC3_PATH}/greybox/AJS_fx.js"></script>
<script type="text/javascript" src="{S_ABBC3_PATH}/greybox/gb_scripts.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="{S_ABBC3_PATH}/greybox/gb_styles.css" />
<!-- ENDIF -->
<link rel="stylesheet" type="text/css" media="all" href="{S_ABBC3_PATH}/abbcode.css" />
<!-- ENDIF -->
<!-- // MOD : ABBC3 (V1.0.9) - End -->
<!-- IF S_USER_LANG == 'vi' -->
<script type="text/javascript" src="./includes/js/avim.js"></script>
<!-- ENDIF -->
</head>
<!--
	Autinhyeu Style by Autinhyeu (http://www.autinhyeu.com)
//-->

<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>




<div id="wrapcentre">
	<div id="logodesc">
		<table width="100%" cellspacing="0">
		<tr>
			<td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
			<td width="100%" align="center"><h1><font color="navy">{SITENAME}</font></h1><span class="gen">{SITE_DESCRIPTION}</span></td>
			<td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>

		</tr>
		</table>
	</div>

<div>
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="100%" height="300">
            <param name="movie" value="./styles/tuan.swf" />
            <param name="play" value="true" />
            <param name="loop" value="true" />
            <param name="quality" value="high" />
            <param name="allowScriptAccess" value="never" />
            <embed src="./styles/tuan.swf" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="100%" height="300" play="true" loop="true" quality="high" allowscriptaccess="never"></embed>
         </object>
</div>

<!-- INCLUDE announcement_centre.html -->


	<!-- INCLUDE breadcrumbs.html -->

<table class="tablebg" cellspacing="1" width="100%">
<tr>
<td class="row1" height="60px" width="70%">
	<!-- IF S_IN_ARCADE -->
	<!-- INCLUDE arcade/arcade_breadcrumbs.html -->
	<!-- ELSE -->
			<p class="breadcrumbs"><a href="{U_INDEX}"><strong>{L_INDEX}</strong></a><!-- BEGIN navlinks --><strong> &#187;</strong>&nbsp;<a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></p>
	<!-- ENDIF -->
<div align="center"> <p><!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
				<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF --><!-- IF S_IN_ARCADE and S_ARCADE_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_ARCADE_DISABLED}</span><!-- ENDIF --></p></div>
				<br /><br /><!-- IF S_DISPLAY_SEARCH -->
	<p class="searchbar">
		<!-- IF S_USER_LOGGED_IN -->
		<span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a> | &nbsp</span> 
			<span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS} </a> | &nbsp</span>	
		<!-- ENDIF -->
	</p>
	<!-- ENDIF -->
			</td>
			
<td class="row2" height="60px" width="30%">
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT and S_LOGIN_ANYWHERE and not AUTO_REFRESH -->
	<form method="post" action="{S_LOGIN_ANYWHERE}" style="float:right;position:relative;">
	<table width="100%" cellspacing="0">
    <tr>		
    <td width="100%"><span class="genmed"></span><br /><span class="genmed"></span></td>
	<td width="50%"><img src="http://www.autinhyeu.com/images/user.gif"><input class="post" type="text" name="username" size="10" /><br /><img src="http://www.autinhyeu.com/images/key.gif"><input class="post" type="password" name="password" size="10" /></td>
		<td width="50%"  nowrap="nowrap"> <!-- IF S_AUTOLOGIN_ENABLED --> <input type="checkbox" checked="true" class="radio" name="autologin" /><img src="http://www.autinhyeu.com/images/user_add.gif"><!-- ENDIF --><br /><input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /> 
    </td>
    </tr>
    </table>
	{S_FORM_TOKEN}
	</form>
<!-- ENDIF -->
<table width="100%" cellspacing="0">
<tr>
<td class="genmed">
<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN -->
<strong>Chào bạn, </strong><br />
{LAST_VISIT_DATE}<br />
{L_TOTAL_TIME_LOGGED_IN}: {TOTAL_TIME_LOGGED_IN}<br />
<!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">Nhắn Tin:</a>&nbsp;{PRIVATE_MESSAGE_INFO}<!-- ENDIF -->
<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->&nbsp;and&nbsp;{PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --><!-- ENDIF --><!-- ENDIF --></td></tr></table>

</td></tr>
</table>


	<!--
	Autinhyeu Style by Autinhyeu (http://autinhyeu.com)
//-->
Style based Subsilver2, i find 2

Code: Select all

// ]]>
</script>
...

Please help me!!!
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible

User avatar
Raimon
Former Team Member
Posts: 12088
Joined: Tue May 30, 2006 5:31 pm
Location: Netherlands
Name: Raimon Meuldijk
Contact:

Re: Subsilver2 Code Tag

Post by Raimon »

Use this overall_header.html

Code: Select all

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
    <head>
    {SEO_BASE_HREF}

    <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
    <title>{PAGE_TITLE}<!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF --></title>
    <meta http-equiv="content-language" content="{S_USER_LANG}" />
    <meta http-equiv="content-style-type" content="text/css" />
    <meta http-equiv="imagetoolbar" content="no" />
    <meta name="verify-v1" content="ANoZei7t6nYedEunBE63Z/MlBeG1qaxYCP4n2Ij8Rcc=" />
    {META_TAG}

    {META}
    <!-- BEGIN gym_rsslinks -->
    <link rel="alternate" type="application/rss+xml" title="{gym_rsslinks.TITLE}" href="{gym_rsslinks.URL}" />
    <!-- END gym_rsslinks -->

    <link rel="icon" href="{FAVICON}" type="image/x-icon" />
    <link rel="shortcut icon" href="{FAVICON}" type="image/x-icon" />
    <link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

    <!-- INCLUDE prime_show_deleted_post.html -->
    <script type="text/javascript">
    // <![CDATA[
    <!-- IF S_USER_PM_POPUP -->
       if ({S_NEW_PM})
       {
          popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
       }
    <!-- ENDIF -->

    function popup(url, width, height, name)
    {
       if (!name)
       {
          name = '_popup';
       }

       window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
       return false;
    }

    // www.phpBB-SEO.com SEO TOOLKIT BEGIN
    function jumpto() {
       var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
       var perpage = '{PER_PAGE}';
       var base_url = '{A_BASE_URL}';
       var seo_delim_start = '{SEO_START_DELIM}';
       var seo_static_pagination = '{SEO_SATIC_PAGE}';
       var seo_ext_pagination = '{SEO_EXT_PAGE}';
       if (page !== null && !isNaN(page) && page > 0) {
          var seo_page = (page - 1) * perpage;
          if ( base_url.indexOf('?') >= 0 ) {
             document.location.href = base_url.replace(/&/g, '&') + '&start=' + seo_page;
          } else if ( seo_page > 0 ) {
             var seo_type1 = base_url.match(/\.[a-z0-9]+$/i);
             if (seo_type1 !== null) {
                document.location.href = base_url.replace(/\.[a-z0-9]+$/i, '') + seo_delim_start + seo_page + seo_type1;
             }
             var seo_type2 = base_url.match(/\/$/);
             if (seo_type2 !== null) {
                document.location.href = base_url + seo_static_pagination + seo_page + seo_ext_pagination;
             }
          } else {
             document.location.href = base_url;
          }
       }
    }
    // www.phpBB-SEO.com SEO TOOLKIT END


    /**
    * Find a member
    */
    function find_username(url)
    {
       popup(url, 760, 570, '_usersearch');
       return false;
    }

    /**
    * Mark/unmark checklist
    * id = ID of parent container, name = name prefix, state = state [true/false]
    */
    function marklist(id, name, state)
    {
       var parent = document.getElementById(id);
       if (!parent)
       {
          eval('parent = document.' + id);
       }

       if (!parent)
       {
          return;
       }

       var rb = parent.getElementsByTagName('input');
       
       for (var r = 0; r < rb.length; r++)
       {
          if (rb[r].name.substr(0, name.length) == name)
          {
             rb[r].checked = state;
          }
       }
    }

    <!-- IF ._file -->

       /**
       * Play quicktime file by determining it's width/height
       * from the displayed rectangle area
       *
       * Only defined if there is a file block present.
       */
       function play_qt_file(obj)
       {
          var rectangle = obj.GetRectangle();

          if (rectangle)
          {
             rectangle = rectangle.split(',')
             var x1 = parseInt(rectangle[0]);
             var x2 = parseInt(rectangle[2]);
             var y1 = parseInt(rectangle[1]);
             var y2 = parseInt(rectangle[3]);

             var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
             var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
          }
          else
          {
             var width = 200;
             var height = 0;
          }

          obj.width = width;
          obj.height = height + 16;

          obj.SetControllerVisible(true);

          obj.Play();
       }
    <!-- ENDIF -->



Post icon:
    None 

Subject:

    function selectCode(a)
    {
       // Get ID of code block
       var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0];

       // Not IE
       if (window.getSelection)
       {
          var s = window.getSelection();
          // Safari
          if (s.setBaseAndExtent)
          {
             s.setBaseAndExtent(e, 0, e, e.innerText.length - 1);
          }
          // Firefox and Opera
          else
          {
             var r = document.createRange();
             r.selectNodeContents(e);
             s.removeAllRanges();
             s.addRange(r);
          }
       }
       // Some older browsers
       else if (document.getSelection)
       {
          var s = document.getSelection();
          var r = document.createRange();
          r.selectNodeContents(e);
          s.removeAllRanges();
          s.addRange(r);
       }
       // IE
       else if (document.selection)
       {
          var r = document.body.createTextRange();
          r.moveToElementText(e);
          r.select();
       }
    }


    // ]]>
    </script>
    <!-- // MOD : ABBC3 (V1.0.9) - Start -->
    <!-- IF S_ABBC3_MOD and (S_NEW_MESSAGE or S_EDIT_POST or S_VIEWTOPIC or S_DISPLAY_PREVIEW or S_PRIVMSGS or S_POST_REVIEW or S_DISPLAY_REVIEW or S_BBCODE_ALLOWED or mcp) -->
    <script type="text/javascript" src="{S_ABBC3_PATH}/abbcode.js" charset="{S_CONTENT_ENCODING}"></script>

    <script type="text/javascript">
    // <![CDATA[
       var GB_ROOT_DIR                       = "{S_ABBC3_PATH}/greybox/";
    <!-- IF S_ABBC3_RESIZE -->   
       NcodeImageResizer.MODE                = '{S_ABBC3_RESIZE_METHOD}'; // 'greybox' 'enlarge' 'samewindow' 'newwindow'
       NcodeImageResizer.IMAGE               = '{S_ABBC3_PATH}/images/errormt0.gif';
       NcodeImageResizer.MAXWIDTH            = '{S_ABBC3_MAX_IMG_WIDTH}' ;
       NcodeImageResizer.MAXHEIGHT           = '{S_ABBC3_MAX_IMG_HEIGHT}' ;
       NcodeImageResizer.warning_small       = '{L_ABBC3_RESIZE_SMALL}';
       NcodeImageResizer.warning_filesize    = '{L_ABBC3_RESIZE_FILESIZE}';
       NcodeImageResizer.warning_no_filesize = '{L_ABBC3_RESIZE_NOFILESIZE}';
       NcodeImageResizer.warning_fullsize    = '{L_ABBC3_RESIZE_FULLSIZE}';
    <!-- ENDIF -->
    // ]]>
    </script>
    <!-- IF (S_ABBC3_GREYBOX or S_BBCODE_ALLOWED) -->
    <script type="text/javascript" src="{S_ABBC3_PATH}/greybox/AJS.js"></script>
    <script type="text/javascript" src="{S_ABBC3_PATH}/greybox/AJS_fx.js"></script>
    <script type="text/javascript" src="{S_ABBC3_PATH}/greybox/gb_scripts.js"></script>
    <link rel="stylesheet" type="text/css" media="all" href="{S_ABBC3_PATH}/greybox/gb_styles.css" />
    <!-- ENDIF -->
    <link rel="stylesheet" type="text/css" media="all" href="{S_ABBC3_PATH}/abbcode.css" />
    <!-- ENDIF -->
    <!-- // MOD : ABBC3 (V1.0.9) - End -->
    <!-- IF S_USER_LANG == 'vi' -->
    <script type="text/javascript" src="./includes/js/avim.js"></script>
    <!-- ENDIF -->
    </head>
    <!--
       Autinhyeu Style by Autinhyeu (http://www.autinhyeu.com)
    //-->

    <body class="{S_CONTENT_DIRECTION}">

    <a name="top"></a>




    <div id="wrapcentre">
       <div id="logodesc">
          <table width="100%" cellspacing="0">
          <tr>
             <td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
             <td width="100%" align="center"><h1><font color="navy">{SITENAME}</font></h1><span class="gen">{SITE_DESCRIPTION}</span></td>
             <td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>

          </tr>
          </table>
       </div>

    <div>
    <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="100%" height="300">
                <param name="movie" value="./styles/tuan.swf" />
                <param name="play" value="true" />
                <param name="loop" value="true" />
                <param name="quality" value="high" />
                <param name="allowScriptAccess" value="never" />
                <embed src="./styles/tuan.swf" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="100%" height="300" play="true" loop="true" quality="high" allowscriptaccess="never"></embed>
             </object>
    </div>

    <!-- INCLUDE announcement_centre.html -->


       <!-- INCLUDE breadcrumbs.html -->

    <table class="tablebg" cellspacing="1" width="100%">
    <tr>
    <td class="row1" height="60px" width="70%">
       <!-- IF S_IN_ARCADE -->
       <!-- INCLUDE arcade/arcade_breadcrumbs.html -->
       <!-- ELSE -->
             <p class="breadcrumbs"><a href="{U_INDEX}"><strong>{L_INDEX}</strong></a><!-- BEGIN navlinks --><strong> &#187;</strong>&nbsp;<a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></p>
       <!-- ENDIF -->
    <div align="center"> <p><!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
                <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF --><!-- IF S_IN_ARCADE and S_ARCADE_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_ARCADE_DISABLED}</span><!-- ENDIF --></p></div>
                <br /><br /><!-- IF S_DISPLAY_SEARCH -->
       <p class="searchbar">
          <!-- IF S_USER_LOGGED_IN -->
          <span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a> | &nbsp</span>
             <span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS} </a> | &nbsp</span>   
          <!-- ENDIF -->
       </p>
       <!-- ENDIF -->
             </td>
             
    <td class="row2" height="60px" width="30%">
    <!-- IF not S_USER_LOGGED_IN and not S_IS_BOT and S_LOGIN_ANYWHERE and not AUTO_REFRESH -->
       <form method="post" action="{S_LOGIN_ANYWHERE}" style="float:right;position:relative;">
       <table width="100%" cellspacing="0">
        <tr>      
        <td width="100%"><span class="genmed"></span><br /><span class="genmed"></span></td>
       <td width="50%"><img src="http://www.autinhyeu.com/images/user.gif"><input class="post" type="text" name="username" size="10" /><br /><img src="http://www.autinhyeu.com/images/key.gif"><input class="post" type="password" name="password" size="10" /></td>
          <td width="50%"  nowrap="nowrap"> <!-- IF S_AUTOLOGIN_ENABLED --> <input type="checkbox" checked="true" class="radio" name="autologin" /><img src="http://www.autinhyeu.com/images/user_add.gif"><!-- ENDIF --><br /><input type="submit" class="btnmain" name="login" value="{L_LOGIN}" />
        </td>
        </tr>
        </table>
       {S_FORM_TOKEN}
       </form>
    <!-- ENDIF -->
    <table width="100%" cellspacing="0">
    <tr>
    <td class="genmed">
    <!-- IF not S_IS_BOT -->
    <!-- IF S_USER_LOGGED_IN -->
    <strong>Chà o bạn, </strong><br />
    {LAST_VISIT_DATE}<br />
    {L_TOTAL_TIME_LOGGED_IN}: {TOTAL_TIME_LOGGED_IN}<br />
    <!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">Nhắn Tin:</a>&nbsp;{PRIVATE_MESSAGE_INFO}<!-- ENDIF -->
    <!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->&nbsp;and&nbsp;{PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --><!-- ENDIF --><!-- ENDIF --></td></tr></table>

    </td></tr>
    </table>


       <!--
       Autinhyeu Style by Autinhyeu (http://autinhyeu.com)
    //-->
:)
Need phpBB installation, extenstions, Styles or integrate phpBB with you website?
Contact me for fair prices and good service!

autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: Subsilver2 Code Tag

Post by autinhyeu »

Sorry, i use that overall_header.html, but it dont work :|
Thanks
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible

autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: Subsilver2 Code Tag

Post by autinhyeu »

Below is 3 file needed edit.

bbcode.html

Code: Select all

<!-- BEGIN ulist_open --><ul style="list-style-type: {LIST_TYPE}"><!-- END ulist_open -->
<!-- BEGIN ulist_open_default --><ul><!-- END ulist_open_default -->
<!-- BEGIN ulist_close --></ul><!-- END ulist_close -->

<!-- BEGIN olist_open --><ol style="list-style-type: {LIST_TYPE}"><!-- END olist_open -->
<!-- BEGIN olist_close --></ol><!-- END olist_close -->

<!-- BEGIN listitem --><li><!-- END listitem -->
<!-- BEGIN listitem_close --></li><!-- END listitem_close -->

<!-- BEGIN quote_username_open -->
<div class="quotetitle">{USERNAME} {L_WROTE}:</div><div class="quotecontent">
<!-- END quote_username_open -->

<!-- BEGIN quote_open -->
<div class="quotetitle"><b>{L_QUOTE}:</b></div><div class="quotecontent">
<!-- END quote_open -->

<!-- BEGIN quote_close -->
</div>
<!-- END quote_close -->

<!-- BEGIN code_open -->
<div class="codetitle"><b>{L_CODE}:</b></div><div class="codecontent">
<!-- END code_open -->
<!-- BEGIN code_hidden -->{L_CODE_HIDDEN}<!-- END code_hidden -->

<!-- BEGIN code_close -->
</div>
<!-- END code_close -->

<!-- BEGIN inline_attachment_open -->
<div class="attachtitle">{L_ATTACHMENT}:</div><div class="attachcontent">
<!-- END inline_attachment_open -->

<!-- BEGIN inline_attachment_close -->
</div>
<!-- END inline_attachment_close -->


<!-- BEGIN b_open --><strong><!-- END b_open -->
<!-- BEGIN b_close --></strong><!-- END b_close -->

<!-- BEGIN u_open --><span style="text-decoration: underline"><!-- END u_open -->
<!-- BEGIN u_close --></span><!-- END u_close -->

<!-- BEGIN i_open --><em><!-- END i_open -->
<!-- BEGIN i_close --></em><!-- END i_close -->

<!-- BEGIN color --><span style="color: {COLOR}">{TEXT}</span><!-- END color -->

<!-- BEGIN size --><span style="font-size: {SIZE}%; line-height: normal">{TEXT}</span><!-- END size -->

<!-- BEGIN img --><center><img src="{URL}" alt="{L_IMAGE}" /></center><!-- END img -->

<!-- BEGIN url --><a href="{URL}" class="postlink">{DESCRIPTION}</a><!-- END url -->

<!-- BEGIN email --><a href="mailto:{EMAIL}">{DESCRIPTION}</a><!-- END email -->

<!-- BEGIN flash -->
	<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="{WIDTH}" height="{HEIGHT}">
		<param name="movie" value="{URL}" />
		<param name="play" value="false" />
		<param name="loop" value="false" />
		<param name="quality" value="high" />
		<param name="allowScriptAccess" value="never" />
		<param name="allowNetworking" value="internal" />
		<embed src="{URL}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="{WIDTH}" height="{HEIGHT}" play="false" loop="false" quality="high" allowscriptaccess="never" allownetworking="internal"></embed>
	</object>
<!-- END flash -->
<!-- BEGIN unhide_open -->
<div class="unhidetitle"><b>{L_MESSAGE_UNHIDE}:</b></div><div class="hidecontent">
<!-- END unhide_open -->
<!-- BEGIN unhide_close -->
</div>
<!-- END unhide_close -->

<!-- BEGIN hide -->
<div class="hidetitle"><b>{L_MESSAGE_HIDDEN}:</b></div><div class="hidecontent">{L_MESSAGE_HIDDEN_DESCRIPTION}</div>
<!-- END hide -->
overall_header.html

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>
{SEO_BASE_HREF}

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<title>{PAGE_TITLE}<!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF --></title>
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="verify-v1" content="ANoZei7t6nYedEunBE63Z/MlBeG1qaxYCP4n2Ij8Rcc=" />
{META_TAG}

{META}
<!-- BEGIN gym_rsslinks -->
<link rel="alternate" type="application/rss+xml" title="{gym_rsslinks.TITLE}" href="{gym_rsslinks.URL}" />
<!-- END gym_rsslinks -->

<link rel="icon" href="{FAVICON}" type="image/x-icon" /> 
<link rel="shortcut icon" href="{FAVICON}" type="image/x-icon" />
<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" />

<!-- INCLUDE prime_show_deleted_post.html -->
<script type="text/javascript">
// <![CDATA[
<!-- IF S_USER_PM_POPUP -->
	if ({S_NEW_PM})
	{
		popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
	}
<!-- ENDIF -->

function popup(url, width, height, name)
{
	if (!name)
	{
		name = '_popup';
	}

	window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width);
	return false;
}

// www.phpBB-SEO.com SEO TOOLKIT BEGIN
function jumpto() {
	var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}');
	var perpage = '{PER_PAGE}';
	var base_url = '{A_BASE_URL}';
	var seo_delim_start = '{SEO_START_DELIM}';
	var seo_static_pagination = '{SEO_SATIC_PAGE}';
	var seo_ext_pagination = '{SEO_EXT_PAGE}';
	if (page !== null && !isNaN(page) && page > 0) {
		var seo_page = (page - 1) * perpage;
		if ( base_url.indexOf('?') >= 0 ) {
			document.location.href = base_url.replace(/&/g, '&') + '&start=' + seo_page;
		} else if ( seo_page > 0 ) {
			var seo_type1 = base_url.match(/\.[a-z0-9]+$/i);
			if (seo_type1 !== null) {
				document.location.href = base_url.replace(/\.[a-z0-9]+$/i, '') + seo_delim_start + seo_page + seo_type1;
			}
			var seo_type2 = base_url.match(/\/$/);
			if (seo_type2 !== null) {
				document.location.href = base_url + seo_static_pagination + seo_page + seo_ext_pagination;
			}
		} else {
			document.location.href = base_url;
		}
	}
}
// www.phpBB-SEO.com SEO TOOLKIT END


/**
* Find a member
*/
function find_username(url)
{
	popup(url, 760, 570, '_usersearch');
	return false;
}

/**
* Mark/unmark checklist
* id = ID of parent container, name = name prefix, state = state [true/false]
*/
function marklist(id, name, state)
{
	var parent = document.getElementById(id);
	if (!parent)
	{
		eval('parent = document.' + id);
	}

	if (!parent)
	{
		return;
	}

	var rb = parent.getElementsByTagName('input');
	
	for (var r = 0; r < rb.length; r++)
	{
		if (rb[r].name.substr(0, name.length) == name)
		{
			rb[r].checked = state;
		}
	}
}

<!-- IF ._file -->

	/**
	* Play quicktime file by determining it's width/height
	* from the displayed rectangle area
	*
	* Only defined if there is a file block present.
	*/
	function play_qt_file(obj)
	{
		var rectangle = obj.GetRectangle();

		if (rectangle)
		{
			rectangle = rectangle.split(',')
			var x1 = parseInt(rectangle[0]);
			var x2 = parseInt(rectangle[2]);
			var y1 = parseInt(rectangle[1]);
			var y2 = parseInt(rectangle[3]);

			var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
			var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
		}
		else
		{
			var width = 200;
			var height = 0;
		}

		obj.width = width;
		obj.height = height + 16;

		obj.SetControllerVisible(true);

		obj.Play();
	}
<!-- ENDIF -->

// ]]>
</script>
<!-- // MOD : ABBC3 (V1.0.9) - Start -->
<!-- IF S_ABBC3_MOD and (S_NEW_MESSAGE or S_EDIT_POST or S_VIEWTOPIC or S_DISPLAY_PREVIEW or S_PRIVMSGS or S_POST_REVIEW or S_DISPLAY_REVIEW or S_BBCODE_ALLOWED or mcp) -->
<script type="text/javascript" src="{S_ABBC3_PATH}/abbcode.js" charset="{S_CONTENT_ENCODING}"></script>

<script type="text/javascript">
// <![CDATA[
	var GB_ROOT_DIR                       = "{S_ABBC3_PATH}/greybox/";
<!-- IF S_ABBC3_RESIZE -->	
	NcodeImageResizer.MODE                = '{S_ABBC3_RESIZE_METHOD}'; // 'greybox' 'enlarge' 'samewindow' 'newwindow'
	NcodeImageResizer.IMAGE               = '{S_ABBC3_PATH}/images/errormt0.gif';
	NcodeImageResizer.MAXWIDTH            = '{S_ABBC3_MAX_IMG_WIDTH}' ;
	NcodeImageResizer.MAXHEIGHT           = '{S_ABBC3_MAX_IMG_HEIGHT}' ;
	NcodeImageResizer.warning_small       = '{L_ABBC3_RESIZE_SMALL}';
	NcodeImageResizer.warning_filesize    = '{L_ABBC3_RESIZE_FILESIZE}';
	NcodeImageResizer.warning_no_filesize = '{L_ABBC3_RESIZE_NOFILESIZE}';
	NcodeImageResizer.warning_fullsize    = '{L_ABBC3_RESIZE_FULLSIZE}';
<!-- ENDIF -->
// ]]>
</script>
<!-- IF (S_ABBC3_GREYBOX or S_BBCODE_ALLOWED) -->
<script type="text/javascript" src="{S_ABBC3_PATH}/greybox/AJS.js"></script>
<script type="text/javascript" src="{S_ABBC3_PATH}/greybox/AJS_fx.js"></script>
<script type="text/javascript" src="{S_ABBC3_PATH}/greybox/gb_scripts.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="{S_ABBC3_PATH}/greybox/gb_styles.css" />
<!-- ENDIF -->
<link rel="stylesheet" type="text/css" media="all" href="{S_ABBC3_PATH}/abbcode.css" />
<!-- ENDIF -->
<!-- // MOD : ABBC3 (V1.0.9) - End -->
<!-- IF S_USER_LANG == 'vi' -->
<script type="text/javascript" src="./includes/js/avim.js"></script>
<!-- ENDIF -->
</head>
<!--
	Autinhyeu Style by Autinhyeu (http://www.autinhyeu.com)
//-->

<body class="{S_CONTENT_DIRECTION}">

<a name="top"></a>




<div id="wrapcentre">
	<div id="logodesc">
		<table width="100%" cellspacing="0">
		<tr>
			<td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
			<td width="100%" align="center"><h1><font color="navy">{SITENAME}</font></h1><span class="gen">{SITE_DESCRIPTION}</span></td>
			<td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>

		</tr>
		</table>
	</div>

<div>
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="100%" height="300">
            <param name="movie" value="./styles/tuan.swf" />
            <param name="play" value="true" />
            <param name="loop" value="true" />
            <param name="quality" value="high" />
            <param name="allowScriptAccess" value="never" />
            <embed src="./styles/tuan.swf" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="100%" height="300" play="true" loop="true" quality="high" allowscriptaccess="never"></embed>
         </object>
</div>

<!-- INCLUDE announcement_centre.html -->


	<!-- INCLUDE breadcrumbs.html -->

<table class="tablebg" cellspacing="1" width="100%">
<tr>
<td class="row1" height="60px" width="70%">
	<!-- IF S_IN_ARCADE -->
	<!-- INCLUDE arcade/arcade_breadcrumbs.html -->
	<!-- ELSE -->
			<p class="breadcrumbs"><a href="{U_INDEX}"><strong>{L_INDEX}</strong></a><!-- BEGIN navlinks --><strong> &#187;</strong>&nbsp;<a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></p>
	<!-- ENDIF -->
<div align="center"> <p><!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
				<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF --><!-- IF S_IN_ARCADE and S_ARCADE_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_ARCADE_DISABLED}</span><!-- ENDIF --></p></div>
				<br /><br /><!-- IF S_DISPLAY_SEARCH -->
	<p class="searchbar">
		<!-- IF S_USER_LOGGED_IN -->
		<span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a> | &nbsp</span> 
			<span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS} </a> | &nbsp</span>	
		<!-- ENDIF -->
	</p>
	<!-- ENDIF -->
			</td>
			
<td class="row2" height="60px" width="30%">
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT and S_LOGIN_ANYWHERE and not AUTO_REFRESH -->
	<form method="post" action="{S_LOGIN_ANYWHERE}" style="float:right;position:relative;">
	<table width="100%" cellspacing="0">
    <tr>		
    <td width="100%"><span class="genmed"></span><br /><span class="genmed"></span></td>
	<td width="50%"><img src="http://www.autinhyeu.com/images/user.gif"><input class="post" type="text" name="username" size="10" /><br /><img src="http://www.autinhyeu.com/images/key.gif"><input class="post" type="password" name="password" size="10" /></td>
		<td width="50%"  nowrap="nowrap"> <!-- IF S_AUTOLOGIN_ENABLED --> <input type="checkbox" checked="true" class="radio" name="autologin" /><img src="http://www.autinhyeu.com/images/user_add.gif"><!-- ENDIF --><br /><input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /> 
    </td>
    </tr>
    </table>
	{S_FORM_TOKEN}
	</form>
<!-- ENDIF -->
<table width="100%" cellspacing="0">
<tr>
<td class="genmed">
<!-- IF not S_IS_BOT -->
<!-- IF S_USER_LOGGED_IN -->
<strong>Chào bạn, </strong><br />
{LAST_VISIT_DATE}<br />
{L_TOTAL_TIME_LOGGED_IN}: {TOTAL_TIME_LOGGED_IN}<br />
<!-- IF S_DISPLAY_PM --><a href="{U_PRIVATEMSGS}">Nhắn Tin:</a>&nbsp;{PRIVATE_MESSAGE_INFO}<!-- ENDIF -->
<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->&nbsp;and&nbsp;{PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --><!-- ENDIF --><!-- ENDIF --></td></tr></table>

</td></tr>
</table>


	<!--
	Autinhyeu Style by Autinhyeu (http://autinhyeu.com)
//-->
Stylesheet.css

Code: Select all

/*  phpBB 3.0 Style Sheet
    --------------------------------------------------------------
	Style name:		Autinhyeu
	Based on style:	subSilver (the default phpBB 2 style)
	Original author:	subBlue ( http://www.subBlue.com/ )
	Modified by:	Autinhyeu (http://www.autinhyeu.com)

    --------------------------------------------------------------
*/

/* Layout
 ------------ */
* {
	/* Reset browsers default margin, padding and font sizes */
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
}

body {
	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
	font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif;
	color: black;
	background-color: #BDBEBD;
	font-size: 8pt; /* This sets the default font size to be equivalent to 10px */
	margin: 0 auto;
	padding: 50;
	background-image: url('./images/bg.gif');
    background-attachment:fixed;	
}

#wrapheader {
	min-height: 120px;
	height: auto !important;
	
/*	background-image: url('./images/background.gif');
	background-repeat: repeat-x;*/
/*	padding: 0 25px 15px 25px;*/
	padding: 0px 5px 0px 5px;
	width: 90%;
	margin: 0 auto;
	background-color: white;
	background-image: url('./images/h2tlogo.gif') no-repeat;
	
}

#ninhlananh {
	min-height: 2px;
	height: auto !important;
	
/*	background-image: url('./images/background.gif');
	background-repeat: repeat-x;*/
/*	padding: 0 25px 15px 25px;*/
	width: 90%;
	margin: 0 auto;
	padding: 5px 5px 0 5px;
	background-color: white;
}

#wrapcentre {
	margin: 0 auto;
	width: 90%;
	padding: 0 5px 0 5px;
	background-color: white;
}

#wrapfooter {
	text-align: center;
	clear: both;
	margin: 0 auto;
	width: 90%;
	padding: 0 5px 0 5px;
	background-color: white;
}

#wrapnav {
	width: 90%;
	padding: 0 5px 0 5px;
	margin: 0 auto;
	background-color: white;
	border-width: 1px;
	border-style: solid;
	border-color: #A9B8C2;
	
}

#logodesc {
	margin-bottom: 5px;
	padding: 5px 25px;
	background: #FFFFFF;
	border-bottom: 1px solid #4787A7;
}

#menubar {
	margin: 0 25px;
}

#menubottom {
   margin: 0 25px;
}

#datebar {
	margin: 10px 25px 0 25px;
}

#findbar {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

.forumrules {
	background-color: #F9CC79;
	border-width: 1px;
	border-style: solid;
	border-color: #BB9860;
	padding: 4px;
	font-weight: normal;
	font-size: 1.1em;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
}

.forumrules h3 {
	color: red;
}

#pageheader { }
#pagecontent { }
#pagefooter { }

#poll { }
#postrow { }
#postdata { }


/*  Text
 --------------------- */
h1 {
	color: black;
	font-family: Tahoma, "Trebuchet MS", Verdana, sans-serif;
	font-weight: bold;
	font-size: 1.8em;
	text-decoration: none;
}

h2 {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.5em;
	text-decoration: none;
	line-height: 120%;
}

h3 {
	font-size: 1.3em;
	font-weight: bold;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	line-height: 120%;
}

h4 {
	margin: 0;
	font-size: 1.1em;
	font-weight: bold;
}

p {
	font-size: 1.1em;
}

p.moderators {
	margin: 0;
	float: left;
	color: black;
	font-weight: bold;
}

.rtl p.moderators {
	float: right;
}

p.linkmcp {
	margin: 0;
	float: right;
	white-space: nowrap;
}

.rtl p.linkmcp {
	float: left;
}

.redbar {
   margin: 0;
   text-align:center;
   font-weight: bold;
   font-size: 1.1em;
}
p.breadcrumbs {
	margin: 0;
	float: left;
	color: black;
	font-weight: bold;
	white-space: normal;
	font-size: 1em;
}

.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	margin: 0;
	float: right;
	white-space: nowrap;
	font-size: 1em;
}

.rtl p.datetime {
	float: left;
}

p.searchbar {
	padding: 2px 0;
	white-space: nowrap;
} 

p.searchbarreg {
	margin: 0;
	float: right;
	white-space: nowrap;
}

.rtl p.searchbarreg {
	float: left;
}

p.forumdesc {
	padding-bottom: 4px;
}

p.topicauthor {
	margin: 1px 0;
}

p.topicdetails {
	margin: 1px 0;
}

.postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active {
	margin: 1px 0;
	color: red;
	font-weight:bold;
}

.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active {
	color: #0099FF;
	font-weight:bold;
}

.postapprove img, .postreported img {
	vertical-align: bottom;
}

.postauthor {
	color: #000000;
}

.postdetails {
	color: #000000;
}

.postbody {
	font-size: 1.2em;
	line-height: 1.4em;
	font-family: Tahoma, "Trebuchet MS", Helvetica, Arial, sans-serif;
}

.postbody li, ol, ul {
	margin: 0 0 0 1.5em;
}

.rtl .postbody li, .rtl ol, .rtl ul {
	margin: 0 1.5em 0 0;
}

.posthilit {
	background-color: yellow;
}

.nav {
	margin: 0;
	color: black;
	font-weight: bold;
}

.pagination {
	padding: 4px;
	color: black;
	font-size: 1em;
	font-weight: bold;
}

.cattitle {

}

.gen {
	margin: 1px 1px;
	font-size: 1.2em;
}

.genmed {
	margin: 1px 1px;
	font-size: 1.1em;
}

.gensmall {
	margin: 1px 1px;
	font-size: 1em;
}

.copyright {
	color: black;
	font-weight: normal;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
}

.titles {
	font-family: Tahoma, Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.3em;
	text-decoration: none;
}

.error {
	color: red;
}


/* Tables
 ------------ */
th {
	color: #FFFFFF;
	background-color: #0099FF;
	background-image: url('./images/cellpic3.gif');
	height: 25px;
	white-space: nowrap;
	padding: 4px 5px;
}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}

.tablebg {
	background-color: #D3D8DB;
	color: #000000;
}

.catdiv {
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background: white url('./images/cellpic2.jpg') repeat-y scroll top left;
}
.rtl .catdiv {
	background: white url('./images/cellpic2_rtl.jpg') repeat-y scroll top right;
}

.cat {
	color: #000099;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #C7D0D7;
	background-image: url('./images/cellpic1.gif');
	text-indent: 4px;
}

.na {
	color: black;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #C7D0D7;
	background-image: url('./images/cellpic1.gif');
	text-indent: 4px;
}

.row1 {
	background-color: white;
	padding: 4px;
}

.ninhanhpro {
	background-color: #0099FF;
	color: white;
	background-image: url('./images/lananh.gif');
	padding: 4px;
}

.row2 {
	background-color: white;
	padding: 4px;
}

.row3 {
	background-color: #00CCFF;
	padding: 4px;
}

.spacer {
	background-color: #0099FF;
}

hr {
	height: 1px;
	border-width: 0;
	background-color: #D1D7DC;
	color: #D1D7DC;
}

.legend {
	text-align:center;
	margin: 0 auto;
}

/* Links
 ------------ */
a:link {
	color: #0099FF;
	text-decoration: none;
}

a:active,
a:visited {
	color: #0099FF;
	text-decoration: none;
}

a:hover {
	color: #CC99FF;
	text-decoration: underline;
	
}

a.forumlink {
	color: #0099FF;
	font-weight: bold;
	font-family: Tahoma, Helvetica, Arial, sans-serif;
	font-size: 1.2em;
}

a.ninhanh {
	color: #0033FF;
	font-family: Tahoma, Helvetica, Arial, sans-serif;
}

a.forumlink.unread, a.topictitle.unread, a.unread {
	color: #D46400;
}
	
a.topictitle {
	margin: 1px 0;
	font-family: Tahoma, Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.2em;
}

a.topictitle:visited {
	color: #0099FF;
}

th a,
th a:visited {
	color: #FFFFFF !important;
	text-decoration: none;
}

th a:hover {
	color: #93CE6F;
	text-decoration: underline;
}


/* Form Elements
 ------------ */
form {
	margin: 0;
	padding: 0;
	border: 0;
}

input {
	color: #333333;
	font-family: Tahoma, Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	padding: 1px;
	border: 1px solid black;
	background-color: white;
}

textarea {
	background-color: white;
	color: black;
	font-family: Tahoma, "Trebuchet MS", Helvetica, Arial, sans-serif;
	font-size: 1.2em;
	line-height: 1.4em;
	font-weight: normal;
	border: 1px solid #A9B8C2;
	padding: 2px;
}

select {
	color: #333333;
	background-color: #FAFAFA;
	font-family: Tahoma, Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	border: 1px solid #A9B8C2;
	padding: 1px;
}

option {
	padding: 0 1em 0 0;
}

option.disabled-option {
	color: graytext;
}

.rtl option {
	padding: 0 0 0 1em;
}

input.radio {
	border: none;
	background-color: transparent;
}

.post {
	background-color: white;
	border-style: solid;
	border-width: 1px;
	border-color: black;
}

.btnbbcode {
	color: #000000;
	font-weight: normal;
	font-size: 1.1em;
	font-family: Tahoma, Verdana, Helvetica, sans-serif;
	background-color: white;
	border: 1px solid black;
}

.btnmain {
	font-weight: bold;
	background-color: white;
	border: 1px solid black;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnlite {
	font-weight: normal;
	background-color: white;
	border: 1px solid black;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnfile {
	font-weight: normal;
	background-color: white;
	border: 1px solid black;
	padding: 1px 5px;
	font-size: 1.1em;
}

.helpline {
	background-color: white;
	border-style: none;
}


/* BBCode
 ------------ */
.quotetitle, .attachtitle {
	margin: 10px 5px 0 5px;
	padding: 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #42AA10;
	color: white;
	background-color: #0099FF;
	font-size: 0.85em;
	font-weight: bold;
}

.quotetitle .quotetitle {
	font-size: 1em;
}

.quotecontent, .attachcontent {
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #42AA10;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 1em;
	line-height: 1.4em;
	font-family: Tahoma, "Trebuchet MS", Helvetica, Arial, sans-serif;
	background-color: white;
	color: black;
}

.attachcontent {
	font-size: 0.85em;
}

.codetitle {
	margin: 10px 5px 0 5px;
	padding: 2px 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #42AA10;
	color: white;
	background-color: #0099FF;
	font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif;
	font-size: 0.8em;
}

.codecontent {
	direction: ltr;
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #42AA10;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	color: black;
	font-size: 0.85em;
	font-family: Tahoma, Monaco, 'Courier New', monospace;
	background-color: white;
}

.unhidetitle {
	color: white;
	margin: 10px 5px 0 5px;
	padding: 2px 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #A9B8C2;
	background-color: #0099FF;
	font-size: 0.9em;
}

.hidetitle {
	margin: 10px 5px 0 5px;
	padding: 2px 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #A9B8C2;
	color: white;
	background-color: #0099FF;
	font-size: 0.9em;
}

.hidecontent {
	direction: ltr;
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #A9B8C2;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 0.85em;
	background-color: #FAFAFA;
}
.syntaxbg {
	color: #FFFFFF;
}

.syntaxcomment {
	color: #FF8000;
}

.syntaxdefault {
	color: #0000BB;
}

.syntaxhtml {
	color: #000000;
}

.syntaxkeyword {
	color: #007700;
}

.syntaxstring {
	color: #DD0000;
}


/* Private messages
 ------------------ */
.pm_marked_colour {
	background-color: #000000;
}

.pm_replied_colour {
	background-color: #A9B8C2;
}

.pm_friend_colour {
	background-color: #007700;
}

.pm_foe_colour {
	background-color: #DD0000;
}


/* Misc
 ------------ */
img {
	border: none;
}

.sep {
	color: black;
	background-color: #FFA34F;
}

table.colortable td {
	padding: 0;
}

pre {
	font-size: 1.1em;
	font-family: Tahoma, Monaco, 'Courier New', monospace;
}

.nowrap {
	white-space: nowrap;
}

.username-coloured {
	font-weight: bold;
}

/* Topic Colors
 ------------ */
.announce {
	background-color: #48D1CC;
	padding: 0 10px;
	margin: 10px 0;
}

.global {
	background-color: #00FF33;
	padding: 0 10px;
	margin: 10px 0;
}
.sticky {
	background-color: #FFFF66;
	padding: 0 10px;
	margin: 10px 0;
}

.reported {
	background-color: #FA8072;
	padding: 0 10px;
	margin: 10px 0;
}

/* Styles for Topic Preview MOD */
.topicpreview {
   z-index: 999;
   position: absolute;
   display: none;
   font-size: 12px;
   width: 400px;
   padding: 2px 5px;
   background-color: #FFFFFF;
   border: 1px solid #3333EE;
   overflow: hidden;
}
.tpfooter {
	font-weight: bold;
	width: 100%;
	border-top: 1px dotted #3333EE;
	margin-top: 2px;
	padding-top: 2px;
}
/* Animate Digits IP Tracking Counter */
td.counter {
	padding: 0;
}
.latest-posts {
	border: 1px solid #A9B8C2;
	margin-bottom: 10px;
	width:100%;
}

.latest-posts tr td {
	padding:0;
	padding-right: 1px;
}

.latest-posts td.hdrrow {
	color: #9933FF;
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #FFFFFF;
	font-size: 1.0em;
	font-weight: bold;
	white-space: nowrap;
}

.latest-posts ul {
	color: #0099FF;
	padding-left: 3px;
	padding-bottom: 3px;
}

.latest-posts ul li.row {
	padding-top: 3px;
	font-size: 1.1em;
	white-space: nowrap;
}

.latest-posts li.row:hover { background-color: #FFFFFF; }

.subforum.read { 
background: url(../imageset/icon_post_target.gif) center left no-repeat; 
padding-left: 12px; 
}
 
.subforum.unread { 
background: url(../imageset/icon_post_target_unread.gif) center left no-repeat; 
padding-left: 12px; 
}

a:hover
{
text-decoration: underline;
color: #CC66FF;
background: url(http://i10.glitter-graphics.org/pub/7/7300hpyshmxute.gif);
background-position: bottom bottom;
position: relative;
top: 2px;
}

.postinfo {
    border-top: solid 0px #cccccc;
    border-left: solid 1px #0099FF;
    border-right: solid 0px #cccccc;
    border-bottom: solid 1px #0099FF;
    margin: 0px 0px;
    padding: 1px;
    color: #000000;
    background: #FFFFFF;
    font-size: 11px;
    width: 220px;
}
Thanks you again ;)
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible

User avatar
Raimon
Former Team Member
Posts: 12088
Joined: Tue May 30, 2006 5:31 pm
Location: Netherlands
Name: Raimon Meuldijk
Contact:

Re: Subsilver2 Code Tag

Post by Raimon »

autinhyeu wrote:Sorry, i use that overall_header.html, but it dont work :|
Thanks
Did you refresh your template ( acp -> styles -> templates -> refresh ) ?

bbcode.html

Code: Select all

    <!-- BEGIN ulist_open --><ul style="list-style-type: {LIST_TYPE}"><!-- END ulist_open -->
    <!-- BEGIN ulist_open_default --><ul><!-- END ulist_open_default -->
    <!-- BEGIN ulist_close --></ul><!-- END ulist_close -->

    <!-- BEGIN olist_open --><ol style="list-style-type: {LIST_TYPE}"><!-- END olist_open -->
    <!-- BEGIN olist_close --></ol><!-- END olist_close -->

    <!-- BEGIN listitem --><li><!-- END listitem -->
    <!-- BEGIN listitem_close --></li><!-- END listitem_close -->

    <!-- BEGIN quote_username_open -->
    <div class="quotetitle">{USERNAME} {L_WROTE}:</div><div class="quotecontent">
    <!-- END quote_username_open -->

    <!-- BEGIN quote_open -->
    <div class="quotetitle"><b>{L_QUOTE}:</b></div><div class="quotecontent">
    <!-- END quote_open -->

    <!-- BEGIN quote_close -->
    </div>
    <!-- END quote_close -->

<!-- BEGIN code_open -->
<div class="codetitle"><b>{L_CODE}:</b> <a href="#" onclick="selectCode(this); return false;">{L_SELECT_ALL_CODE}</a></div><div class="codecontent"><code>
<!-- END code_open -->

<!-- BEGIN code_close -->
</code></div>
<!-- END code_close -->

<!-- BEGIN code_hidden -->{L_CODE_HIDDEN}<!-- END code_hidden -->

    <!-- BEGIN inline_attachment_open -->
    <div class="attachtitle">{L_ATTACHMENT}:</div><div class="attachcontent">
    <!-- END inline_attachment_open -->

    <!-- BEGIN inline_attachment_close -->
    </div>
    <!-- END inline_attachment_close -->


    <!-- BEGIN b_open --><strong><!-- END b_open -->
    <!-- BEGIN b_close --></strong><!-- END b_close -->

    <!-- BEGIN u_open --><span style="text-decoration: underline"><!-- END u_open -->
    <!-- BEGIN u_close --></span><!-- END u_close -->

    <!-- BEGIN i_open --><em><!-- END i_open -->
    <!-- BEGIN i_close --></em><!-- END i_close -->

    <!-- BEGIN color --><span style="color: {COLOR}">{TEXT}</span><!-- END color -->

    <!-- BEGIN size --><span style="font-size: {SIZE}%; line-height: normal">{TEXT}</span><!-- END size -->

    <!-- BEGIN img --><center><img src="{URL}" alt="{L_IMAGE}" /></center><!-- END img -->

    <!-- BEGIN url --><a href="{URL}" class="postlink">{DESCRIPTION}</a><!-- END url -->

    <!-- BEGIN email --><a href="mailto:{EMAIL}">{DESCRIPTION}</a><!-- END email -->

    <!-- BEGIN flash -->
       <object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="{WIDTH}" height="{HEIGHT}">
          <param name="movie" value="{URL}" />
          <param name="play" value="false" />
          <param name="loop" value="false" />
          <param name="quality" value="high" />
          <param name="allowScriptAccess" value="never" />
          <param name="allowNetworking" value="internal" />
          <embed src="{URL}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="{WIDTH}" height="{HEIGHT}" play="false" loop="false" quality="high" allowscriptaccess="never" allownetworking="internal"></embed>
       </object>
    <!-- END flash -->
    <!-- BEGIN unhide_open -->
    <div class="unhidetitle"><b>{L_MESSAGE_UNHIDE}:</b></div><div class="hidecontent">
    <!-- END unhide_open -->
    <!-- BEGIN unhide_close -->
    </div>
    <!-- END unhide_close -->

    <!-- BEGIN hide -->
    <div class="hidetitle"><b>{L_MESSAGE_HIDDEN}:</b></div><div class="hidecontent">{L_MESSAGE_HIDDEN_DESCRIPTION}</div>
    <!-- END hide -->
stylesheet.css

Code: Select all

    /*  phpBB 3.0 Style Sheet
        --------------------------------------------------------------
       Style name:      Autinhyeu
       Based on style:   subSilver (the default phpBB 2 style)
       Original author:   subBlue ( http://www.subBlue.com/ )
       Modified by:   Autinhyeu (http://www.autinhyeu.com)

        --------------------------------------------------------------
    */

    /* Layout
    ------------ */
    * {
       /* Reset browsers default margin, padding and font sizes */
       margin: 0;
       padding: 0;
    }

    html {
       font-size: 100%;
    }

    body {
       /* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
       font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif;
       color: black;
       background-color: #BDBEBD;
       font-size: 8pt; /* This sets the default font size to be equivalent to 10px */
       margin: 0 auto;
       padding: 50;
       background-image: url('./images/bg.gif');
        background-attachment:fixed;   
    }

    #wrapheader {
       min-height: 120px;
       height: auto !important;
       
    /*   background-image: url('./images/background.gif');
       background-repeat: repeat-x;*/
    /*   padding: 0 25px 15px 25px;*/
       padding: 0px 5px 0px 5px;
       width: 90%;
       margin: 0 auto;
       background-color: white;
       background-image: url('./images/h2tlogo.gif') no-repeat;
       
    }

    #ninhlananh {
       min-height: 2px;
       height: auto !important;
       
    /*   background-image: url('./images/background.gif');
       background-repeat: repeat-x;*/
    /*   padding: 0 25px 15px 25px;*/
       width: 90%;
       margin: 0 auto;
       padding: 5px 5px 0 5px;
       background-color: white;
    }

    #wrapcentre {
       margin: 0 auto;
       width: 90%;
       padding: 0 5px 0 5px;
       background-color: white;
    }

    #wrapfooter {
       text-align: center;
       clear: both;
       margin: 0 auto;
       width: 90%;
       padding: 0 5px 0 5px;
       background-color: white;
    }

    #wrapnav {
       width: 90%;
       padding: 0 5px 0 5px;
       margin: 0 auto;
       background-color: white;
       border-width: 1px;
       border-style: solid;
       border-color: #A9B8C2;
       
    }

    #logodesc {
       margin-bottom: 5px;
       padding: 5px 25px;
       background: #FFFFFF;
       border-bottom: 1px solid #4787A7;
    }

    #menubar {
       margin: 0 25px;
    }

    #menubottom {
       margin: 0 25px;
    }

    #datebar {
       margin: 10px 25px 0 25px;
    }

    #findbar {
       width: 100%;
       margin: 0;
       padding: 0;
       border: 0;
    }

    .forumrules {
       background-color: #F9CC79;
       border-width: 1px;
       border-style: solid;
       border-color: #BB9860;
       padding: 4px;
       font-weight: normal;
       font-size: 1.1em;
       font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    }

    .forumrules h3 {
       color: red;
    }

    #pageheader { }
    #pagecontent { }
    #pagefooter { }

    #poll { }
    #postrow { }
    #postdata { }


    /*  Text
    --------------------- */
    h1 {
       color: black;
       font-family: Tahoma, "Trebuchet MS", Verdana, sans-serif;
       font-weight: bold;
       font-size: 1.8em;
       text-decoration: none;
    }

    h2 {
       font-family: Tahoma, Arial, Helvetica, sans-serif;
       font-weight: bold;
       font-size: 1.5em;
       text-decoration: none;
       line-height: 120%;
    }

    h3 {
       font-size: 1.3em;
       font-weight: bold;
       font-family: Tahoma, Arial, Helvetica, sans-serif;
       line-height: 120%;
    }

    h4 {
       margin: 0;
       font-size: 1.1em;
       font-weight: bold;
    }

    p {
       font-size: 1.1em;
    }

    p.moderators {
       margin: 0;
       float: left;
       color: black;
       font-weight: bold;
    }

    .rtl p.moderators {
       float: right;
    }

    p.linkmcp {
       margin: 0;
       float: right;
       white-space: nowrap;
    }

    .rtl p.linkmcp {
       float: left;
    }

    .redbar {
       margin: 0;
       text-align:center;
       font-weight: bold;
       font-size: 1.1em;
    }
    p.breadcrumbs {
       margin: 0;
       float: left;
       color: black;
       font-weight: bold;
       white-space: normal;
       font-size: 1em;
    }

    .rtl p.breadcrumbs {
       float: right;
    }

    p.datetime {
       margin: 0;
       float: right;
       white-space: nowrap;
       font-size: 1em;
    }

    .rtl p.datetime {
       float: left;
    }

    p.searchbar {
       padding: 2px 0;
       white-space: nowrap;
    }

    p.searchbarreg {
       margin: 0;
       float: right;
       white-space: nowrap;
    }

    .rtl p.searchbarreg {
       float: left;
    }

    p.forumdesc {
       padding-bottom: 4px;
    }

    p.topicauthor {
       margin: 1px 0;
    }

    p.topicdetails {
       margin: 1px 0;
    }

    .postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active {
       margin: 1px 0;
       color: red;
       font-weight:bold;
    }

    .postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active {
       color: #0099FF;
       font-weight:bold;
    }

    .postapprove img, .postreported img {
       vertical-align: bottom;
    }

    .postauthor {
       color: #000000;
    }

    .postdetails {
       color: #000000;
    }

    .postbody {
       font-size: 1.2em;
       line-height: 1.4em;
       font-family: Tahoma, "Trebuchet MS", Helvetica, Arial, sans-serif;
    }

    .postbody li, ol, ul {
       margin: 0 0 0 1.5em;
    }

    .rtl .postbody li, .rtl ol, .rtl ul {
       margin: 0 1.5em 0 0;
    }

    .posthilit {
       background-color: yellow;
    }

    .nav {
       margin: 0;
       color: black;
       font-weight: bold;
    }

    .pagination {
       padding: 4px;
       color: black;
       font-size: 1em;
       font-weight: bold;
    }

    .cattitle {

    }

    .gen {
       margin: 1px 1px;
       font-size: 1.2em;
    }

    .genmed {
       margin: 1px 1px;
       font-size: 1.1em;
    }

    .gensmall {
       margin: 1px 1px;
       font-size: 1em;
    }

    .copyright {
       color: black;
       font-weight: normal;
       font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    }

    .titles {
       font-family: Tahoma, Helvetica, Arial, sans-serif;
       font-weight: bold;
       font-size: 1.3em;
       text-decoration: none;
    }

    .error {
       color: red;
    }


    /* Tables
    ------------ */
    th {
       color: #FFFFFF;
       background-color: #0099FF;
       background-image: url('./images/cellpic3.gif');
       height: 25px;
       white-space: nowrap;
       padding: 4px 5px;
    }

    td {
       padding: 2px;
    }
    td.profile {
       padding: 4px;
    }

    .tablebg {
       background-color: #D3D8DB;
       color: #000000;
    }

    .catdiv {
       height: 28px;
       margin: 0;
       padding: 0;
       border: 0;
       background: white url('./images/cellpic2.jpg') repeat-y scroll top left;
    }
    .rtl .catdiv {
       background: white url('./images/cellpic2_rtl.jpg') repeat-y scroll top right;
    }

    .cat {
       color: #000099;
       height: 28px;
       margin: 0;
       padding: 0;
       border: 0;
       background-color: #C7D0D7;
       background-image: url('./images/cellpic1.gif');
       text-indent: 4px;
    }

    .na {
       color: black;
       height: 28px;
       margin: 0;
       padding: 0;
       border: 0;
       background-color: #C7D0D7;
       background-image: url('./images/cellpic1.gif');
       text-indent: 4px;
    }

    .row1 {
       background-color: white;
       padding: 4px;
    }

    .ninhanhpro {
       background-color: #0099FF;
       color: white;
       background-image: url('./images/lananh.gif');
       padding: 4px;
    }

    .row2 {
       background-color: white;
       padding: 4px;
    }

    .row3 {
       background-color: #00CCFF;
       padding: 4px;
    }

    .spacer {
       background-color: #0099FF;
    }

    hr {
       height: 1px;
       border-width: 0;
       background-color: #D1D7DC;
       color: #D1D7DC;
    }

    .legend {
       text-align:center;
       margin: 0 auto;
    }

    /* Links
    ------------ */
    a:link {
       color: #0099FF;
       text-decoration: none;
    }

    a:active,
    a:visited {
       color: #0099FF;
       text-decoration: none;
    }

    a:hover {
       color: #CC99FF;
       text-decoration: underline;
       
    }

    a.forumlink {
       color: #0099FF;
       font-weight: bold;
       font-family: Tahoma, Helvetica, Arial, sans-serif;
       font-size: 1.2em;
    }

    a.ninhanh {
       color: #0033FF;
       font-family: Tahoma, Helvetica, Arial, sans-serif;
    }

    a.forumlink.unread, a.topictitle.unread, a.unread {
       color: #D46400;
    }
       
    a.topictitle {
       margin: 1px 0;
       font-family: Tahoma, Helvetica, Arial, sans-serif;
       font-weight: bold;
       font-size: 1.2em;
    }

    a.topictitle:visited {
       color: #0099FF;
    }

    th a,
    th a:visited {
       color: #FFFFFF !important;
       text-decoration: none;
    }

    th a:hover {
       color: #93CE6F;
       text-decoration: underline;
    }


    /* Form Elements
    ------------ */
    form {
       margin: 0;
       padding: 0;
       border: 0;
    }

    input {
       color: #333333;
       font-family: Tahoma, Verdana, Helvetica, sans-serif;
       font-size: 1.1em;
       font-weight: normal;
       padding: 1px;
       border: 1px solid black;
       background-color: white;
    }

    textarea {
       background-color: white;
       color: black;
       font-family: Tahoma, "Trebuchet MS", Helvetica, Arial, sans-serif;
       font-size: 1.2em;
       line-height: 1.4em;
       font-weight: normal;
       border: 1px solid #A9B8C2;
       padding: 2px;
    }

    select {
       color: #333333;
       background-color: #FAFAFA;
       font-family: Tahoma, Verdana, Helvetica, sans-serif;
       font-size: 1.1em;
       font-weight: normal;
       border: 1px solid #A9B8C2;
       padding: 1px;
    }

    option {
       padding: 0 1em 0 0;
    }

    option.disabled-option {
       color: graytext;
    }

    .rtl option {
       padding: 0 0 0 1em;
    }

    input.radio {
       border: none;
       background-color: transparent;
    }

    .post {
       background-color: white;
       border-style: solid;
       border-width: 1px;
       border-color: black;
    }

    .btnbbcode {
       color: #000000;
       font-weight: normal;
       font-size: 1.1em;
       font-family: Tahoma, Verdana, Helvetica, sans-serif;
       background-color: white;
       border: 1px solid black;
    }

    .btnmain {
       font-weight: bold;
       background-color: white;
       border: 1px solid black;
       cursor: pointer;
       padding: 1px 5px;
       font-size: 1.1em;
    }

    .btnlite {
       font-weight: normal;
       background-color: white;
       border: 1px solid black;
       cursor: pointer;
       padding: 1px 5px;
       font-size: 1.1em;
    }

    .btnfile {
       font-weight: normal;
       background-color: white;
       border: 1px solid black;
       padding: 1px 5px;
       font-size: 1.1em;
    }

    .helpline {
       background-color: white;
       border-style: none;
    }


    /* BBCode
    ------------ */
    .quotetitle, .attachtitle {
       margin: 10px 5px 0 5px;
       padding: 4px;
       border-width: 1px 1px 0 1px;
       border-style: solid;
       border-color: #42AA10;
       color: white;
       background-color: #0099FF;
       font-size: 0.85em;
       font-weight: bold;
    }

    .quotetitle .quotetitle {
       font-size: 1em;
    }

    .quotecontent, .attachcontent {
       margin: 0 5px 10px 5px;
       padding: 5px;
       border-color: #42AA10;
       border-width: 0 1px 1px 1px;
       border-style: solid;
       font-weight: normal;
       font-size: 1em;
       line-height: 1.4em;
       font-family: Tahoma, "Trebuchet MS", Helvetica, Arial, sans-serif;
       background-color: white;
       color: black;
    }

    .attachcontent {
       font-size: 0.85em;
    }

    .codetitle {
       margin: 10px 5px 0 5px;
       padding: 2px 4px;
       border-width: 1px 1px 0 1px;
       border-style: solid;
       border-color: #42AA10;
       color: white;
       background-color: #0099FF;
       font-family: Tahoma, Verdana, Helvetica, Arial, sans-serif;
       font-size: 0.8em;
    }

    .codecontent {
    overflow: auto;
       display: block;
       height: auto;
       max-height: 200px;
       white-space: normal;
       margin: 0 5px 10px 5px;
       padding: 5px;
       border-color: #A9B8C2;
       border-width: 0 1px 1px 1px;
       border-style: solid;
       font-weight: normal;
       color: #006600;
       font-size: 0.85em;
       font-family: Monaco, 'Courier New', monospace;
       background-color: #FAFAFA;
    }

    .unhidetitle {
       color: white;
       margin: 10px 5px 0 5px;
       padding: 2px 4px;
       border-width: 1px 1px 0 1px;
       border-style: solid;
       border-color: #A9B8C2;
       background-color: #0099FF;
       font-size: 0.9em;
    }

    .hidetitle {
       margin: 10px 5px 0 5px;
       padding: 2px 4px;
       border-width: 1px 1px 0 1px;
       border-style: solid;
       border-color: #A9B8C2;
       color: white;
       background-color: #0099FF;
       font-size: 0.9em;
    }

    .hidecontent {
       direction: ltr;
       margin: 0 5px 10px 5px;
       padding: 5px;
       border-color: #A9B8C2;
       border-width: 0 1px 1px 1px;
       border-style: solid;
       font-weight: normal;
       font-size: 0.85em;
       background-color: #FAFAFA;
    }
    .syntaxbg {
       color: #FFFFFF;
    }

    .syntaxcomment {
       color: #FF8000;
    }

    .syntaxdefault {
       color: #0000BB;
    }

    .syntaxhtml {
       color: #000000;
    }

    .syntaxkeyword {
       color: #007700;
    }

    .syntaxstring {
       color: #DD0000;
    }


    /* Private messages
    ------------------ */
    .pm_marked_colour {
       background-color: #000000;
    }

    .pm_replied_colour {
       background-color: #A9B8C2;
    }

    .pm_friend_colour {
       background-color: #007700;
    }

    .pm_foe_colour {
       background-color: #DD0000;
    }


    /* Misc
    ------------ */
    img {
       border: none;
    }

    .sep {
       color: black;
       background-color: #FFA34F;
    }

    table.colortable td {
       padding: 0;
    }

    pre {
       font-size: 1.1em;
       font-family: Tahoma, Monaco, 'Courier New', monospace;
    }

    .nowrap {
       white-space: nowrap;
    }

    .username-coloured {
       font-weight: bold;
    }

    /* Topic Colors
    ------------ */
    .announce {
       background-color: #48D1CC;
       padding: 0 10px;
       margin: 10px 0;
    }

    .global {
       background-color: #00FF33;
       padding: 0 10px;
       margin: 10px 0;
    }
    .sticky {
       background-color: #FFFF66;
       padding: 0 10px;
       margin: 10px 0;
    }

    .reported {
       background-color: #FA8072;
       padding: 0 10px;
       margin: 10px 0;
    }

    /* Styles for Topic Preview MOD */
    .topicpreview {
       z-index: 999;
       position: absolute;
       display: none;
       font-size: 12px;
       width: 400px;
       padding: 2px 5px;
       background-color: #FFFFFF;
       border: 1px solid #3333EE;
       overflow: hidden;
    }
    .tpfooter {
       font-weight: bold;
       width: 100%;
       border-top: 1px dotted #3333EE;
       margin-top: 2px;
       padding-top: 2px;
    }
    /* Animate Digits IP Tracking Counter */
    td.counter {
       padding: 0;
    }
    .latest-posts {
       border: 1px solid #A9B8C2;
       margin-bottom: 10px;
       width:100%;
    }

    .latest-posts tr td {
       padding:0;
       padding-right: 1px;
    }

    .latest-posts td.hdrrow {
       color: #9933FF;
       height: 28px;
       margin: 0;
       padding: 0;
       border: 0;
       background-color: #FFFFFF;
       font-size: 1.0em;
       font-weight: bold;
       white-space: nowrap;
    }

    .latest-posts ul {
       color: #0099FF;
       padding-left: 3px;
       padding-bottom: 3px;
    }

    .latest-posts ul li.row {
       padding-top: 3px;
       font-size: 1.1em;
       white-space: nowrap;
    }

    .latest-posts li.row:hover { background-color: #FFFFFF; }

    .subforum.read {
    background: url(../imageset/icon_post_target.gif) center left no-repeat;
    padding-left: 12px;
    }

    .subforum.unread {
    background: url(../imageset/icon_post_target_unread.gif) center left no-repeat;
    padding-left: 12px;
    }

    a:hover
    {
    text-decoration: underline;
    color: #CC66FF;
    background: url(http://i10.glitter-graphics.org/pub/7/7300hpyshmxute.gif);
    background-position: bottom bottom;
    position: relative;
    top: 2px;
    }

    .postinfo {
        border-top: solid 0px #cccccc;
        border-left: solid 1px #0099FF;
        border-right: solid 0px #cccccc;
        border-bottom: solid 1px #0099FF;
        margin: 0px 0px;
        padding: 1px;
        color: #000000;
        background: #FFFFFF;
        font-size: 11px;
        width: 220px;
    }
Need phpBB installation, extenstions, Styles or integrate phpBB with you website?
Contact me for fair prices and good service!

autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: Subsilver2 Code Tag

Post by autinhyeu »

Thanks you, i will try ;)
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible

lucp
Registered User
Posts: 28
Joined: Mon Aug 30, 2004 11:47 am

Re: Subsilver2 Code Tag

Post by lucp »

If you have 2 Code-tags in your posting, and when you click on the 2nd "Select all" link, the 1st Code-block is selected. Is there a solution for this?

User avatar
Raimon
Former Team Member
Posts: 12088
Joined: Tue May 30, 2006 5:31 pm
Location: Netherlands
Name: Raimon Meuldijk
Contact:

Re: Subsilver2 Code Tag

Post by Raimon »

Just following the edits that i have posted here ; http://www.phpbb.com/community/viewtopi ... 5#p6866755 .
Need phpBB installation, extenstions, Styles or integrate phpBB with you website?
Contact me for fair prices and good service!

lucp
Registered User
Posts: 28
Joined: Mon Aug 30, 2004 11:47 am

Re: Subsilver2 Code Tag

Post by lucp »

Thx for your prompt reply!

autinhyeu
Registered User
Posts: 685
Joined: Mon Apr 14, 2008 6:34 am
Location: Vietnamese
Contact:

Re: Subsilver2 Code Tag

Post by autinhyeu »

Thanks Raimon ;)
It have worked in my board ^^!
phpBB Community in Vietnamese: http://www.phpbbvn.com

Sorry, my English language is fine impossible

swatquest
Registered User
Posts: 30
Joined: Tue Jun 08, 2004 8:34 pm

Re: Subsilver2 Code Tag

Post by swatquest »

Thanks

ningenin
Registered User
Posts: 3
Joined: Fri Oct 10, 2008 11:40 am

Re: Subsilver2 Code Tag

Post by ningenin »

I tried and retried and this didn't work, when you click on select all, it goes up in the page and selects nothing.
You can see it here http://gentealpedo.co.cc/foros/viewtopic.php?f=55&t=45

Can someone help me? Thanks!
Image

Locked

Return to “[3.0.x] Styles Support & Discussion”