Browse Source

NFI why I used sprintf when string concat is fine as well...

Signed-off-by: emanuele <[email protected]>
emanuele 12 years ago
parent
commit
4c16604d9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Themes/default/ManagePermissions.template.php

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

@@ -67,7 +67,7 @@ function template_permission_index()
 		echo '
 					<tr class="windowbg', $alternate ? '2' : '', '">
 						<td>
-							', !empty($group['help']) ? sprintf(' <a class="help" href="' . $scripturl . '?action=helpadmin;help=%1$s" onclick="return reqOverlayDiv(this.href);"><img class="icon" src="' . $settings['images_url'] . '/helptopics.png" alt="' . $txt['help'] . '" /></a>', $group['help']) : '<img class="icon" src="' . $settings['images_url'] . '/blank.png" alt="' . $txt['help'] . '" />', '&nbsp;<span>', $group['name'], '</span>';
+							', !empty($group['help']) ? ' <a class="help" href="' . $scripturl . '?action=helpadmin;help=' . $group['help'] . '" onclick="return reqOverlayDiv(this.href);"><img class="icon" src="' . $settings['images_url'] . '/helptopics.png" alt="' . $txt['help'] . '" /></a>' : '<img class="icon" src="' . $settings['images_url'] . '/blank.png" alt="' . $txt['help'] . '" />', '&nbsp;<span>', $group['name'], '</span>';
 
 		if (!empty($group['children']))
 			echo '