Browse Source

update installer, fix colorpicker presets

tags/3.1.0
Mike Koch 2 years ago
parent
commit
f5933e8bfa

+ 34
- 34
admin/admin_settings.php View File

@@ -3629,55 +3629,55 @@ $modsForHesk_settings = mfh_getSettings();

var lightTheme = val.match(/.+-light/i);

$('input[name="admin-sidebar-background-color"]').val(lightTheme ? '#f9fafc' : '#222d32');
$('input[name="admin-sidebar-header-background-color"]').val(lightTheme ? '#f9fafc' : '#1a2226');
$('input[name="admin-sidebar-text-color"]').val(lightTheme ? '#444' : '#b8c7ce');
$('input[name="admin-sidebar-header-text-color"]').val(lightTheme ? '#848484' : '#4b646f');
$('input[name="admin-sidebar-text-hover-color"]').val(lightTheme ? '#444' : '#fff');
$('input[name="admin-sidebar-background-hover-color"]').val(lightTheme ? '#f4f4f5' : '#1e282c');
$('#cpadmin-sidebar-background-color').colorpicker('setValue', lightTheme ? '#f9fafc' : '#222d32');
$('#cpadmin-sidebar-header-background-color').colorpicker('setValue', lightTheme ? '#f9fafc' : '#1a2226');
$('#cpadmin-sidebar-text-color').colorpicker('setValue', lightTheme ? '#444' : '#b8c7ce');
$('#cpadmin-sidebar-header-text-color').colorpicker('setValue', lightTheme ? '#848484' : '#4b646f');
$('#cpadmin-sidebar-text-hover-color').colorpicker('setValue', lightTheme ? '#444' : '#fff');
$('#cpadmin-sidebar-background-hover-color').colorpicker('setValue', lightTheme ? '#f4f4f5' : '#1e282c');
$('input[name="admin-sidebar-font-weight"]').val(lightTheme ? ['bold'] : ['normal']);

