The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#12
|
||||
|
||||
![]()
ive made some changes to the template:
HTML Code:
$stylevar[htmldoctype] <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]"> <head> <title>$vboptions[bbtitle]</title> $headinclude </head> <body> $header $navbar <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script> <form action="ext.php?do=confirmpassword" method="post" onsubmit="hash_passwords(currentpassword, currentpassword_md5)"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="currentpassword_md5" /> <input type="password" class="bginput" name="currentpassword" size="50" maxlength="50" /> <div style="margin-top:$stylevar[cellpadding]px"> <input type="submit" class="button" value="$vbphrase[save_changes]" accesskey="s" /> </div> </form> $footer </body> </html> HTML Code:
<script type="text/javascript"> function hash_passwords(currentpassword, currentpassword_md5, newpassword, newpassword_md5, newpasswordconfirm, newpasswordconfirm_md5) { var junk_output; md5hash(currentpassword, currentpassword_md5, junk_output, $show[nopasswordempty]); // do various checks if (newpassword.value != '') { md5hash(newpassword, newpassword_md5, junk_output, $show[nopasswordempty]); } if (newpasswordconfirm.value != '') { md5hash(newpasswordconfirm, newpasswordconfirm_md5, junk_output, $show[nopasswordempty]); } } </script> Code:
<?php error_reporting(E_ALL & ~E_NOTICE); define('NO_REGISTER_GLOBALS', 1); define('THIS_SCRIPT', 'ext'); $globaltemplates = array('ext'); require_once('./global.php'); $navbits[$parent] = 'Ext Page'; $navbits = construct_navbits($navbits); eval('$navbar = "' . fetch_template('navbar') . '";'); eval('print_output("' . fetch_template('ext') . '");'); if ($_POST['do'] == 'confirmpassword'){ $vbulletin->input->clean_array_gpc('p', array( 'currentpassword'=> TYPE_STR )); if (md5(md5($vbulletin->GPC['currentpassword']).$vbulletin->userinfo['salt']) == $vbulletin->userinfo['password']) { exec_header_redirect('yes.php'); } else { exec_header_redirect('no.php'); } } ?> Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|