Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: cyberdude on September 25, 2004, 01:30:20 PM

Title: edit the /user-password page
Post by: cyberdude on September 25, 2004, 01:30:20 PM
Hi there!

If i want to edit the /user-password page, where woud i find it on the server ?

I want to edit the page to fit in a new deisgn i'm making for the users of our server...
Title: edit the /user-password page
Post by: stephen noble on September 25, 2004, 02:25:57 PM
[root@india root]# slocate userpassword
/etc/e-smith/locale/en-us/etc/e-smith/web/panels/password/cgi-bin/userpassword
/etc/e-smith/locale/es/etc/e-smith/web/panels/password/cgi-bin/userpassword
/etc/e-smith/locale/fr/etc/e-smith/web/panels/password/cgi-bin/userpassword
/etc/e-smith/web/panels/password/cgi-bin/userpassword
/etc/e-smith/web/common/userpassword_head.tmpl
Title: edit the /user-password page
Post by: cyberdude on September 25, 2004, 02:53:55 PM
hmm

it is split up into 2 files as fare as i can see :-(

I thought it just was 1 .htm (or what endnig the server uses) file....

This means that i can't just fil it into a .html file with my own design, and call the script used to process the input with or... ??

i have thought of putting this
--- snpi ----

<form method="POST" action="user-password" enctype="application/x-www-urlencoded">
  <input type="hidden" name="page" value="0">
  <input type="hidden" name="page_stack" value="">
  <input type=hidden name=".id" value="7417fef5d4b8be9d31dbe4d30ad4ad6e">
  <table class="sme-noborders">
  <tr><td colspan=2><p><P>To change your account password, please fill out the following
       form. You will need to provide the name of your account, your
       old password, and your desired new password. (You must type the new
       password twice.)</P>

       <P>If you cannot change your password because you have forgotten the
       old one, your local system administrator can reset your password using
       the <EM>server manager</EM>.</P></p></td>
  </tr>
    <tr>
      <td class="sme-noborders-label">Your account:
      <td class="sme-noborders-content"><INPUT VALUE="" TYPE="text" NAME="account"></td>
    </tr>
    <tr>
      <td class="sme-noborders-label">Old password:
      <td class="sme-noborders-content"><INPUT VALUE="" TYPE="password" NAME="oldPass"></td>
    </tr>
    <tr>
      <td class="sme-noborders-label">New password:
      <td class="sme-noborders-content"><INPUT VALUE="" TYPE="password" NAME="pass"></td>
    </tr>
    <tr>
      <td class="sme-noborders-label">New password (verify):
      <td class="sme-noborders-content"><INPUT VALUE="" TYPE="password" NAME="passVerify"></td>
    </tr>
    </table>
      <table width=100%><tr><th class="sme-layout"><input type="submit" name="Next" value="Change Password"></th></tr></table>
  </table>
</form>
--- snip ----
in my ovn design at the adress www.my-place.dk

but what about this line
<input type=hidden name=".id" value="7417fef5d4b8be9d31dbe4d30ad4ad6e">
the number (id) changes every time the browser reloads.... is this number used by the server, or is it just a random generated number ?