$feedback = '';
}
-site_header(array('title'=>_('Project Information')));
+site_header(array('title'=>_('Register Project')));
+echo '<h1>' . _('Register Project') . '</h1>';
?>
<p><?php echo _('To apply for project registration, you should fill in basic information about it. Please read descriptions below carefully and provide complete and comprehensive data. All fields below are mandatory.') ?>
$user_id = user_getid();
/* Show header */
+$title = sprintf(_('Surveys for %1$s'), $g->getPublicName());
$sh = new SurveyHtml();
-$sh->header(array('title'=>_('Survey')));
-echo '<h1>'.sprintf(_('Surveys for %1$s'), $g->getPublicName()) .'</h1>';
+$sh->header(array('title'=>$title));
+echo '<h1>' . $title . '</h1>';
/* Show list of Servey */
$sf = new SurveyFactory($g);
$sh = new SurveyHtml();
$s = new Survey($g, $survey_id);
-$sh->header(array('title'=>_('Survey')));
+$title = sprintf(_('Vote for Survey: %1$s'), $s->getTitle());
+$sh->header(array('title'=>$title));
+echo '<h1>' . $title . '</h1>';
if (!$survey_id) {
- echo "<h1>"._('For some reason, the Group ID or Survey ID did not make it to this page')."</h1>";
+ echo '<div class="error">'._('For some reason, the Group ID or Survey ID did not make it to this page').'</div>';
} else {
echo($sh->ShowSurveyForm($s));
}
}
$sh = new SurveyHtml();
-$sh->header(array('title'=>_('Survey Complete')));
+$title = _('Survey Complete');
+$sh->header(array('title'=>$title));
+echo '<h1>' . $title . '</h1>';
if (!$survey_id) {
/*