' . sprintf(_('You are now a registered user on %1$s, the online development environment for Open Source projects.'), $forge_name) . '
';
+print '
' . sprintf(_('You are now a registered user on %s, the online development environment for Open Source projects.'), $forge_name) . '
';
-print '
' . sprintf(_('As a registered user, you can participate fully in the activities on the site. You may now post messages to the project message forums, post bugs for software in %1$s, sign on as a project developer, or even start your own project.'), $forge_name) . '
';
+print '
' . sprintf(_('As a registered user, you can participate fully in the activities on the site. You may now post messages to the project message forums, post bugs for software in %s, sign on as a project developer, or even start your own project.'), $forge_name) . '
';
$HTML->footer(array());
exit();
diff --git a/src/www/forum/monitor.php b/src/www/forum/monitor.php
index cd5b83d10d..66f68956fa 100644
--- a/src/www/forum/monitor.php
+++ b/src/www/forum/monitor.php
@@ -58,7 +58,7 @@ if ($forum_id && $group_id) {
if (!$confirm) {
forum_header(array('title'=>_('Stop Monitoring'), 'modal' => 1));
echo $HTML->confirmBox(
- sprintf(_('You are about to stop monitoring the %1$s forum.'),$f->getName()).
+ sprintf(_('You are about to stop monitoring the %s forum.'),$f->getName()).
'
';
- }
+';
+ printf(_('Alternatively, you can use FTP to upload a new file at %s.'), forge_get_config('ftp_upload_host'));
+ echo ' ';
+ echo _('Choose an already uploaded file:').' ';
+ $ftp_files_arr=frs_filterfiles(ls($upload_dir,true));
+ echo html_build_select_box_from_arrays($ftp_files_arr,$ftp_files_arr,'ftp_filename','');
+ echo '';
+}
- if (forge_get_config('use_manual_uploads')) {
- $incoming = forge_get_config('groupdir_prefix')."/".$group->getUnixName()."/incoming" ;
- echo '
';
- printf(_('Alternatively, you can use a file you already uploaded (by SFTP or SCP) to the project\'s incoming directory (%1$s).'),
+if (forge_get_config('use_manual_uploads')) {
+ $incoming = forge_get_config('groupdir_prefix')."/".$group->getUnixName()."/incoming" ;
+ echo '
';
+ printf(_('Alternatively, you can use a file you already uploaded (by SFTP or SCP) to the project\'s incoming directory (%1$s).'),
$incoming, "sftp://" . forge_get_config ('web_host') . $incoming . "/");
- echo ' ' . _('This direct sftp:// link only works with some browsers, such as Konqueror.') . ' ';
- echo _('Choose an already uploaded file:').' ';
- $manual_files_arr=frs_filterfiles(ls($incoming,true));
- echo html_build_select_box_from_arrays($manual_files_arr,$manual_files_arr,'manual_filename','');
- echo '
';
- }
+ echo ' ' . _('This direct sftp:// link only works with some browsers, such as Konqueror.') . ' ';
+ echo _('Choose an already uploaded file:').' ';
+ $manual_files_arr=frs_filterfiles(ls($incoming,true));
+ echo html_build_select_box_from_arrays($manual_files_arr,$manual_files_arr,'manual_filename','');
+ echo '';
+}
?>
diff --git a/src/www/news/admin/index.php b/src/www/news/admin/index.php
index b722b006e1..f26b0fc4ea 100644
--- a/src/www/news/admin/index.php
+++ b/src/www/news/admin/index.php
@@ -145,7 +145,7 @@ details=$3 WHERE id=$4 AND group_id=$5", array($status, htmlspecialchars($summar
echo $params['content'].' ';
echo '
- '.sprintf(_('If this item is on the %1$s home page and you edit it, it will be removed from the home page.'), forge_get_config('forge_name')).'
+ '.sprintf(_('If this item is on the %s home page and you edit it, it will be removed from the home page.'), forge_get_config('forge_name')).'
';
diff --git a/src/www/people/index.php b/src/www/people/index.php
index 7b6645aa4c..f2b656ad0f 100644
--- a/src/www/people/index.php
+++ b/src/www/people/index.php
@@ -58,7 +58,7 @@ if ($group_id) {
people_header(array('title'=>_('Help Wanted System')));
print '
';
- printf(_('The %1$s Project Help Wanted board is for non-commercial, project volunteer openings. Commercial use is prohibited.'), forge_get_config ('forge_name'));
+ printf(_('The %s Project Help Wanted board is for non-commercial, project volunteer openings. Commercial use is prohibited.'), forge_get_config ('forge_name'));
print '