diff options
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/includes/functions_posting.php | 9 | ||||
| -rw-r--r-- | phpBB/language/en/mcp.php | 2 | ||||
| -rw-r--r-- | phpBB/language/en/posting.php | 1 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/mcp_warn_front.html | 4 | ||||
| -rw-r--r-- | phpBB/styles/prosilver/template/mcp_warn_list.html | 2 | ||||
| -rw-r--r-- | phpBB/styles/subsilver2/template/mcp_warn_front.html | 4 | ||||
| -rw-r--r-- | phpBB/styles/subsilver2/template/mcp_warn_list.html | 2 | 
7 files changed, 16 insertions, 8 deletions
| diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index b3816baedd..f77f54679f 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -496,7 +496,14 @@ function upload_attachment($form_name, $forum_id, $local = false, $local_storage  	{  		if ($free_space <= $file->get('filesize'))  		{ -			$filedata['error'][] = $user->lang['ATTACH_QUOTA_REACHED']; +			if ($auth->acl_get('a_')) +			{ +				$filedata['error'][] = $user->lang['ATTACH_DISK_FULL']; +			} +			else +			{ +				$filedata['error'][] = $user->lang['ATTACH_QUOTA_REACHED']; +			}  			$filedata['post_attach'] = false;  			$file->remove(); diff --git a/phpBB/language/en/mcp.php b/phpBB/language/en/mcp.php index bd25d403ab..3ee619ea16 100644 --- a/phpBB/language/en/mcp.php +++ b/phpBB/language/en/mcp.php @@ -389,7 +389,7 @@ $lang = array_merge($lang, array(  	'WARNING_PM_BODY'		=> 'The following is a warning which has been issued to you by an administrator or moderator of this site.[quote]%s[/quote]',  	'WARNING_PM_SUBJECT'	=> 'Board warning issued',  	'WARNING_POST_DEFAULT'	=> 'This is a warning regarding the following post made by you: %s .', -	'WARNINGS_ZERO_TOTAL'	=> 'No warnings exist.', +	'NO_WARNINGS'	=> 'No warnings exist.',  	'YOU_SELECTED_TOPIC'	=> 'You selected topic number %d: %s.', diff --git a/phpBB/language/en/posting.php b/phpBB/language/en/posting.php index 933287dde3..086bd6ffb0 100644 --- a/phpBB/language/en/posting.php +++ b/phpBB/language/en/posting.php @@ -41,6 +41,7 @@ $lang = array_merge($lang, array(  	'ADD_POLL'					=> 'Poll creation',  	'ADD_POLL_EXPLAIN'			=> 'If you do not want to add a poll to your topic leave the fields blank.',  	'ALREADY_DELETED'			=> 'Sorry but this message is already deleted.', +	'ATTACH_DISK_FULL'			=> 'There is not enough free disk space to post this attachment.',  	'ATTACH_QUOTA_REACHED'		=> 'Sorry, the board attachment quota has been reached.',  	'ATTACH_SIG'				=> 'Attach a signature (signatures can be altered via the UCP)', diff --git a/phpBB/styles/prosilver/template/mcp_warn_front.html b/phpBB/styles/prosilver/template/mcp_warn_front.html index 8f42e28cc0..2f7d939b16 100644 --- a/phpBB/styles/prosilver/template/mcp_warn_front.html +++ b/phpBB/styles/prosilver/template/mcp_warn_front.html @@ -55,7 +55,7 @@  		</tbody>  		</table>  	<!-- ELSE --> -		<p><strong>{L_WARNINGS_ZERO_TOTAL}</strong></p> +		<p><strong>{L_NO_WARNINGS}</strong></p>  	<!-- ENDIF -->  	<span class="corners-bottom"><span></span></span></div> @@ -88,7 +88,7 @@  		</tbody>  		</table>  	<!-- ELSE --> -		<p><strong>{L_WARNINGS_ZERO_TOTAL}</strong></p> +		<p><strong>{L_NO_WARNINGS}</strong></p>  	<!-- ENDIF -->  	<span class="corners-bottom"><span></span></span></div> diff --git a/phpBB/styles/prosilver/template/mcp_warn_list.html b/phpBB/styles/prosilver/template/mcp_warn_list.html index d9c0bce088..5e43903f11 100644 --- a/phpBB/styles/prosilver/template/mcp_warn_list.html +++ b/phpBB/styles/prosilver/template/mcp_warn_list.html @@ -53,7 +53,7 @@  			</li>  		</ul>  	<!-- ELSE --> -		<p><strong>{L_WARNINGS_ZERO_TOTAL}</strong></p> +		<p><strong>{L_NO_WARNINGS}</strong></p>  	<!-- ENDIF -->  	<span class="corners-bottom"><span></span></span></div> diff --git a/phpBB/styles/subsilver2/template/mcp_warn_front.html b/phpBB/styles/subsilver2/template/mcp_warn_front.html index 417355d537..020a79f419 100644 --- a/phpBB/styles/subsilver2/template/mcp_warn_front.html +++ b/phpBB/styles/subsilver2/template/mcp_warn_front.html @@ -38,7 +38,7 @@  	</tr>  <!-- BEGINELSE -->  	<tr> -		<td class="row1" colspan="4" align="center"><span class="gen">{L_WARNINGS_ZERO_TOTAL}</span></td> +		<td class="row1" colspan="4" align="center"><span class="gen">{L_NO_WARNINGS}</span></td>  	</tr>  <!-- END highest -->  </table> @@ -64,7 +64,7 @@  	</tr>  <!-- BEGINELSE -->  	<tr> -		<td class="row1" colspan="4" align="center"><span class="gen">{L_WARNINGS_ZERO_TOTAL}</span></td> +		<td class="row1" colspan="4" align="center"><span class="gen">{L_NO_WARNINGS}</span></td>  	</tr>  <!-- END latest -->  </table> diff --git a/phpBB/styles/subsilver2/template/mcp_warn_list.html b/phpBB/styles/subsilver2/template/mcp_warn_list.html index 6ed0b68bd5..0b0cfa8a45 100644 --- a/phpBB/styles/subsilver2/template/mcp_warn_list.html +++ b/phpBB/styles/subsilver2/template/mcp_warn_list.html @@ -21,7 +21,7 @@  	</tr>  <!-- BEGINELSE -->  	<tr> -		<td class="row1" colspan="4" align="center"><span class="gen">{L_WARNINGS_ZERO_TOTAL}</span></td> +		<td class="row1" colspan="4" align="center"><span class="gen">{L_NO_WARNINGS}</span></td>  	</tr>  <!-- END user -->  <tr align="center"> | 
