Version Notes
VAdmin theme by VnEcoms
Download this release
Release Info
Developer | Magento Core Team |
Extension | VES_VAdmin |
Version | 1.1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.1.0.1 to 1.1.0.2
- app/code/community/VES/VAdmin/Block/Head.php +4 -0
- app/code/community/VES/VAdmin/Helper/Data.php +1 -1
- app/design/adminhtml/default/default/template/ves_vadmin/page/footer.phtml +10 -0
- app/design/adminhtml/default/default/template/ves_vadmin/page/head.phtml +3 -0
- app/design/adminhtml/default/default/template/ves_vadmin/page/header.phtml +2 -1
- package.xml +4 -4
- skin/adminhtml/default/default/ves_vadmin/css/styles.css +1 -1
app/code/community/VES/VAdmin/Block/Head.php
CHANGED
@@ -5,6 +5,10 @@ class VES_VAdmin_Block_Head extends Mage_Core_Block_Template
|
|
5 |
parent::_prepareLayout();
|
6 |
if(!Mage::getStoreConfig('vadmin/config/enabled')) return;
|
7 |
$headBlock = $this->getLayout()->getBlock('head');
|
|
|
|
|
|
|
|
|
8 |
$headBlock->addItem('link_rel', Mage::helper('adminhtml')->getUrl("adminhtml/vadmin_css/index"),'rel="stylesheet" type="text/css"');
|
9 |
$headBlock->setTitle(Mage::getStoreConfig('vadmin/head/default_title'));
|
10 |
|
5 |
parent::_prepareLayout();
|
6 |
if(!Mage::getStoreConfig('vadmin/config/enabled')) return;
|
7 |
$headBlock = $this->getLayout()->getBlock('head');
|
8 |
+
if(in_array('vendors_default',$this->getLayout()->getUpdate()->getHandles())){
|
9 |
+
$headBlock->removeItem('skin_css','ves_vadmin/css/styles.css');
|
10 |
+
return;
|
11 |
+
}
|
12 |
$headBlock->addItem('link_rel', Mage::helper('adminhtml')->getUrl("adminhtml/vadmin_css/index"),'rel="stylesheet" type="text/css"');
|
13 |
$headBlock->setTitle(Mage::getStoreConfig('vadmin/head/default_title'));
|
14 |
|
app/code/community/VES/VAdmin/Helper/Data.php
CHANGED
@@ -2,6 +2,6 @@
|
|
2 |
|
3 |
class VES_VAdmin_Helper_Data extends Mage_Core_Helper_Abstract{
|
4 |
public function getVersion(){
|
5 |
-
return '1.1.0.
|
6 |
}
|
7 |
}
|
2 |
|
3 |
class VES_VAdmin_Helper_Data extends Mage_Core_Helper_Abstract{
|
4 |
public function getVersion(){
|
5 |
+
return '1.1.0.2';
|
6 |
}
|
7 |
}
|
app/design/adminhtml/default/default/template/ves_vadmin/page/footer.phtml
CHANGED
@@ -37,3 +37,13 @@
|
|
37 |
<?php echo Mage::getStoreConfig('vadmin/footer/footer_text');?><br />
|
38 |
<?php endif;?>
|
39 |
<?php echo $this->__('<a href="http://www.vnecoms.com/vadmin-theme.html" target="_blank">V-Admin</a> Theme ver. %s by <a href="http://www.vnecoms.com/" target="_blank">www.vnecoms.com</a>',Mage::helper('vadmin')->getVersion())?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
<?php echo Mage::getStoreConfig('vadmin/footer/footer_text');?><br />
|
38 |
<?php endif;?>
|
39 |
<?php echo $this->__('<a href="http://www.vnecoms.com/vadmin-theme.html" target="_blank">V-Admin</a> Theme ver. %s by <a href="http://www.vnecoms.com/" target="_blank">www.vnecoms.com</a>',Mage::helper('vadmin')->getVersion())?>
|
40 |
+
<script type="text/javascript">
|
41 |
+
$('footer_connect').target = 'Varien_External';
|
42 |
+
function setInterfaceLanguage(evt){
|
43 |
+
var elem = Event.element(evt);
|
44 |
+
if(elem){
|
45 |
+
setLocation('<?php echo $this->getChangeLocaleUrl() ?>locale/'+elem.value+'/<?php echo $this->getRefererParamName() ?>/<?php echo $this->getUrlForReferer() ?>');
|
46 |
+
}
|
47 |
+
}
|
48 |
+
Event.observe('interface_locale', 'change', setInterfaceLanguage)
|
49 |
+
</script>
|
app/design/adminhtml/default/default/template/ves_vadmin/page/head.phtml
CHANGED
@@ -3,6 +3,9 @@
|
|
3 |
<?php if($favicon = Mage::getStoreConfig('vadmin/head/favicon')):?>
|
4 |
<link rel="icon" href="<?php echo Mage::getBaseUrl('media').'favicon/'.$favicon ?>" type="image/x-icon" />
|
5 |
<link rel="shortcut icon" href="<?php echo Mage::getBaseUrl('media').'favicon/'.$favicon ?>" type="image/x-icon" />
|
|
|
|
|
|
|
6 |
<?php endif;?>
|
7 |
|
8 |
<script type="text/javascript">
|
3 |
<?php if($favicon = Mage::getStoreConfig('vadmin/head/favicon')):?>
|
4 |
<link rel="icon" href="<?php echo Mage::getBaseUrl('media').'favicon/'.$favicon ?>" type="image/x-icon" />
|
5 |
<link rel="shortcut icon" href="<?php echo Mage::getBaseUrl('media').'favicon/'.$favicon ?>" type="image/x-icon" />
|
6 |
+
<?php else:?>
|
7 |
+
<link rel="icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon"/>
|
8 |
+
<link rel="shortcut icon" href="<?php echo $this->getSkinUrl('favicon.ico') ?>" type="image/x-icon"/>
|
9 |
<?php endif;?>
|
10 |
|
11 |
<script type="text/javascript">
|
app/design/adminhtml/default/default/template/ves_vadmin/page/header.phtml
CHANGED
@@ -2,7 +2,8 @@
|
|
2 |
/** @var $this Mage_Adminhtml_Block_Page_Header */
|
3 |
?>
|
4 |
<div class="header-top">
|
5 |
-
|
|
|
6 |
<div class="header-right">
|
7 |
<p class="super">
|
8 |
<?php echo $this->__("Logged in as %s", $this->escapeHtml($this->getUser()->getUsername())) ?><span class="separator">|</span><?php echo $this->formatDate(null, 'full') ?><span class="separator">|</span><a href="<?php echo $this->getLogoutLink() ?>" class="link-logout"><?php echo $this->__('Log Out') ?></a>
|
2 |
/** @var $this Mage_Adminhtml_Block_Page_Header */
|
3 |
?>
|
4 |
<div class="header-top">
|
5 |
+
<?php $logoUrl = Mage::getStoreConfig('vadmin/header/logo')?Mage::getBaseUrl('media').'ves_vadmin/'.Mage::getStoreConfig('vadmin/header/logo'):$this->getSkinUrl('images/logo.gif')?>
|
6 |
+
<a href="<?php echo $this->getHomeLink() ?>"><img src="<?php echo $logoUrl?>" alt="<?php echo $this->__('Admin Logo') ?>" class="logo"/></a>
|
7 |
<div class="header-right">
|
8 |
<p class="super">
|
9 |
<?php echo $this->__("Logged in as %s", $this->escapeHtml($this->getUser()->getUsername())) ?><span class="separator">|</span><?php echo $this->formatDate(null, 'full') ?><span class="separator">|</span><a href="<?php echo $this->getLogoutLink() ?>" class="link-logout"><?php echo $this->__('Log Out') ?></a>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>VES_VAdmin</name>
|
4 |
-
<version>1.1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license/>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>VAdmin theme by VnEcoms</description>
|
11 |
<notes>VAdmin theme by VnEcoms</notes>
|
12 |
<authors><author><name>Vnecoms</name><user>auto-converted</user><email>hungvt@vnecoms.com</email></author></authors>
|
13 |
-
<date>2014-05-
|
14 |
-
<time>
|
15 |
-
<contents><target name="mageetc"><dir name="modules"><file name="VES_VAdmin.xml" hash="81aeeae7979e6acbd4d1b7d26c3c685d"/></dir></target><target name="magecommunity"><dir name="VES"><dir name="VAdmin"><dir name="Block"><file name="Color.php" hash="57ac152d6f057d899403da8a810435b4"/><file name="Head.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>VES_VAdmin</name>
|
4 |
+
<version>1.1.0.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license/>
|
7 |
<channel>community</channel>
|
10 |
<description>VAdmin theme by VnEcoms</description>
|
11 |
<notes>VAdmin theme by VnEcoms</notes>
|
12 |
<authors><author><name>Vnecoms</name><user>auto-converted</user><email>hungvt@vnecoms.com</email></author></authors>
|
13 |
+
<date>2014-05-23</date>
|
14 |
+
<time>18:18:41</time>
|
15 |
+
<contents><target name="mageetc"><dir name="modules"><file name="VES_VAdmin.xml" hash="81aeeae7979e6acbd4d1b7d26c3c685d"/></dir></target><target name="magecommunity"><dir name="VES"><dir name="VAdmin"><dir name="Block"><file name="Color.php" hash="57ac152d6f057d899403da8a810435b4"/><file name="Head.php" hash="0c51305546dfd621a75a3715c3c0bf48"/></dir><dir name="Helper"><file name="Data.php" hash="1279d2f26e44be05f406c234a5a73453"/></dir><dir name="controllers"><dir name="Vadmin"><file name="CssController.php" hash="3db24bcb144b527faf4f5c74f27444d0"/></dir></dir><dir name="etc"><file name="config.xml" hash="072f22480a219fa64a348dd3066f471c"/><file name="system.xml" hash="01dd14841ed7eebd7a7e67614490111c"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><dir name="vnecoms"><file name="vadmin.xml" hash="931ff70afa602c0bb62aac4793bebbbc"/></dir></dir><dir name="template"><dir name="ves_vadmin"><dir name="page"><file name="footer.phtml" hash="8942d34871a14c42d9648805745bab27"/><file name="head.phtml" hash="3956417ca590d3a9b23d303086a3a748"/><file name="header.phtml" hash="7360a56810e8dee952cf765214e18266"/><file name="menu.phtml" hash="93bc927591376ea2c00e7e3ce955c29c"/></dir><file name="css.phtml" hash="89c00950d89b1c1172f5b3d2a9469482"/><file name="forgotpassword.phtml" hash="4e91a7acc151b29171efaa0b970f9bbc"/><file name="login.phtml" hash="f5ea3baa7ed16d2ef8c53252509afed0"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="ves_vadmin"><dir name="css"><file name="font-awesome.min.css" hash="69f45e561dcb7f41ca35e4e419e74350"/><file name="styles.css" hash="3f5973e243a75fe71de1e4b1c45b1162"/></dir><dir name="font"><dir name="FontAwesome"><file name="FontAwesome.otf" hash="3f3a623e88cb5c62eaa2367195e98b67"/><file name="fontawesome-webfont.eot" hash="8b27bc96115c2d24350f0d09e6a9433f"/><file name="fontawesome-webfont.svg" hash="0a799148a50bb02c6f380eabd8d97559"/><file name="fontawesome-webfont.ttf" hash="dcb26c7239d850266941e80370e207c1"/><file name="fontawesome-webfont.woff" hash="3293616ec0c605c7c2db25829a0a509e"/></dir></dir><dir name="images"><file name="add.png" hash="7c0b1f1eda3650b51b19a2e1d2b40d5d"/><file name="back.png" hash="f4a301dd01f802e8ef0bd1c7eeb892a4"/><file name="bg.jpg" hash="0197ebe83f870a5db1329a8d879509b6"/><file name="config_tab_dt_bg.png" hash="db40918dc1da1a490b06fde80d755c7f"/><file name="delete.png" hash="2e5dd03c0ca5ca0d9114a9f368d03c5b"/><file name="down_arrow.png" hash="54121733e13d39a16748ba2cada686c9"/><file name="reset.png" hash="7433fd9cf5b71bf0d9d954639df5a7fc"/><file name="save.png" hash="414f2f6c36fc3c4b2323c1d413cd3af8"/><file name="up_arrow.png" hash="ddee1bf16f182382e7688fdc71ff07ca"/></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
skin/adminhtml/default/default/ves_vadmin/css/styles.css
CHANGED
@@ -134,7 +134,7 @@
|
|
134 |
outline: none;
|
135 |
}
|
136 |
|
137 |
-
|
138 |
.vnecoms-cp .login-form h2 {margin-bottom: 25px;background: none repeat scroll 0 0 #F2672E;color: #FFFFFF;font-size: 15px;font-weight: bold;line-height: 55px;text-align: center;text-transform: uppercase;}
|
139 |
.vnecoms-cp .login-form .form-buttons{padding: 0 57px;}
|
140 |
.vnecoms-cp .login-form .form-button,.vnecoms-cp .login-form .form-buttons .forgot-password{text-transform: uppercase;width: 100%;background: #F2672E;padding: 12px 12px;}
|
134 |
outline: none;
|
135 |
}
|
136 |
|
137 |
+
.vnecoms-cp .footer .legality{min-height: 60px;}
|
138 |
.vnecoms-cp .login-form h2 {margin-bottom: 25px;background: none repeat scroll 0 0 #F2672E;color: #FFFFFF;font-size: 15px;font-weight: bold;line-height: 55px;text-align: center;text-transform: uppercase;}
|
139 |
.vnecoms-cp .login-form .form-buttons{padding: 0 57px;}
|
140 |
.vnecoms-cp .login-form .form-button,.vnecoms-cp .login-form .form-buttons .forgot-password{text-transform: uppercase;width: 100%;background: #F2672E;padding: 12px 12px;}
|