[Fusionforge-commits] r19157 - in trunk/src: common/docman/views common/tracker/views www/admin www/forum/admin www/news www/people www/people/admin www/pm www/project/admin www/snippet www/survey/include
Marc-Etienne VARGENAU
vargenau at fusionforge.org
Thu Feb 13 17:51:38 CET 2014
Author: vargenau
Date: 2014-02-13 17:51:38 +0100 (Thu, 13 Feb 2014)
New Revision: 19157
Modified:
trunk/src/common/docman/views/editfile.php
trunk/src/common/tracker/views/form-addcanned.php
trunk/src/common/tracker/views/form-updatetracker.php
trunk/src/www/admin/database.php
trunk/src/www/admin/massmail.php
trunk/src/www/forum/admin/index.php
trunk/src/www/news/submit.php
trunk/src/www/people/admin/index.php
trunk/src/www/people/createjob.php
trunk/src/www/people/editjob.php
trunk/src/www/pm/add_task.php
trunk/src/www/project/admin/editimages.php
trunk/src/www/snippet/package.php
trunk/src/www/snippet/submit.php
trunk/src/www/survey/include/SurveyHTML.class.php
Log:
utils_requiredField before ":"
Modified: trunk/src/common/docman/views/editfile.php
===================================================================
--- trunk/src/common/docman/views/editfile.php 2014-02-13 16:49:39 UTC (rev 19156)
+++ trunk/src/common/docman/views/editfile.php 2014-02-13 16:51:38 UTC (rev 19157)
@@ -35,11 +35,11 @@
echo '<form id="editdocdata" name="editdocdata" method="post" enctype="multipart/form-data">';
echo '<table>';
echo ' <tr>';
-echo ' <td><strong>'. _('Document Title')._(': ').'</strong>'. utils_requiredField() .'<br />';
+echo ' <td><strong>'. _('Document Title').utils_requiredField()._(':').'</strong><br />';
echo ' <input pattern=".{5,}" title="'.sprintf(_('(at least %s characters)'), 5).'" id="title" type="text" name="title" size="40" maxlength="255"/></td>';
echo ' </tr>';
echo ' <tr>';
-echo ' <td><strong>'. _('Description')._(': ').'</strong>'. utils_requiredField() .'<br />';
+echo ' <td><strong>'. _('Description').utils_requiredField()._(':').'</strong><br />';
echo ' <input pattern=".{10,}" title="'.sprintf(_('(at least %s characters)'), 10).'" id="description" type="text" name="description" size="40" maxlength="255"/></td>';
echo ' </tr>';
if ($g->useDocmanSearch()) {
Modified: trunk/src/common/tracker/views/form-addcanned.php
===================================================================
--- trunk/src/common/tracker/views/form-addcanned.php 2014-02-13 16:49:39 UTC (rev 19156)
+++ trunk/src/common/tracker/views/form-addcanned.php 2014-02-13 16:51:38 UTC (rev 19157)
@@ -66,12 +66,12 @@
<form action="<?php echo getStringFromServer('PHP_SELF').'?group_id='.$group_id.'&atid='.$ath->getID(); ?>" method="post">
<input type="hidden" name="add_canned" value="y" />
<label for="title">
- <strong><?php echo _('Title') . _(':') ?></strong><?php echo utils_requiredField(); ?><br />
+ <strong><?php echo _('Title').utils_requiredField()._(':') ?></strong><br />
</label>
<input id="title" type="text" name="title" required="required" value="" size="80" maxlength="80" />
<p>
<label for="body">
- <strong><?php echo _('Message Body') . _(':') ?></strong><?php echo utils_requiredField(); ?><br />
+ <strong><?php echo _('Message Body').utils_requiredField()._(':') ?></strong><br />
</label>
<textarea id="body" name="body" required="required" rows="15" cols="80"></textarea></p>
<p>
Modified: trunk/src/common/tracker/views/form-updatetracker.php
===================================================================
--- trunk/src/common/tracker/views/form-updatetracker.php 2014-02-13 16:49:39 UTC (rev 19156)
+++ trunk/src/common/tracker/views/form-updatetracker.php 2014-02-13 16:51:38 UTC (rev 19157)
@@ -35,9 +35,9 @@
//
$ath->adminHeader(array('title'=>sprintf(_('Update settings for %s'),
$ath->getName())));
- ?>
- <form action="<?php echo getStringFromServer('PHP_SELF').'?group_id='.$group_id.'&atid='.$ath->getID(); ?>" method="post">
- <p>
+?>
+ <form action="<?php echo getStringFromServer('PHP_SELF').'?group_id='.$group_id.'&atid='.$ath->getID(); ?>" method="post">
+ <p>
<input type="hidden" name="update_type" value="y" />
<?php echo _('<strong>Name:</strong> (examples: meeting minutes, test results, RFP Docs)') ?><br />
<?php if ($ath->getDataType()) {
@@ -48,8 +48,8 @@
<?php
}
?>
- </p>
- <p>
+ </p>
+ <p>
<strong><?php echo _('Description')._(':'); ?></strong><br />
<?php if ($ath->getDataType()) {
echo $ath->getDescription();
@@ -59,30 +59,35 @@
<?php
}
?>
- </p>
- <p>
+ </p>
+ <p>
<strong><?php echo _('Send email on new submission to address')._(':'); ?></strong><br />
<input type="text" name="email_address" value="<?php echo $email_address; ?>" /></p>
- <p>
- <input type="checkbox" name="email_all" value="1" <?php echo (($email_all)?'checked="checked"':''); ?> /> <strong><?php echo _('Send email on all changes') ?></strong></p>
- <p>
+ <p>
+ <input type="checkbox" name="email_all" value="1" <?php echo (($email_all)?'checked="checked"':''); ?> /> <strong><?php echo _('Send email on all changes') ?></strong>
+ </p>
+ <p>
<strong><?php echo _('Days till considered overdue')._(':'); ?></strong><br />
- <input type="text" name="due_period" value="<?php echo $due_period; ?>" /></p>
- <p>
+ <input type="text" name="due_period" value="<?php echo $due_period; ?>" />
+ </p>
+ <p>
<strong><?php echo _('Days till pending tracker items time out')._(':'); ?></strong><br />
- <input type="text" name="status_timeout" value="<?php echo $status_timeout; ?>" /></p>
- <p>
+ <input type="text" name="status_timeout" value="<?php echo $status_timeout; ?>" />
+ </p>
+ <p>
<strong><?php echo _('Free form text for the “Submit New” page')._(':'); ?></strong><br />
- <textarea name="submit_instructions" rows="10" cols="55"><?php echo $submit_instructions; ?></textarea></p>
- <p>
+ <textarea name="submit_instructions" rows="10" cols="55"><?php echo $submit_instructions; ?></textarea>
+ </p>
+ <p>
<strong><?php echo _('Free form text for the Browse page')._(':'); ?></strong><br />
<textarea name="browse_instructions" rows="10" cols="55"><?php echo $browse_instructions; ?></textarea></p>
- <p>
- <input type="submit" name="post_changes" value="<?php echo _('Submit') ?>" /></p>
- </form>
- <?php
+ <p>
+ <input type="submit" name="post_changes" value="<?php echo _('Submit') ?>" />
+ </p>
+ </form>
+ <?php
- $ath->footer();
+ $ath->footer();
// Local Variables:
// mode: php
Modified: trunk/src/www/admin/database.php
===================================================================
--- trunk/src/www/admin/database.php 2014-02-13 16:49:39 UTC (rev 19156)
+++ trunk/src/www/admin/database.php 2014-02-13 16:51:38 UTC (rev 19157)
@@ -152,12 +152,12 @@
<table>
<tr>
-<td><?php echo _('Project Unix Name')._(': '); ?><?php echo utils_requiredField(); ?></td>
+<td><?php echo _('Project Unix Name').utils_requiredField()._(': '); ?></td>
<td><input type="text" required="required" name="groupname" /></td>
</tr>
<tr>
-<td><?php echo _('Database Name')._(': '); ?><?php echo utils_requiredField(); ?></td>
+<td><?php echo _('Database Name').utils_requiredField()._(': '); ?></td>
<td><input type="text" required="required" name="dbname" /></td>
</tr>
Modified: trunk/src/www/admin/massmail.php
===================================================================
--- trunk/src/www/admin/massmail.php 2014-02-13 16:49:39 UTC (rev 19156)
+++ trunk/src/www/admin/massmail.php 2014-02-13 16:51:38 UTC (rev 19157)
@@ -91,7 +91,7 @@
print '
<form action="'.getStringFromServer('PHP_SELF').'" method="post">'
.'<input type="hidden" name="form_key" value="'.form_generate_key().'" />'
-.'<strong>'._('Target Audience')._(':').'</strong>'.utils_requiredField().'<br />'.html_build_select_box_from_arrays(
+.'<strong>'._('Target Audience').utils_requiredField()._(':').'</strong><br />'.html_build_select_box_from_arrays(
array(0,'SITE','COMMNTY','DVLPR','ADMIN','ALL','SFDVLPR'),
array(
_('(select)'),
@@ -109,10 +109,10 @@
print '
<p>
-<strong>' ._('Subject')._(':').'</strong>'.utils_requiredField().'
+<strong>' ._('Subject').utils_requiredField()._(':').'</strong>
<br /><input type="text" required="required" name="mail_subject" size="50" value="['.forge_get_config ('forge_name').'] " /></p>
-<p><strong>'._('Text of Message')._(':').'</strong>'.utils_requiredField(). _('(will be appended with unsubscription information, if applicable)').'</p>
+<p><strong>'._('Text of Message').utils_requiredField()._(':').'</strong>'._('(will be appended with unsubscription information, if applicable)').'</p>
<pre><textarea required="required" name="mail_message" cols="70" rows="20">
</textarea>
</pre>
Modified: trunk/src/www/forum/admin/index.php
===================================================================
--- trunk/src/www/forum/admin/index.php 2014-02-13 16:49:39 UTC (rev 19156)
+++ trunk/src/www/forum/admin/index.php 2014-02-13 16:51:38 UTC (rev 19157)
@@ -110,11 +110,11 @@
<input type="hidden" name="add_forum" value="y" />
<input type="hidden" name="group_id" value="'.$group_id.'" />
<input type="hidden" name="form_key" value="' . form_generate_key() . '" />
- <strong>'._('Forum Name')._(':').utils_requiredField().'</strong><br />
+ <strong>'._('Forum Name').utils_requiredField()._(':').'</strong><br />
<input type="text" name="forum_name" required="required" value="" size="20" maxlength="30" />
</p>
<p>
- <strong>'._('Description')._(':').utils_requiredField().'</strong><br />
+ <strong>'._('Description').utils_requiredField()._(':').'</strong><br />
<input type="text" name="description" required="required" value="" size="40" maxlength="80" />
</p>
<p>
@@ -156,7 +156,7 @@
<input type="email" name="send_all_posts_to" value="'. $f->getSendAllPostsTo() .'" size="60" />
</p>
<p>
- <strong>'._('Description')._(': ').utils_requiredField().'</strong><br />
+ <strong>'._('Description').utils_requiredField()._(': ').'</strong><br />
<input type="text" name="description" required="required" value="'. $f->getDescription() .'" size="60" maxlength="80" /><br />
</p>
<p>
Modified: trunk/src/www/news/submit.php
===================================================================
--- trunk/src/www/news/submit.php 2014-02-13 16:49:39 UTC (rev 19156)
+++ trunk/src/www/news/submit.php 2014-02-13 16:51:38 UTC (rev 19157)
@@ -152,10 +152,10 @@
<input type="hidden" name="form_key" value="'. form_generate_key() .'" />
<p><strong>'._('For project')._(': ').$group->getPublicName().'</strong></p>
<p>
- <strong>'._('Subject')._(': ').'</strong>'.utils_requiredField().'<br />
+ <strong>'._('Subject').utils_requiredField()._(': ').'</strong><br />
<input required="required" type="text" name="summary" value="'.$summary.'" size="80" /></p>
<p>
- <strong>'._('Details')._(': ').'</strong>'.notepad_button('document.forms.newssubmitform.details').utils_requiredField().'</p>';
+ <strong>'._('Details').utils_requiredField()._(': ').'</strong>'.notepad_button('document.forms.newssubmitform.details').'</p>';
$params = array();
$params['name'] = 'details';
Modified: trunk/src/www/people/admin/index.php
===================================================================
--- trunk/src/www/people/admin/index.php 2014-02-13 16:49:39 UTC (rev 19156)
+++ trunk/src/www/people/admin/index.php 2014-02-13 16:51:38 UTC (rev 19157)
@@ -101,7 +101,7 @@
<input type="hidden" name="post_changes" value="y" />
<input type="hidden" name="form_key" value="<?php echo form_generate_key();?>">
<label for="cat_name">
- <strong><?php echo _('New Category Name')._(':').utils_requiredField(); ?></strong>
+ <strong><?php echo _('New Category Name').utils_requiredField()._(':'); ?></strong>
</label>
<input type="text" id="cat_name" name="cat_name" value="" size="15" maxlength="30" required="required" />
</p>
Modified: trunk/src/www/people/createjob.php
===================================================================
--- trunk/src/www/people/createjob.php 2014-02-13 16:49:39 UTC (rev 19156)
+++ trunk/src/www/people/createjob.php 2014-02-13 16:51:38 UTC (rev 19157)
@@ -50,10 +50,10 @@
<strong>'._('Category').'</strong>'.utils_requiredField().'</p>
'. people_job_category_box('category_id') .'
<p>
- <strong>'._('Short Description')._(':').'</strong>'.utils_requiredField().'<br />
+ <strong>'._('Short Description').utils_requiredField()._(':').'</strong><br />
<input type="text" required="required" name="title" value="" size="40" maxlength="60" /></p>
<p>
- <strong>'._('Long Description')._(':').'</strong>'.utils_requiredField().'<br />
+ <strong>'._('Long Description').utils_requiredField()._(':').'</strong><br />
<textarea required="required" name="description" rows="10" cols="60"></textarea></p>
<p>
<input type="submit" name="add_job" value="'._('Continue >>').'" />
Modified: trunk/src/www/people/editjob.php
===================================================================
--- trunk/src/www/people/editjob.php 2014-02-13 16:49:39 UTC (rev 19156)
+++ trunk/src/www/people/editjob.php 2014-02-13 16:51:38 UTC (rev 19157)
@@ -167,10 +167,10 @@
<strong>'._('Status').'</strong>'.utils_requiredField().'<br />
'. people_job_status_box('status_id',db_result($result,0,'status_id')) .'</p>
<p>
- <strong>'._('Short Description')._(':').'</strong>'.utils_requiredField().'<br />
+ <strong>'._('Short Description').utils_requiredField()._(':').'</strong><br />
<input type="text" name="title" value="'. db_result($result,0,'title') .'" size="40" maxlength="60" required="required" /></p>
<p>
- <strong>'._('Long Description')._(':').'</strong>'.utils_requiredField().'<br />
+ <strong>'._('Long Description').utils_requiredField()._(':').'</strong><br />
<textarea name="description" rows="10" cols="60" required="required" >'. db_result($result,0,'description') .'</textarea></p>
<p>
<input type="submit" name="update_job" value="'._('Update Descriptions').'" /></p>
Modified: trunk/src/www/pm/add_task.php
===================================================================
--- trunk/src/www/pm/add_task.php 2014-02-13 16:49:39 UTC (rev 19156)
+++ trunk/src/www/pm/add_task.php 2014-02-13 16:51:38 UTC (rev 19157)
@@ -71,21 +71,22 @@
<tr>
<td colspan="2">
- <strong><?php echo _('Task Summary') . _(': '); ?></strong><?php echo utils_requiredField(); ?><br />
+ <strong><?php echo _('Task Summary').utils_requiredField()._(': '); ?></strong><br />
<input required="required" type="text" name="summary" size="65" maxlength="65" value="<?php echo $related_artifact_summary; ?>" />
</td>
</tr>
<tr>
<td colspan="2">
- <strong><?php echo _('Task Details') . _(': '); ?></strong><?php echo notepad_button('document.forms.addtaskform.details') ?> <?php echo utils_requiredField(); ?><br />
+ <strong><?php echo _('Task Details').utils_requiredField()._(': '); ?></strong>
+ <?php echo notepad_button('document.forms.addtaskform.details') ?><br />
<?php echo $params['content']; ?>
</td>
</tr>
<tr>
<td colspan="2">
- <strong><?php echo _('Estimated Hours') . _(': '); ?></strong><?php echo utils_requiredField(); ?><br />
+ <strong><?php echo _('Estimated Hours').utils_requiredField()._(': '); ?></strong><br />
<input required="required" type="text" name="hours" size="5" value="1" />
</td>
</tr>
@@ -146,7 +147,7 @@
will add duration and parent_id choices at some point
<tr>
<td>
- <strong><?php echo _('Estimated Hours') . _(': '); ?></strong><?php echo utils_requiredField(); ?><br />
+ <strong><?php echo _('Estimated Hours').utils_requiredField()._(':'); ?></strong><br />
<input required="required" type="text" name="hours" size="5" />
</td>
Modified: trunk/src/www/project/admin/editimages.php
===================================================================
--- trunk/src/www/project/admin/editimages.php 2014-02-13 16:49:39 UTC (rev 19156)
+++ trunk/src/www/project/admin/editimages.php 2014-02-13 16:51:38 UTC (rev 19157)
@@ -247,10 +247,10 @@
<p>
<form action="'. getStringFromServer('PHP_SELF') .'" method="post" enctype="multipart/form-data">
<input type="hidden" name="group_id" value="'.$group_id.'" />
- <strong>'._('Local filename')._(':').'</strong>'.utils_requiredField().'<br />
+ <strong>'._('Local filename').utils_requiredField()._(':').'</strong><br />
<input type="file" required="required" name="input_file" />
<p>
- <strong>'._('Description')._(':').'</strong>'.utils_requiredField().'<br />
+ <strong>'._('Description').utils_requiredField()._(':').'</strong><br />
<input type="text" required="required" name="description" size="40" maxlength="255" /></p><p>
<input type="hidden" name="add" value="1" />
<input type="submit" value="'._('Add File').'" name="submit" /></p>
Modified: trunk/src/www/snippet/package.php
===================================================================
--- trunk/src/www/snippet/package.php 2014-02-13 16:49:39 UTC (rev 19156)
+++ trunk/src/www/snippet/package.php 2014-02-13 16:51:38 UTC (rev 19157)
@@ -144,16 +144,16 @@
<table>
- <tr><td colspan="2"><strong><?php echo _('Title')._(':'); ?></strong><?php echo utils_requiredField(); ?><br />
+ <tr><td colspan="2"><strong><?php echo _('Title').utils_requiredField()._(':'); ?></strong><br />
<input type="text" required="required" name="name" size="45" maxlength="60" />
</td></tr>
- <tr><td colspan="2"><strong><?php echo _('Description')._(':'); ?></strong><?php echo utils_requiredField(); ?><br />
+ <tr><td colspan="2"><strong><?php echo _('Description').utils_requiredField()._(':'); ?></strong><br />
<textarea name="description" required="required" rows="5" cols="45"></textarea>
</td></tr>
<tr>
- <td><strong><?php echo _('Language')._(':'); ?></strong><?php echo utils_requiredField(); ?><br />
+ <td><strong><?php echo _('Language').utils_requiredField()._(':'); ?></strong><br />
<?php echo html_build_select_box_from_array ($SCRIPT_LANGUAGE,'language'); ?>
<br />
<!--<?php echo util_make_link ('/support/?func=addsupport&group_id=1',_('Suggest a Language')); ?>-->
@@ -166,7 +166,7 @@
</td>
</tr>
- <tr><td colspan="2"><strong><?php echo _('Version')._(':'); ?></strong><?php echo utils_requiredField(); ?><br />
+ <tr><td colspan="2"><strong><?php echo _('Version').utils_requiredField()._(':'); ?></strong><br />
<input type="text" required="required" name="version" size="10" maxlength="15" />
</td></tr>
Modified: trunk/src/www/snippet/submit.php
===================================================================
--- trunk/src/www/snippet/submit.php 2014-02-13 16:49:39 UTC (rev 19156)
+++ trunk/src/www/snippet/submit.php 2014-02-13 16:51:38 UTC (rev 19157)
@@ -87,10 +87,10 @@
?>
<p>
- <?php echo _('You can post a new code snippet and share it with other people around the world. Just fill in this information. <strong>Give a good description</strong> and <strong>comment your code</strong> so others can read and understand it.'); ?>
+ <?php echo _('You can post a new code snippet and share it with other people around the world. Just fill in this information. <strong>Give a good description</strong> and <strong>comment your code</strong> so others can read and understand it.'); ?>
</p>
<p>
- <?php echo _('<span class="important">Note:</span> You can submit a new version of an existing snippet by browsing the library. You should only use this page if you are submitting an entirely new script or function.'); ?>
+ <?php echo _('<span class="important">Note:</span> You can submit a new version of an existing snippet by browsing the library. You should only use this page if you are submitting an entirely new script or function.'); ?>
</p>
<form action="<?php echo getStringFromServer('PHP_SELF'); ?>" method="post" id="snippet_submit">
<?php
@@ -102,43 +102,43 @@
<table>
<tr><td colspan="2">
- <?php echo $HTML->html_input('name', '', _('Title')._(': ') . utils_requiredField(), 'text', '', array('size' => '45', 'maxlength' => '60', 'required' => 'required')); ?>
+ <?php echo $HTML->html_input('name', '', _('Title').utils_requiredField()._(': '), 'text', '', array('size' => '45', 'maxlength' => '60')); ?>
</td></tr>
<tr><td colspan="2">
- <?php echo $HTML->html_textarea('description', '', _('Description')._(': ') . utils_requiredField(), '', array('rows' => '5', 'cols' => '45', 'required' => 'required')); ?>
+ <?php echo $HTML->html_textarea('description', '', _('Description').utils_requiredField()._(': '), '', array('rows' => '5', 'cols' => '45')); ?>
</td></tr>
<tr>
<td>
- <?php echo $HTML->html_select ($SCRIPT_TYPE, 'type', _('Script Type') ._(': '). utils_requiredField() ); ?>
+ <?php echo $HTML->html_select($SCRIPT_TYPE, 'type', _('Script Type').utils_requiredField()._(': ')); ?>
</td>
<td>
- <?php echo $HTML->html_select ($SCRIPT_LICENSE, 'license', _('License')._(': ')); ?>
+ <?php echo $HTML->html_select($SCRIPT_LICENSE, 'license', _('License')._(': ')); ?>
</td>
</tr>
<tr>
<td>
- <?php echo $HTML->html_select ($SCRIPT_LANGUAGE, 'language', _('Language')._(': ') . utils_requiredField()); ?>
+ <?php echo $HTML->html_select($SCRIPT_LANGUAGE, 'language', _('Language').utils_requiredField()._(': ')); ?>
<br />
<!-- FIXME: Where should this link go to? <?php echo util_make_link ('/support/?func=addsupport&group_id=1',_('Suggest a Language')); ?> -->
</td>
<td>
- <?php echo $HTML->html_select ($SCRIPT_CATEGORY, 'category', _('Category')._(': ') . utils_requiredField()); ?>
+ <?php echo $HTML->html_select($SCRIPT_CATEGORY, 'category', _('Category').utils_requiredField()._(': ')); ?>
<br />
<!-- FIXME: Where should this link go to? <?php echo util_make_link ('/support/?func=addsupport&group_id=1',_('Suggest a Category')); ?> -->
</td>
</tr>
<tr><td colspan="2">
- <?php echo $HTML->html_input('version', '', _('Version')._(': ') . utils_requiredField(), 'text', '', array('size' => '10', 'maxlength' => '15', 'required' => 'required')); ?>
+ <?php echo $HTML->html_input('version', '', _('Version').utils_requiredField()._(': '), 'text', '', array('size' => '10', 'maxlength' => '15')); ?>
</td></tr>
<tr><td colspan="2">
- <?php echo $HTML->html_textarea('code', '', _('Paste the Code Here')._(': ') . utils_requiredField(), '', array('rows' => '30', 'cols' => '85', 'required' => 'required')); ?>
+ <?php echo $HTML->html_textarea('code', '', _('Paste the Code Here').utils_requiredField()._(': '), '', array('rows' => '30', 'cols' => '85')); ?>
</td></tr>
<tr><td colspan="2" class="align-center">
Modified: trunk/src/www/survey/include/SurveyHTML.class.php
===================================================================
--- trunk/src/www/survey/include/SurveyHTML.class.php 2014-02-13 16:49:39 UTC (rev 19156)
+++ trunk/src/www/survey/include/SurveyHTML.class.php 2014-02-13 16:51:38 UTC (rev 19157)
@@ -195,7 +195,7 @@
$ret.='<input type="hidden" name="survey_id" value="'.$survey_id.'" />';
$ret.='<input type="hidden" name="survey_questions" value="'.$survey_questions.'" />';
$ret.='<input type="hidden" name="form_key" value="' . form_generate_key() . '" />';
- $ret.='<strong>'._('Survey Title')._(':').'</strong>'.utils_requiredField();
+ $ret.='<strong>'._('Survey Title').utils_requiredField()._(':').'</strong>';
$ret.= '<input required="required" type="text" name="survey_title" value="'.$survey_title.'" size="60" maxlength="150" /></p>';
$ret.='<p><strong>'. _('Is Active?').'</strong>';
More information about the Fusionforge-commits
mailing list