
<!-- preferences/profile.thtml { -->

{noscript}

<div id="pe_navbar" style="display:none">
{navbar}
</div>

<div id="pe_preview" class="jsenabled_hide" style="display:none;">
  <fieldset>
    <legend>{lang_preview_title}</legend>
    {preview}
  </fieldset>
</div>

<form action="{site_url}/usersettings.php" method="post" {enctype} id="profile">

<div id="pe_namepass" class="jsenabled_show">
  <fieldset>
    <legend>{lang_name_legend}</legend>
    <div class="compact">
      <dl class="form_block">
        {username_option}
        <dt><label for="profile-fullname">{lang_fullname}</label></dt>
        <dd><input type="text" maxlength="80" value="{fullname_value}" name="fullname" id="profile-fullname" class="size7"{xhtml}></dd>
      </dl>
    </div>
  </fieldset>

  <fieldset>
    <legend>{lang_password_email_legend}</legend>

    <div class="linear">
      <dl class="profile_notes">
        <dt>{lang_password_help_title}</dt>
        <dd>{lang_password_help}</dd>
        <dd><span class="warningsmall"><strong>{lang_enter_current_password}</strong></span></dd>
      </dl>
    </div>

    <div class="compact">
      <dl class="form_block">
        {password_option}

        {resynch_option}

        <dt><label for="cooktime">{lang_cooktime}</label></dt>
        <dd>{cooktime_selector}</dd>

        <dt><label for="profile-email">{lang_email}</label></dt>
        <dd><input type="text" maxlength="96" value="{email_value}" name="email" id="profile-email" class="size6"{xhtml}></dd>
        <dd class="description">{lang_email_text}</dd>

        <dt><label for="profile-email_conf">{lang_email_conf}</label></dt>
        <dd><input type="text" maxlength="96" value="{email_value}" name="email_conf" id="profile-email_conf" class="size6"{xhtml}></dd>

        {current_password_option}
      </dl>
    </div>
    {delete_account_option}
  </fieldset>
</div>

<div id="pe_userinfo" class="jsenabled_hide">
  <fieldset>
    <legend>{lang_personal_info_legend}</legend>

    <div class="linear">
      <dl class="profile_notes">
        <dt>{lang_userinfo_help_title}</dt>
        <dd>{lang_userinfo_help}</dd>
      </dl>
    </div>

    <div class="compact">
      <dl class="form_block">
        <dt><label for="profile-homepage">{lang_homepage}</label></dt>
        <dd><input type="text" maxlength="96" value="{homepage_value}" name="homepage" id="profile-homepage" class="size7"{xhtml}></dd>
        <dd class="description">{lang_homepage_text}</dd>

        <dt><label for="profile-location">{lang_location}</label></dt>
        <dd><input type="text" maxlength="96" value="{location_value}" name="location" id="profile-location" class="size7"{xhtml}></dd>
        <dd class="description">{lang_location_text}</dd>

        {userphoto_option}

        <dt><label for="profile-sig">{lang_signature}</label></dt>
        <dd><textarea cols="45" rows="4" name="sig" id="profile-sig" class="wide">{signature_value}</textarea></dd>
        <dd class="description">{lang_signature_text}</dd>

        <dt><label for="profile-about">{lang_about}</label></dt>
        <dd><textarea cols="45" rows="6" name="about" id="profile-about" class="wide">{about_value}</textarea></dd>
        <dd class="description">{lang_about_text}</dd>

        <dt><label for="profile-pgpkey">{lang_pgpkey}</label></dt>
        <dd><textarea cols="45" rows="6" name="pgpkey" id="profile-pgpkey" class="wide">{pgpkey_value}</textarea></dd>
        <dd class="description">{lang_pgpkey_text}</dd>
      </dl>
    </div>
  </fieldset>
</div>

{prefs}

<div id="save_button" class="submit">
  <input type="hidden" name="uid" value="{uid_value}"{xhtml}>
  <input type="hidden" name="mode" value="saveuser"{xhtml}>
  <input type="hidden" name="username" value="{username_value}"{xhtml}>
  <input type="submit" name="btnsubmit" value="{lang_submit}" class="submit"{xhtml}>
  <input type="submit" name="btncancel" value="{lang_cancel}"{xhtml}>
</div>

</form>

<!-- } preferences/profile.thtml -->
