diff options
Diffstat (limited to 'phpBB/styles')
24 files changed, 321 insertions, 97 deletions
diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index 1b2b1954ef..a45f750a63 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -434,6 +434,39 @@ function parse_document(container)  	});  	/** +	* Dropdowns +	*/ +	container.find('.dropdown-container').each(function() { +		var $this = $(this), +			trigger = $this.find('.dropdown-trigger:first'), +			contents = $this.find('.dropdown'), +			options = { +				direction: 'auto', +				verticalDirection: 'auto' +			}, +			data; + +		if (!trigger.length) { +			data = $this.attr('data-dropdown-trigger'); +			trigger = data ? $this.children(data) : $this.children('a:first'); +		} + +		if (!contents.length) { +			data = $this.attr('data-dropdown-contents'); +			contents = data ? $this.children(data) : $this.children('div:first'); +		} + +		if (!trigger.length || !contents.length) return; + +		if ($this.hasClass('dropdown-up')) options.verticalDirection = 'up'; +		if ($this.hasClass('dropdown-down')) options.verticalDirection = 'down'; +		if ($this.hasClass('dropdown-left')) options.direction = 'left'; +		if ($this.hasClass('dropdown-right')) options.direction = 'right'; + +		phpbb.registerDropdown(trigger, contents, options); +	}); + +	/**  	* Adjust HTML code for IE8 and older versions		  	*/  	if (oldBrowser) { diff --git a/phpBB/styles/prosilver/template/index_body.html b/phpBB/styles/prosilver/template/index_body.html index 8acc0a8812..bd640fd63f 100644 --- a/phpBB/styles/prosilver/template/index_body.html +++ b/phpBB/styles/prosilver/template/index_body.html @@ -19,6 +19,8 @@  </ul>  <!-- ENDIF --> +<!-- EVENT index_body_forumlist_before --> +  <!-- INCLUDE forumlist_body.html -->  <!-- IF not S_USER_LOGGED_IN and not S_IS_BOT --> diff --git a/phpBB/styles/prosilver/template/overall_footer.html b/phpBB/styles/prosilver/template/overall_footer.html index 6f297660a2..bbffe8dc3d 100644 --- a/phpBB/styles/prosilver/template/overall_footer.html +++ b/phpBB/styles/prosilver/template/overall_footer.html @@ -12,9 +12,6 @@  			</li>  			<!-- IF not S_IS_BOT -->  				<!-- IF U_WATCH_FORUM_LINK --><li class="small-icon icon-<!-- IF S_WATCHING_FORUM -->unsubscribe<!-- ELSE -->subscribe<!-- ENDIF -->"><a href="{U_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}" data-ajax="toggle_link" data-toggle-class="small-icon icon-<!-- IF not S_WATCHING_FORUM -->unsubscribe<!-- ELSE -->subscribe<!-- ENDIF -->" data-toggle-text="{S_WATCH_FORUM_TOGGLE}" data-toggle-url="{U_WATCH_FORUM_TOGGLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF --> -				<!-- IF U_WATCH_TOPIC --><li class="small-icon icon-<!-- IF S_WATCHING_TOPIC -->unsubscribe<!-- ELSE -->subscribe<!-- ENDIF -->"><a href="{U_WATCH_TOPIC}" title="{S_WATCH_TOPIC_TITLE}" data-ajax="toggle_link" data-toggle-class="small-icon icon-<!-- IF not S_WATCHING_TOPIC -->unsubscribe<!-- ELSE -->subscribe<!-- ENDIF -->" data-toggle-text="{S_WATCH_TOPIC_TOGGLE}" data-toggle-url="{U_WATCH_TOPIC_TOGGLE}">{S_WATCH_TOPIC_TITLE}</a></li><!-- ENDIF --> -				<!-- IF U_BOOKMARK_TOPIC --><li class="small-icon icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}" data-ajax="alt_text" data-alt-text="{S_BOOKMARK_TOGGLE}">{S_BOOKMARK_TOPIC}</a></li><!-- ENDIF --> -				<!-- IF U_BUMP_TOPIC --><li class="small-icon icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}" data-ajax="true">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->  			<!-- ENDIF -->  			<li class="rightside">{S_TIMEZONE}</li>  			<!-- IF not S_IS_BOT --><li class="rightside"><a href="{U_DELETE_COOKIES}" data-ajax="true" data-refresh="true">{L_DELETE_COOKIES}</a></li><!-- ENDIF --> diff --git a/phpBB/styles/prosilver/template/plupload.html b/phpBB/styles/prosilver/template/plupload.html index 564c1b5c36..290992ddd6 100644 --- a/phpBB/styles/prosilver/template/plupload.html +++ b/phpBB/styles/prosilver/template/plupload.html @@ -1,31 +1,47 @@ -<script type="text/javascript" src="{T_ASSETS_PATH}/plupload/plupload.js"></script> -<script type="text/javascript" src="{T_ASSETS_PATH}/plupload/plupload.html5.js"></script> -<script type="text/javascript" src="{T_ASSETS_PATH}/plupload/jquery.plupload.queue/jquery.plupload.queue.js"></script> +<script type="text/javascript" src="{T_ASSETS_PATH}/plupload/plupload.full.min.js?assets_version={T_ASSETS_VERSION}"></script> +<script type="text/javascript" src="{T_ASSETS_PATH}/plupload/jquery.plupload.queue/jquery.plupload.queue.min.js?assets_version={T_ASSETS_VERSION}"></script>  <script type="text/javascript">  //<![CDATA[  phpbb.plupload = {  	i18n: { -		'Select files': '{LA_PLUPLOAD_SELECT_FILES}', +		'b': '{LA_BYTES_SHORT}', +		'kb': '{LA_KB}', +		'mb': '{LA_MB}', +		'gb': '{LA_GB}', +		'tb': '{LA_TB}', +		'Add Files': '{LA_PLUPLOAD_ADD_FILES}',  		'Add files to the upload queue and click the start button.': '{LA_PLUPLOAD_ADD_FILES_TO_QUEUE}', -		'Filename': '{LA_PLUPLOAD_FILENAME}', -		'Status': '{LA_PLUPLOAD_STATUS}', -		'Size': '{LA_PLUPLOAD_SIZE}', -		'Add files': '{LA_PLUPLOAD_ADD_FILES}', -		'Stop current upload': '{LA_PLUPLOAD_STOP_CURRENT_UPLOAD}', -		'Start uploading queue': '{LA_PLUPLOAD_START_CURRENT_UPLOAD}', -		'Uploaded %d/%d files': '{LA_PLUPLOAD_UPLOADED}', -		'N/A': '{LA_PLUPLOAD_NOT_APPLICABLE}', +		'Close': '{LA_PLUPLOAD_CLOSE}',  		'Drag files here.': '{LA_PLUPLOAD_DRAG}', +		'Duplicate file error.': '{LA_PLUPLOAD_DUPLICATE_ERROR}', +		'Error: File too large:': '{LA_PLUPLOAD_ERR_FILE_TOO_LARGE}', +		'Error: Invalid file extension:': '{LA_PLUPLOAD_ERR_FILE_INVALID_EXT}', +		'File: %s': '{LA_PLUPLOAD_FILE}', +		'File: %s, size: %d, max file size: %d': '{LA_PLUPLOAD_FILE_DETAILS}', +		'File count error.': '{LA_PLUPLOAD_ERR_FILE_COUNT}',  		'File extension error.': '{LA_PLUPLOAD_EXTENSION_ERROR}',  		'File size error.': '{LA_PLUPLOAD_SIZE_ERROR}', -		'Init error.': '{LA_PLUPLOAD_INIT_ERROR}', -		'HTTP Error.': '{LA_PLUPLOAD_HTTP_ERROR}', -		'Security error.': '{LA_PLUPLOAD_SECURITY_ERROR}', +		'Filename': '{LA_PLUPLOAD_FILENAME}',  		'Generic error.': '{LA_PLUPLOAD_GENERIC_ERROR}', +		'HTTP Error.': '{LA_PLUPLOAD_HTTP_ERROR}', +		'Image format either wrong or not supported.': '{LA_PLUPLOAD_IMAGE_FORMAT}', +		'Init error.': '{LA_PLUPLOAD_INIT_ERROR}',  		'IO error.': '{LA_PLUPLOAD_IO_ERROR}', +		'N/A': '{LA_PLUPLOAD_NOT_APPLICABLE}', +		'Runtime ran out of available memory.': '{LA_PLUPLOAD_ERR_RUNTIME_MEMORY}', +		'Security error.': '{LA_PLUPLOAD_SECURITY_ERROR}', +		'Select files': '{LA_PLUPLOAD_SELECT_FILES}', +		'Size': '{LA_PLUPLOAD_SIZE}', +		'Start Upload': '{LA_PLUPLOAD_START_UPLOAD}', +		'Start uploading queue': '{LA_PLUPLOAD_START_CURRENT_UPLOAD}', +		'Status': '{LA_PLUPLOAD_STATUS}',  		'Stop Upload': '{LA_PLUPLOAD_STOP_UPLOAD}', -		'Start upload': '{LA_PLUPLOAD_START_UPLOAD}', -		'%d files queued': '{LA_PLUPLOAD_FILES_QUEUED}' +		'Stop current upload': '{LA_PLUPLOAD_STOP_CURRENT_UPLOAD}', +		'Upload element accepts only %d file(s) at a time. Extra files were stripped.': '{LA_PLUPLOAD_ERR_UPLOAD_LIMIT}', +		"Upload URL might be wrong or doesn't exist.": '{LA_PLUPLOAD_ERR_UPLOAD_URL}', +		'Uploaded %d/%d files': '{LA_PLUPLOAD_UPLOADED}', +		'%d files queued': '{LA_PLUPLOAD_FILES_QUEUED}', +		'%s already present in the queue.': '{LA_PLUPLOAD_ALREADY_QUEUED}'  	},  	config: {  		runtimes: 'html5', diff --git a/phpBB/styles/prosilver/template/search_results.html b/phpBB/styles/prosilver/template/search_results.html index c5b2b990c8..1a83484235 100644 --- a/phpBB/styles/prosilver/template/search_results.html +++ b/phpBB/styles/prosilver/template/search_results.html @@ -64,8 +64,13 @@  						<div class="list-inner">  							<!-- EVENT topiclist_row_prepend --> -							<!-- IF searchresults.S_UNREAD_TOPIC --><a href="{searchresults.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --> -							<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a> {searchresults.ATTACH_ICON_IMG} +							<!-- IF searchresults.S_UNREAD_TOPIC and not S_IS_BOT --> +								<a href="{searchresults.U_NEWEST_POST}">{NEWEST_POST_IMG}</a>  +								<a href="{searchresults.U_NEWEST_POST}" class="topictitle">{searchresults.TOPIC_TITLE}</a> +							<!-- ELSE --> +								<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a> +							<!-- ENDIF --> +							{searchresults.ATTACH_ICON_IMG}  							<!-- IF searchresults.S_TOPIC_UNAPPROVED or searchresults.S_POSTS_UNAPPROVED --><a href="{searchresults.U_MCP_QUEUE}">{searchresults.UNAPPROVED_IMG}</a> <!-- ENDIF -->  							<!-- IF searchresults.S_TOPIC_DELETED --><a href="{searchresults.U_MCP_QUEUE}">{DELETED_IMG}</a> <!-- ENDIF -->  							<!-- IF searchresults.S_TOPIC_REPORTED --><a href="{searchresults.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br /> @@ -83,7 +88,7 @@  								</ul>  							</div>  							<!-- ENDIF --> -							{L_POST_BY_AUTHOR} {searchresults.TOPIC_AUTHOR_FULL} » {searchresults.FIRST_POST_TIME} » {L_IN} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a> +							{L_POST_BY_AUTHOR} {searchresults.TOPIC_AUTHOR_FULL} » <!-- IF not S_IS_BOT --><a href="{searchresults.U_VIEW_TOPIC}" title="{L_GOTO_FIRST_POST}">{searchresults.FIRST_POST_TIME}</a><!-- ELSE -->{searchresults.FIRST_POST_TIME}<!-- ENDIF --> » {L_IN} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a>  							<!-- EVENT topiclist_row_append -->  						</div> @@ -92,7 +97,7 @@  					<dd class="views">{searchresults.TOPIC_VIEWS}</dd>  					<dd class="lastpost"><span>  						{L_POST_BY_AUTHOR} {searchresults.LAST_POST_AUTHOR_FULL} -						<!-- IF not S_IS_BOT --><a href="{searchresults.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{searchresults.LAST_POST_TIME}<br /> </span> +						<!-- IF not S_IS_BOT --><a href="{searchresults.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{searchresults.LAST_POST_TIME}<br /> </span>  					</dd>  				</dl>  			</li> diff --git a/phpBB/styles/prosilver/template/ucp_main_bookmarks.html b/phpBB/styles/prosilver/template/ucp_main_bookmarks.html index 477b06249e..96becc42e7 100644 --- a/phpBB/styles/prosilver/template/ucp_main_bookmarks.html +++ b/phpBB/styles/prosilver/template/ucp_main_bookmarks.html @@ -37,9 +37,15 @@  			<dl class="icon {topicrow.TOPIC_IMG_STYLE}">  				<dt<!-- IF topicrow.TOPIC_ICON_IMG --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}">  					<div class="list-inner"> -						<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a> +						<!-- IF topicrow.S_UNREAD_TOPIC --> +							<a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a>  +							<a href="{topicrow.U_NEWEST_POST}" class="topictitle">{topicrow.TOPIC_TITLE}</a> +						<!-- ELSE --> +							<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a> +						<!-- ENDIF -->  						<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF --> -						<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br /> +						<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --> +						<br />  						<!-- IF .topicrow.pagination -->  						<div class="pagination">  							<ul> @@ -56,17 +62,17 @@  						<!-- ENDIF -->  						<div class="responsive-hide">  							<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF --> -							{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME} +							{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » <a href="{topicrow.U_VIEW_TOPIC}" title="{L_GOTO_FIRST_POST}">{topicrow.FIRST_POST_TIME}</a>  						</div>  						<div class="responsive-show" style="display: none;">  							<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->  							{L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} « -							<a href="{topicrow.U_LAST_POST}">{topicrow.LAST_POST_TIME}</a> +							<a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{topicrow.LAST_POST_TIME}</a>  						</div>  					</div>  				</dt>  				<dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} -					<a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{topicrow.LAST_POST_TIME}</span> +					<a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{LAST_POST_IMG}</a> <br />{topicrow.LAST_POST_TIME}</span>  				</dd>  				<dd class="mark"><input type="checkbox" name="t[{topicrow.TOPIC_ID}]" id="t{topicrow.TOPIC_ID}" /></dd>  			</dl> diff --git a/phpBB/styles/prosilver/template/ucp_main_front.html b/phpBB/styles/prosilver/template/ucp_main_front.html index fa3291cd6c..eca224f2d9 100644 --- a/phpBB/styles/prosilver/template/ucp_main_front.html +++ b/phpBB/styles/prosilver/template/ucp_main_front.html @@ -16,7 +16,13 @@  			<dl class="icon {topicrow.TOPIC_IMG_STYLE}">  				<dt <!-- IF topicrow.TOPIC_ICON_IMG -->style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF -->>  					<div class="list-inner"> -						<!-- IF topicrow.S_UNREAD --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a><br /> +						<!-- IF topicrow.S_UNREAD --> +							<a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a>  +							<a href="{topicrow.U_NEWEST_POST}" class="topictitle">{topicrow.TOPIC_TITLE}</a> +						<!-- ELSE --> +							<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a> +						<!-- ENDIF --> +						<br />  						<!-- IF .topicrow.pagination -->  						<div class="pagination">  							<ul> @@ -33,16 +39,16 @@  						<!-- ENDIF -->  						<div class="responsive-hide">  							<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF --> -							{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME} +							{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » <a href="{topicrow.U_VIEW_TOPIC}" title="{L_GOTO_FIRST_POST}">{topicrow.FIRST_POST_TIME}</a>  						</div>  						<div class="responsive-show" style="display: none;">  							<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF --> -							{L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} « <a href="{topicrow.U_LAST_POST}">{topicrow.LAST_POST_TIME}</a> +							{L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} « <a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{topicrow.LAST_POST_TIME}</a>  						</div>  					</div>  				</dt>  				<dd class="lastpost"><span>{L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} -					<a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{topicrow.LAST_POST_TIME}</span> +					<a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{LAST_POST_IMG}</a> <br />{topicrow.LAST_POST_TIME}</span>  				</dd>  			</dl>  		</li> diff --git a/phpBB/styles/prosilver/template/ucp_main_subscribed.html b/phpBB/styles/prosilver/template/ucp_main_subscribed.html index 7344a4af1a..0187f3cc3f 100755 --- a/phpBB/styles/prosilver/template/ucp_main_subscribed.html +++ b/phpBB/styles/prosilver/template/ucp_main_subscribed.html @@ -72,9 +72,15 @@  			<dl class="icon {topicrow.TOPIC_IMG_STYLE}">  				<dt<!-- IF topicrow.TOPIC_ICON_IMG --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}">  					<div class="list-inner"> -						<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a> +						<!-- IF topicrow.S_UNREAD_TOPIC --> +							<a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a>  +							<a href="{topicrow.U_NEWEST_POST}" class="topictitle">{topicrow.TOPIC_TITLE}</a> +						<!-- ELSE --> +							<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a> +						<!-- ENDIF -->  						<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF --> -						<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br /> +						<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --> +						<br />  						<!-- IF .topicrow.pagination -->  						<div class="pagination">  							<ul> @@ -91,16 +97,16 @@  						<!-- ENDIF -->  						<div class="responsive-hide">  							<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF --> -							{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME} +							{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » <a href="{topicrow.U_VIEW_TOPIC}" title="{L_GOTO_FIRST_POST}">{topicrow.FIRST_POST_TIME}</a>  						</div>  						<div class="responsive-show" style="display: none;">  							<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF --> -							{L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} « <a href="{topicrow.U_LAST_POST}">{topicrow.LAST_POST_TIME}</a> +							{L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} « <a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{topicrow.LAST_POST_TIME}</a>  						</div>  					</div>  				</dt>  				<dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} -					<a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{topicrow.LAST_POST_TIME}</span> +					<a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{LAST_POST_IMG}</a> <br />{topicrow.LAST_POST_TIME}</span>  				</dd>  				<dd class="mark"><input type="checkbox" name="t[{topicrow.TOPIC_ID}]" id="t{topicrow.TOPIC_ID}" /></dd>  			</dl> diff --git a/phpBB/styles/prosilver/template/viewforum_body.html b/phpBB/styles/prosilver/template/viewforum_body.html index f0994f0716..e4c0a40d3a 100644 --- a/phpBB/styles/prosilver/template/viewforum_body.html +++ b/phpBB/styles/prosilver/template/viewforum_body.html @@ -55,17 +55,15 @@  		</div>  	<!-- ENDIF --> -	<!-- IF .pagination or TOTAL_POSTS or TOTAL_TOPICS --> -		<div class="pagination"> -			<!-- IF not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}" accesskey="m" data-ajax="mark_topics_read" data-overlay="false">{L_MARK_TOPICS_READ}</a> • <!-- ENDIF --> -			<!-- IF TOTAL_TOPICS -->{TOTAL_TOPICS} • <!-- ENDIF --> -			<!-- IF .pagination --> -				<!-- INCLUDE pagination.html --> -			<!-- ELSE --> -				{PAGE_NUMBER} -			<!-- ENDIF --> -		</div> -	<!-- ENDIF --> +	<div class="pagination"> +		<!-- IF not S_IS_BOT and U_MARK_TOPICS and .topicrow --><a href="{U_MARK_TOPICS}" accesskey="m" data-ajax="mark_topics_read" data-overlay="false">{L_MARK_TOPICS_READ}</a> • <!-- ENDIF --> +		{TOTAL_TOPICS} •  +		<!-- IF .pagination --> +			<!-- INCLUDE pagination.html --> +		<!-- ELSE --> +			{PAGE_NUMBER} +		<!-- ENDIF --> +	</div>  	</div>  <!-- ENDIF --> @@ -145,7 +143,12 @@  				<dt<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}">  					<div class="list-inner">  						<!-- EVENT topiclist_row_prepend --> -						<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a> +						<!-- IF topicrow.S_UNREAD_TOPIC and not S_IS_BOT --> +							<a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a>  +							<a href="{topicrow.U_NEWEST_POST}" class="topictitle">{topicrow.TOPIC_TITLE}</a> +						<!-- ELSE --> +							<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a> +						<!-- ENDIF -->  						<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF -->  						<!-- IF topicrow.S_TOPIC_DELETED --><a href="{topicrow.U_MCP_QUEUE}">{DELETED_IMG}</a> <!-- ENDIF -->  						<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br /> @@ -165,12 +168,12 @@  						<!-- ENDIF -->  						<div class="responsive-hide">  							<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF --> -							{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME} +							{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » <!-- IF not S_IS_BOT --><a href="{topicrow.U_VIEW_TOPIC}" title="{L_GOTO_FIRST_POST}">{topicrow.FIRST_POST_TIME}</a><!-- ELSE -->{topicrow.FIRST_POST_TIME}<!-- ENDIF -->  							<!-- IF topicrow.S_POST_GLOBAL and FORUM_ID != topicrow.FORUM_ID --> » {L_IN} <a href="{topicrow.U_VIEW_FORUM}">{topicrow.FORUM_NAME}</a><!-- ENDIF -->  						</div>  						<!-- IF not S_IS_BOT -->  						<div class="responsive-show" style="display: none;"> -							{L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} « <a href="{topicrow.U_LAST_POST}">{topicrow.LAST_POST_TIME}</a> +							{L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} « <a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{topicrow.LAST_POST_TIME}</a>  							<!-- IF topicrow.S_POST_GLOBAL and FORUM_ID != topicrow.FORUM_ID --><br />{L_POSTED} {L_IN} <a href="{topicrow.U_VIEW_FORUM}">{topicrow.FORUM_NAME}</a><!-- ENDIF -->  							<!-- IF topicrow.REPLIES --><br />{L_REPLIES}{L_COLON} <strong>{topicrow.REPLIES}</strong><!-- ENDIF -->  						</div> @@ -182,7 +185,7 @@  				<dd class="posts">{topicrow.REPLIES} <dfn>{L_REPLIES}</dfn></dd>  				<dd class="views">{topicrow.VIEWS} <dfn>{L_VIEWS}</dfn></dd>  				<dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL} -					<!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{topicrow.LAST_POST_TIME}</span> +					<!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}" title="{L_GOTO_LAST_POST}">{LAST_POST_IMG}</a> <!-- ENDIF --><br />{topicrow.LAST_POST_TIME}</span>  				</dd>  			</dl>  		</li> @@ -227,18 +230,15 @@  		</div>  		<!-- ENDIF --> -		<!-- IF PAGE_NUMBER or TOTAL_POSTS or TOTAL_TOPICS -->  		<div class="pagination"> -			<!-- IF TOTAL_TOPICS and not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}" data-ajax="mark_topics_read" data-overlay="false">{L_MARK_TOPICS_READ}</a> •  <!-- ENDIF --> -			<!-- IF TOTAL_POSTS and not NEWEST_USER --> {TOTAL_POSTS}<!-- ELSEIF TOTAL_TOPICS and not NEWEST_USER --> {TOTAL_TOPICS} • <!-- ENDIF --> -			<!-- IF TOTAL_USERS -->{TOTAL_USERS} • <!-- ENDIF --> +			<!-- IF not S_IS_BOT and U_MARK_TOPICS and .topicrow --><a href="{U_MARK_TOPICS}" data-ajax="mark_topics_read" data-overlay="false">{L_MARK_TOPICS_READ}</a> • <!-- ENDIF --> +			{TOTAL_TOPICS} •   			<!-- IF .pagination -->  				<!-- INCLUDE pagination.html -->  			<!-- ELSE -->  				{PAGE_NUMBER}  			<!-- ENDIF -->  		</div> -		<!-- ENDIF -->  	</div>  <!-- ENDIF --> diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index 46881d3b03..338c67dd33 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -33,6 +33,8 @@  	<!-- ENDIF -->  	</div> +	<!-- INCLUDE viewtopic_topic_tools.html --> +  	<!-- IF S_DISPLAY_SEARCHBOX -->  		<div class="search-box">  			<form method="get" id="topic-search" action="{S_SEARCHBOX_ACTION}"> @@ -55,9 +57,8 @@  			<!-- ENDIF -->  		</div>  	<!-- ENDIF --> - +	<div class="clear"></div>  </div> -<div class="clear"></div>  <!-- IF S_HAS_POLL -->  	<form method="post" action="{S_POLL_ACTION}" data-ajax="vote_poll" class="topic_poll"> @@ -299,16 +300,7 @@  	<!-- ENDIF -->  	</div> -	<!-- IF S_HAS_ATTACHMENTS --> -		<div class="dl_links"> -			<strong>{L_DOWNLOAD_ALL_ATTACHMENTS}{L_COLON}</strong> -			<ul> -			<!-- BEGIN dl_method --> -				<li>[ <a href="{dl_method.LINK}">{dl_method.TYPE}</a> ]</li> -			<!-- END dl_method --> -			</ul> -		</div> -	<!-- ENDIF --> +	<!-- INCLUDE viewtopic_topic_tools.html -->  	<!-- IF .pagination or TOTAL_POSTS -->  		<div class="pagination"> @@ -320,6 +312,7 @@  			<!-- ENDIF -->  		</div>  	<!-- ENDIF --> +	<div class="clear"></div>  </div>  <!-- EVENT viewtopic_body_footer_before --> diff --git a/phpBB/styles/prosilver/template/viewtopic_topic_tools.html b/phpBB/styles/prosilver/template/viewtopic_topic_tools.html new file mode 100644 index 0000000000..ec17185bae --- /dev/null +++ b/phpBB/styles/prosilver/template/viewtopic_topic_tools.html @@ -0,0 +1,39 @@ +<!-- IF not S_IS_BOT and (U_WATCH_TOPIC or U_BOOKMARK_TOPIC or U_BUMP_TOPIC or S_HAS_ATTACHMENTS or S_DISPLAY_TOPIC_TOOLS) --> +	<div class="dropdown-container dropdown-button-control topic-tools"> +		<span title="{L_TOPIC_TOOLS}" class="dropdown-trigger dropdown-select dropdown-select-icon tools-icon"><span></span></span> +		<div class="dropdown hidden"> +			<div class="pointer"><div class="pointer-inner"></div></div> +			<ul class="dropdown-contents"> +				<!-- EVENT viewtopic_topic_tools_before --> +				<!-- IF U_WATCH_TOPIC --> +					<li class="small-icon icon-<!-- IF S_WATCHING_TOPIC -->unsubscribe<!-- ELSE -->subscribe<!-- ENDIF -->"> +						<a href="{U_WATCH_TOPIC}" title="{S_WATCH_TOPIC_TITLE}" data-ajax="toggle_link" data-toggle-class="small-icon icon-<!-- IF not S_WATCHING_TOPIC -->unsubscribe<!-- ELSE -->subscribe<!-- ENDIF -->" data-toggle-text="{S_WATCH_TOPIC_TOGGLE}" data-toggle-url="{U_WATCH_TOPIC_TOGGLE}"> +							{S_WATCH_TOPIC_TITLE} +						</a> +					</li> +				<!-- ENDIF --> +				<!-- IF U_BOOKMARK_TOPIC --> +					<li class="small-icon icon-bookmark"> +						<a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}" data-ajax="alt_text" data-alt-text="{S_BOOKMARK_TOGGLE}"> +							{S_BOOKMARK_TOPIC} +						</a> +					</li> +				<!-- ENDIF --> +				<!-- IF U_BUMP_TOPIC --><li class="small-icon icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}" data-ajax="true">{L_BUMP_TOPIC}</a></li><!-- ENDIF --> +				<!-- IF S_HAS_ATTACHMENTS --> +					<li class="small-icon icon-download"> +						<a class="dropdown-toggle-submenu" href="{U_DOWNLOAD_ALL_ATTACHMENTS}" title="{L_DOWNLOAD_ALL_ATTACHMENTS}">{L_DOWNLOAD_ALL_ATTACHMENTS}</a> +						<ul class="dropdown-submenu hidden"> +							<li> +							<!-- BEGIN dl_method --> +								<a href="{dl_method.LINK}">{dl_method.TYPE}</a><!-- IF not dl_method.S_LAST_ROW --> • <!-- ENDIF -->  +							<!-- END dl_method --> +							</li> +						</ul> +					</li> +				<!-- ENDIF --> +				<!-- EVENT viewtopic_topic_tools_after --> +			</ul> +		</div> +	</div> +<!-- ENDIF --> diff --git a/phpBB/styles/prosilver/theme/bidi.css b/phpBB/styles/prosilver/theme/bidi.css index b04e6576d3..d5e98d6197 100644 --- a/phpBB/styles/prosilver/theme/bidi.css +++ b/phpBB/styles/prosilver/theme/bidi.css @@ -90,6 +90,21 @@  	text-align: left;  } +/* Dropdown menu +---------------------------------------- */ +.rtl .dropdown-container.topic-tools { +	float: right; +} + +.rtl .dropdown li { +	text-align: right; +} + +.rtl .dropdown li li { +	padding-left: 0; +	padding-right: 10px; +} +  /* Table styles  ----------------------------------------*/  .rtl table.table1 thead th { diff --git a/phpBB/styles/prosilver/theme/buttons.css b/phpBB/styles/prosilver/theme/buttons.css index cdd325fb13..89fdcd85a8 100644 --- a/phpBB/styles/prosilver/theme/buttons.css +++ b/phpBB/styles/prosilver/theme/buttons.css @@ -11,13 +11,13 @@  }  /* Rollover state */ -.buttons div { +.buttons div, .dropdown-select {  	float: left;  	margin: 0 5px 0 0;  }  /* Rolloff state */ -.buttons div a { +.buttons div a, .dropdown-select {  	display: inline-block;  	line-height: 17.5px;  	height: 18px; @@ -38,7 +38,7 @@  .buttons div span { display: none; } -.buttons div a:after { +.buttons div a:after, .dropdown-select:after {  	content: '';  	display: block;  	position: absolute; @@ -54,6 +54,35 @@  	background-position: 0 -20px;  } +.dropdown-select { +	cursor: pointer; +	font-family: inherit; +	font-size: 1em; +	font-weight: normal; +} + +.dropdown-select:after { +	background-position: -103px 10px; +	border-left: 1px solid; +	margin-top: 0; +	top: 0; +	right: 0; +	height: 21px; +	width: 15px; +} + +.dropdown-visible .dropdown-select:after, .nojs .dropdown-container:hover .dropdown-select:after { +	background-position: -103px -10px; +} + +.dropdown-select-icon:before { +	content: ''; +	display: block; +	float: left; +	margin-right: 4px; +	margin-top: 2px; +} +  /* Big button images */  .buttons div.reply-icon a:after, .buttons div.pmreply-icon a:after { background-position: -20px 0; }  .buttons div.reply-icon a:hover:after, .buttons div.pmreply-icon a:hover:after	{ background-position: -20px -20px; } @@ -67,6 +96,11 @@  .buttons div.forwardpm-icon a:after	{ background-position: -40px 0; }  .buttons div.forwardpm-icon a:hover:after	{ background-position: -40px -20px; } +.dropdown-select.tools-icon:before { background-position: -80px 0; height: 16px; width: 16px; } + +.dropdown-visible .dropdown-select.tools-icon:before, +.nojs .dropdown-container:hover .dropdown-select.tools-icon:before { background-position: -80px -20px; } +  /* Sub-header (navigation bar)  --------------------------------------------- */  a.print, a.sendemail { diff --git a/phpBB/styles/prosilver/theme/colours.css b/phpBB/styles/prosilver/theme/colours.css index 55b01f1269..68fbcde4f9 100644 --- a/phpBB/styles/prosilver/theme/colours.css +++ b/phpBB/styles/prosilver/theme/colours.css @@ -231,7 +231,6 @@ p.post-notice.reported:before, p.post-notice.error:before {  	background-image: url("./images/icon_topic_reported.gif");  } -  /*  --------------------------------------------------------------  Colours and backgrounds for links.css @@ -655,7 +654,7 @@ a.sendemail {  	background-image: url("./images/icon_sendemail.gif");  } -.buttons div a { +.buttons div a, .dropdown-select {  	border-color: #C7C3BF;  	background-color: #FFFFFF;  	background-image: -moz-linear-gradient(top, #FFFFFF, #E9E9E9); @@ -668,7 +667,16 @@ a.sendemail {  	color: #BC2A4D !important;  } -.buttons div a:hover { +.dropdown-select { +	color: #5C6482 !important; +} + +.dropdown-select:after { +	border-color: #DADADA; +} + +.buttons div a:hover, .dropdown-select:hover, .dropdown-visible .dropdown-select, +.dropdown-visible .dropdown-select:hover, .nojs .dropdown-container:hover .dropdown-select  {  	border-color: #0a8ed0;  	background-image: -moz-linear-gradient(top, #E9E9E9, #FFFFFF);  	background-image: -webkit-linear-gradient(top, #E9E9E9, #FFFFFF); @@ -678,7 +686,16 @@ a.sendemail {  	text-shadow: 1px 1px 0 #FFFFFF, -1px -1px 0 #FFFFFF, -1px -1px 0 rgba(188, 42, 77, 0.2);  } -.buttons div a:after { +.dropdown-select:hover { +	border-color: #C7C3BF;  +} + +.dropdown-visible .dropdown-select, .dropdown-visible .dropdown-select:hover, .nojs .dropdown-container:hover .dropdown-select { +	border-color: #A6B2BA; +	color: #105289 !important; +} + +.buttons div a:after, .dropdown-select-icon:before, .dropdown-select:after {  	background-image: url("images/buttons.png");  } @@ -698,6 +715,7 @@ a.sendemail {  .icon-search, .responsive-search a	{ background-image: url("./images/icon_search.gif"); }  .icon-notification				{ background-image: url("./images/icon_notification.gif"); }  .icon-pm						{ background-image: url("./images/icon_pm.gif"); } +.icon-download					{ background-image: url("./images/icon_download.gif"); }  /* Profile & navigation icons */  .email-icon, .email-icon a		{ background-image: url("./images/icon_contact_email.gif"); } @@ -1162,6 +1180,10 @@ ul.linklist li.responsive-menu a.responsive-menu-link:hover:before, ul.linklist  	box-shadow: 1px 0 5px rgba(0, 0, 0, 0.2);  } +.dropdown li, .dropdown li li { +	border-color: #DCDCDC; +} +  #minitabs .dropdown-contents {  	background-color: #F1F8FF;  } diff --git a/phpBB/styles/prosilver/theme/common.css b/phpBB/styles/prosilver/theme/common.css index dced25f541..cacae74649 100644 --- a/phpBB/styles/prosilver/theme/common.css +++ b/phpBB/styles/prosilver/theme/common.css @@ -407,6 +407,14 @@ li.responsive-menu .dropdown .dropdown-contents {  	padding: 0 5px;  } +ul.linklist .dropdown-down .dropdown { +	top: 22px; +} + +ul.linklist .dropdown-up .dropdown { +	bottom: 18px; +} +  ul.linklist .dropdown li {  	clear: both;  } @@ -437,27 +445,47 @@ ul.linklist.bulletin li.no-bulletin:before {  /* Dropdown menu  ----------------------------------------*/ +.dropdown-container { +	position: relative; +} + +.nojs .dropdown-container:hover .dropdown { +	display: block !important; +} +  .dropdown {  	position: absolute;  	left: 0; -	top: 22px; +	top: 1.2em;  	z-index: 2;  	border: 1px solid transparent;  	border-radius: 5px;  	padding: 9px 0 0;  } +.dropdown-container.topic-tools { +	float: left; +} +  .dropdown-up .dropdown {  	top: auto; -	bottom: 18px; +	bottom: 1.2em;  	padding: 0 0 9px;  } -.dropdown-left .dropdown { +.dropdown-left .dropdown, .nojs .rightside .dropdown {  	left: auto;  	right: 0;  } +.dropdown-button-control .dropdown { +	top: 24px; +} + +.dropdown-button-control.dropdown-up .dropdown { +	top: auto; +	bottom: 24px; +}  .dropdown .pointer, .dropdown .pointer-inner {  	position: absolute; @@ -488,7 +516,7 @@ ul.linklist.bulletin li.no-bulletin:before {  	top: auto;  } -.dropdown-left .dropdown .pointer { +.dropdown-left .dropdown .pointer, .nojs .rightside .dropdown .pointer {  	left: auto;  	right: 10px;  } @@ -507,22 +535,48 @@ ul.linklist.bulletin li.no-bulletin:before {  .dropdown .dropdown-contents {  	z-index: 2;  	overflow: hidden; +	overflow-y: auto;  	border: 1px solid transparent;  	border-radius: 5px;  	padding: 5px;  	position: relative; +	min-width: 40px; +	max-height: 200px;  	-webkit-box-sizing: border-box;  	-moz-box-sizing: border-box;  	box-sizing: border-box;  }  .dropdown li { -	float: none; +	border-bottom: 1px dotted transparent; +	float: none !important; +	line-height: normal !important; +	font-size: 1em !important; +	list-style: none;  	margin: 0; +	padding-top: 4px; +	padding-bottom: 4px;  	white-space: nowrap;  	text-align: left;  } +.dropdown li:last-child, .dropdown li li { +	border-bottom: 0; +} + +.dropdown li li:first-child { +	margin-top: 4px; +} + +.dropdown li li:last-child { +	padding-bottom: 0; +} + +.dropdown li li { +	border-top: 1px dotted transparent; +	padding-left: 10px; +} +  .wrap .dropdown li, .dropdown.wrap li, #notification_list li {  	white-space: normal;  } diff --git a/phpBB/styles/prosilver/theme/images/buttons.png b/phpBB/styles/prosilver/theme/images/buttons.png Binary files differindex a19abdc2b8..3a8c2f2f65 100644..100755 --- a/phpBB/styles/prosilver/theme/images/buttons.png +++ b/phpBB/styles/prosilver/theme/images/buttons.png diff --git a/phpBB/styles/prosilver/theme/images/icon_download.gif b/phpBB/styles/prosilver/theme/images/icon_download.gif Binary files differnew file mode 100644 index 0000000000..70cd61caf2 --- /dev/null +++ b/phpBB/styles/prosilver/theme/images/icon_download.gif diff --git a/phpBB/styles/prosilver/theme/responsive.css b/phpBB/styles/prosilver/theme/responsive.css index d7af7519b7..397ff12942 100644 --- a/phpBB/styles/prosilver/theme/responsive.css +++ b/phpBB/styles/prosilver/theme/responsive.css @@ -468,10 +468,6 @@ p.rightside {  	float: none;  } -.topic-actions { -	overflow: hidden; -} -  fieldset.quickmod {  	width: auto;  	float: none; @@ -511,17 +507,14 @@ fieldset.display-actions {  		margin: 0;  	} -	.topic-actions > div { -		float: none; -		overflow: hidden; -		clear: both; -	} -  	.topic-actions > .pagination, fieldset.jumpbox {  		text-align: center;  	}  	.topic-actions > .pagination { +		float: none; +		overflow: hidden; +		clear: both;  		padding-bottom: 1px;  	} diff --git a/phpBB/styles/subsilver2/template/index_body.html b/phpBB/styles/subsilver2/template/index_body.html index 158e5f2720..00c328e994 100644 --- a/phpBB/styles/subsilver2/template/index_body.html +++ b/phpBB/styles/subsilver2/template/index_body.html @@ -8,6 +8,8 @@  	<br clear="all" /><br />  <!-- ENDIF --> +<!-- EVENT index_body_forumlist_before --> +  <!-- INCLUDE forumlist_body.html -->  <!-- IF not S_IS_BOT or U_TEAM --> diff --git a/phpBB/styles/subsilver2/template/search_results.html b/phpBB/styles/subsilver2/template/search_results.html index 19ba0b196a..092779055d 100644 --- a/phpBB/styles/subsilver2/template/search_results.html +++ b/phpBB/styles/subsilver2/template/search_results.html @@ -36,7 +36,7 @@  			<td class="row1">  				<!-- EVENT topiclist_row_prepend -->  				<!-- IF searchresults.S_UNREAD_TOPIC --><a href="{searchresults.U_NEWEST_POST}" class="imageset">{NEWEST_POST_IMG}</a><!-- ENDIF --> -				{searchresults.ATTACH_ICON_IMG} <a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a> +				{searchresults.ATTACH_ICON_IMG} <a href="<!-- IF not S_IS_BOT and searchresults.S_UNREAD_TOPIC  -->{searchresults.U_NEWEST_POST}<!-- ELSE -->{searchresults.U_VIEW_TOPIC}<!-- ENDIF -->" class="topictitle">{searchresults.TOPIC_TITLE}</a>  				<!-- IF searchresults.S_TOPIC_UNAPPROVED or searchresults.S_POSTS_UNAPPROVED -->  					<a href="{searchresults.U_MCP_QUEUE}" class="imageset">{searchresults.UNAPPROVED_IMG}</a>   				<!-- ENDIF --> diff --git a/phpBB/styles/subsilver2/template/ucp_main_bookmarks.html b/phpBB/styles/subsilver2/template/ucp_main_bookmarks.html index e91417503f..a8c6b4a9a8 100644 --- a/phpBB/styles/subsilver2/template/ucp_main_bookmarks.html +++ b/phpBB/styles/subsilver2/template/ucp_main_bookmarks.html @@ -41,7 +41,7 @@  			<td class="postdetails" style="padding: 4px" width="100%" colspan="2">{L_DELETED_TOPIC}</td>  		<!-- ELSE -->  			<td style="padding: 4px;" width="100%" valign="top"> -				<p class="topictitle"><!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->{topicrow.ATTACH_ICON_IMG} <a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></p> +				<p class="topictitle"><!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->{topicrow.ATTACH_ICON_IMG} <a href="<!-- IF topicrow.S_UNREAD_TOPIC -->{topicrow.U_NEWEST_POST}<!-- ELSE -->{topicrow.U_VIEW_TOPIC}<!-- ENDIF -->">{topicrow.TOPIC_TITLE}</a></p>  				<!-- IF topicrow.S_GLOBAL_TOPIC --><span class="gensmall">{L_GLOBAL_ANNOUNCEMENT}</span><!-- ELSE --><span class="gensmall"><b>{L_FORUM}{L_COLON} </b><a href="{topicrow.U_VIEW_FORUM}">{topicrow.FORUM_NAME}</a></span><!-- ENDIF -->  				<!-- IF .topicrow.pagination -->  					<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}{L_COLON}  diff --git a/phpBB/styles/subsilver2/template/ucp_main_front.html b/phpBB/styles/subsilver2/template/ucp_main_front.html index 5dea2b4f03..bc26266bef 100644 --- a/phpBB/styles/subsilver2/template/ucp_main_front.html +++ b/phpBB/styles/subsilver2/template/ucp_main_front.html @@ -16,7 +16,7 @@  	<!-- IF topicrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->  		<td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td>  		<td class="row1" width="100%"> -			<p class="topictitle"><!-- IF topicrow.S_UNREAD --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->{topicrow.ATTACH_ICON_IMG} <a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></p><p class="gensmall">{topicrow.GOTO_PAGE}</p> +			<p class="topictitle"><!-- IF topicrow.S_UNREAD --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->{topicrow.ATTACH_ICON_IMG} <a href="<!-- IF topicrow.S_UNREAD -->{topicrow.U_NEWEST_POST}<!-- ELSE -->{topicrow.U_VIEW_TOPIC}<!-- ENDIF -->">{topicrow.TOPIC_TITLE}</a></p><p class="gensmall">{topicrow.GOTO_PAGE}</p>  		</td>  		<td class="row1" width="120" align="center" nowrap="nowrap">  			<p class="topicdetails">{topicrow.LAST_POST_TIME}</p> diff --git a/phpBB/styles/subsilver2/template/ucp_main_subscribed.html b/phpBB/styles/subsilver2/template/ucp_main_subscribed.html index 45094abe5f..9de44dd9ed 100644 --- a/phpBB/styles/subsilver2/template/ucp_main_subscribed.html +++ b/phpBB/styles/subsilver2/template/ucp_main_subscribed.html @@ -50,7 +50,7 @@  		<!-- IF topicrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->  			<td style="padding: 4px;" width="20" align="center" valign="middle">{topicrow.TOPIC_FOLDER_IMG}</td>  			<td style="padding: 4px;" width="100%" valign="top"> -				<p class="topictitle"><!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="imageset">{NEWEST_POST_IMG}</a> <!-- ENDIF -->{topicrow.ATTACH_ICON_IMG} <a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></p> +				<p class="topictitle"><!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="imageset">{NEWEST_POST_IMG}</a> <!-- ENDIF -->{topicrow.ATTACH_ICON_IMG} <a href="<!-- IF topicrow.S_UNREAD_TOPIC -->{topicrow.U_NEWEST_POST}<!-- ELSE -->{topicrow.U_VIEW_TOPIC}<!-- ENDIF -->">{topicrow.TOPIC_TITLE}</a></p>  				<!-- IF topicrow.S_GLOBAL_TOPIC --><span class="gensmall">{L_GLOBAL_ANNOUNCEMENT}</span><!-- ELSE --><span class="gensmall"><b>{L_FORUM}{L_COLON} </b><a href="{topicrow.U_VIEW_FORUM}">{topicrow.FORUM_NAME}</a></span><!-- ENDIF -->  				<!-- IF .topicrow.pagination -->  					<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}{L_COLON}  diff --git a/phpBB/styles/subsilver2/template/viewforum_body.html b/phpBB/styles/subsilver2/template/viewforum_body.html index 612c2e42ea..3d4336a2a3 100644 --- a/phpBB/styles/subsilver2/template/viewforum_body.html +++ b/phpBB/styles/subsilver2/template/viewforum_body.html @@ -207,7 +207,8 @@  				<td class="row1">  					<!-- EVENT topiclist_row_prepend -->  					<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="imageset">{NEWEST_POST_IMG}</a><!-- ENDIF --> -					{topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><b>{topicrow.TOPIC_TYPE}</b> <!-- ENDIF --><a title="{L_POSTED}{L_COLON} {topicrow.FIRST_POST_TIME}" href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a> +					{topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><b>{topicrow.TOPIC_TYPE}</b> <!-- ENDIF --> +					<a title="{L_POSTED}{L_COLON} {topicrow.FIRST_POST_TIME}" href="<!-- IF not S_IS_BOT and topicrow.S_UNREAD_TOPIC -->{topicrow.U_NEWEST_POST}<!-- ELSE -->{topicrow.U_VIEW_TOPIC}<!-- ENDIF -->" class="topictitle">{topicrow.TOPIC_TITLE}</a>  					<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED -->  						<a href="{topicrow.U_MCP_QUEUE}" class="imageset">{topicrow.UNAPPROVED_IMG}</a>   					<!-- ENDIF -->  | 
