// but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. // See the GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with BOINC. If not, see <http://www.gnu.org/licenses/>. // // This file was modified by contributors of "BOINC Web Tweak" project. require_once "../inc/db.inc"; require_once "../inc/util.inc"; require_once "../inc/email.inc"; db_init(); $user = get_logged_in_user(); page_head("Change email address"); if (is_valid_email_addr($user->email_addr)) { $email_text = $user->email_addr; } ?> <form method="post" action="edit_email_action.php"><?php start_table(); row1_top("Change the email address of your account"); row2('New email address<br /><span class="smalltext">Must be a valid address of the form "name@domain"</span>', '<input name="email_addr" size="50" value="$email_text">'); // we need the password here not for verification, // but because we store it salted with email address, // which is about to change. row2('Password<br /><a href="edit_passwd_form.php"><span class="smalltext">No password?</span></a>', '<input type="password" name="passwd">'); row2('', '<input type="submit" value="Change email address">'); end_table(); ?> </form><?php page_tail();
case 1: show_team_forum_title($forum); break; } if ($preview == tra("Preview")) { $options = null; echo "<div id=\"preview\">\n"; echo "<div class=\"header\">" . tra("Preview") . "</div>\n"; echo output_transform($content, $options); echo "</div>\n"; } echo "<form action=\"forum_post.php?id=" . $forum->id . "\" method=\"POST\">\n"; echo form_tokens($logged_in_user->authenticator); echo "<br />"; start_table(); row1_top(tra("Create a new thread")); //New thread $submit_help = ""; $body_help = ""; if ($content && !$title) { $submit_help = "<br /><font color=\"red\">Remember to add a title</font>"; } if ($force_title && $title) { row2(tra("Title"), htmlspecialchars($title) . "<input type=\"hidden\" name=\"title\" value=\"" . htmlspecialchars($title) . "\">"); } else { row2(tra("Title") . $submit_help, "<input type=\"text\" name=\"title\" size=\"62\" value=\"" . htmlspecialchars($title) . "\">"); } //Message row2(tra("Message") . html_info() . post_warning() . $body_help, "<textarea name=\"content\" rows=\"12\" cols=\"54\">" . htmlspecialchars($content) . "</textarea>"); if (!$logged_in_user->prefs->no_signature_by_default) { $enable_signature = "checked=\"true\"";
// BOINC is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. // See the GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with BOINC. If not, see <http://www.gnu.org/licenses/>. // // This file was modified by contributors of "BOINC Web Tweak" project. // Allows users to search for a post or thread. // Sends to forum_search_action.php for action and display. require_once '../inc/forum.inc'; page_head(tra("Forum search")); start_table(); echo "<form action=\"forum_search_action.php\" method=\"post\">"; row1_top("Search query"); row2("Search for keywords:<br />\r\n\t<font size=-1>Posts that contain all the specified words will be displayed</font>", '<input type="text" style="width: 290px" name="search_keywords" size="30" /><br /> <font size=-1>For example: "screensaver freeze"</font>'); row2("Search for author ID:<br />\r\n\t<font size=-1>Only posts by this author will be displayed</font>", '<input type="text" style="width: 150px" name="search_author" size="10" /><br /> <font size=-1>For example: "43214"</font>'); row1("Search options"); row2("Search limits<br />\r\n\t<font size=-1>Search at most this many days back in time</font>", '<select name="search_max_time"> <option value="1">1 day</option> <option value="3">3 days</option> <option value="7">7 days</option> <option value="15">15 days</option> <option value="30" selected>30 days</option> <option value="90">3 months</option> <option value="180">6 months</option> <option value="360">1 year</option> </select>');
function show_questions($profile) { $response1 = ""; $response2 = ""; if (isset($profile->response1)) { $response1 = $profile->response1; } if (isset($profile->response2)) { $response2 = $profile->response2; } row1_top(show_profile_heading1()); rowify(show_profile_question1() . html_info()); show_textarea("response1", $response1); row1(show_profile_heading2()); rowify(show_profile_question2() . html_info()); show_textarea("response2", $response2); show_language_selection($profile); }