$('input[name="admin-navbar-text-color"]').val('#fff');
$('input[name="admin-navbar-text-hover-color"]').val('#fff');
$('input[name="admin-navbar-brand-text-color"]').val('#fff');
$('input[name="admin-navbar-brand-text-hover-color"]').val('#fff');
$('#cpadmin-navbar-text-color').colorpicker('setValue', '#fff');
$('#cpadmin-navbar-text-hover-color').colorpicker('setValue', '#fff');
$('#cpadmin-navbar-brand-text-color').colorpicker('setValue', '#fff');
$('#cpadmin-navbar-brand-text-hover-color').colorpicker('setValue', '#fff');
if (val.match(/blue.*/i)) {
$('input[name="admin-navbar-background-color"]').val('#3c8dbc');
$('input[name="admin-navbar-background-hover-color"]').val('#367fa9');
$('#cpadmin-navbar-background-color').colorpicker('setValue', '#3c8dbc');
$('#cpadmin-navbar-background-hover-color').colorpicker('setValue', '#367fa9');

$('input[name="admin-navbar-brand-background-color"]').val(lightTheme ? '#3c8dbc' : '#367fa9');
$('input[name="admin-navbar-brand-background-hover-color"]').val(lightTheme ? '#3b8ab8' : '#357ca5');
$('#cpadmin-navbar-brand-background-color').colorpicker('setValue', lightTheme ? '#3c8dbc' : '#367fa9');
$('#cpadmin-navbar-brand-background-hover-color').colorpicker('setValue', lightTheme ? '#3b8ab8' : '#357ca5');
} else if (val.match(/yellow.*/i)) {
$('input[name="admin-navbar-background-color"]').val('#f39c12');
$('input[name="admin-navbar-background-hover-color"]').val('#da8c10');
$('#cpadmin-navbar-background-color').colorpicker('setValue', '#f39c12');
$('#cpadmin-navbar-background-hover-color').colorpicker('setValue', '#da8c10');

$('input[name="admin-navbar-brand-background-color"]').val(lightTheme ? '#f39c12' : '#e08e0b');
$('input[name="admin-navbar-brand-background-hover-color"]').val(lightTheme ? '#f39a0d' : '#db8b0b');
$('#cpadmin-navbar-brand-background-color').colorpicker('setValue', lightTheme ? '#f39c12' : '#e08e0b');
$('#cpadmin-navbar-brand-background-hover-color').colorpicker('setValue', lightTheme ? '#f39a0d' : '#db8b0b');
} else if (val.match(/green.*/i)) {
$('input[name="admin-navbar-background-color"]').val('#00a65a');
$('input[name="admin-navbar-background-hover-color"]').val('#009551');
$('#cpadmin-navbar-background-color').colorpicker('setValue', '#00a65a');
$('#cpadmin-navbar-background-hover-color').colorpicker('setValue', '#009551');

$('input[name="admin-navbar-brand-background-color"]').val(lightTheme ? '#00a65a' : '#008d4c');
$('input[name="admin-navbar-brand-background-hover-color"]').val(lightTheme ? '#00a157' : '#008749');
$('#cpadmin-navbar-brand-background-color').colorpicker('setValue', lightTheme ? '#00a65a' : '#008d4c');
$('#cpadmin-navbar-brand-background-hover-color').colorpicker('setValue', lightTheme ? '#00a157' : '#008749');
} else if (val.match(/purple.*/i)) {
$('input[name="admin-navbar-background-color"]').val('#605ca8');
$('input[name="admin-navbar-background-hover-color"]').val('#565397');
$('#cpadmin-navbar-background-color').colorpicker('setValue', '#605ca8');
$('#cpadmin-navbar-background-hover-color').colorpicker('setValue', '#565397');

$('input[name="admin-navbar-brand-background-color"]').val(lightTheme ? '#605ca8' : '#555299');
$('input[name="admin-navbar-brand-background-hover-color"]').val(lightTheme ? '#5d59a6' : '#545096');
$('#cpadmin-navbar-brand-background-color').colorpicker('setValue', lightTheme ? '#605ca8' : '#555299');
$('#cpadmin-navbar-brand-background-hover-color').colorpicker('setValue', lightTheme ? '#5d59a6' : '#545096');
} else if (val.match(/red.*/i)) {
$('input[name="admin-navbar-background-color"]').val('#dd4b39');
$('input[name="admin-navbar-background-hover-color"]').val('#c64333');
$('#cpadmin-navbar-background-color').colorpicker('setValue', '#dd4b39');
$('#cpadmin-navbar-background-hover-color').colorpicker('setValue', '#c64333');

$('input[name="admin-navbar-brand-background-color"]').val(lightTheme ? '#dd4b39' : '#d73925');
$('input[name="admin-navbar-brand-background-hover-color"]').val(lightTheme ? '#dc4735' : '#d33724');
$('#cpadmin-navbar-brand-background-color').colorpicker('setValue', lightTheme ? '#dd4b39' : '#d73925');
$('#cpadmin-navbar-brand-background-hover-color').colorpicker('setValue', lightTheme ? '#dc4735' : '#d33724');
} else {
//-- Black
$('input[name="admin-navbar-background-color"]').val('#fff');
$('input[name="admin-navbar-background-hover-color"]').val('#eee');
$('#cpadmin-navbar-background-color').colorpicker('setValue', '#fff');
$('#cpadmin-navbar-background-hover-color').colorpicker('setValue', '#eee');

$('input[name="admin-navbar-brand-background-color"]').val('#fff');
$('input[name="admin-navbar-brand-background-hover-color"]').val('#fcfcfc');
$('#cpadmin-navbar-brand-background-color').colorpicker('setValue', '#fff');
$('#cpadmin-navbar-brand-background-hover-color').colorpicker('setValue', '#fcfcfc');
}
});
</script>

+ 0
- 1
css/skins/_all-skins.min.css
File diff suppressed because it is too large
View File


+ 0
- 758
hesk_style_RTL.css View File

