?>
<form action="<?php echo util_make_url('/account/change_email.php'); ?>" method="post">
+<p>
<input type="hidden" name="form_key" value="<?php echo form_generate_key(); ?>"/>
<?php echo _('New Email Address:') ?>
<input type="text" name="newemail" maxlength="255" />
<input type="submit" name="submit" value="<?php echo _('Send Confirmation to New Address') ?>" />
+</p>
</form>
<p><?php echo util_make_link('/', _('Return')); ?></p>
$qpa = db_construct_qpa ($qpa, implode (',', $v).')', $values) ;
if (db_query_qpa($qpa)) {
- print('<div class="feedback">');
+ print('<p class="feedback">');
printf(_('%1$s successfully added.'), ucfirst(getUnitLabel($unit)));
- print('</div>');
+ print('</p>');
} else {
- form_release_key(getStringFromRequest('form_key'));
+ print('<p class="error">');
echo db_error();
+ print('</p>');
+ form_release_key(getStringFromRequest('form_key'));
}
}
*/
function admin_table_delete($table, $unit, $primary_key, $id) {
if (db_query_params("DELETE FROM $table WHERE $primary_key=$1", array($id))) {
- print('<div class="feedback">');
+ print('<p class="feedback">');
printf(_('%1$s successfully deleted.'), ucfirst(getUnitLabel($unit)));
- print('</div>');
+ print('</p>');
} else {
echo db_error();
}
array ($id)) ;
if (db_query_qpa($qpa)) {
- print('<div class="feedback">');
+ print('<p class="feedback">');
printf(_('%1$s successfully modified.'), ucfirst(getUnitLabel($unit)));
- print('</div>');
+ print('</p>');
} else {
echo db_error();
}
site_admin_header(array('title'=>_('Plugin Manager')));
?>
<script type="text/javascript">
-
+<!--
function change(url,plugin)
{
field = document.theform.elements[plugin];
}
}
+// -->
</script>
<?php
echo '<h1>' . _('Plugin Manager') . '</h1>';
}
}
- echo "<div class='feedback'>" .sprintf(_('User updated to %1$s status'), $statusString)."</div>";
+ echo '<p class="feedback">' .sprintf(_('User updated to %1$s status'), $statusString)."</p>";
}
function show_users_list ($users) {
echo $HTML->boxTop(_('Date').": ".date(_('Y-m-d H:i'), db_result($res,$i,'date_posted')));
if (!$res || db_numrows($res) < 1) {
- echo _('Entry Not Found For This User');
+ echo '<p>' . _('Entry Not Found For This User') . '</p>';
} else {
echo'<strong>'._('Subject').':</strong> '. db_result($res,$i,'summary') .'<p>
<strong>'._('Body').':</strong><br />
$HTML->header(array('title'=>_('RSS Exports')));
-echo '<h2>' . _('RSS Exports') . '</h2><p>';
-
+echo '<h2>' . _('RSS Exports') . '</h2>';
+echo '<p>';
printf(_('%1$s data is exported in RSS 2.0 format. Many of
the export URLs can also accept form/get data to customize the output. All
data generated by these pages is realtime.'), forge_get_config ('forge_name'));
<?php echo $string_rss_20; ?>
</ul>
-</p>
<a href="javascript:history.go(-1)">[<?php echo _('Go back') ?>]</a>
<br />
<?php $HTML->footer(array()); ?>
forum_header(array('title'=>_('Add forum')));
echo '
- <br />
<form method="post" action="'.getStringFromServer('PHP_SELF').'">
+ <p>
<input type="hidden" name="post_changes" value="y" />
<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').':</strong><br />
- <input type="text" name="forum_name" value="" size="20" maxlength="30" /><br />
+ <input type="text" name="forum_name" value="" size="20" maxlength="30" />
+ </p>
+ <p>
<strong>'._('Description').':</strong><br />
- <input type="text" name="description" value="" size="40" maxlength="80" /><br />
+ <input type="text" name="description" value="" size="40" maxlength="80" />
+ </p>
+ <p>
<strong>'._('Is Public?').'</strong><br />
<input type="radio" name="is_public" value="1" checked="checked" />'._('Yes').' <br />
<input type="radio" name="is_public" value="0" />'._('No').'
- <br /><br />
+ </p>
+ <p>
<strong>'._('Allow Anonymous Posts?').'</strong><br />
<input type="radio" name="allow_anonymous" value="1" />'._('Yes').'<br />
<input type="radio" name="allow_anonymous" value="0" checked="checked" />'._('No').'
- <br /><br />' .
+ </p>
+ <p>
+
html_build_select_box_from_assoc(array("0" => _('No Moderation') ,"1" => _('Moderated Level 1'),"2" => _('Moderated Level 2') ),"moderation_level",0) . '
<br />' . _('Moderated Level 1') . ': ' . _('To moderate anonymous posts (if allowed in public forum) and posts from non-member users.') . '<br />' . _('Moderated Level 2') . ': ' . _('To moderate ALL posts.') . '<p>
<strong>'._('Email All Posts To:').'</strong><br />
<input type="text" name="send_all_posts_to" value="" size="60" />
- <br />
+ </p>
+ <p>
<input type="submit" name="submit" value="'._('Add This Forum').'" />
</p>
</form>';
echo '
<form action="'.getStringFromServer('PHP_SELF').'" method="post">
+ <p>
<input type="hidden" name="post_changes" value="y" />
<input type="hidden" name="change_status" value="y" />
<input type="hidden" name="group_forum_id" value="'. $f->getID() .'" />
<strong>'._('Allow Anonymous Posts?').'</strong><br />
<input type="radio" name="allow_anonymous" value="1"'.(($f->AllowAnonymous() == 1)?' checked="checked"':'').' /> '._('Yes').'<br />
- <input type="radio" name="allow_anonymous" value="0"'.(($f->AllowAnonymous() == 0)?' checked="checked"':'').'/> '._('No').'<br />
-
- <p />
+ <input type="radio" name="allow_anonymous" value="0"'.(($f->AllowAnonymous() == 0)?' checked="checked"':'').'/> '._('No').'
+ </p>
+ <p>
<strong>'._('Is Public?').'</strong><br />
<input type="radio" name="is_public" value="1"'.(($f->isPublic() == 1)?' checked="checked"':'').' /> '._('Yes').'<br />
<input type="radio" name="is_public" value="0"'.(($f->isPublic() == 0)?' checked="checked"':'').' /> '._('No').'<br />
<strong>'._('Forum Name').':</strong><br />
<input type="text" name="forum_name" value="'. $f->getName() .'" size="20" maxlength="30" />
+ </p>
<p>
<strong>'._('Email All Posts To:').'</strong><br />
<input type="text" name="send_all_posts_to" value="'. $f->getSendAllPostsTo() .'" size="60" />
+ </p>
<p>
<strong>'._('Description').':</strong><br />
<input type="text" name="description" value="'. $f->getDescription() .'" size="60" maxlength="80" /><br />
+ </p>
<p>
<input type="submit" name="submit" value="'._('Update').'" />
+ </p>
</form><p>';
//echo '<a href="'.getStringFromServer('PHP_SELF').'?group_id='.$group_id.'&group_forum_id='.$group_forum_id.'&delete=1">'._('Delete Message').'</a><br />';
- echo '<a href="'.getStringFromServer('PHP_SELF').'?group_id='.$group_id.'&group_forum_id='.$group_forum_id.'&deleteforum=1">'._('Delete entire forum and all content').'</a><br />';
+ echo '<a href="'.getStringFromServer('PHP_SELF').'?group_id='.$group_id.'&group_forum_id='.$group_forum_id.'&deleteforum=1">'._('Delete entire forum and all content').'</a></p>';
forum_footer(array());
} elseif ($deleteforum && $group_forum_id) {
echo '<center>
<form action="'.getStringFromServer('PHP_SELF').'" method="post">
- <h3>' . sprintf(_('Move thread from %s forum to the following forum:'), $f_from->getName()) . '</h3>
+ <p><strong>' . sprintf(_('Move thread from %s forum to the following forum:'), $f_from->getName()) . '</strong></p>
<p>
<input type="hidden" name="movethread" value="'.$thread_id.'" />
<input type="hidden" name="group_id" value="'.$group_id.'" />
echo '<table><tr><td valign="top">';
if (!$result || db_numrows($result) < 1) {
- echo '<div class="error">'._('Error - this news item was not found').'</div>';
+ echo '<p class="error">'._('Error - this news item was not found').'</p>';
} else {
$user = user_get_object(db_result($result,0,'submitted_by'));
$group =& group_get_object($params['group']);
require_once $gfwww.'include/vote_function.php';
-$HTML->header(array('title'=>_('Developer Profile')));
+$title = _('User Profile');
+$HTML->header(array('title'=>$title));
+echo '<h1>' . $title . '</h1>';
echo $HTML->boxTop(_('Personal Information'), _('Personal Information')); ?>
<input type="radio" name="vote_on_id" value="<?php echo $vote_on_id; ?>" />
<input type="radio" name="redirect_to" value="<?php echo urlencode(getStringFromServer('REQUEST_URI')); ?>" />
<input type="radio" name="flag" value="<?php echo $flag; ?>" />
- <div align="center">
+ <div style="margin-left: auto; margin-right: auto;">
<?php echo html_image("rateit.png","100","9"); ?>
<br />
<?php
$mlArray =& $mlFactory->getMailingLists();
if ($mlFactory->isError()) {
- echo '<h1>'._('Error').' '.sprintf(_('Unable to get the list %s'), $Group->getPublicName()) .'</h1>';
+ echo '<p>'._('Error').' '.sprintf(_('Unable to get the list %s'), $Group->getPublicName()) .'</p>';
echo '<div class="error">'.$mlFactory->getErrorMessage().'</div>';
mail_footer(array());
exit;
<html>
<head>
<title>GForge Notepad</title>
- <script language="JavaScript" type="text/javascript">
+ <script type="text/javascript">
<!--
function load_initial_value() {
try {
exit_error('Error',$ptf->getErrorMessage());
}
-$offset = getIntFromRequest('offset');
$_order = getStringFromRequest('_order');
$set = getStringFromRequest('set');
$_assigned_to = getIntFromRequest('_assigned_to');
<tr><td><strong>'._('Subproject').'</strong><br />
'.$pg->groupProjectBox('new_group_project_id',$group_project_id,false).'</td>
- <td align="middle"><input type="submit" name="submit" value="'.
- _('Mass update').'"></td></tr>
+ <td><input type="submit" name="submit" value="'.
+ _('Mass update').'" /></td></tr>
</table>
</form>';
}
if (count($pg_arr) < 1 || $pg_arr == false) {
- echo '<div class="warning_msg">'._('No Subprojects Found').'</div>';
+ echo '<p class="warning_msg">'._('No Subprojects Found').'</p>';
echo '<p>'._('No subprojects have been set up, or you cannot view them.').'</p>';
echo '<p class="important">'._('The Admin for this project will have to set up subprojects using the admin page.').'</p>';
} else {
?>
-<p />
-<?php echo _('In an attempt to reduce spam, we are using this form to send email.<p />Fill it out accurately and completely or the receiver may not be able to respond.<p /><span class="important"><b>IF YOU ARE WRITING FOR HELP:</b> Did you read the site documentation? Did you include your <b>user_id</b> and <b>user_name?</b> If you are writing about a project, include your <b>project id</b> (<b>group_id</b>) and <b>Project Name</b>.</span>'); ?>
-<p />
+<p>
+<?php echo _('In an attempt to reduce spam, we are using this form to send email.'); ?>
+</p>
+
+<p>
+<?php echo _('Fill it out accurately and completely or the receiver may not be able to respond.'); ?>
+</p>
+
+<p class="important">
+<?php echo _('<b>IF YOU ARE WRITING FOR HELP:</b> Did you read the site documentation? Did you include your <b>user_id</b> and <b>user_name?</b> If you are writing about a project, include your <b>project id</b> (<b>group_id</b>) and <b>Project Name</b>.'); ?>
+</p>
+
<form action="<?php echo getStringFromServer('PHP_SELF'); ?>" method="post">
+
+<p>
<input type="hidden" name="form_key" value="<?php echo form_generate_key(); ?>" />
<input type="hidden" name="toaddress" value="<?php echo $toaddress; ?>" />
<input type="hidden" name="touser" value="<?php echo $touser; ?>" />
<strong><?php echo _('Your Name').utils_requiredField() ?> :</strong><br />
<input type="text" name="name" size="40" maxlength="40" value="<?php echo $name ?>" />
-<p />
+</p>
+<p>
<strong><?php echo _('Your Email Address').utils_requiredField() ?> :</strong><br />
<input type="text" name="email" size="40" maxlength="255" value="<?php echo $email ?>" />
-<p />
+</p>
+<p>
<strong><?php echo _('Subject').utils_requiredField() ?> :</strong><br />
<input type="text" name="subject" size="60" maxlength="255" value="<?php echo $subject; ?>" />
-<p />
+</p>
+<p>
<strong><?php echo _('Message').utils_requiredField() ?> :</strong><br />
<textarea name="body" rows="15" cols="60"></textarea>
-<p />
-<div align="center">
+</p>
+<p align="center">
<input type="submit" name="send_mail" value="<?php echo _('Send Message') ?>" />
-</div>
+</p>
</form>
<?php
$HTML->footer(array());