Browse Source

Removed @todo from a couple of strings and added class button_link to the add ban trigger button

Signed-off-by: emanuele <[email protected]>
emanuele 12 years ago
parent
commit
f85b67ad71
2 changed files with 6 additions and 6 deletions
  1. 1 1
      Sources/ManageBans.php
  2. 5 5
      Themes/default/languages/Errors.english.php

+ 1 - 1
Sources/ManageBans.php

@@ -462,7 +462,7 @@ function BanEdit()
 				array(
 					'position' => 'below_table_data',
 					'value' => '
-					[<a href="' . $scripturl . '?action=admin;area=ban;sa=edittrigger;bg=' . $ban_group_id . '">' . $txt['ban_add_trigger'] . '</a>] <input type="submit" name="remove_selection" value="' . $txt['ban_remove_selected_triggers'] . '" class="button_submit" />',
+					<input type="submit" name="remove_selection" value="' . $txt['ban_remove_selected_triggers'] . '" class="button_submit" /> <a class="button_link" href="' . $scripturl . '?action=admin;area=ban;sa=edittrigger;bg=' . $ban_group_id . '">' . $txt['ban_add_trigger'] . '</a>',
 					'style' => 'text-align: right;',
 				),
 				array(

+ 5 - 5
Themes/default/languages/Errors.english.php

@@ -188,11 +188,11 @@ $txt['no_bantype_selected'] = 'No ban type was selected';
 $txt['ban_not_found'] = 'Ban not found';
 $txt['ban_unknown_restriction_type'] = 'Restriction type unknown';
 $txt['ban_name_empty'] = 'The name of the ban was left empty';
-$txt['ban_id_empty'] = 'Ban id not found @todo: improve message';
-$txt['ban_group_id_empty'] = 'Ban group id missing @todo: improve message';
-$txt['ban_no_triggers'] = 'No ban triggers specified @todo: improve message';
-$txt['ban_ban_item_empty'] = 'Ban trigger not found @todo: improve message';
-$txt['impossible_insert_new_bangroup'] = 'Insert the new ban failed @todo: improve message';
+$txt['ban_id_empty'] = 'Ban id not found';
+$txt['ban_group_id_empty'] = 'Ban group id missing';
+$txt['ban_no_triggers'] = 'No ban triggers specified';
+$txt['ban_ban_item_empty'] = 'Ban trigger not found';
+$txt['impossible_insert_new_bangroup'] = 'An error occurred while inserting the new ban';
 
 $txt['ban_name_exists'] = 'The name of this ban (%1$s) already exists. Please choose a different name.';
 $txt['ban_trigger_already_exists'] = 'This ban trigger (%1$s) already exists in %2$s.';