diff options
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/adm/style/acp_bbcodes.html | 2 | ||||
| -rw-r--r-- | phpBB/adm/style/viewsource.html | 21 | ||||
| -rw-r--r-- | phpBB/docs/events.md | 12 | ||||
| -rw-r--r-- | phpBB/phpbb/avatar/driver/driver.php | 11 | ||||
| -rw-r--r-- | phpBB/phpbb/avatar/driver/gravatar.php | 8 | ||||
| -rw-r--r-- | phpBB/phpbb/avatar/driver/local.php | 8 | ||||
| -rw-r--r-- | phpBB/phpbb/avatar/driver/remote.php | 8 | ||||
| -rw-r--r-- | phpBB/phpbb/avatar/driver/upload.php | 8 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/index_body.html | 4 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/overall_footer.html | 2 | ||||
| -rw-r--r-- | phpBB/styles/subsilver2/template/index_body.html | 4 | ||||
| -rw-r--r-- | phpBB/styles/subsilver2/template/mcp_topic.html | 2 | 
12 files changed, 51 insertions, 39 deletions
| diff --git a/phpBB/adm/style/acp_bbcodes.html b/phpBB/adm/style/acp_bbcodes.html index c22ed395e7..90a39a3eee 100644 --- a/phpBB/adm/style/acp_bbcodes.html +++ b/phpBB/adm/style/acp_bbcodes.html @@ -71,7 +71,7 @@  	</thead>  	<tbody>  	<!-- BEGIN token --> -		<tr valign="top"> +		<tr style="vertical-align: top;">  			<td class="row1">{token.TOKEN}</td>  			<td class="row2">{token.EXPLAIN}</td>  		</tr> diff --git a/phpBB/adm/style/viewsource.html b/phpBB/adm/style/viewsource.html deleted file mode 100644 index 03e9ff50e5..0000000000 --- a/phpBB/adm/style/viewsource.html +++ /dev/null @@ -1,21 +0,0 @@ -<!-- INCLUDE simple_header.html --> -<div id="acp" style="padding: 0;"> -<div class="panel" style="padding: 10px;"> -<div style="overflow: auto;"> -	<h1>{FILENAME}</h1> - -	<table class="type2"> -	<tbody> -	<!-- BEGIN source --> -		<tr valign="top"> -			<td class="sourcenum">{source.LINENUM}  </td> -			<td class="source">{source.LINE}</td> -		</tr> -	<!-- END source --> -	</tbody> -	</table> - -</div> -</div> -</div> -<!-- INCLUDE simple_footer.html --> diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 0130362131..65dd6c3899 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -54,13 +54,21 @@ forumlist_body_last_post_title_prepend  * Since: 3.1.0-a1  * Purpose: Add content before the post title of the latest post in a forum on the forum list. -index_body_forumlist_before +index_body_linklist_after  ===  * Locations:      + styles/prosilver/template/index_body.html      + styles/subsilver2/template/index_body.html  * Since: 3.1.0-a3 -* Purpose: Add content above the forums list (on forum index only) +* Purpose: Add content after the linklist above the forum list on Board index + +index_body_linklist_before +=== +* Locations: +    + styles/prosilver/template/index_body.html +    + styles/subsilver2/template/index_body.html +* Since: 3.1.0-a3 +* Purpose: Add content before the linklist above the forum list on Board index  index_body_stat_blocks_before  === diff --git a/phpBB/phpbb/avatar/driver/driver.php b/phpBB/phpbb/avatar/driver/driver.php index d360614122..dd55f09119 100644 --- a/phpBB/phpbb/avatar/driver/driver.php +++ b/phpBB/phpbb/avatar/driver/driver.php @@ -112,17 +112,6 @@ abstract class driver implements \phpbb\avatar\driver\driver_interface  	/**  	* @inheritdoc  	*/ -	public function get_template_name() -	{ -		$driver = preg_replace('#^phpbb\\\\avatar\\\\driver\\\\#', '', get_class($this)); -		$template = "ucp_avatar_options_$driver.html"; - -		return $template; -	} - -	/** -	* @inheritdoc -	*/  	public function get_name()  	{  		return $this->name; diff --git a/phpBB/phpbb/avatar/driver/gravatar.php b/phpBB/phpbb/avatar/driver/gravatar.php index d64f4da734..9f14b7f468 100644 --- a/phpBB/phpbb/avatar/driver/gravatar.php +++ b/phpBB/phpbb/avatar/driver/gravatar.php @@ -147,6 +147,14 @@ class gravatar extends \phpbb\avatar\driver\driver  	}  	/** +	* @inheritdoc +	*/ +	public function get_template_name() +	{ +		return 'ucp_avatar_options_gravatar.html'; +	} + +	/**  	* Build gravatar URL for output on page  	*  	* @return string Gravatar URL diff --git a/phpBB/phpbb/avatar/driver/local.php b/phpBB/phpbb/avatar/driver/local.php index f6acc6e636..611a44cb3d 100644 --- a/phpBB/phpbb/avatar/driver/local.php +++ b/phpBB/phpbb/avatar/driver/local.php @@ -135,6 +135,14 @@ class local extends \phpbb\avatar\driver\driver  	}  	/** +	* @inheritdoc +	*/ +	public function get_template_name() +	{ +		return 'ucp_avatar_options_local.html'; +	} + +	/**  	* Get a list of avatars that are locally available  	* Results get cached for 24 hours (86400 seconds)  	* diff --git a/phpBB/phpbb/avatar/driver/remote.php b/phpBB/phpbb/avatar/driver/remote.php index 22d50c703e..36623942df 100644 --- a/phpBB/phpbb/avatar/driver/remote.php +++ b/phpBB/phpbb/avatar/driver/remote.php @@ -186,4 +186,12 @@ class remote extends \phpbb\avatar\driver\driver  			'avatar_height' => $height,  		);  	} + +	/** +	* @inheritdoc +	*/ +	public function get_template_name() +	{ +		return 'ucp_avatar_options_remote.html'; +	}  } diff --git a/phpBB/phpbb/avatar/driver/upload.php b/phpBB/phpbb/avatar/driver/upload.php index 822c40af98..1e50e135e4 100644 --- a/phpBB/phpbb/avatar/driver/upload.php +++ b/phpBB/phpbb/avatar/driver/upload.php @@ -168,6 +168,14 @@ class upload extends \phpbb\avatar\driver\driver  	}  	/** +	* @inheritdoc +	*/ +	public function get_template_name() +	{ +		return 'ucp_avatar_options_upload.html'; +	} + +	/**  	* Check if user is able to upload an avatar  	*  	* @return bool True if user can upload, false if not diff --git a/phpBB/styles/prosilver/template/index_body.html b/phpBB/styles/prosilver/template/index_body.html index bd640fd63f..58a5420db3 100644 --- a/phpBB/styles/prosilver/template/index_body.html +++ b/phpBB/styles/prosilver/template/index_body.html @@ -3,6 +3,8 @@  <p class="{S_CONTENT_FLOW_END} responsive-center<!-- IF S_USER_LOGGED_IN --> rightside<!-- ENDIF -->"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ELSE -->{CURRENT_TIME}<!-- ENDIF --></p>  <!-- IF S_USER_LOGGED_IN --><p class="responsive-center">{CURRENT_TIME}<!-- IF U_MCP or U_ACP --> <br />[ <!-- IF U_ACP --><a href="{U_ACP}" title="{L_ACP}" data-responsive-text="{L_ACP_SHORT}">{L_ACP}</a><!-- IF U_MCP --> | <!-- ENDIF --><!-- ENDIF --><!-- IF U_MCP --><a href="{U_MCP}" title="{L_MCP}" data-responsive-text="{L_MCP_SHORT}">{L_MCP}</a><!-- ENDIF --> ]<!-- ENDIF --></p><!-- ENDIF --> +<!-- EVENT index_body_linklist_before --> +  <!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) -->  <ul class="linklist bulletin">  	<!-- IF S_DISPLAY_SEARCH --> @@ -19,7 +21,7 @@  </ul>  <!-- ENDIF --> -<!-- EVENT index_body_forumlist_before --> +<!-- EVENT index_body_linklist_after -->  <!-- INCLUDE forumlist_body.html --> diff --git a/phpBB/styles/prosilver/template/overall_footer.html b/phpBB/styles/prosilver/template/overall_footer.html index bbffe8dc3d..f7d0269edb 100644 --- a/phpBB/styles/prosilver/template/overall_footer.html +++ b/phpBB/styles/prosilver/template/overall_footer.html @@ -7,7 +7,7 @@  		<div class="inner">  		<ul class="linklist bulletin"> -			<li class="small-icon icon-home breadcrumbs"><!-- IF U_SITE_HOME --><span class="crumb"><a href="{U_SITE_HOME}">{L_SITE_HOME}</a> <strong>‹</strong></span> <!-- ENDIF --><span class="crumb"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></span> +			<li class="small-icon icon-home breadcrumbs"><!-- IF U_SITE_HOME --><span class="crumb"><a href="{U_SITE_HOME}">{L_SITE_HOME}</a> <strong>‹</strong></span> <!-- ENDIF --><span class="crumb"><a href="{U_INDEX}">{L_INDEX}</a></span>  				<!-- EVENT overall_footer_breadcrumb_append -->  			</li>  			<!-- IF not S_IS_BOT --> diff --git a/phpBB/styles/subsilver2/template/index_body.html b/phpBB/styles/subsilver2/template/index_body.html index 00c328e994..763028966f 100644 --- a/phpBB/styles/subsilver2/template/index_body.html +++ b/phpBB/styles/subsilver2/template/index_body.html @@ -1,5 +1,7 @@  <!-- INCLUDE overall_header.html --> +<!-- EVENT index_body_linklist_before --> +  <!-- IF U_MCP or U_ACP -->  	<div id="pageheader">  		<p class="linkmcp">[ <!-- IF U_ACP --><a href="{U_ACP}">{L_ACP}</a><!-- IF U_MCP --> | <!-- ENDIF --><!-- ENDIF --><!-- IF U_MCP --><a href="{U_MCP}">{L_MCP}</a><!-- ENDIF --> ]</p> @@ -8,7 +10,7 @@  	<br clear="all" /><br />  <!-- ENDIF --> -<!-- EVENT index_body_forumlist_before --> +<!-- EVENT index_body_linklist_after -->  <!-- INCLUDE forumlist_body.html --> diff --git a/phpBB/styles/subsilver2/template/mcp_topic.html b/phpBB/styles/subsilver2/template/mcp_topic.html index d3b4408243..5bd762ec0b 100644 --- a/phpBB/styles/subsilver2/template/mcp_topic.html +++ b/phpBB/styles/subsilver2/template/mcp_topic.html @@ -73,7 +73,7 @@  		<td align="center"><b class="postauthor">{postrow.POST_AUTHOR_FULL}</b></td>  		<td width="100%">  			<table width="100%" cellspacing="0" cellpadding="0" border="0"> -			<tr valign="top"> +			<tr style="vertical-align: top;">  				<td class="gensmall" nowrap="nowrap"> <b>{L_POST_SUBJECT}{L_COLON}</b> </td>  				<td class="gensmall" width="100%">{postrow.POST_SUBJECT}</td>  			</tr> | 
