Version Notes
Initial Release
Download this release
Release Info
Developer | Simon Sprankel |
Extension | Spranks_SaveAdminCredentials |
Version | 1.0.0 |
Comparing to | |
See all releases |
Version 1.0.0
- app/code/community/Spranks/SaveAdminCredentials/etc/config.xml +17 -0
- app/design/adminhtml/default/default/layout/spranks_saveadmincredentials.xml +10 -0
- app/design/adminhtml/default/default/template/spranks/saveadmincredentials/login.phtml +83 -0
- app/etc/modules/Spranks_SaveAdminCredentials.xml +12 -0
- package.xml +18 -0
app/code/community/Spranks/SaveAdminCredentials/etc/config.xml
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Spranks_SaveAdminCredentials>
|
5 |
+
<version>1.0.0</version>
|
6 |
+
</Spranks_SaveAdminCredentials>
|
7 |
+
</modules>
|
8 |
+
<adminhtml>
|
9 |
+
<layout>
|
10 |
+
<updates>
|
11 |
+
<spranks_saveadmincredentials>
|
12 |
+
<file>spranks_saveadmincredentials.xml</file>
|
13 |
+
</spranks_saveadmincredentials>
|
14 |
+
</updates>
|
15 |
+
</layout>
|
16 |
+
</adminhtml>
|
17 |
+
</config>
|
app/design/adminhtml/default/default/layout/spranks_saveadmincredentials.xml
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<layout version="0.1.0">
|
3 |
+
<adminhtml_index_login>
|
4 |
+
<reference name="content">
|
5 |
+
<action method="setTemplate">
|
6 |
+
<template>spranks/saveadmincredentials/login.phtml</template>
|
7 |
+
</action>
|
8 |
+
</reference>
|
9 |
+
</adminhtml_index_login>
|
10 |
+
</layout>
|
app/design/adminhtml/default/default/template/spranks/saveadmincredentials/login.phtml
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
28 |
+
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
29 |
+
<head>
|
30 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
31 |
+
<title><?php echo Mage::helper('adminhtml')->__('Log into Magento Admin Page') ?></title>
|
32 |
+
<link type="text/css" rel="stylesheet" href="<?php echo $this->getSkinUrl('reset.css') ?>" media="all" />
|
33 |
+
<link type="text/css" rel="stylesheet" href="<?php echo $this->getSkinUrl('boxes.css') ?>" media="all" />
|
34 |
+
<link rel="icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon" />
|
35 |
+
<link rel="shortcut icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon" />
|
36 |
+
|
37 |
+
<script type="text/javascript" src="<?php echo $this->getJsUrl('prototype/prototype.js') ?>"></script>
|
38 |
+
<script type="text/javascript" src="<?php echo $this->getJsUrl('prototype/validation.js') ?>"></script>
|
39 |
+
<script type="text/javascript" src="<?php echo $this->getJsUrl('scriptaculous/effects.js') ?>"></script>
|
40 |
+
<script type="text/javascript" src="<?php echo $this->getJsUrl('mage/adminhtml/form.js') ?>"></script>
|
41 |
+
<script type="text/javascript" src="<?php echo $this->getJsUrl('mage/captcha.js') ?>"></script>
|
42 |
+
|
43 |
+
<!--[if IE]> <link rel="stylesheet" href="<?php echo $this->getSkinUrl('iestyles.css') ?>" type="text/css" media="all" /> <![endif]-->
|
44 |
+
<!--[if lt IE 7]> <link rel="stylesheet" href="<?php echo $this->getSkinUrl('below_ie7.css') ?>" type="text/css" media="all" /> <![endif]-->
|
45 |
+
<!--[if IE 7]> <link rel="stylesheet" href="<?php echo $this->getSkinUrl('ie7.css') ?>" type="text/css" media="all" /> <![endif]-->
|
46 |
+
</head>
|
47 |
+
<body id="page-login" onload="document.forms.loginForm.username.focus();">
|
48 |
+
<div class="login-container">
|
49 |
+
<div class="login-box">
|
50 |
+
<form method="post" action="" id="loginForm">
|
51 |
+
<div class="login-form">
|
52 |
+
<input name="form_key" type="hidden" value="<?php echo $this->getFormKey() ?>" />
|
53 |
+
<h2><?php echo Mage::helper('adminhtml')->__('Log in to Admin Panel') ?></h2>
|
54 |
+
<div id="messages">
|
55 |
+
<?php if (version_compare(Mage::getVersion(), '1.9', '>=')): ?>
|
56 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
57 |
+
<?php else: ?>
|
58 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
59 |
+
<?php endif; ?>
|
60 |
+
</div>
|
61 |
+
<div class="input-box input-left"><label for="username"><?php echo Mage::helper('adminhtml')->__('User Name:') ?></label><br/>
|
62 |
+
<input type="text" id="username" name="login[username]" value="" class="required-entry input-text" /></div>
|
63 |
+
<div class="input-box input-right"><label for="login"><?php echo Mage::helper('adminhtml')->__('Password:') ?></label><br />
|
64 |
+
<!-- This is a dummy hidden field to trick firefox from auto filling the password -->
|
65 |
+
<!-- <input type="text" class="input-text no-display" name="dummy" id="dummy" />-->
|
66 |
+
<input type="password" id="login" name="login[password]" class="required-entry input-text" value="" /></div>
|
67 |
+
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
68 |
+
<div class="clear"></div>
|
69 |
+
<div class="form-buttons">
|
70 |
+
<a class="left" href="<?php echo Mage::helper('adminhtml')->getUrl('adminhtml/index/forgotpassword', array('_nosecret' => true)) ?>"><?php echo Mage::helper('adminhtml')->__('Forgot your password?') ?></a>
|
71 |
+
<input type="submit" class="form-button" value="<?php echo Mage::helper('adminhtml')->__('Login') ?>" title="<?php echo Mage::helper('adminhtml')->__('Login') ?>" /></div>
|
72 |
+
</div>
|
73 |
+
<p class="legal"><?php echo Mage::helper('adminhtml')->__('Magento is a trademark of Magento Inc. Copyright © %s Magento Inc.', date('Y')) ?></p>
|
74 |
+
</form>
|
75 |
+
<div class="bottom"></div>
|
76 |
+
<script type="text/javascript">
|
77 |
+
var loginForm = new varienForm('loginForm');
|
78 |
+
</script>
|
79 |
+
</div>
|
80 |
+
</div>
|
81 |
+
</body>
|
82 |
+
</html>
|
83 |
+
|
app/etc/modules/Spranks_SaveAdminCredentials.xml
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<config>
|
3 |
+
<modules>
|
4 |
+
<Spranks_SaveAdminCredentials>
|
5 |
+
<active>true</active>
|
6 |
+
<codePool>community</codePool>
|
7 |
+
<depends>
|
8 |
+
<Mage_Adminhtml/>
|
9 |
+
</depends>
|
10 |
+
</Spranks_SaveAdminCredentials>
|
11 |
+
</modules>
|
12 |
+
</config>
|
package.xml
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<package>
|
3 |
+
<name>Spranks_SaveAdminCredentials</name>
|
4 |
+
<version>1.0.0</version>
|
5 |
+
<stability>stable</stability>
|
6 |
+
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL 3.0</license>
|
7 |
+
<channel>community</channel>
|
8 |
+
<extends/>
|
9 |
+
<summary>This extension enables you to save your admin credentials in Magento >= 1.8 again.</summary>
|
10 |
+
<description>This extension enables you to save your admin credentials in Magento >= 1.8 again. Magento disabled this possibility in version 1.8 for security reasons. But many merchants want to use this feature anyway. This extension enables them to store their credentials again. It is based on the snippet by RIZN (https://github.com/riznmage/Magento-1.8-Admin-Save-Password), but is now packed into a proper Magento extension.</description>
|
11 |
+
<notes>Initial Release</notes>
|
12 |
+
<authors><author><name>Simon Sprankel</name><user>spranks</user><email>simonsprankel@gmail.com</email></author></authors>
|
13 |
+
<date>2015-02-27</date>
|
14 |
+
<time>09:08:08</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Spranks"><dir name="SaveAdminCredentials"><dir name="etc"><file name="config.xml" hash="e274ef96cc4e3ae86f19dccce2766940"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Spranks_SaveAdminCredentials.xml" hash="ebe586110f7cb2337687990418c9f1c2"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="spranks_saveadmincredentials.xml" hash="9fba43b3647351b70a11a02e9a24b6d9"/></dir><dir name="template"><dir name="spranks"><dir name="saveadmincredentials"><file name="login.phtml" hash="214e26081b959ce8f6c8d11495939140"/></dir></dir></dir></dir></dir></dir></target></contents>
|
16 |
+
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
18 |
+
</package>
|