import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -31,4 +31,18 @@
|
||||
<?php echo $this->targetUser->openid ?>
|
||||
</div>
|
||||
</div>
|
||||
<? if ($this->yubikey->enabled && !$this->yubikey->force): ?>
|
||||
<div class="yui-gf">
|
||||
<div class="yui-u first">
|
||||
<?php echo $this->translate('Auth Method') ?>:
|
||||
</div>
|
||||
<div class="yui-u">
|
||||
<? if ($this->targetUser->auth_type == Users_Model_User::AUTH_PASSWORD): ?>
|
||||
<?= $this->translate('Password') ?>
|
||||
<? else: ?>
|
||||
YubiKey
|
||||
<? endif ?>
|
||||
</div>
|
||||
</div>
|
||||
<? endif ?>
|
||||
</div>
|
||||
|
0
modules/users/views/scripts/profilegeneral/confirmdelete.phtml
Executable file → Normal file
0
modules/users/views/scripts/profilegeneral/confirmdelete.phtml
Executable file → Normal file
@ -7,6 +7,14 @@
|
||||
echo $this->accountInfoForm->password1;
|
||||
echo $this->accountInfoForm->password2;
|
||||
} ?>
|
||||
<? if ($this->yubikey->enabled): ?>
|
||||
<? if (!$this->yubikey->force): ?>
|
||||
<?= $this->accountInfoForm->authMethod ?>
|
||||
<? endif ?>
|
||||
<div id="yubikeyWrapper" style="display:<?= $this->yubikey->force? 'block' : 'none' ?>">
|
||||
<?= $this->accountInfoForm->yubikey ?>
|
||||
</div>
|
||||
<? endif ?>
|
||||
<div class="yui-gf">
|
||||
<div class="yui-u first"> </div>
|
||||
<div class="yui-u">
|
||||
@ -14,6 +22,10 @@
|
||||
<input type="button" id="cancel" value="<?php echo $this->translate('Cancel') ?>" onclick="COMMID.editAccountInfo.cancel()" />
|
||||
<script type="text/javascript">
|
||||
YAHOO.util.Event.onDOMReady(function () {
|
||||
<? if ($this->yubikey->enabled && !$this->yubikey->force): ?>
|
||||
COMMID.general.toggleYubikey();
|
||||
<? endif ?>
|
||||
|
||||
new YAHOO.widget.Button(
|
||||
"save",
|
||||
{
|
||||
|
Reference in New Issue
Block a user