@@ -1,758 +0,0 @@
body {
background-color: #f3fef4;
color: black;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
margin-right:0;
margin-left:0;
margin-top:0;
margin-bottom:0;
}

table.enclosing {
background-color:#FFFFFF;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
width: 960px;
}


td {
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
text-align: right;
}

a img {
vertical-align: bottom;
border : none;
}

td.white {
background-color: #FFFFFF;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
}

td.admin_white {
background-color: #FFFFFF;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
border: #d1dceb 1px solid;
padding: 1px;
}

td.admin_gray {
background-color: #f5fffa;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
border: #d1dceb 1px solid;
padding: 1px;
}

td.notes {
background-color: #fffbf2;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
border: #ffe6b8 1px solid;
}

th.tDetailsHead {
background-color: #F7F7F7;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
text-align: center;
}

td.tDetailsBody {
background-color: #FFFFFF;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
border: #F7F7F7 1px solid;
text-align: center;
}

.small {
font-size: 11px;
}

.smaller {
font-size: 10px;
}

a {
color : Blue;
text-decoration : underline;
}

a:hover {
color : Red;
text-decoration : none;
}

table.white {
background-color: #ffffff ;
color : #23559C;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
border-collapse: collapse;
}

table.white th {
background-color: #ffffff;
color : #23559C;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
border: #b2babd 1px solid;
border-collapse: collapse;
background-image: url(img/tableheader.jpg);
background-repeat: no-repeat;
background-position: right top;
}

table.white th a {
color : #23559C;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
}

table.white td {
height: 25px;
padding-right: 5px;
}

.noborder {
border: none;
}

h3 {
color : #74804e;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
margin: 0px;
}

.important {
color: Red;
}

.medium {
color: #FF9900;
}

input {
font-size: 12px;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
color:#000000;
}

input.button {
font-size: 12px;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
color:#000000;
background-color:#FFFFFF;
}

select {
font-size: 12px;
height: 20px;
}

header a img {border: none; text-decoration: none !important;}

