Permalink
Browse files

Change Required message

  • Loading branch information...
1 parent d60d163 commit be371efc429f222c8cf6b4db313c7d3719abf5cc @dimkalinux dimkalinux committed Jun 26, 2011
Showing with 18 additions and 18 deletions.
  1. +1 −1 admin/groups.php
  2. +1 −1 admin/install.php
  3. +1 −1 admin/prune.php
  4. +1 −1 edit.php
  5. +2 −2 lang/English/admin_common.php
  6. +1 −1 lang/English/common.php
  7. +1 −1 lang/English/install.php
  8. +2 −2 login.php
  9. +2 −2 misc.php
  10. +1 −1 post.php
  11. +4 −4 profile.php
  12. +1 −1 register.php
View
2 admin/groups.php
@@ -99,7 +99,7 @@
</div>
<div class="main-content main-frm">
<div id="req-msg" class="req-warn ct-box error-box">
- <p class="important"><?php printf($lang_admin_common['Required warn'], '<em>'.$lang_admin_common['Required'].'</em>') ?></p>
+ <p class="important"><?php echo $lang_admin_common['Required warn']; ?></p>
</div>
<form class="frm-form" method="post" accept-charset="utf-8" action="<?php echo forum_link($forum_url['admin_groups']) ?>">
<div class="hidden">
View
2 admin/install.php
@@ -216,7 +216,7 @@ function generate_config_file()
</ul>
</div>
<div id="req-msg" class="req-warn ct-box error-box">
- <p class="important"><?php printf($lang_install['Required warn'], '<em>'.$lang_install['Required'].'</em>') ?></p>
+ <p class="important"><?php echo $lang_install['Required warn']; ?></p>
</div>
<fieldset class="frm-group group1">
<legend class="group-legend"><strong><?php echo $lang_install['Part1 legend'] ?></strong></legend>
View
2 admin/prune.php
@@ -205,7 +205,7 @@
<p class="important"><?php echo $lang_admin_prune['Prune caution'] ?></p>
</div>
<div id="req-msg" class="req-warn ct-box error-box">
- <p class="important"><?php printf($lang_admin_common['Required warn'], '<em>'.$lang_admin_common['Required'].'</em>') ?></p>
+ <p class="important"><?php echo $lang_admin_common['Required warn']; ?></p>
</div>
<form class="frm-form" method="post" accept-charset="utf-8" action="<?php echo forum_link($forum_url['admin_prune']) ?>?action=foo">
<div class="hidden">
View
2 edit.php
@@ -284,7 +284,7 @@
?>
<div id="req-msg" class="req-warn ct-box error-box">
- <p><?php printf($lang_common['Required warn'], '<em>'.$lang_common['Required'].'</em>') ?></p>
+ <p class="important"><?php echo $lang_common['Required warn']; ?></p>
</div>
<form id="afocus" class="frm-form frm-ctrl-submit" method="post" accept-charset="utf-8" action="<?php echo $forum_page['form_action'] ?>"<?php if (!empty($forum_page['form_attributes'])) echo ' '.implode(' ', $forum_page['form_attributes']) ?>>
<div class="hidden">
View
4 lang/English/admin_common.php
@@ -23,7 +23,7 @@
'Delete help' => 'Requires confirmation via separate form.',
'Select all' => 'Select all',
'Required' => '(Required)',
-'Required warn' => 'All fields labelled %s must be completed before the form is submitted.',
+'Required warn' => 'All fields with bold label must be completed before the form is submitted.',
// Main Admin Menu Items and Title
'Forum administration' => 'Administration',
@@ -63,4 +63,4 @@
'Manage extensions' => 'Manage extensions',
'Manage hotfixes' => 'Manage hotfixes',
-);
+);
View
2 lang/English/common.php
@@ -68,7 +68,7 @@
'Required information' => 'Required information',
'Reqmark' => '*',
'Required' => '(Required)',
-'Required warn' => 'All fields labelled %s must be completed before the form is submitted.',
+'Required warn' => 'All fields with bold label must be completed before the form is submitted.',
'Crumb separator' => ' &rarr;&#160;', // The character or text that separates links in breadcrumbs
'Title separator' => '',
'Page separator' => '&#160;', //The character or text that separates page numbers
View
2 lang/English/install.php
@@ -53,7 +53,7 @@
'Pun repository help' => 'Install pun_repository extension (one-click extension downloader) after forum installation.',
'Start install' => 'Start install', // Label for submit button
'Required' => '(Required)',
-'Required warn' => 'All fields labelled %s must be completed before this form is submitted.',
+'Required warn' => 'All fields with bold label must be completed before this form is submitted.',
// Install errors
'No database support' => 'This PHP environment does not have support for any of the databases that PunBB supports. PHP needs to have support for either MySQL, PostgreSQL or SQLite in order for PunBB to be installed.',
View
4 login.php
@@ -318,7 +318,7 @@
?>
<div id="req-msg" class="req-warn ct-box error-box">
- <p class="important"><?php printf($lang_common['Required warn'], '<em>'.$lang_common['Required'].'</em>') ?></p>
+ <p class="important"><?php echo $lang_common['Required warn']; ?></p>
</div>
<form id="afocus" class="frm-form" method="post" accept-charset="utf-8" action="<?php echo $forum_page['form_action'] ?>">
<div class="hidden">
@@ -416,7 +416,7 @@
?>
<div id="req-msg" class="req-warn ct-box error-box">
- <p class="important"><?php printf($lang_common['Required warn'], '<em>'.$lang_common['Required'].'</em>') ?></p>
+ <p class="important"><?php echo $lang_common['Required warn']; ?></p>
</div>
<form id="afocus" class="frm-form" method="post" accept-charset="utf-8" action="<?php echo $forum_page['form_action'] ?>">
<div class="hidden">
View
4 misc.php
@@ -316,7 +316,7 @@
?>
<div id="req-msg" class="req-warn ct-box error-box">
- <p class="important"><?php printf($lang_common['Required warn'], '<em>'.$lang_common['Required'].'</em>') ?></p>
+ <p class="important"><?php echo $lang_common['Required warn']; ?></p>
</div>
<form id="afocus" class="frm-form" method="post" accept-charset="utf-8" action="<?php echo $forum_page['form_action'] ?>">
<div class="hidden">
@@ -510,7 +510,7 @@
</div>
<div class="main-content main-frm">
<div id="req-msg" class="req-warn ct-box error-box">
- <p class="important"><?php printf($lang_common['Required warn'], '<em>'.$lang_common['Required'].'</em>') ?></p>
+ <p class="important"><?php echo $lang_common['Required warn']; ?></p>
</div>
<?php
// If there were any errors, show them
View
2 post.php
@@ -414,7 +414,7 @@
?>
<div id="req-msg" class="req-warn ct-box error-box">
- <p><?php printf($lang_common['Required warn'], '<em>'.$lang_common['Required'].'</em>') ?></p>
+ <p class="important"><?php echo $lang_common['Required warn']; ?></p>
</div>
<form id="afocus" class="frm-form frm-ctrl-submit" method="post" accept-charset="utf-8" action="<?php echo $forum_page['form_action'] ?>"<?php if (!empty($forum_page['form_attributes'])) echo ' '.implode(' ', $forum_page['form_attributes']) ?>>
<div class="hidden">
View
8 profile.php
@@ -165,7 +165,7 @@
?>
<div id="req-msg" class="req-warn ct-box error-box">
- <p class="important"><?php printf($lang_common['Required warn'], '<em>'.$lang_common['Required'].'</em>') ?></p>
+ <p class="important"><?php echo $lang_common['Required warn']; ?></p>
</div>
<form id="afocus" class="frm-form" method="post" accept-charset="utf-8" action="<?php echo $forum_page['form_action'] ?>" autocomplete="off">
<div class="hidden">
@@ -332,7 +332,7 @@
?>
<div id="req-msg" class="req-warn ct-box error-box">
- <p class="important"><?php printf($lang_common['Required warn'], '<em>'.$lang_common['Required'].'</em>') ?></p>
+ <p class="important"><?php echo $lang_common['Required warn']; ?></p>
</div>
<form id="afocus" class="frm-form" method="post" accept-charset="utf-8" action="<?php echo $forum_page['form_action'] ?>" autocomplete="off">
<div class="hidden">
@@ -600,7 +600,7 @@
?>
<div id="req-msg" class="req-warn ct-box error-box">
- <p class="important"><?php printf($lang_common['Required warn'], '<em>'.$lang_common['Required'].'</em>') ?></p>
+ <p class="important"><?php echo $lang_common['Required warn']; ?></p>
</div>
<form id="afocus" class="frm-form" method="post" accept-charset="utf-8" action="<?php echo $forum_page['form_action'] ?>">
<div class="hidden">
@@ -1892,7 +1892,7 @@ function extract_elements($allowed_elements)
if ($forum_page['has_required']): ?>
<div id="req-msg" class="req-warn ct-box error-box">
- <p class="important"><?php printf($lang_common['Required warn'], '<em>'.$lang_common['Required'].'</em>') ?></p>
+ <p class="important"><?php echo $lang_common['Required warn']; ?></p>
</div>
<?php endif; ?>
<form class="frm-form" method="post" accept-charset="utf-8" action="<?php echo $forum_page['form_action'] ?>">
View
2 register.php
@@ -350,7 +350,7 @@
?>
<div id="req-msg" class="req-warn ct-box error-box">
- <p class="important"><?php printf($lang_common['Required warn'], '<em>'.$lang_common['Required'].'</em>') ?></p>
+ <p class="important"><?php echo $lang_common['Required warn']; ?></p>
</div>
<form class="frm-form" id="afocus" method="post" accept-charset="utf-8" action="<?php echo $forum_page['form_action'] ?>" autocomplete="off">
<div class="hidden">

0 comments on commit be371ef

Please sign in to comment.