Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] How to display the result of the change password functionality (mv 4.04)



******    message to minivend-users from "Vagel Argyrakis" <vagel@telaxion.com>     ******

It returns again no session faillure Joachim.
You'll find bellow here the whole code of the page, this way it will be more
clear to you
Thanks again
--Vagel


__LOGOBAR__
__MENUBAR__
<__NORMALTEXT__ color=__CONTRAST__><b>

<P>
[if session failure]
[data session failure]
[data base=session field=failure value=""]
[/if]
<P>


[if session failure]
<FONT COLOR="RED">[L]ERROR[/L]:<BR><BR>
<B>
[if session failure =~ /Username does not exist./][L]Username does not
exist.[/L][/if]
[if session failure =~ /Not logged in/][L]Not logged in.[/L][/if]
[if session failure =~ /Username already exists./][L]Username already
exists.[/L][/if]
[if session failure =~ /Already logged in. Log out first./][L]Already logged
in. Log out first.[/L][/if]
[if session failure =~ /Sorry, reserved user name./][L]Sorry, reserved user
name.[/L][/if]
[if session failure =~ /Password and check value don't match./][L]Password
and check value don't match.[/L][/if]
[if session failure =~ /Must have longer username./][L]Must have longer
username.[/L][/if]
[if session failure =~ /Can\'t have/][L]Can not have some characters.[/L]
[L]Please use some like a-z, A-Z and 0-9[/L].[/if]
[if session failure =~ /Must have old password/][L]Must have old
password.[/L][/if]
[if session failure =~ /Must enter at least 4 characters for
password./][L]Must enter at least 4 characters for password.[/L][/if]
[if session failure =~ /Password mismatch./][L]Password mismatch.[/L][/if]
</B><BR>
</FONT>
[/if]

<div align="left">
  <p>[if !session logged_in][bounce href="[area new_account]"][/if] [set
page_title]Modify your password[/set]<br>
  </p>
  <table width=500 border="0">
    <tr>
      <td>
        <div align="left"><__NORMALTEXTATTR__> <b>Modify your
password</b></div>
   [if value mv_username]
    [set-cookie name=MV_USERNAME value="[value mv_username]" expire=9999]
    [if value mv_cookie_password]
     <br>
     <__NORMALTEXTATTR__>Our system will remember your password
     [set-cookie name=MV_PASSWORD value="[value mv_password]" expire=9999]
    [/if]
   [/if]

      </td>
    </tr>
  </table>
  <br>
</div>
<table width=500 align=left>

  <tr __TABLEBG__>
    <td valign=TOP>
       </form><FORM ACTION="[process]" name=change_pass METHOD=POST>
        [if type=explicit compare="[error all=1 show_var=1 keep=1]"]
        <p> <font color=__CONTRAST__>The information entered was incorrect
    </font> </p>
        [/if]

 <INPUT TYPE=hidden NAME=mv_click  VALUE=Change>
 <INPUT TYPE=hidden NAME=mv_doit  VALUE=return>
 <INPUT TYPE=hidden NAME=mv_nextpage VALUE=@@MV_PAGE@@>
 <INPUT TYPE=hidden NAME=mv_username VALUE="[value mv_username]">
    <INPUT TYPE=HIDDEN NAME=mv_check    VALUE="Save_database">
 <INPUT TYPE=HIDDEN NAME=mv_check    value="[userdb save]">
 <input type=hidden name=mv_click  value=mv_cookie_password>

 [set Save_database]
  [userdb save]
 [/set]

   <table>
                      <tr>
                        <td align=RIGHT><__NORMALTEXTATTR__>Old
password</td>
                        <td>
                          <input type=password name=mv_password_old value=""
size=10>
                        </td>
                      </tr>
                      <tr>
                        <td align=RIGHT><__NORMALTEXTATTR__>New
password</td>
                        <td>
                          <input type=password name=mv_password value=""
size=10>
                        </td>
                      </tr>
                      <tr>
                        <td align=RIGHT><__NORMALTEXTATTR__>Verify password
      </td>
                        <td>
                          <input type=password name=mv_verify value=""
size=10>
                        </td>
                      </tr>
                      <tr>
                        <td></td>
                        <td>
       <br>
       <input TYPE=image name="Change" VALUE="Changer"
SRC="template/valider_bl.gif"
        ALT="Change" BORDER=0 align="top">
       <TD><BR>
                          <br>
                      <tr>
                        <td colspan=2><__NORMALTEXTATTR__>
                          <input type=checkbox name=mv_cookie_password
value=1 [if mv_cookie_password]CHECKED [/if]>
        [comment]<input type=checkbox name=mv_cookie_password value=1 [if
[read-cookie>[/comment]
                          Remember my password </td>
                      </tr>
                      <tr>
                        <td colspan=2> <__NORMALTEXTATTR__>[page
no_cookie]Do not remember my password[/page] </td>
                      </tr>
                    </table>
                    <br clear=LEFT>
                  </form>
                </td>
              </tr>
            </table>


[perl]
    $Config->{NoSearch} = '';
[/perl]

<!--
[tag touch userdb][/tag]
[set Change]
   [tag flag write]userdb[/tag]
   [userdb change_pass]
[/set]
-->
<!-- current page: @@MV_PAGE@@ -->

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: