diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2018-01-20 19:57:33 +0100 | 
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2018-01-20 19:57:33 +0100 | 
| commit | d0143bec8830e709047443f73f79c0dce438e3fc (patch) | |
| tree | b9da9669164b1e63ee7e4d7a3969e89508647b53 | |
| parent | 55e13693b0e3094d93182402091d535655068829 (diff) | |
| parent | ede0a36076cdc1bf315f0d13dfc6606b3e95e499 (diff) | |
| download | forums-d0143bec8830e709047443f73f79c0dce438e3fc.tar forums-d0143bec8830e709047443f73f79c0dce438e3fc.tar.gz forums-d0143bec8830e709047443f73f79c0dce438e3fc.tar.bz2 forums-d0143bec8830e709047443f73f79c0dce438e3fc.tar.xz forums-d0143bec8830e709047443f73f79c0dce438e3fc.zip | |
Merge pull request #5084 from hubaishan/ticket/15510
[ticket/15510] Link Orphan attachments in ACP General to its page
| -rw-r--r-- | phpBB/adm/style/acp_main.html | 10 | ||||
| -rw-r--r-- | phpBB/includes/acp/acp_main.php | 1 | 
2 files changed, 9 insertions, 2 deletions
| diff --git a/phpBB/adm/style/acp_main.html b/phpBB/adm/style/acp_main.html index 9522baa9c2..12477a4b77 100644 --- a/phpBB/adm/style/acp_main.html +++ b/phpBB/adm/style/acp_main.html @@ -153,8 +153,14 @@  		<td><strong>{PHP_VERSION_INFO}</strong></td>  	<!-- IF S_TOTAL_ORPHAN -->  		<td>{L_NUMBER_ORPHAN}{L_COLON} </td> -		<td><strong>{TOTAL_ORPHAN}</strong></td> -	<!-- ELSE --> +		<td> +		<!-- IF TOTAL_ORPHAN > 0 --> +			<a href="{U_ATTACH_ORPHAN}" title="{L_MORE_INFORMATION}"><strong>{TOTAL_ORPHAN}</strong></a> +		<!-- ELSE --> +			<strong>{TOTAL_ORPHAN}</strong> +		<!-- ENDIF --> +		</td> +		<!-- ELSE -->  		<td> </td>  		<td> </td>  	<!-- ENDIF --> diff --git a/phpBB/includes/acp/acp_main.php b/phpBB/includes/acp/acp_main.php index 4efa8c70b3..8f169d15a7 100644 --- a/phpBB/includes/acp/acp_main.php +++ b/phpBB/includes/acp/acp_main.php @@ -585,6 +585,7 @@ class acp_main  			'U_INACTIVE_USERS'	=> append_sid("{$phpbb_admin_path}index.$phpEx", 'i=inactive&mode=list'),  			'U_VERSIONCHECK'	=> append_sid("{$phpbb_admin_path}index.$phpEx", 'i=update&mode=version_check'),  			'U_VERSIONCHECK_FORCE'	=> append_sid("{$phpbb_admin_path}index.$phpEx", 'versioncheck_force=1'), +			'U_ATTACH_ORPHAN'	=> append_sid("{$phpbb_admin_path}index.$phpEx", 'i=acp_attachments&mode=orphan'),  			'S_VERSIONCHECK'	=> ($auth->acl_get('a_board')) ? true : false,  			'S_ACTION_OPTIONS'	=> ($auth->acl_get('a_board')) ? true : false, | 