.open {color : #FF0000;}
.waitingreply {color : #FF9933;}
.replied {color : #0000FF;}
.resolved {color : #008000;}
.allbutresolved {color : #000000;}

.success {color : #008000;}
.error {color : #FF0000;}
.notice {color : #FF9900}

#ok {
border: 1px solid #679800;
}

#error {
border: 1px solid #ba3225;
}

.rate {
color: #666666;
text-align: left;
font-style: italic;
}

a.article {
color : Black;
text-decoration: none;
font-size: 11px;
}

a.article:hover {
color : Red;
text-decoration : none;
}

.article_list {
font-size: 11px;
}

fieldset {
margin-bottom: 6px;
border: 1px SOLID #267DDC;
padding: 4px;
background-color:white;
position:relative;
display:block;
padding: 15px 10px 10px 10px;
margin:20px 0px 20px 0px;
}

legend {
background-image: url(img/bluebtn.png);
background-repeat: no-repeat;
color: #172901;
border: 1px solid #267DDC;
height: 10px;
font-size: 10px;
font-weight:bold;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
background-position: right top;
display:block;
width: auto;
padding:5px 5px;
position:relative;
width:130px;
}

/*newly introduced styles (version 2.0)*/

.header {
width: 100%;
background-color: #74a62b;
color : #ffffff;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: center;
background-image: url(img/header.png);
background-repeat: repeat-x;
height: 57px;
padding: 0px;
margin: 0px;
}

.header td {
text-align: center;
vertical-align: middle;
color:#FFFFFF;
}
.header a, .header a:link, .header a:active, .header a:visited {
color : #ffffff;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
text-align: center;
}
.header a:hover {}

.headersm {
width: 100%;
background-color: #669933;
color : #ffffff;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
text-align: right;
background-image: url(img/headerbgsm.jpg);
background-repeat: repeat-x;
height: 25px;
padding: 0px;
margin: 0px;
font-weight:bold;
padding-right: 20px;
}

hr {
border: none;
border-bottom: 1px dotted #adbac3;
width: 100%;
padding-top: 10px;
margin-bottom: 10px;
height: 1px;
}

.greenbutton {
background-image: url(img/greenbtn.jpg);
background-repeat: no-repeat;
text-align: center;
color: #FFFFFF;
border: 1px solid #527234;
font-size: 10px;
font-weight:bold;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
background-position: right top;
height: 19px;
padding-right: 6px;
padding-left: 6px;
margin-right: 2px;
margin-left: 2px
}

.greenbuttonover {
background-image: url(img/greenbtnover.gif);
background-repeat: no-repeat;
text-align: center;
color: #FFFFFF;
border: 1px solid #527234;
font-size: 10px;
font-weight:bold;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
background-position: right top;
height: 19px;
padding-right: 6px;
padding-left: 6px;
margin-right: 2px;
margin-left: 2px
}

.orangebutton {
background-image: url(img/orangebtn.jpg);
background-repeat: no-repeat;
text-align: center;
color: #660000;
border: 1px solid #bf6628;
height: 20px;
font-size: 10px;
font-weight:bold;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
background-position: right top;
padding-right: 6px;
padding-left: 6px;
margin-right: 2px;
margin-left: 2px;
text-decoration: none;
margin-top: 0px;
}

.orangebuttonover {
background-image: url(img/orangebtnover.gif);
background-repeat: no-repeat;
text-align: center;
color: #660000;
border: 1px solid #bf6628;
height: 20px;
font-size: 10px;
font-weight:bold;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
background-position: right top;
padding-right: 6px;
padding-left: 6px;
margin-right: 2px;
margin-left: 2px;
text-decoration: none;
margin-top: 0px;
}

.bluebutton {
background-image: url(img/bluebtn.png);
background-repeat: no-repeat;
text-align: center;
color: #660000;
border: 1px solid #5b79a3;
height: 20px;
font-size: 10px;
font-weight:bold;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
background-position: right top;
padding-right: 6px;
padding-left: 6px;
margin-right: 2px;
text-decoration: none;
margin-left: 2px;
padding-top: 2px;
}


/*styles for roundcorners tables*/

.roundcornersleft {
width: 7px;
background-image: url(img/roundcornerslm.jpg);
background-repeat: repeat-y;
background-position: right;
}
.roundcornersright {
width: 7px;
background-image: url(img/roundcornersrm.jpg);
background-repeat: repeat-y;
background-position: left;
}
.roundcornerstop {
height: 7px;
background-image: url(img/roundcornerst.jpg);
background-repeat: repeat-x;
background-position: top;
}
.roundcornersbottom {
height: 7px;
background-image: url(img/roundcornersb.jpg);
background-repeat: repeat-x;
background-position: bottom;
}
.ticketrow {
background-color: #f5fffa;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
border: #748aaf 1px dotted;
padding: 6px;
}
.ticketalt {
background-color: #ffffff;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
padding: 6px;
}

.tickettd {
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
}

.subheaderrow {
background-color: #ffffff;
color : #23559C;
border: #23559C solid 1px;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
border-collapse: collapse;
background-image: url(img/tableheader.jpg);
background-repeat: no-repeat;
background-position: right top;
height: 25px;
padding-right: 20px;
padding-left: 20px;
padding-top: 5px;
}
.homepageh3, .section {
color: #74804e;
font-weight: bold;
}

/*newly introduced styles (version 2.2)*/

.large {
font-size:14px;
}

.largebold {
font-size:14px;
font-weight:bold;
}

.assignedyou {
color: red;
}

.assignedother {
color: green;
}

div.error {
border: 1px solid #cd0a0a;
background: #fef1ec;
color: #cd0a0a;
padding: 10px;
}

div.success {
border: 1px solid #18760f;
background: #e9ffdb;
color: #363636;
padding: 10px;
}

div.notice {
border: 1px solid #fcefa1;
background: #fff9de;
color: #363636;
padding: 10px;
vertical-align: middle;
}

.admin_green {
background-color: #e3ffd0;
font-weight: bold;
}

.admin_red {
background-color: #fef1ec;
font-weight: bold;
}

.borderBottom {
border-bottom: silver 1px dashed;
}

.borderTop {
border-top: silver 1px dashed;
}

.alignTop {
vertical-align: top;
}

.alignMiddle {
vertical-align: middle;
}

.alignBottom {
vertical-align: bottom;
}

hr.dashed {
border: none 0;
border-top: 1px dashed silver;
height: 1px;
}

/* newly introduced styles (version 2.3) */

h1 {
color : #74804e;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
margin: 0px;
}

.critical {
color: #9400d3;
font-weight: bold;
}

td.admin_critical {
background-color: #fff0ff;
color : #000000;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
border: 1px solid #ff66ff;
padding: 1px;
}

.isError {
color: black;
background-color: #fff9f7;
border: 1px solid red;
}

.isNotice {
color: black;
border: 1px solid orange;
background: #fbf9ee;
}
.optionWhiteON{
padding:2px;
border:1px dotted silver;
background-color: #b0e0e6;
}

.optionWhiteOFF {
padding:2px;
border:1px dotted silver;
background-color: white;
}

.optionBlueON {
padding:2px;
border:1px dotted gray;
background-color: #b0e0e6;
}

.optionBlueOFF {
padding:2px;
border:1px dotted gray;
background-color: #f5fffa;
}

.optionWhiteNbON{
border: none;
background-color: #b0e0e6;
vertical-align: text-bottom;
}

.optionWhiteNbOFF {
border: none;
background-color: white;
vertical-align: text-bottom;
}

.kbCatListON {
background-color: #fcefa1;
}

.kbCatListOFF {
background-color: white;
}

div.progress-container {
border: 1px solid #ccc;
width: 100px;
margin: 2px 0 2px 5px;
padding: 1px;
float: right;
background: white;
}

div.progress-container > div {
background-color: #ACE97C;
height: 12px
}

.black {color: black;}
.inprogress {color : #006400;}
.onhold {color : #000000;}

div.online {
border: 1px solid #e5e8ff;
background: #ffffff;
color: #000000;
padding: 0px;
vertical-align: middle;
}

span.online {
font-size: 10px;
white-space:nowrap;
}

/* newly introduced styles (version 2.4) */

.orangebuttonsec {
background-image: url(img/orangebtnsec.jpg);
background-repeat: no-repeat;
text-align: center;
color: #660000;
border: 1px solid #bf6628;
height: 20px;
font-size: 10px;
font-weight:normal;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
background-position: right top;
padding-right: 6px;
padding-left: 6px;
margin-right: 2px;
margin-left: 2px;
text-decoration: none;
margin-top: 0px;
}

.orangebuttonsecover {
background-image: url(img/orangebtnover.gif);
background-repeat: no-repeat;
text-align: center;
color: #660000;
border: 1px solid #bf6628;
height: 20px;
font-size: 10px;
font-weight:normal;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
background-position: right top;
padding-right: 6px;
padding-left: 6px;
margin-right: 2px;
margin-left: 2px;
text-decoration: none;
margin-top: 0px;
}

td.admin_yellow {
background-color: #ffffe0;
color : #4a5571;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 11px;
border: #d1dceb 1px solid;
padding: 1px;
}

/* New styles in HESK version 2.6 */

div.info {
border: 1px solid #9acfea;
background: #d9edf7;
color: #363636;
padding: 10px;
vertical-align: middle;
}

div.none {
color: #363636;
padding: 10px;
vertical-align: middle;
}

/* New styles in HESK version 2.5 */

.kb_published {
color: #009900;
}

.kb_private {
color: #4a5571;
}

.kb_draft {
color: #cc9933;
}

.searchbutton {
cursor:pointer;
width:70px;
height:27px;
text-indent:-999px;
text-transform: capitalize;
color: transparent;
background: url(img/ico-search.png) no-repeat #4d90fe center;
border: 1px solid #3079ED;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}

.searchbutton:hover {
background: url(img/ico-search.png) no-repeat center #357AE8;
border: 1px solid #2F5BB7;
}

.searchfield {
width:400px;
height:21px;
font-size:14px;
text-indent:2px;
vertical-align: bottom;
}

.sbsmall {
width:50px;
height:22px;
margin-top:2px;
}

.sfsmall {
width:200px;
height:16px;
font-size:12px;
margin-top:2px;
}

+ 0
- 1
inc/headerAdmin.inc.php View File

@@ -41,7 +41,6 @@ $modsForHesk_settings = mfh_getSettings();
<link rel="stylesheet" href="<?php echo HESK_PATH; ?>css/bootstrap-clockpicker.min.css?v=<?php echo MODS_FOR_HESK_BUILD; ?>">
<link rel="stylesheet" href="<?php echo HESK_PATH; ?>css/bootstrap-colorpicker.min.css?v=<?php echo MODS_FOR_HESK_BUILD; ?>">
<link rel="stylesheet" href="<?php echo HESK_PATH; ?>css/AdminLTE.min.css?v=<?php echo MODS_FOR_HESK_BUILD; ?>">
<link rel="stylesheet" href="<?php echo HESK_PATH; ?>css/skins/_all-skins.min.css?v=<?php echo MODS_FOR_HESK_BUILD; ?>">
<link rel="stylesheet" href="<?php echo HESK_PATH; ?>css/toastr.min.css?v=<?php echo MODS_FOR_HESK_BUILD; ?>">
<link rel="stylesheet" href="<?php echo HESK_PATH; ?>css/magnific-popup.css?v=<?php echo MODS_FOR_HESK_BUILD; ?>">
<link rel="stylesheet" href="<?php echo HESK_PATH; ?>css/mods-for-hesk-new.css?v=<?php echo MODS_FOR_HESK_BUILD; ?>">

+ 1
- 1
install/install_functions.inc.php View File

@@ -16,7 +16,7 @@ if (!defined('IN_SCRIPT')) {die('Invalid attempt');}

// We will be installing this HESK version:
define('HESK_NEW_VERSION','2.7.3');
define('MODS_FOR_HESK_NEW_VERSION','3.0.7');
define('MODS_FOR_HESK_NEW_VERSION','3.1.0');
define('REQUIRE_PHP_VERSION','5.3.0');
define('REQUIRE_MYSQL_VERSION','5.0.7');


+ 2
- 0
install/mods-for-hesk/ajax/install-database-ajax.php View File

@@ -88,6 +88,8 @@ if ($version == 2) {
execute306Scripts();
} elseif ($version == 41) {
execute307Scripts();
} elseif ($version == 42) {
execute310Scripts();
} else {
$response = 'The version "' . $version . '" was not recognized. Check the value submitted and try again.';
print $response;

+ 1
- 0
install/mods-for-hesk/installModsForHesk.php View File

@@ -50,6 +50,7 @@ $buildToVersionMap = array(
39 => '3.0.5',
40 => '3.0.6',
41 => '3.0.7',
42 => '3.1.0',
);

function echoInitialVersionRows($version, $build_to_version_map)

+ 3
- 0
install/mods-for-hesk/js/version-scripts.js View File

@@ -119,6 +119,9 @@ function processUpdates(startingVersion) {
} else if (startingVersion < 41) {
startVersionUpgrade('307');
executeUpdate(41, '307', '3.0.7');
} else if (startingVersion < 42) {
startVersionUpgrade('310');
executeUpdate(42, '310', '3.1.0');
} else {
installationFinished();
}

+ 1
- 0
install/mods-for-hesk/modsForHesk.php View File

@@ -118,6 +118,7 @@ hesk_dbConnect();
<select name="current-version" class="form-control">
<option disabled>Select One, or "No Previous Installation" Below</option>
<optgroup label="Mods for HESK 3">
<option value="41">3.0.7</option>
<option value="40">3.0.6</option>
<option value="39">3.0.5</option>
<option value="38">3.0.4</option>

Loading…
Cancel
Save