Browse Source

Merge pull request #453 from smfrunic/release-2.1

Fixes validation in Display.template.php
Removes enable code in profile, in regards to issuing warnings
Michael Eshom 11 years ago
parent
commit
2757833c1b
2 changed files with 1 additions and 2 deletions
  1. 0 1
      Sources/Profile.php
  2. 1 1
      Themes/default/Display.template.php

+ 0 - 1
Sources/Profile.php

@@ -299,7 +299,6 @@ function ModifyProfile($post_errors = array())
 					'file' => 'Profile-Actions.php',
 					'function' => 'issueWarning',
 					'token' => 'profile-iw%u',
-					'enabled' => !$context['user']['is_owner'],
 					'permission' => array(
 						'own' => array('issue_warning'),
 						'any' => array('issue_warning'),

+ 1 - 1
Themes/default/Display.template.php

@@ -450,7 +450,7 @@ function template_main()
 								<div class="page_number floatright">
 									', !empty($message['counter']) ? ' #' . $message['counter'] : '', ' ', '
 								</div>
-								<h5 id="subject_', $message['id'], '">
+								<h5>
 									<a href="', $message['href'], '" rel="nofollow" title="', !empty($message['counter']) ? sprintf($txt['reply_number'], $message['counter']) : '', ' - ', $message['subject'], '" class="smalltext">', $message['time'], '</a>';
 
 		// Show "<< Last Edit: Time by Person >>" if this post was edited.