Skip to content

Commit e0c4407

Browse files
committed
Merge branch 'master' of github.com:serghey-rodin/vesta
2 parents bee8009 + 1497020 commit e0c4407

File tree

4 files changed

+7
-19
lines changed

4 files changed

+7
-19
lines changed

web/css/main.css

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Title : Vesta
33
Author : Eugen Lobicov, eugen.lobicov@gmail.com
44
55
created : November 27, 2009
6-
last updated : February 8, 2012
6+
last updated : February 13, 2012
77
- - - - - - - - - - - - - - - - - - */
88

99
html{
@@ -1891,15 +1891,9 @@ input::-moz-focus-inner{
18911891
width:221px;
18921892
margin:0;
18931893
border-right:0;
1894-
cursor:pointer;
18951894
padding-top:6px;
18961895
padding-bottom:6px;
1897-
}
1898-
.b-new-entry .autocomplete-box .text-field{
1899-
-moz-box-shadow:none;
1900-
-webkit-box-shadow:none;
1901-
border-color:#B8C2C3;
1902-
}
1896+
}
19031897

19041898
.b-new-entry .autocomplete-box .arrow{
19051899
position:absolute;
@@ -1913,7 +1907,6 @@ input::-moz-focus-inner{
19131907
background:#fff url(../images/autocomplete-field-arrows-sprite-2012-02-11.png) no-repeat;
19141908
cursor:pointer;
19151909
}
1916-
.b-new-entry .autocomplete-box:hover .arrow,
19171910
.b-new-entry .autocomplete-box .arrow:hover,
19181911
.b-new-entry .autocomplete-box .arrow:active,
19191912
.b-new-entry .autocomplete-box .arrow:focus{

web/js/pages.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ App.Pages.prepareHTML = function()
4343
$('#actions-toolbar .stats-subbar').remove();
4444
$('#actions-toolbar .stats-components').remove();
4545
$('#actions-toolbar .do_action_new_entry').removeClass('hidden');
46-
4746
$('.active').removeClass('active');
48-
4947
$('.row-filters').removeClass('hidden');
5048
if ('undefined' != typeof App.Pages[App.Env.world].prepareHTML) {
5149
App.Pages[App.Env.world].prepareHTML();
@@ -55,8 +53,7 @@ App.Pages.prepareHTML = function()
5553
}
5654
$('#new-entry-keyword').text(App.Helpers.getHumanTabName());
5755
document.title = 'Vesta | ' + App.Helpers.getHumanTabName();
58-
59-
$('#'+App.Env.world).addClass('active');
56+
6057
App.Tmp[App.Env.world + '_selected_records'] = 0;
6158
}
6259

web/js/templates.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ App.Templates.html = {
485485
<span class="prop-title">email:</span>\
486486
<span class="group-values">\
487487
<span class="prop-value user-email">~!:CONTACT~!</span>\
488-
<span class="prop-value user-reports">(reporting ~!:REPORTS_ENABLED~!)</span>\
488+
<span class="prop-value user-reports">(reports ~!:REPORTS_ENABLED~!)</span>\
489489
</span>\
490490
</span>\
491491
<span class="prop-box template-box">\
@@ -1113,7 +1113,7 @@ App.Templates.html = {
11131113
<img class="stats-graph" src="~!:IMG_SRC~!" alt="" />\
11141114
</div>\
11151115
</div>'],
1116-
SUBMENU: ['<div class="date-range-controls stats-subbar"><span class="motive">Generate:</span><span class="date-range-control today active" onClick="App.Actions.loadStats(\'today\')">daily</span>\
1116+
SUBMENU: ['<div class="date-range-controls stats-subbar"><span class="motive">Genarate:</span><span class="date-range-control today active" onClick="App.Actions.loadStats(\'today\')">daily</span>\
11171117
<span class="date-range-control week" onClick="App.Actions.loadStats(\'week\')">weekly</span>\
11181118
<span class="date-range-control month" onClick="App.Actions.loadStats(\'month\')">monthly</span>\
11191119
<span class="date-range-control year" onClick="App.Actions.loadStats(\'year\')">yearly</span></div>'],

web/vesta/api/WEB_DOMAIN.class.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ public function addExecute(Request $request)
7878
$params = array(
7979
'USER' => $user['uid'],
8080
'DOMAIN' => $_s['DOMAIN'],
81-
'IP' => $_s['IP'],
82-
'TPL' => $_s['TPL']
81+
'IP' => $_s['IP']
8382
);
8483

8584
$result = Vesta::execute(Vesta::V_ADD_WEB_DOMAIN, $params);
@@ -89,7 +88,6 @@ public function addExecute(Request $request)
8988
return $this->reply($result['status'], $result['data']);
9089
}
9190

92-
/*
9391
if (!empty($_s['TPL'])) {
9492
$params = array(
9593
'USER' => $user['uid'],
@@ -103,7 +101,7 @@ public function addExecute(Request $request)
103101
$this->errors['CHANGE_TPL'] = array($result['error_code'] => $result['error_message']);
104102
}
105103
}
106-
*/
104+
107105

108106
if (!empty($_s['ALIAS'])) {
109107
$alias_arr = explode(',', str_replace("\n", "", $_s['ALIAS']));

0 commit comments

Comments
 (0)