diff options
Diffstat (limited to 'phpBB/styles/subsilver2')
7 files changed, 27 insertions, 19 deletions
diff --git a/phpBB/styles/subsilver2/template/attachment.html b/phpBB/styles/subsilver2/template/attachment.html index d54994fe67..833bd4d55f 100644 --- a/phpBB/styles/subsilver2/template/attachment.html +++ b/phpBB/styles/subsilver2/template/attachment.html @@ -58,13 +58,13 @@  		<!-- ELSEIF _file.S_FLASH_FILE -->  			<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="{_file.WIDTH}" height="{_file.HEIGHT}"> -				<param name="movie" value="{_file.U_DOWNLOAD_LINK}" /> +				<param name="movie" value="{_file.U_VIEW_LINK}" />  				<param name="play" value="true" />  				<param name="loop" value="true" />  				<param name="quality" value="high" />  				<param name="allowScriptAccess" value="never" />  				<param name="allowNetworking" value="internal" /> -				<embed src="{_file.U_DOWNLOAD_LINK}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="{_file.WIDTH}" height="{_file.HEIGHT}" play="true" loop="true" quality="high" allowscriptaccess="never" allownetworking="internal"></embed> +				<embed src="{_file.U_VIEW_LINK}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="{_file.WIDTH}" height="{_file.HEIGHT}" play="true" loop="true" quality="high" allowscriptaccess="never" allownetworking="internal"></embed>  			</object>  		<!-- ELSEIF _file.S_QUICKTIME_FILE -->  			<object id="qtstream_{_file.ATTACH_ID}" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0" width="0" height="16"> diff --git a/phpBB/styles/subsilver2/template/editor.js b/phpBB/styles/subsilver2/template/editor.js index 54bd3450d0..cd22812bab 100644 --- a/phpBB/styles/subsilver2/template/editor.js +++ b/phpBB/styles/subsilver2/template/editor.js @@ -202,6 +202,12 @@ function addquote(post_id, username, l_wrote)  	var theSelection = '';  	var divarea = false; +	if (l_wrote === undefined) +	{ +		// Backwards compatibility +		l_wrote = 'wrote'; +	} +  	if (document.all)  	{  		divarea = document.all[message_name]; @@ -234,6 +240,7 @@ function addquote(post_id, username, l_wrote)  			theSelection = theSelection.replace(/<\;/ig, '<');  			theSelection = theSelection.replace(/>\;/ig, '>');  			theSelection = theSelection.replace(/&\;/ig, '&'); +			theSelection = theSelection.replace(/ \;/ig, ' ');  		}  		else if (document.all)  		{ @@ -381,8 +388,8 @@ function colorPalette(dir, width, height)  			for (b = 0; b < 5; b++)  			{  				color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]); -				document.write('<td bgcolor="#' + color + '">'); -				document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;" onmouseover="helpline(\'s\');"  onmouseout="helpline(\'tip\');"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>'); +				document.write('<td bgcolor="#' + color + '" style="width: ' + width + 'px; height: ' + height + 'px;">'); +				document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>');  				document.writeln('</td>');  			} diff --git a/phpBB/styles/subsilver2/template/index_body.html b/phpBB/styles/subsilver2/template/index_body.html index 863e4f7bee..8faf76e9ee 100644 --- a/phpBB/styles/subsilver2/template/index_body.html +++ b/phpBB/styles/subsilver2/template/index_body.html @@ -89,11 +89,11 @@  <table class="legend">  <tr> -	<td width="20" align="center">{FORUM_NEW_IMG}</td> -	<td><span class="gensmall">{L_NEW_POSTS}</span></td> +	<td width="20" align="center">{FORUM_UNREAD_IMG}</td> +	<td><span class="gensmall">{L_UNREAD_POSTS}</span></td>  	<td>  </td>  	<td width="20" align="center">{FORUM_IMG}</td> -	<td><span class="gensmall">{L_NO_NEW_POSTS}</span></td> +	<td><span class="gensmall">{L_NO_UNREAD_POSTS}</span></td>  	<td>  </td>  	<td width="20" align="center">{FORUM_LOCKED_IMG}</td>  	<td><span class="gensmall">{L_FORUM_LOCKED}</span></td> diff --git a/phpBB/styles/subsilver2/template/posting_buttons.html b/phpBB/styles/subsilver2/template/posting_buttons.html index 0aab79b7aa..2fff9c1991 100644 --- a/phpBB/styles/subsilver2/template/posting_buttons.html +++ b/phpBB/styles/subsilver2/template/posting_buttons.html @@ -19,6 +19,7 @@  			o: '{LA_BBCODE_O_HELP}',  			p: '{LA_BBCODE_P_HELP}',  			w: '{LA_BBCODE_W_HELP}', +			a: '{LA_BBCODE_A_HELP}',  			s: '{LA_BBCODE_S_HELP}',  			f: '{LA_BBCODE_F_HELP}',  			e: '{LA_BBCODE_E_HELP}', diff --git a/phpBB/styles/subsilver2/template/posting_topic_review.html b/phpBB/styles/subsilver2/template/posting_topic_review.html index 5456ad09b6..54bbf6e553 100644 --- a/phpBB/styles/subsilver2/template/posting_topic_review.html +++ b/phpBB/styles/subsilver2/template/posting_topic_review.html @@ -36,7 +36,7 @@  						<td> </td>  						<td class="gensmall" valign="middle" nowrap="nowrap"><b>{L_POST_SUBJECT}:</b> </td>  						<td class="gensmall" width="100%" valign="middle">{topic_review_row.POST_SUBJECT}</td> -						<td valign="top" nowrap="nowrap"> <!-- IF topic_review_row.POSTER_QUOTE and topic_review_row.DECODED_MESSAGE --><a href="#" onclick="addquote({topic_review_row.POST_ID},'{topic_review_row.POSTER_QUOTE}', '{L_WROTE}'); return false;">{QUOTE_IMG}</a><!-- ENDIF --></td> +						<td valign="top" nowrap="nowrap"> <!-- IF topic_review_row.POSTER_QUOTE and topic_review_row.DECODED_MESSAGE --><a href="#" onclick="addquote({topic_review_row.POST_ID},'{topic_review_row.POSTER_QUOTE}', '{LA_WROTE}'); return false;">{QUOTE_IMG}</a><!-- ENDIF --></td>  					</tr>  					</table>  				</td> diff --git a/phpBB/styles/subsilver2/template/ucp_pm_history.html b/phpBB/styles/subsilver2/template/ucp_pm_history.html index d11822cc39..8754acaaa2 100644 --- a/phpBB/styles/subsilver2/template/ucp_pm_history.html +++ b/phpBB/styles/subsilver2/template/ucp_pm_history.html @@ -6,7 +6,7 @@  <table class="tablebg" width="100%" cellspacing="1">  <tr> -	<th align="center">{L_MESSAGE_HISTORY} - {HISTORY_TITLE}</th> +	<th align="center">{L_MESSAGE_HISTORY}</th>  </tr>  <tr>  	<td class="row1"><div style="overflow: auto; width: 100%; height: 300px;"> @@ -59,7 +59,7 @@  		<!-- IF history_row.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->  			<td class="gensmall"><a href="{history_row.U_VIEW_MESSAGE}">{L_VIEW_PM}</a></td> -			<td><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"> <!-- IF history_row.U_PROFILE --><a href="{history_row.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF history_row.U_EMAIL --><a href="{history_row.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF --> </div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF history_row.U_QUOTE or history_row.MESSAGE_AUTHOR_QUOTE --><a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}', '{L_WROTE}'); return false;"<!-- ENDIF -->>{QUOTE_IMG}</a> <!-- ENDIF --> <!-- IF history_row.U_POST_REPLY_PM --><a href="{history_row.U_POST_REPLY_PM}">{REPLY_IMG}</a><!-- ENDIF --> </div></td> +			<td><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"> <!-- IF history_row.U_PROFILE --><a href="{history_row.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF history_row.U_EMAIL --><a href="{history_row.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF --> </div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF history_row.U_QUOTE or history_row.MESSAGE_AUTHOR_QUOTE --><a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}', '{LA_WROTE}'); return false;"<!-- ENDIF -->>{QUOTE_IMG}</a> <!-- ENDIF --> <!-- IF history_row.U_POST_REPLY_PM --><a href="{history_row.U_POST_REPLY_PM}">{REPLY_IMG}</a><!-- ENDIF --> </div></td>  		</tr>  		<tr>  			<td class="spacer" colspan="2"><img src="images/spacer.gif" alt="" width="1" height="1" /></td> diff --git a/phpBB/styles/subsilver2/template/viewforum_body.html b/phpBB/styles/subsilver2/template/viewforum_body.html index 387a749e24..6511fa5349 100644 --- a/phpBB/styles/subsilver2/template/viewforum_body.html +++ b/phpBB/styles/subsilver2/template/viewforum_body.html @@ -281,31 +281,31 @@  		<td align="{S_CONTENT_FLOW_BEGIN}" valign="top">  			<table cellspacing="3" cellpadding="0" border="0">  			<tr> -				<td width="20" style="text-align: center;">{FOLDER_NEW_IMG}</td> -				<td class="gensmall">{L_NEW_POSTS}</td> +				<td width="20" style="text-align: center;">{FOLDER_UNREAD_IMG}</td> +				<td class="gensmall">{L_UNREAD_POSTS}</td>  				<td>  </td>  				<td width="20" style="text-align: center;">{FOLDER_IMG}</td> -				<td class="gensmall">{L_NO_NEW_POSTS}</td> +				<td class="gensmall">{L_NO_UNREAD_POSTS}</td>  				<td>  </td>  				<td width="20" style="text-align: center;">{FOLDER_ANNOUNCE_IMG}</td>  				<td class="gensmall">{L_ICON_ANNOUNCEMENT}</td>  			</tr>  			<tr> -				<td style="text-align: center;">{FOLDER_HOT_NEW_IMG}</td> -				<td class="gensmall">{L_NEW_POSTS_HOT}</td> +				<td style="text-align: center;">{FOLDER_HOT_UNREAD_IMG}</td> +				<td class="gensmall">{L_UNREAD_POSTS_HOT}</td>  				<td>  </td>  				<td style="text-align: center;">{FOLDER_HOT_IMG}</td> -				<td class="gensmall">{L_NO_NEW_POSTS_HOT}</td> +				<td class="gensmall">{L_NO_UNREAD_POSTS_HOT}</td>  				<td>  </td>  				<td style="text-align: center;">{FOLDER_STICKY_IMG}</td>  				<td class="gensmall">{L_ICON_STICKY}</td>  			</tr>  			<tr> -				<td style="text-align: center;">{FOLDER_LOCKED_NEW_IMG}</td> -				<td class="gensmall">{L_NEW_POSTS_LOCKED}</td> +				<td style="text-align: center;">{FOLDER_LOCKED_UNREAD_IMG}</td> +				<td class="gensmall">{L_UNREAD_POSTS_LOCKED}</td>  				<td>  </td>  				<td style="text-align: center;">{FOLDER_LOCKED_IMG}</td> -				<td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td> +				<td class="gensmall">{L_NO_UNREAD_POSTS_LOCKED}</td>  				<td>  </td>  				<td style="text-align: center;">{FOLDER_MOVED_IMG}</td>  				<td class="gensmall">{L_TOPIC_MOVED}</td>  | 
