update v1.0.6.2
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
<meta charset="UTF-8">
|
||||
<title>Faveo | HELP DESK</title>
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
<!-- faveo favicon -->
|
||||
<link rel="shortcut icon" href="{{asset("lb-faveo/media/images/favicon.ico")}}">
|
||||
<!-- Bootstrap 3.3.2 -->
|
||||
<link href="{{asset("lb-faveo/css/bootstrap.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Font Awesome Icons -->
|
||||
|
@@ -112,7 +112,7 @@ active
|
||||
{!! Lang::get('lang.more') !!} <span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
<!-- <li data-toggle="modal" data-target="#ChangeOwner"><a href="#"><i class="fa fa-users" style="color:green;"> </i>Change Owner</a></li> -->
|
||||
<li data-toggle="modal" data-target="#ChangeOwner"><a href="#"><i class="fa fa-users" style="color:green;"> </i>Change Owner</a></li>
|
||||
<!-- <li><a href="#"><i class="fa fa-edit" style="color:blue;"> </i>Manage Forms</a></li> -->
|
||||
<?php if ($group->can_delete_ticket == 1) {?>
|
||||
<li id="delete"><a href="#"><i class="fa fa-trash-o" style="color:red;"> </i>{!! Lang::get('lang.delete_ticket') !!}</a></li>
|
||||
|
@@ -5,6 +5,8 @@
|
||||
<title>Faveo | HELP DESK</title>
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
<meta name="_token" content="{!! csrf_token() !!}"/>
|
||||
<!-- faveo favicon -->
|
||||
<link rel="shortcut icon" href="{{asset("lb-faveo/media/images/favicon.ico")}}">
|
||||
<!-- Bootstrap 3.3.2 -->
|
||||
<link href="{{asset("lb-faveo/css/bootstrap.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Font Awesome Icons -->
|
||||
|
@@ -11,6 +11,8 @@
|
||||
}
|
||||
?>
|
||||
<title> @yield('title') {!! strip_tags($title_name) !!} </title>
|
||||
<!-- faveo favicon -->
|
||||
<link rel="shortcut icon" href="{{asset("lb-faveo/media/images/favicon.ico")}}">
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
<!-- Bootstrap 3.3.2 -->
|
||||
{{-- <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet" type="text/css" /> --}}
|
||||
|
@@ -1,119 +0,0 @@
|
||||
@extends('themes.default1.installer.layout.installer')
|
||||
@section('content')
|
||||
|
||||
<h1>Licence Agreement</h1>
|
||||
|
||||
<div class="login-box-body">
|
||||
<!-- form -->
|
||||
<form action="{{URL::route('postlicence')}}" method="post">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<!-- box -->
|
||||
<!-- form-group -->
|
||||
<div class="form-group" >
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<p>{!! Session::get('fails') !!}</p>
|
||||
</div>
|
||||
@endif
|
||||
PLEASE READ THIS SOFTWARE LICENSE AGREEMENT CAREFULLY BEFORE DOWNLOADING OR USING THE SOFTWARE. BY CLICKING ON THE "ACCEPT" BUTTON, OPENING THE PACKAGE, OR DOWNLOADING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, STOP THE INSTALLATION PROCESS AND EXIT.</p>
|
||||
<!-- form-group -->
|
||||
<div class="form-group">
|
||||
<label><input type="checkbox" class="flat-red" id="accept" name="accept1"/> I accept the </label><a href="#" style="color:blue;" data-toggle="modal" data-target="#Edit"> Licence Agreement</a> <br>
|
||||
</div>
|
||||
<button value="prev" disabled="" id="access1">Prev</button>
|
||||
<input type="submit" disabled="" value="Next" id="access"/>
|
||||
</div>
|
||||
<br>
|
||||
</form>
|
||||
</div>
|
||||
<div class="modal fade" id="Edit">
|
||||
<div class="modal-dialog" style="width:60%;height:70%;">
|
||||
<div class="modal-content">
|
||||
<div class="box-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidd en="true">×</span></button><h3 class="box-title">Licence and Agreements</h3>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<pre>
|
||||
<h4>Open Software License ("OSL") v. 3.0</h4>
|
||||
This Open Software License (the "License") applies to any original work of authorship (the "Original Work") whose owner (the "Licensor") has placed the following licensing notice adjacent to the copyright notice for the Original Work:
|
||||
|
||||
Licensed under the Open Software License version 3.0
|
||||
|
||||
1. Grant of Copyright License. Licensor grants You a worldwide, royalty-free, non-exclusive, sublicensable license, for the duration of the copyright, to do the following:
|
||||
|
||||
1. to reproduce the Original Work in copies, either alone or as part of a collective work;
|
||||
|
||||
2. to translate, adapt, alter, transform, modify, or arrange the Original Work, thereby creating derivative works ("Derivative Works") based upon the Original Work;
|
||||
|
||||
3. to distribute or communicate copies of the Original Work and Derivative Works to the public, with the proviso that copies of Original Work or Derivative Works that You distribute or communicate shall be licensed under this Open Software License;
|
||||
|
||||
4. to perform the Original Work publicly; and
|
||||
|
||||
5. to display the Original Work publicly.
|
||||
|
||||
2. Grant of Patent License. Licensor grants You a worldwide, royalty-free, non-exclusive, sublicensable license, under patent claims owned or controlled by the Licensor that are embodied in the Original Work as furnished by the Licensor, for the duration of the patents, to make, use, sell, offer for sale, have made, and import the Original Work and Derivative Works.
|
||||
|
||||
3. Grant of Source Code License. The term "Source Code" means the preferred form of the Original Work for making modifications to it and all available documentation describing how to modify the Original Work. Licensor agrees to provide a machine-readable copy of the Source Code of the Original Work along with each copy of the Original Work that Licensor distributes. Licensor reserves the right to satisfy this obligation by placing a machine-readable copy of the Source Code in an information repository reasonably calculated to permit inexpensive and convenient access by You for as long as Licensor continues to distribute the Original Work.
|
||||
|
||||
4. Exclusions From License Grant. Neither the names of Licensor, nor the names of any contributors to the Original Work, nor any of their trademarks or service marks, may be used to endorse or promote products derived from this Original Work without express prior permission of the Licensor. Except as expressly stated herein, nothing in this License grants any license to Licensor's trademarks, copyrights, patents, trade secrets or any other intellectual property. No patent license is granted to make, use, sell, offer for sale, have made, or import embodiments of any patent claims other than the licensed claims defined in Section 2. No license is granted to the trademarks of Licensor even if such marks are included in the Original Work. Nothing in this License shall be interpreted to prohibit Licensor from licensing under terms different from this License any Original Work that Licensor otherwise would have a right to license.
|
||||
|
||||
5. External Deployment. The term "External Deployment" means the use, distribution, or communication of the Original Work or Derivative Works in any way such that the Original Work or Derivative Works may be used by anyone other than You, whether those works are distributed or communicated to those persons or made available as an application intended for use over a network. As an express condition for the grants of license hereunder, You must treat any External Deployment by You of the Original Work or a Derivative Work as a distribution under section 1(c).
|
||||
|
||||
6. Attribution Rights. You must retain, in the Source Code of any Derivative Works that You create, all copyright, patent, or trademark notices from the Source Code of the Original Work, as well as any notices of licensing and any descriptive text identified therein as an "Attribution Notice." You must cause the Source Code for any Derivative Works that You create to carry a prominent Attribution Notice reasonably calculated to inform recipients that You have modified the Original Work.
|
||||
|
||||
7. Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that the copyright in and to the Original Work and the patent rights granted herein by Licensor are owned by the Licensor or are sublicensed to You under the terms of this License with the permission of the contributor(s) of those copyrights and patent rights. Except as expressly stated in the immediately preceding sentence, the Original Work is provided under this License on an "AS IS" BASIS and WITHOUT WARRANTY, either express or implied, including, without limitation, the warranties of non-infringement, merchantability or fitness for a particular purpose. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No license to the Original Work is granted by this License except under this disclaimer.
|
||||
|
||||
8. Limitation of Liability. Under no circumstances and under no legal theory, whether in tort (including negligence), contract, or otherwise, shall the Licensor be liable to anyone for any indirect, special, incidental, or consequential damages of any character arising as a result of this License or the use of the Original Work including, without limitation, damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses. This limitation of liability shall not apply to the extent applicable law prohibits such limitation.
|
||||
|
||||
9. Acceptance and Termination. If, at any time, You expressly assented to this License, that assent indicates your clear and irrevocable acceptance of this License and all of its terms and conditions. If You distribute or communicate copies of the Original Work or a Derivative Work, You must make a reasonable effort under the circumstances to obtain the express assent of recipients to the terms of this License. This License conditions your rights to undertake the activities listed in Section 1, including your right to create Derivative Works based upon the Original Work, and doing so without honoring these terms and conditions is prohibited by copyright law and international treaty. Nothing in this License is intended to affect copyright exceptions and limitations (including 'fair use' or 'fair dealing'). This License shall terminate immediately and You may no longer exercise any of the rights granted to You by this License upon your failure to honor the conditions in Section 1(c).
|
||||
|
||||
10. Termination for Patent Action. This License shall terminate automatically and You may no longer exercise any of the rights granted to You by this License as of the date You commence an action, including a cross-claim or counterclaim, against Licensor or any licensee alleging that the Original Work infringes a patent. This termination provision shall not apply for an action alleging patent infringement by combinations of the Original Work with other software or hardware.
|
||||
|
||||
11. Jurisdiction, Venue and Governing Law. Any action or suit relating to this License may be brought only in the courts of a jurisdiction wherein the Licensor resides or in which Licensor conducts its primary business, and under the laws of that jurisdiction excluding its conflict-of-law provisions. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any use of the Original Work outside the scope of this License or after its termination shall be subject to the requirements and penalties of copyright or patent law in the appropriate jurisdiction. This section shall survive the termination of this License.
|
||||
|
||||
12. Attorneys' Fees. In any action to enforce the terms of this License or seeking damages relating thereto, the prevailing party shall be entitled to recover its costs and expenses, including, without limitation, reasonable attorneys' fees and costs incurred in connection with such action, including any appeal of such action. This section shall survive the termination of this License.
|
||||
|
||||
13. Miscellaneous. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable.
|
||||
|
||||
14. Definition of "You" in This License. "You" throughout this License, whether in upper or lower case, means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, "You" includes any entity that controls, is controlled by, or is under common control with you. For purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
15. Right to Use. You may use the Original Work in all ways not otherwise restricted or conditioned by this License or by law, and Licensor promises not to interfere with or be responsible for such uses by You.
|
||||
|
||||
16. Modification of This License. This License is Copyright (C) 2005 Lawrence Rosen. Permission is granted to copy, distribute, or communicate this License without modification. Nothing in this License permits You to modify this License as applied to the Original Work or to Derivative Works. However, You may modify the text of this License and copy, distribute or communicate your modified version (the "Modified License") and apply it to other original works of authorship subject to the following conditions: (i) You may not indicate in any way that your Modified License is the "Open Software License" or "OSL" and you may not use those names in the name of your Modified License; (ii) You must replace the notice specified in the first paragraph above with the notice "Licensed under <insert your license name here>" or with a notice of your own that is not confusingly similar to the notice in this License; and (iii) You may not claim that your original works are open source software unless your Modified License has been approved by Open Source Initiative (OSI) and You comply with its license review and certification process.
|
||||
</pre>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default pull-left" data-dismiss="modal" id="dismis">Close</button>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div><!-- /.modal-content -->
|
||||
</div><!-- /.modal-dialog -->
|
||||
</div><!-- /.modal -->
|
||||
</p>
|
||||
|
||||
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
<script src="{{asset("lb-faveo/downloads/bootstrap.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var checker = document.getElementById('accept');
|
||||
var sendbtn = document.getElementById('access');
|
||||
// when unchecked or checked, run the function
|
||||
checker.onchange = function(){
|
||||
if(this.checked){
|
||||
sendbtn.disabled = false;
|
||||
} else {
|
||||
sendbtn.disabled = true;
|
||||
}
|
||||
}
|
||||
$(function() {
|
||||
$('input[type="checkbox"].flat-red, input[type="radio"].flat-red').iCheck({
|
||||
checkboxClass: 'icheckbox_flat-red',
|
||||
radioClass: 'iradio_flat-red'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
@stop
|
@@ -1,225 +0,0 @@
|
||||
@extends('themes.default1.installer.layout.installer')
|
||||
@section('content')
|
||||
<h1>Prerequisites</h1>
|
||||
<div class="login-box-body" >
|
||||
|
||||
<!-- form-box -->
|
||||
<?php
|
||||
define('PROBE_VERSION', '4.2');
|
||||
define('PROBE_FOR', '<b>Faveo</b>HELPDESK '.Config::get('app.version').' and Newer');
|
||||
define('STATUS_OK', 'ok');
|
||||
define('STATUS_WARNING', 'warning');
|
||||
define('STATUS_ERROR', 'error');
|
||||
class TestResult {
|
||||
var $message;
|
||||
var $status;
|
||||
|
||||
function TestResult($message, $status = STATUS_OK) {
|
||||
$this->message = $message;
|
||||
$this->status = $status;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<p>Test/Probe Prerequisites required to be installed</p>
|
||||
|
||||
<div id="wrapper">
|
||||
<h1>Probe</h1>
|
||||
|
||||
<b>Probe Version:</b>
|
||||
<?php echo PROBE_VERSION?>
|
||||
<br>
|
||||
<b>Testing For:</b>
|
||||
<?php echo PROBE_FOR?>
|
||||
<h2>1. Environment test</h2>
|
||||
<ul>
|
||||
<?php
|
||||
|
||||
function validate_php(&$results) {
|
||||
if (version_compare(PHP_VERSION, '5.5') == -1) {
|
||||
$results[] = new TestResult('Minimum PHP version required in order to run Faveo HELPDESK is PHP 5.5. Your PHP version: ' . PHP_VERSION, STATUS_ERROR);
|
||||
return false;
|
||||
} else {
|
||||
$results[] = new TestResult('Your PHP version is ' . PHP_VERSION, STATUS_OK);
|
||||
return true;
|
||||
} // if
|
||||
} // validate_php
|
||||
|
||||
/**
|
||||
* Convert filesize value from php.ini to bytes
|
||||
*
|
||||
* Convert PHP config value (2M, 8M, 200K...) to bytes. This function was taken from PHP documentation. $val is string
|
||||
* value that need to be converted
|
||||
*
|
||||
* @param string $val
|
||||
* @return integer
|
||||
*/
|
||||
function php_config_value_to_bytes($val) {
|
||||
$val = trim($val);
|
||||
$last = strtolower($val{strlen($val) - 1});
|
||||
switch ($last) {
|
||||
// The 'G' modifier is available since PHP 5.1.0
|
||||
case 'g':
|
||||
$val *= 1024;
|
||||
case 'm':
|
||||
$val *= 1024;
|
||||
case 'k':
|
||||
$val *= 1024;
|
||||
} // if
|
||||
|
||||
return (integer) $val;
|
||||
} // php_config_value_to_bytes
|
||||
|
||||
/**
|
||||
* Validate memory limit
|
||||
*
|
||||
* @param array $result
|
||||
*/
|
||||
function validate_memory_limit(&$results) {
|
||||
$memory_limit = php_config_value_to_bytes(ini_get('memory_limit'));
|
||||
|
||||
$formatted_memory_limit = $memory_limit === -1 ? 'unlimited' : format_file_size($memory_limit);
|
||||
|
||||
if ($memory_limit === -1 || $memory_limit >= 67108864) {
|
||||
$results[] = new TestResult('Your memory limit is: ' . $formatted_memory_limit, STATUS_OK);
|
||||
return true;
|
||||
} else {
|
||||
$results[] = new TestResult('Your memory is too low to complete the installation. Minimal value is 64MB, and you have it set to ' . $formatted_memory_limit, STATUS_ERROR);
|
||||
return false;
|
||||
} // if
|
||||
} // validate_memory_limit
|
||||
|
||||
/**
|
||||
* Format filesize
|
||||
*
|
||||
* @param string $value
|
||||
* @return string
|
||||
*/
|
||||
function format_file_size($value) {
|
||||
$data = array(
|
||||
'TB' => 1099511627776,
|
||||
'GB' => 1073741824,
|
||||
'MB' => 1048576,
|
||||
'kb' => 1024,
|
||||
);
|
||||
|
||||
// commented because of integer overflow on 32bit sistems
|
||||
// http://php.net/manual/en/language.types.integer.php#language.types.integer.overflow
|
||||
// $value = (integer) $value;
|
||||
foreach ($data as $unit => $bytes) {
|
||||
$in_unit = $value / $bytes;
|
||||
if ($in_unit > 0.9) {
|
||||
return trim(trim(number_format($in_unit, 2), '0'), '.') . $unit;
|
||||
} // if
|
||||
} // foreach
|
||||
|
||||
return $value . 'b';
|
||||
} // format_file_size
|
||||
|
||||
function validate_zend_compatibility_mode(&$results) {
|
||||
$ok = true;
|
||||
|
||||
if (version_compare(PHP_VERSION, '5.0') >= 0) {
|
||||
if (ini_get('zend.ze1_compatibility_mode')) {
|
||||
$results[] = new TestResult('zend.ze1_compatibility_mode is set to On. This can cause some strange problems. It is strongly suggested to turn this value to Off (in your php.ini file)', STATUS_WARNING);
|
||||
$ok = false;
|
||||
} else {
|
||||
$results[] = new TestResult('zend.ze1_compatibility_mode is turned Off', STATUS_OK);
|
||||
} // if
|
||||
} // if
|
||||
|
||||
return $ok;
|
||||
} // validate_zend_compatibility_mode
|
||||
|
||||
function validate_extensions(&$results) {
|
||||
$ok = true;
|
||||
|
||||
$required_extensions = array('mysqli', 'mcrypt', 'openssl', 'pdo', 'pdo_sqlite', 'pdo_mysql', 'sqlite3');
|
||||
|
||||
foreach ($required_extensions as $required_extension) {
|
||||
if (extension_loaded($required_extension)) {
|
||||
$results[] = new TestResult("Required extension '$required_extension' found", STATUS_OK);
|
||||
} else {
|
||||
$results[] = new TestResult("Extension '$required_extension' is required in order to run Faveo Helpdesk ", STATUS_ERROR);
|
||||
$ok = false;
|
||||
} // if
|
||||
} // foreach
|
||||
|
||||
// Check for eAccelerator
|
||||
if (extension_loaded('eAccelerator') && ini_get('eaccelerator.enable')) {
|
||||
$results[] = new TestResult("eAccelerator opcode cache enabled. <span class=\"details\">eAccelerator opcode cache causes Faveo Helpdesk to crash. <a href=\"https://eaccelerator.net/wiki/Settings\">Disable it</a> for folder where Faveo Helpdesk is installed, or use APC instead: <a href=\"http://www.php.net/apc\">http://www.php.net/apc</a>.</span>", STATUS_ERROR);
|
||||
$ok = false;
|
||||
} // if
|
||||
|
||||
// Check for XCache
|
||||
if (extension_loaded('XCache') && ini_get('xcache.cacher')) {
|
||||
$results[] = new TestResult("XCache opcode cache enabled. <span class=\"details\">XCache opcode cache causes Faveo Helpdesk to crash. <a href=\"http://xcache.lighttpd.net/wiki/XcacheIni\">Disable it</a> for folder where Faveo Helpdesk is installed, or use APC instead: <a href=\"http://www.php.net/apc\">http://www.php.net/apc</a>.</span>", STATUS_ERROR);
|
||||
$ok = false;
|
||||
} // if
|
||||
|
||||
$recommended_extensions = array(
|
||||
|
||||
// 'gd' => 'GD is used for image manipulation. Without it, system is not able to create thumbnails for files or manage avatars, logos and project icons. Please refer to <a href="http://www.php.net/manual/en/image.installation.php">this</a> page for installation instructions',
|
||||
// 'mbstring' => 'MultiByte String is used for work with Unicode. Without it, system may not split words and string properly and you can have weird question mark characters in Recent Activities for example. Please refer to <a href="http://www.php.net/manual/en/mbstring.installation.php">this</a> page for installation instructions',
|
||||
'curl' => 'cURL is used to support various network tasks. Please refer to <a href="http://www.php.net/manual/en/curl.installation.php">this</a> page for installation instructions',
|
||||
// 'iconv' => 'Iconv is used for character set conversion. Without it, system is a bit slower when converting different character set. Please refer to <a href="http://www.php.net/manual/en/iconv.installation.php">this</a> page for installation instructions',
|
||||
// 'imap' => 'IMAP is used to connect to POP3 and IMAP servers. Without it, Incoming Mail module will not work. Please refer to <a href="http://www.php.net/manual/en/imap.installation.php">this</a> page for installation instructions',
|
||||
// 'zlib' => 'ZLIB is used to read and write gzip (.gz) compressed files',
|
||||
// SVN extension ommited, to avoid confusion
|
||||
);
|
||||
|
||||
foreach ($recommended_extensions as $recommended_extension => $recommended_extension_desc) {
|
||||
if (extension_loaded($recommended_extension)) {
|
||||
$results[] = new TestResult("Recommended extension '$recommended_extension' found", STATUS_OK);
|
||||
} else {
|
||||
$results[] = new TestResult("Extension '$recommended_extension' was not found. <span class=\"details\">$recommended_extension_desc</span>", STATUS_WARNING);
|
||||
} // if
|
||||
} // foreach
|
||||
|
||||
return $ok;
|
||||
} // validate_extensions
|
||||
|
||||
// ---------------------------------------------------
|
||||
// Do the magic
|
||||
// ---------------------------------------------------
|
||||
|
||||
$results = array();
|
||||
|
||||
$php_ok = validate_php($results);
|
||||
$memory_ok = validate_memory_limit($results);
|
||||
$extensions_ok = validate_extensions($results);
|
||||
$compatibility_mode_ok = validate_zend_compatibility_mode($results);
|
||||
|
||||
foreach ($results as $result) {
|
||||
print '<li class="' . $result->status . '"><span>' . $result->status . '</span> — ' . $result->message . '</li>';
|
||||
} // foreach
|
||||
if ($php_ok && $memory_ok && $extensions_ok && $compatibility_mode_ok) {
|
||||
?>
|
||||
</div> <form action="{{URL::route('postprerequisites')}}" method="post"><input type="hidden" name="_token" value="{{ csrf_token() }}"><br>
|
||||
<a href="{{URL::route('licence')}}" style="text-color:black" id="access1"> Prev</a> <input type="submit" id="access" value="Next">
|
||||
</form>
|
||||
<br>
|
||||
<?php
|
||||
} else {
|
||||
?></div><br>
|
||||
<a href="{{URL::route('licence')}}" style="text-color:black"><button value="prev" id="access1">Prev</button></a> <input type="submit" value="Next" id="access" disabled=""> <?php
|
||||
}
|
||||
?>
|
||||
<style type="text/css">
|
||||
a:link {color:#000;} /* unvisited link */
|
||||
a:visited {color:#000;} /* visited link */
|
||||
a:hover {color:#000;} /* mouse over link */
|
||||
a:active {color:#000;}
|
||||
</style>
|
||||
<p><br>
|
||||
<div id="legend">
|
||||
<ul>
|
||||
<li class="ok"><span>ok</span> — All OK</li>
|
||||
<li class="warning"><span>warning</span> — Not a deal breaker, but it's recommended to have this installed for some features to work</li>
|
||||
<li class="error"><span>error</span> — Faveo HELPDESK require this feature and can't work without it</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</p>
|
||||
|
||||
@stop
|
@@ -1,166 +0,0 @@
|
||||
@extends('themes.default1.installer.layout.installer')
|
||||
|
||||
@section('content')
|
||||
<style type="text/css">
|
||||
select {
|
||||
width:150px;
|
||||
border:1px solid red;
|
||||
-webkit-border-top-right-radius: 15px;
|
||||
-webkit-border-bottom-right-radius: 15px;
|
||||
-moz-border-radius-topright: 15px;
|
||||
-moz-border-radius-bottomright: 15px;
|
||||
border-top-right-radius: 15px;
|
||||
border-bottom-right-radius: 15px;
|
||||
padding:2px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<h1>Localisation</h1>
|
||||
<div class="login-box-body" >
|
||||
|
||||
<form action="{{URL::route('postlocalization')}}" method="post">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<select class="form-control" name="language" >
|
||||
<option value="English(India)">English(India)</option>
|
||||
<option value="English(U.k)">English(U.K)</option>
|
||||
</select>
|
||||
<br>
|
||||
|
||||
<select class="form-control" name="timezone" >
|
||||
<option value="US/Samoa">US/Samoa</option>
|
||||
<option value="US/Hawaii">US/Hawaii</option>
|
||||
<option value="US/Alaska">US/Alaska</option>
|
||||
<option value="US/Pacific">US/Pacific</option>
|
||||
<option value="America/Tijuana">America/Tijuana</option>
|
||||
<option value="US/Arizona">US/Arizona</option>
|
||||
<option value="US/Mountain">US/Mountain</option>
|
||||
<option value="America/Chihuahua">America/Chihuahua</option>
|
||||
<option value="America/Mazatlan">America/Mazatlan</option>
|
||||
<option value="America/Mexico_City">America/Mexico_City</option>
|
||||
<option value="America/Monterrey">America/Monterrey</option>
|
||||
<option value="Canada/Saskatchewan">Canada/Saskatchewan</option>
|
||||
<option value="US/Central">US/Central</option>
|
||||
<option value="US/Eastern">US/Eastern</option>
|
||||
<option value="US/East-Indiana">US/East-Indiana</option>
|
||||
<option value="America/Bogota">America/Bogota</option>
|
||||
<option value="America/Lima">America/Lima</option>
|
||||
<option value="America/Caracas">America/Caracas</option>
|
||||
<option value="Canada/Atlantic">Canada/Atlantic</option>
|
||||
<option value="America/La_Paz">America/La_Paz</option>
|
||||
<option value="America/Santiago">America/Santiago</option>
|
||||
<option value="Canada/Newfoundland">Canada/Newfoundland</option>
|
||||
<option value="America/Buenos_Aires">America/Buenos_Aires</option>
|
||||
<option value="Greenland">Greenland</option>
|
||||
<option value="Atlantic/Stanley">Atlantic/Stanley</option>
|
||||
<option value="Atlantic/Azores">Atlantic/Azores</option>
|
||||
<option value="Atlantic/Cape_Verde">Atlantic/Cape_Verde</option>
|
||||
<option value="Africa/Casablanca">Africa/Casablanca</option>
|
||||
<option value="Europe/Dublin">Europe/Dublin</option>
|
||||
<option value="Europe/Lisbon">Europe/Lisbon</option>
|
||||
<option value="Europe/London">Europe/London</option>
|
||||
<option value="Africa/Monrovia">Africa/Monrovia</option>
|
||||
<option value="Europe/Amsterdam">Europe/Amsterdam</option>
|
||||
<option value="Europe/Belgrade">Europe/Belgrade</option>
|
||||
<option value="Europe/Berlin">Europe/Berlin</option>
|
||||
<option value="Europe/Bratislava">Europe/Bratislava</option>
|
||||
<option value="Europe/Brussels">Europe/Brussels</option>
|
||||
<option value="Europe/Budapest">Europe/Budapest</option>
|
||||
<option value="Europe/Copenhagen">Europe/Copenhagen</option>
|
||||
<option value="Europe/Ljubljana">Europe/Ljubljana</option>
|
||||
<option value="Europe/Madrid">Europe/Madrid</option>
|
||||
<option value="Europe/Paris">Europe/Paris</option>
|
||||
<option value="Europe/Prague">Europe/Prague</option>
|
||||
<option value="Europe/Rome">Europe/Rome</option>
|
||||
<option value="Europe/Sarajevo">Europe/Sarajevo</option>
|
||||
<option value="Europe/Skopje">Europe/Skopje</option>
|
||||
<option value="Europe/Stockholm">Europe/Stockholm</option>
|
||||
<option value="Europe/Vienna">Europe/Vienna</option>
|
||||
<option value="Europe/Warsaw">Europe/Warsaw</option>
|
||||
<option value="Europe/Zagreb">Europe/Zagreb</option>
|
||||
<option value="Europe/Athens">Europe/Athens</option>
|
||||
<option value="Europe/Bucharest">Europe/Bucharest</option>
|
||||
<option value="Africa/Cairo">Africa/Cairo</option>
|
||||
<option value="Africa/Harare">Africa/Harare</option>
|
||||
<option value="Europe/Helsinki">Europe/Helsinki</option>
|
||||
<option value="Europe/Istanbul">Europe/Istanbul</option>
|
||||
<option value="Asia/Jerusalem">Asia/Jerusalem</option>
|
||||
<option value="Europe/Kiev">Europe/Kiev</option>
|
||||
<option value="Europe/Minsk">Europe/Minsk</option>
|
||||
<option value="Europe/Riga">Europe/Riga</option>
|
||||
<option value="Europe/Sofia">Europe/Sofia</option>
|
||||
<option value="Europe/Tallinn">Europe/Tallinn</option>
|
||||
<option value="Europe/Vilnius">Europe/Vilnius</option>
|
||||
<option value="Asia/Baghdad">Asia/Baghdad</option>
|
||||
<option value="Asia/Kuwait">Asia/Kuwait</option>
|
||||
<option value="Africa/Nairobi">Africa/Nairobi</option>
|
||||
<option value="Asia/Riyadh">Asia/Riyadh</option>
|
||||
<option value="Asia/Tehran">Asia/Tehran</option>
|
||||
<option value="Europe/Moscow">Europe/Moscow</option>
|
||||
<option value="Asia/Baku">Asia/Baku</option>
|
||||
<option value="Europe/Volgograd">Europe/Volgograd</option>
|
||||
<option value="Asia/Muscat">Asia/Muscat</option>
|
||||
<option value="Asia/Tbilisi">Asia/Tbilisi</option>
|
||||
<option value="Asia/Yerevan">Asia/Yerevan</option>
|
||||
<option value="Asia/Kabul">Asia/Kabul</option>
|
||||
<option value="Asia/Karachi">Asia/Karachi</option>
|
||||
<option value="Asia/Tashkent">Asia/Tashkent</option>
|
||||
<option value="Asia/Kolkata">Asia/Kolkata</option>
|
||||
<option value="Asia/Kathmandu">Asia/Kathmandu</option>
|
||||
<option value="Asia/Yekaterinburg">Asia/Yekaterinburg</option>
|
||||
<option value="Asia/Almaty">Asia/Almaty</option>
|
||||
<option value="Asia/Dhaka">Asia/Dhaka</option>
|
||||
<option value="Asia/Novosibirsk">Asia/Novosibirsk</option>
|
||||
<option value="Asia/Bangkok">Asia/Bangkok</option>
|
||||
<option value="Asia/Ho_Chi_Minh">Asia/Ho_Chi_Minh</option>
|
||||
<option value="Asia/Jakarta">Asia/Jakarta</option>
|
||||
<option value="Asia/Krasnoyarsk">Asia/Krasnoyarsk</option>
|
||||
<option value="Asia/Chongqing">Asia/Chongqing</option>
|
||||
<option value="Asia/Hong_Kong">Asia/Hong_Kong</option>
|
||||
<option value="Asia/Kuala_Lumpur">Asia/Kuala_Lumpur</option>
|
||||
<option value="Australia/Perth">Australia/Perth</option>
|
||||
<option value="Asia/Singapore">Asia/Singapore</option>
|
||||
<option value="Asia/Taipei">Asia/Taipei</option>
|
||||
<option value="Asia/Ulaanbaatar">Asia/Ulaanbaatar</option>
|
||||
<option value="Asia/Urumqi">Asia/Urumqi</option>
|
||||
<option value="Asia/Irkutsk">Asia/Irkutsk</option>
|
||||
<option value="Asia/Seoul">Asia/Seoul</option>
|
||||
<option value="Asia/Tokyo">Asia/Tokyo</option>
|
||||
<option value="Australia/Adelaide">Australia/Adelaide</option>
|
||||
<option value="Australia/Darwin">Australia/Darwin</option>
|
||||
<option value="Asia/Yakutsk">Asia/Yakutsk</option>
|
||||
<option value="Australia/Brisbane">Australia/Brisbane</option>
|
||||
<option value="Australia/Canberra">Australia/Canberra</option>
|
||||
<option value="Pacific/Guam">Pacific/Guam</option>
|
||||
<option value="Australia/Hobart">Australia/Hobart</option>
|
||||
<option value="Australia/Melbourne">Australia/Melbourne</option>
|
||||
<option value="Pacific/Port_Moresby">Pacific/Port_Moresby</option>
|
||||
<option value="Australia/Sydney">Australia/Sydney</option>
|
||||
<option value="Asia/Vladivostok">Asia/Vladivostok</option>
|
||||
<option value="Asia/Magadan">Asia/Magadan</option>
|
||||
<option value="Pacific/Auckland">Pacific/Auckland</option>
|
||||
<option value="Pacific/Fiji">Pacific/Fiji</option>
|
||||
</select>
|
||||
<br>
|
||||
|
||||
<select class="form-control" name="date" >
|
||||
<option value="d/m/Y">DD/MM/YYYY</option>
|
||||
<option value="m/d/Y">MM/DD/YYYY</option>
|
||||
<option value="Y/m/d">YYYY/MM/DD</option>
|
||||
</select>
|
||||
<br>
|
||||
|
||||
<select class="form-control" name="datetime" >
|
||||
<option value="d/m/Y H:i">DD/MM/YYYY H:i</option>
|
||||
<option value="m/d/Y H:i">MM/DD/YYYY H:i</option>
|
||||
<option value="Y/m/d H:i">YYYY/MM/DD H:i</option>
|
||||
</select>
|
||||
|
||||
<br>
|
||||
<a href="{{URL::route('prerequisites')}}" style="text-color:black" id="access1"> Prev</a>
|
||||
<input type="submit" value="Next" id="access">
|
||||
</form>
|
||||
<br>
|
||||
</div>
|
||||
</p>
|
||||
@stop
|
@@ -1,32 +0,0 @@
|
||||
@extends('themes.default1.installer.layout.installer')
|
||||
@section('content')
|
||||
<h1>Configuration</h1>
|
||||
<div class="login-box-body">
|
||||
<h3>Database Connection</h3>
|
||||
{!! Form::open(['url'=> '/step4post']) !!}
|
||||
<!-- <b>database</b><br> -->
|
||||
<select class="form-control" name="default" id="default">
|
||||
<option value="mysql">mysql</option>
|
||||
<option value="pgsql">pgsql</option>
|
||||
<option value="sqlsrv">sqlsrv</option>
|
||||
</select><br>
|
||||
<!-- <b>Host</b><br> -->
|
||||
<input type="text" class="form-control" name="host" id="host" placeholder="Host" required><br>
|
||||
<!-- <b>Port</b><br> -->
|
||||
<input type="text" class="form-control" name="port" id="port" placeholder="Port"><br>
|
||||
<!-- <b>Database Name</b><br> -->
|
||||
<input type="text" class="form-control" name="databasename" id="databasename" placeholder="Databsae Name" required><br>
|
||||
<!-- <b>User Name</b><br> -->
|
||||
<input type="text" class="form-control" name="username" id="username" placeholder="Username" required><br>
|
||||
<!-- <b>User Password</b><br> -->
|
||||
<input type="text" class="form-control" name="password" id="password" placeholder="Password" ><br>
|
||||
<!-- <input type="submit" value="prev" id="access1"> -->
|
||||
<a href="{{URL::route('configuration')}}" style="text-color:black" id="access1"> Prev</a>
|
||||
<input type="submit" value="next" id="access">
|
||||
</form>
|
||||
<br>
|
||||
</div>
|
||||
</p>
|
||||
@stop
|
||||
|
||||
|
@@ -1,205 +0,0 @@
|
||||
@extends('themes.default1.installer.layout.installer')
|
||||
@section('content')
|
||||
|
||||
<h1>Database test</h1>
|
||||
<div class="login-box-body">
|
||||
<?php
|
||||
/**
|
||||
* FaveoHELPDESK Probe
|
||||
*
|
||||
* Copyright (c) 2014 Ladybird Web Solution.
|
||||
*
|
||||
*/
|
||||
// -- Please provide valid database connection parameters ------------------------------
|
||||
$default = Session::get('default');
|
||||
$host = Session::get('host');
|
||||
$username = Session::get('username');
|
||||
$password = Session::get('password');
|
||||
$databasename = Session::get('databasename');
|
||||
$port = Session::get('port');
|
||||
|
||||
define('DB_HOST', $host); // Address of your MySQL server (usually localhost)
|
||||
define('DB_USER', $username); // Username that is used to connect to the server
|
||||
define('DB_PASS', $password); // User's password
|
||||
define('DB_NAME', $databasename); // Name of the database you are connecting to
|
||||
define('DB_PORT', $port); // Name of the database you are connecting to
|
||||
|
||||
define('PROBE_VERSION', '4.2');
|
||||
define('PROBE_FOR', '<b>Faveo</b>HELPDESK 1.0 and Newer');
|
||||
|
||||
define('STATUS_OK', 'ok');
|
||||
define('STATUS_WARNING', 'warning');
|
||||
define('STATUS_ERROR', 'error');
|
||||
|
||||
class TestResult {
|
||||
|
||||
var $message;
|
||||
var $status;
|
||||
|
||||
function TestResult($message, $status = STATUS_OK) {
|
||||
$this->message = $message;
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
} // TestResult
|
||||
|
||||
?>
|
||||
|
||||
<?php if (DB_HOST && DB_USER && DB_NAME) {
|
||||
?>
|
||||
<ul>
|
||||
<?php
|
||||
|
||||
$mysqli_ok = true;
|
||||
|
||||
$results = array();
|
||||
// error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
|
||||
|
||||
error_reporting(0);
|
||||
|
||||
if ($connection = mysqli_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME)) {
|
||||
$results[] = new TestResult('Connected to database as ' . DB_USER . '@' . DB_HOST, STATUS_OK);
|
||||
|
||||
if (mysqli_select_db($connection, DB_NAME)) {
|
||||
$results[] = new TestResult('Database "' . DB_NAME . '" selected', STATUS_OK);
|
||||
|
||||
$mysqli_version = mysqli_get_server_info($connection);
|
||||
|
||||
if (version_compare($mysqli_version, '5') >= 0) {
|
||||
$results[] = new TestResult('MySQL version is ' . $mysqli_version, STATUS_OK);
|
||||
|
||||
// $have_inno = check_have_inno($connection);
|
||||
|
||||
} else {
|
||||
$results[] = new TestResult('Your MySQL version is ' . $mysqli_version . '. We recommend upgrading to at least MySQL5!', STATUS_ERROR);
|
||||
$mysqli_ok = false;
|
||||
} // if
|
||||
} else {
|
||||
$results[] = new TestResult('Failed to select database. <br> MySQL said: ' . mysqli_error(), STATUS_ERROR);
|
||||
$mysqli_ok = false;
|
||||
} // if
|
||||
} else {
|
||||
$results[] = new TestResult('Failed to connect to database. <br> MySQL said: ' . mysqli_error(), STATUS_ERROR);
|
||||
$mysqli_ok = false;
|
||||
} // if
|
||||
|
||||
// ---------------------------------------------------
|
||||
// Validators
|
||||
// ---------------------------------------------------
|
||||
|
||||
foreach ($results as $result) {
|
||||
print '<li class="' . $result->status . '"><span>' . $result->status . '</span> — ' . $result->message . '</li>';
|
||||
} // foreach
|
||||
|
||||
?>
|
||||
</ul>
|
||||
<?php } else {?>
|
||||
<p>Database test is <strong>turned off</strong>. To turn it On, please open probe.php in your favorite text editor and set DB_XXXX connection parameters in database section at the beginning of the file:</p>
|
||||
<ul>
|
||||
<li>DB_HOST — Address of your MySQL server (usually localhost)</li>
|
||||
<li>DB_USER — Username that is used to connect to the server</li>
|
||||
<li>DB_PASS — User's password</li>
|
||||
<li>DB_NAME — Name of the database you are connecting to</li>
|
||||
</ul>
|
||||
<p>Once these settings are set, probe.php will check if your database meets the system requirements.</p>
|
||||
<?php $mysqli_ok = null;?>
|
||||
<?php } // if ?>
|
||||
|
||||
<?php if ($mysqli_ok !== null) {?>
|
||||
<?php if ($mysqli_ok) {?>
|
||||
<p id="verdict" class="all_ok">OK, this system can run <b>Faveo</b>HELPDESK</p>
|
||||
|
||||
<h3 id="conn">Database connection successfull</h3>
|
||||
|
||||
<span id="wait">Please wait this may take a minute......</span>
|
||||
{{-- <a href="{{URL::route('configuration')}}" style="text-color:black"><button value="prev" id="access1">Prev</button></a> --}}
|
||||
<a href="{{URL::route('account')}}" class="pull-right" id="next" style="text-color:black"><button value="next" id="access1">Next</button></a>
|
||||
{{-- <form action="{{URL::route('postconnection')}}" method="post"> --}}
|
||||
{!! Form::open( ['id'=>'form','method' => 'PATCH'] )!!}
|
||||
{{-- <input type="hidden" name="_token" value="{{ csrf_token() }}"> --}}
|
||||
<!-- <b>default</b><br> -->
|
||||
<input type="hidden" name="default" value="{!! $default !!}"/>
|
||||
<!-- <b>Host</b><br> -->
|
||||
<input type="hidden" name="host" value="{!! $host !!}"/>
|
||||
<!-- <b>Database Name</b><br> -->
|
||||
<input type="hidden" name="databasename" value="{!! $databasename !!}"/>
|
||||
<!-- <b>User Name</b><br> -->
|
||||
<input type="hidden" name="username" value="{!! $username !!}"/>
|
||||
<!-- <b>User Password</b><br> -->
|
||||
<input type="hidden" name="password" value="{!! $password !!}"/>
|
||||
<!-- <b>Port</b><br> -->
|
||||
<input type="hidden" name="port" value="{!! $port !!}"/>
|
||||
<input type="submit" style="display:none;">
|
||||
</form>
|
||||
|
||||
<div id="show" style="display:none;">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<img src="{{asset("lb-faveo/dist/img/gifloader.gif")}}"><br/><br/><br/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
|
||||
// submit a ticket
|
||||
$(document).ready(function () {
|
||||
$("#form").submit();
|
||||
});
|
||||
|
||||
// Edit a ticket
|
||||
$('#form').on('submit', function() {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "postconnection",
|
||||
dataType: "html",
|
||||
data: $(this).serialize(),
|
||||
beforeSend: function() {
|
||||
$("#conn").hide();
|
||||
$("#show").show();
|
||||
$("#wait").show();
|
||||
},
|
||||
success: function(response) {
|
||||
|
||||
// $("#dismis").trigger("click");
|
||||
if (response == 1)
|
||||
{
|
||||
$("#show").hide();
|
||||
$("#wait").hide();
|
||||
$("#conn").show();
|
||||
// $("#next1").trigger("click");
|
||||
}
|
||||
else if (response == 0)
|
||||
{
|
||||
alert('Please check all your fields');
|
||||
}
|
||||
}
|
||||
})
|
||||
return false;
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<p><br><p>
|
||||
<?php } else {?>
|
||||
<p id="verdict" class="not_ok">This system does not meet <b>Faveo</b>HELPDESK system requirements</p>
|
||||
<a href="{{URL::route('configuration')}}" style="color:black"><button value="prev" id="access2">Back</button></a><br>
|
||||
<?php } // if ?>
|
||||
<h2>Legend</h2>
|
||||
<div id="legend">
|
||||
<ul>
|
||||
<li class="ok"><span>ok</span> — All OK</li>
|
||||
<li class="warning"><span>warning</span> — Not a deal breaker, but it's recommended to have this installed for some features to work</li>
|
||||
<li class="error"><span>error</span> — <b>Faveo</b>HELPDESK require this feature and can't work without it</li>
|
||||
</ul>
|
||||
</div>
|
||||
<?php } // if ?>
|
||||
<?php
|
||||
if (function_exists('date_default_timezone_set')) {
|
||||
date_default_timezone_set('GMT');
|
||||
} // if
|
||||
?>
|
||||
</div></p>
|
||||
@stop
|
@@ -1,198 +0,0 @@
|
||||
@extends('themes.default1.installer.layout.installer')
|
||||
|
||||
@section('content')
|
||||
<h1>Create Admin Account</h1>
|
||||
<div class="login-box-body" >
|
||||
<?php
|
||||
$language = Session::get('language');
|
||||
$timezone = Session::get('timezone');
|
||||
$date = Session::get('date');
|
||||
$datetime = Session::get('datetime');
|
||||
?>
|
||||
|
||||
{!! Form::open(['url'=>route('postaccount')]) !!}
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
|
||||
<!-- Personal Information -->
|
||||
<h4>Personal Information</h4>
|
||||
<b>First Name</b>
|
||||
<input type="text" class="form-control" name="firstname" id="firstname">
|
||||
@if($errors->has('firstname'))
|
||||
<div class="text-red">{{$errors->first('firstname')}}</div>
|
||||
@endif
|
||||
|
||||
<b>Last Name</b>
|
||||
<input type="text" class="form-control" name="Lastname" id="Lastname">
|
||||
@if($errors->has('Lastname'))
|
||||
<div class="text-red">{{$errors->first('Lastname')}}</div>
|
||||
@endif
|
||||
|
||||
<b>Email</b>
|
||||
<input type="text" class="form-control" name="email" id="email">
|
||||
@if($errors->has('email'))
|
||||
<div class="text-red">{{$errors->first('email')}}</div>
|
||||
@endif
|
||||
<hr>
|
||||
<h4>Login Information</h4>
|
||||
<b>User Name</b>
|
||||
<input type="text" class="form-control" name="username" id="username">
|
||||
@if($errors->has('username'))
|
||||
<div class="text-red">{{$errors->first('username')}}</div>
|
||||
@endif
|
||||
|
||||
<b>Password</b>
|
||||
<input type="password" class="form-control" name="password" id="password">
|
||||
@if($errors->has('password'))
|
||||
<div class="text-red">{{$errors->first('password')}}</div>
|
||||
@endif
|
||||
|
||||
<b>Confirm Password</b>
|
||||
<input type="password" class="form-control" name="confirmpassword" id="confirmpassword">
|
||||
@if($errors->has('confirmpassword'))
|
||||
<div class="text-red">{{$errors->first('confirmpassword')}}</div>
|
||||
@endif
|
||||
<hr>
|
||||
<h4>Local Information</h4>
|
||||
<b>Language</b>
|
||||
<select class="form-control" name="language" >
|
||||
<option value="English(India)">English(India)</option>
|
||||
<option value="English(U.k)">English(U.K)</option>
|
||||
</select>
|
||||
|
||||
<b>Timezone</b>
|
||||
<select class="form-control" name="timezone" >
|
||||
<option value="US/Samoa">US/Samoa</option>
|
||||
<option value="US/Hawaii">US/Hawaii</option>
|
||||
<option value="US/Alaska">US/Alaska</option>
|
||||
<option value="US/Pacific">US/Pacific</option>
|
||||
<option value="America/Tijuana">America/Tijuana</option>
|
||||
<option value="US/Arizona">US/Arizona</option>
|
||||
<option value="US/Mountain">US/Mountain</option>
|
||||
<option value="America/Chihuahua">America/Chihuahua</option>
|
||||
<option value="America/Mazatlan">America/Mazatlan</option>
|
||||
<option value="America/Mexico_City">America/Mexico_City</option>
|
||||
<option value="America/Monterrey">America/Monterrey</option>
|
||||
<option value="Canada/Saskatchewan">Canada/Saskatchewan</option>
|
||||
<option value="US/Central">US/Central</option>
|
||||
<option value="US/Eastern">US/Eastern</option>
|
||||
<option value="US/East-Indiana">US/East-Indiana</option>
|
||||
<option value="America/Bogota">America/Bogota</option>
|
||||
<option value="America/Lima">America/Lima</option>
|
||||
<option value="America/Caracas">America/Caracas</option>
|
||||
<option value="Canada/Atlantic">Canada/Atlantic</option>
|
||||
<option value="America/La_Paz">America/La_Paz</option>
|
||||
<option value="America/Santiago">America/Santiago</option>
|
||||
<option value="Canada/Newfoundland">Canada/Newfoundland</option>
|
||||
<option value="America/Buenos_Aires">America/Buenos_Aires</option>
|
||||
<option value="Greenland">Greenland</option>
|
||||
<option value="Atlantic/Stanley">Atlantic/Stanley</option>
|
||||
<option value="Atlantic/Azores">Atlantic/Azores</option>
|
||||
<option value="Atlantic/Cape_Verde">Atlantic/Cape_Verde</option>
|
||||
<option value="Africa/Casablanca">Africa/Casablanca</option>
|
||||
<option value="Europe/Dublin">Europe/Dublin</option>
|
||||
<option value="Europe/Lisbon">Europe/Lisbon</option>
|
||||
<option value="Europe/London">Europe/London</option>
|
||||
<option value="Africa/Monrovia">Africa/Monrovia</option>
|
||||
<option value="Europe/Amsterdam">Europe/Amsterdam</option>
|
||||
<option value="Europe/Belgrade">Europe/Belgrade</option>
|
||||
<option value="Europe/Berlin">Europe/Berlin</option>
|
||||
<option value="Europe/Bratislava">Europe/Bratislava</option>
|
||||
<option value="Europe/Brussels">Europe/Brussels</option>
|
||||
<option value="Europe/Budapest">Europe/Budapest</option>
|
||||
<option value="Europe/Copenhagen">Europe/Copenhagen</option>
|
||||
<option value="Europe/Ljubljana">Europe/Ljubljana</option>
|
||||
<option value="Europe/Madrid">Europe/Madrid</option>
|
||||
<option value="Europe/Paris">Europe/Paris</option>
|
||||
<option value="Europe/Prague">Europe/Prague</option>
|
||||
<option value="Europe/Rome">Europe/Rome</option>
|
||||
<option value="Europe/Sarajevo">Europe/Sarajevo</option>
|
||||
<option value="Europe/Skopje">Europe/Skopje</option>
|
||||
<option value="Europe/Stockholm">Europe/Stockholm</option>
|
||||
<option value="Europe/Vienna">Europe/Vienna</option>
|
||||
<option value="Europe/Warsaw">Europe/Warsaw</option>
|
||||
<option value="Europe/Zagreb">Europe/Zagreb</option>
|
||||
<option value="Europe/Athens">Europe/Athens</option>
|
||||
<option value="Europe/Bucharest">Europe/Bucharest</option>
|
||||
<option value="Africa/Cairo">Africa/Cairo</option>
|
||||
<option value="Africa/Harare">Africa/Harare</option>
|
||||
<option value="Europe/Helsinki">Europe/Helsinki</option>
|
||||
<option value="Europe/Istanbul">Europe/Istanbul</option>
|
||||
<option value="Asia/Jerusalem">Asia/Jerusalem</option>
|
||||
<option value="Europe/Kiev">Europe/Kiev</option>
|
||||
<option value="Europe/Minsk">Europe/Minsk</option>
|
||||
<option value="Europe/Riga">Europe/Riga</option>
|
||||
<option value="Europe/Sofia">Europe/Sofia</option>
|
||||
<option value="Europe/Tallinn">Europe/Tallinn</option>
|
||||
<option value="Europe/Vilnius">Europe/Vilnius</option>
|
||||
<option value="Asia/Baghdad">Asia/Baghdad</option>
|
||||
<option value="Asia/Kuwait">Asia/Kuwait</option>
|
||||
<option value="Africa/Nairobi">Africa/Nairobi</option>
|
||||
<option value="Asia/Riyadh">Asia/Riyadh</option>
|
||||
<option value="Asia/Tehran">Asia/Tehran</option>
|
||||
<option value="Europe/Moscow">Europe/Moscow</option>
|
||||
<option value="Asia/Baku">Asia/Baku</option>
|
||||
<option value="Europe/Volgograd">Europe/Volgograd</option>
|
||||
<option value="Asia/Muscat">Asia/Muscat</option>
|
||||
<option value="Asia/Tbilisi">Asia/Tbilisi</option>
|
||||
<option value="Asia/Yerevan">Asia/Yerevan</option>
|
||||
<option value="Asia/Kabul">Asia/Kabul</option>
|
||||
<option value="Asia/Karachi">Asia/Karachi</option>
|
||||
<option value="Asia/Tashkent">Asia/Tashkent</option>
|
||||
<option value="Asia/Kolkata">Asia/Kolkata</option>
|
||||
<option value="Asia/Kathmandu">Asia/Kathmandu</option>
|
||||
<option value="Asia/Yekaterinburg">Asia/Yekaterinburg</option>
|
||||
<option value="Asia/Almaty">Asia/Almaty</option>
|
||||
<option value="Asia/Dhaka">Asia/Dhaka</option>
|
||||
<option value="Asia/Novosibirsk">Asia/Novosibirsk</option>
|
||||
<option value="Asia/Bangkok">Asia/Bangkok</option>
|
||||
<option value="Asia/Ho_Chi_Minh">Asia/Ho_Chi_Minh</option>
|
||||
<option value="Asia/Jakarta">Asia/Jakarta</option>
|
||||
<option value="Asia/Krasnoyarsk">Asia/Krasnoyarsk</option>
|
||||
<option value="Asia/Chongqing">Asia/Chongqing</option>
|
||||
<option value="Asia/Hong_Kong">Asia/Hong_Kong</option>
|
||||
<option value="Asia/Kuala_Lumpur">Asia/Kuala_Lumpur</option>
|
||||
<option value="Australia/Perth">Australia/Perth</option>
|
||||
<option value="Asia/Singapore">Asia/Singapore</option>
|
||||
<option value="Asia/Taipei">Asia/Taipei</option>
|
||||
<option value="Asia/Ulaanbaatar">Asia/Ulaanbaatar</option>
|
||||
<option value="Asia/Urumqi">Asia/Urumqi</option>
|
||||
<option value="Asia/Irkutsk">Asia/Irkutsk</option>
|
||||
<option value="Asia/Seoul">Asia/Seoul</option>
|
||||
<option value="Asia/Tokyo">Asia/Tokyo</option>
|
||||
<option value="Australia/Adelaide">Australia/Adelaide</option>
|
||||
<option value="Australia/Darwin">Australia/Darwin</option>
|
||||
<option value="Asia/Yakutsk">Asia/Yakutsk</option>
|
||||
<option value="Australia/Brisbane">Australia/Brisbane</option>
|
||||
<option value="Australia/Canberra">Australia/Canberra</option>
|
||||
<option value="Pacific/Guam">Pacific/Guam</option>
|
||||
<option value="Australia/Hobart">Australia/Hobart</option>
|
||||
<option value="Australia/Melbourne">Australia/Melbourne</option>
|
||||
<option value="Pacific/Port_Moresby">Pacific/Port_Moresby</option>
|
||||
<option value="Australia/Sydney">Australia/Sydney</option>
|
||||
<option value="Asia/Vladivostok">Asia/Vladivostok</option>
|
||||
<option value="Asia/Magadan">Asia/Magadan</option>
|
||||
<option value="Pacific/Auckland">Pacific/Auckland</option>
|
||||
<option value="Pacific/Fiji">Pacific/Fiji</option>
|
||||
</select>
|
||||
|
||||
<b>Date</b>
|
||||
<select class="form-control" name="date" >
|
||||
<option value="d/m/Y">DD/MM/YYYY</option>
|
||||
<option value="m/d/Y">MM/DD/YYYY</option>
|
||||
<option value="Y/m/d">YYYY/MM/DD</option>
|
||||
</select>
|
||||
|
||||
<b>Date Time</b>
|
||||
<select class="form-control" name="datetime" >
|
||||
<option value="d/m/Y H:i">DD/MM/YYYY H:i</option>
|
||||
<option value="m/d/Y H:i">MM/DD/YYYY H:i</option>
|
||||
<option value="Y/m/d H:i">YYYY/MM/DD H:i</option>
|
||||
</select>
|
||||
<br/>
|
||||
{{-- <a href="{{URL::route('configuration')}}" id="access1" style="color:black"> Prev</a> --}}
|
||||
<input type="submit" value="Install" id="access">
|
||||
{!! Form::token() !!}
|
||||
{!! Form::close() !!}
|
||||
<br><p>
|
||||
</div></p>
|
||||
@stop
|
@@ -1,26 +0,0 @@
|
||||
@extends('themes.default1.installer.layout.installer')
|
||||
@section('content')
|
||||
<style type="text/css">
|
||||
h1
|
||||
{
|
||||
color:#008A00;
|
||||
}
|
||||
h3
|
||||
{
|
||||
color: 19D119;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<h1>You're All Set</h1>
|
||||
<p>
|
||||
|
||||
<h3>Thank You</h3>
|
||||
<p>
|
||||
|
||||
<br>
|
||||
<a href="{{url('auth/login')}}" id="access1"> Submit</a>
|
||||
<br><br><br>
|
||||
<p>
|
||||
|
||||
@stop
|
@@ -1,118 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Faveo HELPDESK | Insatller</title>
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
<!-- bootstrap 3.0.2 -->
|
||||
<link href="{{asset("lb-faveo/downloads/bootstrap.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
{{-- {{ HTML::style('ep-content/themes/ep-admin/default1/css/bootstrap.min.css'); }} --}}
|
||||
|
||||
<!-- font Awesome -->
|
||||
{{-- {{ HTML::style('ep-content/themes/ep-admin/default1/css/font-awesome.min.css'); }} --}}
|
||||
|
||||
<!-- Ionicons -->
|
||||
<link href="{{asset("lb-faveo/downloads/ionicons.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
{{-- {{ HTML::style('ep-content/themes/ep-admin/default1/admin/css/ionicons.min.css'); }} --}}
|
||||
|
||||
<!-- Theme style -->
|
||||
<link href="{{asset("lb-faveo/dist/css/AdminLTE.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
{{-- {{ HTML::style('ep-content/themes/ep-admin/default1/admin/css/AdminLTE.css'); }} --}}
|
||||
|
||||
<!-- Bootstrap time Picker -->
|
||||
{{-- <link href="{{asset("downloads/ionicons.min.css")}}" rel="stylesheet" type="text/css" /> --}}
|
||||
{{-- {{ HTML::style('ep-content/themes/ep-admin/default1/css/daterangepicker/daterangepicker-bs3.css'); }} --}}
|
||||
|
||||
<!-- daterange picker -->
|
||||
{{-- <link href="{{asset("downloads/ionicons.min.css")}}" rel="stylesheet" type="text/css" /> --}}
|
||||
{{-- {{ HTML::style('ep-content/themes/ep-admin/default1/css/timepicker/bootstrap-timepicker.min.css'); }} --}}
|
||||
|
||||
<style type="text/css">
|
||||
a:link {color:#000;} /* unvisited link */
|
||||
a:visited {color:#000;} /* visited link */
|
||||
a:hover {color:#000;} /* mouse over link */
|
||||
a:active {color:#000;}
|
||||
|
||||
</style>
|
||||
<style type="text/css">
|
||||
#access2{
|
||||
float: left;
|
||||
/*position: fixed;*/
|
||||
width: 100px;
|
||||
background: #E60000;
|
||||
font-weight: bold;
|
||||
padding: 10px;
|
||||
border: 0 none;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
#access1{
|
||||
float: left;
|
||||
/*position: fixed;*/
|
||||
width: 100px;
|
||||
background: #27AE60;
|
||||
font-weight: bold;
|
||||
padding: 10px;
|
||||
border: 0 none;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
#access{
|
||||
float: right;
|
||||
/*position: fixed;*/
|
||||
width: 100px;
|
||||
background: #27AE60;
|
||||
font-weight: bold;
|
||||
padding: 10px;
|
||||
border: 0 none;
|
||||
border-radius: 3px;
|
||||
color:black;
|
||||
}
|
||||
|
||||
#access5{
|
||||
float: right;
|
||||
/*position: fixed;*/
|
||||
width: 100px;
|
||||
background: #27AE60;
|
||||
font-weight: bold;
|
||||
padding: 10px;
|
||||
border: 0 none;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
#inputfield{
|
||||
/*padding: 10px;*/
|
||||
border: 0 none;
|
||||
border-radius: 3px;
|
||||
}
|
||||
</style>
|
||||
<style type="text/css">
|
||||
|
||||
.ok span, .warning span, .error span {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
ok span {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.warning span {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
.error span {
|
||||
color: red;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body style="background-color:#d2d6de;">
|
||||
<div class="login-box">
|
||||
@yield('content')
|
||||
<p id="footer">©<?php echo date('Y')?>. Powered by <a href="http://www.faveohelpdesk.com">Faveo </a></p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
@@ -201,7 +201,6 @@ $results = array();
|
||||
$php_ok = validate_php($results);
|
||||
$memory_ok = validate_memory_limit($results);
|
||||
$extensions_ok = validate_extensions($results);
|
||||
$compatibility_mode_ok = validate_zend_compatibility_mode($results);
|
||||
?>
|
||||
<p class="wc-setup-actions step">
|
||||
<?php
|
||||
@@ -211,9 +210,15 @@ foreach ($results as $result) {
|
||||
?>
|
||||
</p>
|
||||
<?php
|
||||
if ($php_ok && $memory_ok && $extensions_ok && $compatibility_mode_ok) {
|
||||
if ($php_ok && $memory_ok && $extensions_ok ) {
|
||||
?>
|
||||
</div>
|
||||
|
||||
<div class="woocommerce-message woocommerce-tracker" >
|
||||
<p id="pass">OK, this system can run Faveo</p>
|
||||
</div>
|
||||
|
||||
|
||||
<form action="{{URL::route('postprerequisites')}}" method="post" class="border-line">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
<p class="wc-setup-actions step">
|
||||
@@ -221,10 +226,19 @@ if ($php_ok && $memory_ok && $extensions_ok && $compatibility_mode_ok) {
|
||||
<a href="{!! route('licence') !!}" class="button button-large button-next" style="float: left">Previous</a>
|
||||
</p>
|
||||
</form>
|
||||
</br>
|
||||
<?php
|
||||
} else {
|
||||
|
||||
?></div><br>
|
||||
<a href="{{URL::route('licence')}}" style="text-color:black"><button value="prev" id="access1">Prev</button></a> <input type="submit" value="Next" id="access" disabled=""> <?php
|
||||
|
||||
<div class="woocommerce-message woocommerce-tracker" >
|
||||
<p id="fail">This system does not meet Faveo system requirements</p>
|
||||
</div>
|
||||
<p class="wc-setup-actions step">
|
||||
<a href="{{URL::route('licence')}}" style="float: left"><button value="prev" class="button-primary button button-large">Previous</button></a>
|
||||
<button disabled="" class="button-primary button button-large button-next" style="float: right">Continue</button>
|
||||
</p> <?php
|
||||
}
|
||||
?>
|
||||
|
||||
|
@@ -23,12 +23,17 @@ active
|
||||
<label for="selectbox1">Database <span style="color
|
||||
: red;font-size:12px;">*</span></label>
|
||||
</td>
|
||||
<td class="select2-container wc-enhanced-select enhanced">
|
||||
<select name="default" id="selectbox1">
|
||||
<option value="mysql">MySQL</option>
|
||||
<option value="pgsql">PgSQL</option>
|
||||
<option value="sqlsrv">SQLSRV</option>
|
||||
</select>
|
||||
<td>
|
||||
<div class="side-by-side clearfix moveleftthre">
|
||||
<div>
|
||||
<select name="default" data-placeholder="Choose a SQL format..." class="chosen-select" style="width:290px;" tabindex="2">
|
||||
<option value=""></option>
|
||||
<option value="mysql">MySQL</option>
|
||||
<option value="pgsql">PgSQL</option>
|
||||
<option value="sqlsrv">SQLSRV</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -38,7 +43,6 @@ active
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="host" required>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -47,7 +51,6 @@ active
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="port">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -57,7 +60,6 @@ active
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="databasename" required>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -67,7 +69,6 @@ active
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="username" required>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -76,8 +77,6 @@ active
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" name="password">
|
||||
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -88,4 +87,5 @@ active
|
||||
</p>
|
||||
</form>
|
||||
</div>
|
||||
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
|
||||
@stop
|
@@ -15,7 +15,7 @@ active
|
||||
@section('content')
|
||||
|
||||
<h1 style="text-align: center;">Database Setup</h1>
|
||||
This test will check prerequisites required to install Faveo<br/><br/>
|
||||
This test will check prerequisites required to install Faveo<br/>
|
||||
<?php
|
||||
/**
|
||||
* Faveo HELPDESK Probe
|
||||
@@ -30,41 +30,31 @@ $username = Session::get('username');
|
||||
$password = Session::get('password');
|
||||
$databasename = Session::get('databasename');
|
||||
$port = Session::get('port');
|
||||
|
||||
define('DB_HOST', $host); // Address of your MySQL server (usually localhost)
|
||||
define('DB_USER', $username); // Username that is used to connect to the server
|
||||
define('DB_PASS', $password); // User's password
|
||||
define('DB_NAME', $databasename); // Name of the database you are connecting to
|
||||
define('DB_PORT', $port); // Name of the database you are connecting to
|
||||
|
||||
define('PROBE_VERSION', '4.2');
|
||||
define('PROBE_FOR', '<b>Faveo</b> HELPDESK 1.0 and Newer');
|
||||
|
||||
define('STATUS_OK', 'Ok');
|
||||
define('STATUS_WARNING', 'Warning');
|
||||
define('STATUS_ERROR', 'Error');
|
||||
|
||||
class TestResult {
|
||||
|
||||
var $message;
|
||||
var $status;
|
||||
|
||||
function TestResult($message, $status = STATUS_OK) {
|
||||
$this->message = $message;
|
||||
$this->status = $status;
|
||||
}
|
||||
|
||||
} // TestResult
|
||||
|
||||
if (DB_HOST && DB_USER && DB_NAME) {
|
||||
?>
|
||||
<?php
|
||||
|
||||
$mysqli_ok = true;
|
||||
$results = array();
|
||||
// error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
|
||||
error_reporting(0);
|
||||
|
||||
if($default == 'mysql') {
|
||||
if ($connection = mysqli_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME)) {
|
||||
$results[] = new TestResult('Connected to database as ' . DB_USER . '@' . DB_HOST . DB_PORT, STATUS_OK);
|
||||
@@ -101,11 +91,11 @@ if (DB_HOST && DB_USER && DB_NAME) {
|
||||
// Validators
|
||||
// ---------------------------------------------------
|
||||
// dd($results);
|
||||
|
||||
?><p class="wc-setup-actions step"><?php
|
||||
foreach ($results as $result) {
|
||||
print '<span class="' . strtolower($result->status) . '">' . $result->status . '</span> — ' . $result->message . '<br/>';
|
||||
print '<br><span class="' . strtolower($result->status) . '">' . $result->status . '</span> — ' . $result->message . '';
|
||||
} // foreach
|
||||
?>
|
||||
?> </p>
|
||||
<!-- </ul> -->
|
||||
<?php } else { ?>
|
||||
<p>Database test is <strong>turned off</strong>. To turn it On, please open probe.php in your favorite text editor and set DB_XXXX connection parameters in database section at the beginning of the file:</p>
|
||||
@@ -122,9 +112,9 @@ if (DB_HOST && DB_USER && DB_NAME) {
|
||||
<?php if ($mysqli_ok !== null) {?>
|
||||
<?php if ($mysqli_ok) {?>
|
||||
|
||||
<p id="verdict" class="all_ok"><span class="ok">Ok</span> — This system can run <b>Faveo</b> HELPDESK</p>
|
||||
|
||||
<h2 id="conn">Database connection successful</h3>
|
||||
<div class="woocommerce-message woocommerce-tracker" >
|
||||
<p id="pass">Database connection successful. This system can run Faveo</p>
|
||||
</div>
|
||||
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
|
||||
@@ -148,31 +138,31 @@ if (DB_HOST && DB_USER && DB_NAME) {
|
||||
<input type="submit" style="display:none;">
|
||||
|
||||
</form>
|
||||
<div id="show" style="display:none;">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<img src="{{asset("lb-faveo/media/images/gifloader.gif")}}"><br/><br/><br/>
|
||||
|
||||
<div id="show" style="display:none;">
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<img src="{{asset("lb-faveo/media/images/gifloader.gif")}}"><br/><br/><br/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="border-bottom: 1px solid #eee;">
|
||||
<p class="wc-setup-actions step">
|
||||
<a href="{{URL::route('account')}}" class="pull-right" id="next" style="text-color:black"><input type="submit" id="submitme" class="button-primary button button-large button-next" value="Continue"> </a>
|
||||
<a href="{{URL::route('configuration')}}" class="button button-large button-next" style="float: left">Previous</a>
|
||||
<a href="{{ URL::route('account') }}" class="pull-right" id="next" style="text-color:black"><input type="submit" id="submitme" class="button-primary button button-large button-next" value="Continue"> </a>
|
||||
<a href="{{ URL::route('configuration') }}" class="button button-large button-next" style="float: left">Previous</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<br/>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
// submit a ticket
|
||||
$(document).ready(function () {
|
||||
$("#form").submit();
|
||||
});
|
||||
|
||||
// Edit a ticket
|
||||
$('#form').on('submit', function() {
|
||||
$.ajax({
|
||||
@@ -199,20 +189,29 @@ $(document).ready(function () {
|
||||
})
|
||||
return false;
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<?php } else {?>
|
||||
<p id="verdict" class="not_ok">This system does not meet <b>Faveo</b> HELPDESK system requirements</p>
|
||||
<a href="{{URL::route('configuration')}}"><button type="submit" id="submitme" class="button-danger button button-large button-next" style="background-color: #d43f3a;color:#fff;" value="Error">Back</button></a><br/><br/>
|
||||
<div class="woocommerce-message woocommerce-tracker" >
|
||||
<p id="fail">Database connection unsuccessful. This system does not meet Faveo system requirements</p>
|
||||
</div>
|
||||
<div style="border-bottom: 1px solid #eee;">
|
||||
<p class="wc-setup-actions step">
|
||||
<input type="submit" id="submitme" class="button-danger button button-large button-next" style="background-color: #d43f3a;color:#fff;" value="continue" disabled>
|
||||
<a href="{{URL::route('configuration')}}" class="button button-large button-next" style="float: left;">Previous</a>
|
||||
</p>
|
||||
</div>
|
||||
<br/><br/>
|
||||
<?php } // if ?>
|
||||
<div id="legend">
|
||||
{{-- <ul> --}}
|
||||
<span class="ok">Ok</span> — All Ok <br/>
|
||||
<span class="warning">Warning</span> — Not a deal breaker, but it's recommended to have this installed for some features to work<br/>
|
||||
<span class="error">Error</span> — <b>Faveo</b> HELPDESK require this feature and can't work without it<br/><br/>
|
||||
<p class="wc-setup-actions step">
|
||||
<span class="ok">Ok</span> — All Ok <br/>
|
||||
<span class="warning">Warning</span> — Not a deal breaker, but it's recommended to have this installed for some features to work<br/>
|
||||
<span class="error">Error</span> — Faveo HELPDESK require this feature and can't work without it<br/>
|
||||
</p>
|
||||
{{-- </ul> --}}
|
||||
</div>
|
||||
<?php } // if ?>
|
||||
|
||||
@stop
|
||||
@stop
|
@@ -1,63 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en-US">
|
||||
|
||||
<head>
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Faveo HELPDESK</title>
|
||||
<script type="text/javascript" src="js/jquery.js"></script>
|
||||
<link rel="stylesheet" href="css/load-styles.css" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="css/css.css" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="css/admin.css" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="css/wc-setup.css" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="css/activation.css" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="css/style.css" type="text/css" media="all">
|
||||
|
||||
<body class="wc-setup wp-core-ui">
|
||||
<h1 id="wc-logo"><a href="#"><img src="images/App-Store.png" alt="faveo"></a></h1>
|
||||
<ol class="wc-setup-steps">
|
||||
<li class="done">Licence Agreement</li>
|
||||
<li class="done">Environment Test</li>
|
||||
|
||||
<li class="active">Database Setup</li>
|
||||
<li class="">Locale Information</li>
|
||||
<li class="">Ready</li>
|
||||
</ol>
|
||||
<div class="wc-setup-content">
|
||||
|
||||
<form>
|
||||
|
||||
|
||||
<p class="wc-setup-actions step">
|
||||
|
||||
Test/Probe Prerequisites required to be installed Probe
|
||||
<br><span class="ok">ok</span> — Connected to database as root@localhost
|
||||
<br><span class="ok">ok</span> — Database "faveo" selected
|
||||
<br><span class="ok">ok</span> — MySQL version is 5.6.17
|
||||
<br><span class="ok">ok</span>, this system can run Faveo HELPDESK
|
||||
<h1>Database connection successfull</h1>
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="wc-setup-actions step">
|
||||
<input type="submit" id="submitme" class="button-danger button button-large button-next" style="background-color: #d43f3a;color:#fff;" value="Error">
|
||||
<a href="step3.html" class="button button-large button-next" style="float: left;">Previous</a>
|
||||
</p>
|
||||
<h2>Legend</h2>
|
||||
<br><span class="ok">ok</span> — All OK
|
||||
<br><span class="warning">Warning</span> — Not a deal breaker, but it's recommended to have this installed for some features to work
|
||||
<br><span class="error">Error</span>— Faveo HELPDESK require this feature and can't work without it
|
||||
<br>
|
||||
</p>
|
||||
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<span class="select2-hidden-accessible" aria-live="polite" role="status"></span>
|
||||
</body>
|
||||
|
||||
</html>
|
@@ -17,258 +17,283 @@ active
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="wc-setup-content">
|
||||
<h1 style="text-align: center;">Locale Information</h1>
|
||||
{!! Form::open(['url'=>route('postaccount')]) !!}
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
@if($errors->first('firstname')||$errors->first('Lastname')||$errors->first('email')||$errors->first('username')||$errors->first('password')||$errors->first('confirmpassword'))
|
||||
<blockquote>
|
||||
@if($errors->first('firstname'))
|
||||
<li class="error-message-padding">{!! $errors->first('firstname', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('Lastname'))
|
||||
<li class="error-message-padding">{!! $errors->first('Lastname', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('email'))
|
||||
<li class="error-message-padding">{!! $errors->first('email', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('username'))
|
||||
<li class="error-message-padding">{!! $errors->first('username', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('password'))
|
||||
<li class="error-message-padding">{!! $errors->first('password', ':message') !!}</li>
|
||||
@endif
|
||||
@if($errors->first('confirmpassword'))
|
||||
<li class="error-message-padding">{!! $errors->first('confirmpassword', ':message') !!}</li>
|
||||
@endif
|
||||
</blockquote>
|
||||
<div class="woocommerce-message woocommerce-tracker">
|
||||
<div class="fail">
|
||||
@if($errors->first('firstname'))
|
||||
<span id="fail">{!! $errors->first('firstname', ':message') !!}</span><br/>
|
||||
@endif
|
||||
@if($errors->first('Lastname'))
|
||||
<span id="fail">{!! $errors->first('Lastname', ':message') !!}</span><br/>
|
||||
@endif
|
||||
@if($errors->first('email'))
|
||||
<span id="fail">{!! $errors->first('email', ':message') !!}</span><br/>
|
||||
@endif
|
||||
@if($errors->first('username'))
|
||||
<span id="fail">{!! $errors->first('username', ':message') !!}</span><br/>
|
||||
@endif
|
||||
@if($errors->first('password'))
|
||||
<span id="fail">{!! $errors->first('password', ':message') !!}</span><br/>
|
||||
@endif
|
||||
@if($errors->first('confirmpassword'))
|
||||
<span id="fail">{!! $errors->first('confirmpassword', ':message') !!}</span><br/><br/>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div class="wc-setup-content">
|
||||
<table>
|
||||
<h1>Personal Information</h1>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="box1">{!! Lang::get('lang.name') !!}<span style="color
|
||||
<div>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="box1">{!! Lang::get('lang.name') !!}<span style="color
|
||||
: red;font-size:12px;">*</span></label>
|
||||
</td>
|
||||
<td>
|
||||
{!! Form::text('firstname',null,['style' =>'margin-left:250px']) !!}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="box2">Last Name<span style="color
|
||||
</td>
|
||||
<td>
|
||||
{!! Form::text('firstname',null,['style' =>'margin-left:250px']) !!}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="box2">Last Name<span style="color
|
||||
: red;font-size:12px;">*</span></label>
|
||||
</td>
|
||||
<td>
|
||||
{!! Form::text('Lastname',null,['style' =>'margin-left:250px']) !!}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="box2">Email<span style="color
|
||||
</td>
|
||||
<td>
|
||||
{!! Form::text('Lastname',null,['style' =>'margin-left:250px']) !!}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="box2">Email<span style="color
|
||||
: red;font-size:12px;">*</span></label>
|
||||
</td>
|
||||
<td>
|
||||
{!! Form::text('email',null,['style' =>'margin-left:250px']) !!}
|
||||
</td>
|
||||
</tr>
|
||||
</td>
|
||||
<td>
|
||||
{!! Form::text('email',null,['style' =>'margin-left:250px']) !!}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</div>
|
||||
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<h1>Login Information</h1>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="box4">User Name<span style="color
|
||||
: red;font-size:12px;">*</span></label>
|
||||
</td>
|
||||
<td>
|
||||
{!! Form::text('username',null,['style' =>'margin-left:200px']) !!}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="box4">Password<span style="color
|
||||
: red;font-size:12px;">*</span></label>
|
||||
</td>
|
||||
<td>
|
||||
<div style="margin-left:50px;">
|
||||
{!! Form::password('password',null,[]) !!}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="box5">Confirm Password<span style="color
|
||||
: red;font-size:12px;">*</span></label>
|
||||
</td>
|
||||
<td>
|
||||
<div style="margin-left:50px;">
|
||||
{!! Form::password('confirmpassword',null,[]) !!}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<div>
|
||||
|
||||
<table id="datepairExample">
|
||||
<tr>
|
||||
<td>
|
||||
<label for="box4">User Name <span style="color
|
||||
: red;font-size:12px;">*</span>
|
||||
</label>
|
||||
</td>
|
||||
<td>
|
||||
{!! Form::text('username',null,['style' =>'margin-left:195px']) !!}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="box4">Password <span style="color
|
||||
: red;font-size:12px;">*</span>
|
||||
</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="password" style="margin-left: 195px" >
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="box5">Confirm Password<span style="color
|
||||
: red;font-size:12px;">*</span>
|
||||
</label>
|
||||
</td>
|
||||
<td>
|
||||
<input type="password" name="confirmpassword" style="margin-left: 195px" >
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</table>
|
||||
<table>
|
||||
<h1>Locale Information</h1>
|
||||
<tr>
|
||||
<td>
|
||||
{!! Form::label('language',Lang::get('lang.language')) !!}
|
||||
</td>
|
||||
<td>
|
||||
<?php
|
||||
$path = '../resources/lang';
|
||||
$values = scandir($path);
|
||||
$values = array_slice($values, 2);
|
||||
?>
|
||||
<select style="margin-left: 170px" name="language" id="selectbox1" style="margin-left: 260px">
|
||||
@foreach($values as $value)
|
||||
<option value="{!! $value !!}">{!! Config::get('languages.' . $value) !!}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{!! Form::label('time_zone',Lang::get('lang.time_zone')) !!}
|
||||
</td>
|
||||
<td>
|
||||
<select name="timezone" style="margin-left: 170px" id="selectbox2" style="margin-left: 260px" required>
|
||||
<option value="US/Samoa">US/Samoa</option>
|
||||
<option value="US/Hawaii">US/Hawaii</option>
|
||||
<option value="US/Alaska">US/Alaska</option>
|
||||
<option value="US/Pacific">US/Pacific</option>
|
||||
<option value="America/Tijuana">America/Tijuana</option>
|
||||
<option value="US/Arizona">US/Arizona</option>
|
||||
<option value="US/Mountain">US/Mountain</option>
|
||||
<option value="America/Chihuahua">America/Chihuahua</option>
|
||||
<option value="America/Mazatlan">America/Mazatlan</option>
|
||||
<option value="America/Mexico_City">America/Mexico_City</option>
|
||||
<option value="America/Monterrey">America/Monterrey</option>
|
||||
<option value="Canada/Saskatchewan">Canada/Saskatchewan</option>
|
||||
<option value="US/Central">US/Central</option>
|
||||
<option value="US/Eastern">US/Eastern</option>
|
||||
<option value="US/East-Indiana">US/East-Indiana</option>
|
||||
<option value="America/Bogota">America/Bogota</option>
|
||||
<option value="America/Lima">America/Lima</option>
|
||||
<option value="America/Caracas">America/Caracas</option>
|
||||
<option value="Canada/Atlantic">Canada/Atlantic</option>
|
||||
<option value="America/La_Paz">America/La_Paz</option>
|
||||
<option value="America/Santiago">America/Santiago</option>
|
||||
<option value="Canada/Newfoundland">Canada/Newfoundland</option>
|
||||
<option value="America/Buenos_Aires">America/Buenos_Aires</option>
|
||||
<option value="Greenland">Greenland</option>
|
||||
<option value="Atlantic/Stanley">Atlantic/Stanley</option>
|
||||
<option value="Atlantic/Azores">Atlantic/Azores</option>
|
||||
<option value="Atlantic/Cape_Verde">Atlantic/Cape_Verde</option>
|
||||
<option value="Africa/Casablanca">Africa/Casablanca</option>
|
||||
<option value="Europe/Dublin">Europe/Dublin</option>
|
||||
<option value="Europe/Lisbon">Europe/Lisbon</option>
|
||||
<option value="Europe/London">Europe/London</option>
|
||||
<option value="Africa/Monrovia">Africa/Monrovia</option>
|
||||
<option value="Europe/Amsterdam">Europe/Amsterdam</option>
|
||||
<option value="Europe/Belgrade">Europe/Belgrade</option>
|
||||
<option value="Europe/Berlin">Europe/Berlin</option>
|
||||
<option value="Europe/Bratislava">Europe/Bratislava</option>
|
||||
<option value="Europe/Brussels">Europe/Brussels</option>
|
||||
<option value="Europe/Budapest">Europe/Budapest</option>
|
||||
<option value="Europe/Copenhagen">Europe/Copenhagen</option>
|
||||
<option value="Europe/Ljubljana">Europe/Ljubljana</option>
|
||||
<option value="Europe/Madrid">Europe/Madrid</option>
|
||||
<option value="Europe/Paris">Europe/Paris</option>
|
||||
<option value="Europe/Prague">Europe/Prague</option>
|
||||
<option value="Europe/Rome">Europe/Rome</option>
|
||||
<option value="Europe/Sarajevo">Europe/Sarajevo</option>
|
||||
<option value="Europe/Skopje">Europe/Skopje</option>
|
||||
<option value="Europe/Stockholm">Europe/Stockholm</option>
|
||||
<option value="Europe/Vienna">Europe/Vienna</option>
|
||||
<option value="Europe/Warsaw">Europe/Warsaw</option>
|
||||
<option value="Europe/Zagreb">Europe/Zagreb</option>
|
||||
<option value="Europe/Athens">Europe/Athens</option>
|
||||
<option value="Europe/Bucharest">Europe/Bucharest</option>
|
||||
<option value="Africa/Cairo">Africa/Cairo</option>
|
||||
<option value="Africa/Harare">Africa/Harare</option>
|
||||
<option value="Europe/Helsinki">Europe/Helsinki</option>
|
||||
<option value="Europe/Istanbul">Europe/Istanbul</option>
|
||||
<option value="Asia/Jerusalem">Asia/Jerusalem</option>
|
||||
<option value="Europe/Kiev">Europe/Kiev</option>
|
||||
<option value="Europe/Minsk">Europe/Minsk</option>
|
||||
<option value="Europe/Riga">Europe/Riga</option>
|
||||
<option value="Europe/Sofia">Europe/Sofia</option>
|
||||
<option value="Europe/Tallinn">Europe/Tallinn</option>
|
||||
<option value="Europe/Vilnius">Europe/Vilnius</option>
|
||||
<option value="Asia/Baghdad">Asia/Baghdad</option>
|
||||
<option value="Asia/Kuwait">Asia/Kuwait</option>
|
||||
<option value="Africa/Nairobi">Africa/Nairobi</option>
|
||||
<option value="Asia/Riyadh">Asia/Riyadh</option>
|
||||
<option value="Asia/Tehran">Asia/Tehran</option>
|
||||
<option value="Europe/Moscow">Europe/Moscow</option>
|
||||
<option value="Asia/Baku">Asia/Baku</option>
|
||||
<option value="Europe/Volgograd">Europe/Volgograd</option>
|
||||
<option value="Asia/Muscat">Asia/Muscat</option>
|
||||
<option value="Asia/Tbilisi">Asia/Tbilisi</option>
|
||||
<option value="Asia/Yerevan">Asia/Yerevan</option>
|
||||
<option value="Asia/Kabul">Asia/Kabul</option>
|
||||
<option value="Asia/Karachi">Asia/Karachi</option>
|
||||
<option value="Asia/Tashkent">Asia/Tashkent</option>
|
||||
<option value="Asia/Kolkata">Asia/Kolkata</option>
|
||||
<option value="Asia/Kathmandu">Asia/Kathmandu</option>
|
||||
<option value="Asia/Yekaterinburg">Asia/Yekaterinburg</option>
|
||||
<option value="Asia/Almaty">Asia/Almaty</option>
|
||||
<option value="Asia/Dhaka">Asia/Dhaka</option>
|
||||
<option value="Asia/Novosibirsk">Asia/Novosibirsk</option>
|
||||
<option value="Asia/Bangkok">Asia/Bangkok</option>
|
||||
<option value="Asia/Ho_Chi_Minh">Asia/Ho_Chi_Minh</option>
|
||||
<option value="Asia/Jakarta">Asia/Jakarta</option>
|
||||
<option value="Asia/Krasnoyarsk">Asia/Krasnoyarsk</option>
|
||||
<option value="Asia/Chongqing">Asia/Chongqing</option>
|
||||
<option value="Asia/Hong_Kong">Asia/Hong_Kong</option>
|
||||
<option value="Asia/Kuala_Lumpur">Asia/Kuala_Lumpur</option>
|
||||
<option value="Australia/Perth">Australia/Perth</option>
|
||||
<option value="Asia/Singapore">Asia/Singapore</option>
|
||||
<option value="Asia/Taipei">Asia/Taipei</option>
|
||||
<option value="Asia/Ulaanbaatar">Asia/Ulaanbaatar</option>
|
||||
<option value="Asia/Urumqi">Asia/Urumqi</option>
|
||||
<option value="Asia/Irkutsk">Asia/Irkutsk</option>
|
||||
<option value="Asia/Seoul">Asia/Seoul</option>
|
||||
<option value="Asia/Tokyo">Asia/Tokyo</option>
|
||||
<option value="Australia/Adelaide">Australia/Adelaide</option>
|
||||
<option value="Australia/Darwin">Australia/Darwin</option>
|
||||
<option value="Asia/Yakutsk">Asia/Yakutsk</option>
|
||||
<option value="Australia/Brisbane">Australia/Brisbane</option>
|
||||
<option value="Australia/Canberra">Australia/Canberra</option>
|
||||
<option value="Pacific/Guam">Pacific/Guam</option>
|
||||
<option value="Australia/Hobart">Australia/Hobart</option>
|
||||
<option value="Australia/Melbourne">Australia/Melbourne</option>
|
||||
<option value="Pacific/Port_Moresby">Pacific/Port_Moresby</option>
|
||||
<option value="Australia/Sydney">Australia/Sydney</option>
|
||||
<option value="Asia/Vladivostok">Asia/Vladivostok</option>
|
||||
<option value="Asia/Magadan">Asia/Magadan</option>
|
||||
<option value="Pacific/Auckland">Pacific/Auckland</option>
|
||||
<option value="Pacific/Fiji">Pacific/Fiji</option>
|
||||
</select>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{!! Form::label('date',Lang::get('lang.date_time')) !!}
|
||||
</td>
|
||||
<td>
|
||||
<select name="datetime" style="margin-left: 170px" id="selectbox3" style="margin-left: 260px" required>
|
||||
<option value="d/m/Y H:i:s">DD/MM/YYYY H:i:s</option>
|
||||
<option value="m/d/Y H:i:s">MM/DD/YYYY H:i:s</option>
|
||||
<option value="Y/m/d H:i:s">YYYY/MM/DD H:i:s</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<div>
|
||||
<tr>
|
||||
<td>
|
||||
{!! Form::label('date',Lang::get('lang.date_time')) !!}
|
||||
</td>
|
||||
<td>
|
||||
<div class="side-by-side clearfix moveleft">
|
||||
<div>
|
||||
<select name="datetime" data-placeholder="Choose a date format..." class="chosen-select" style="width:295px;" tabindex="2">
|
||||
<option value=""></option>
|
||||
<option value="d/m/Y H:i:s">DD/MM/YYYY H:i:s</option>
|
||||
<option value="m/d/Y H:i:s">MM/DD/YYYY H:i:s</option>
|
||||
<option value="Y/m/d H:i:s">YYYY/MM/DD H:i:s</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{!! Form::label('time_zone',Lang::get('lang.time_zone')) !!}
|
||||
</td>
|
||||
<td>
|
||||
<div class="side-by-side clearfix moveleft">
|
||||
<div>
|
||||
<select name="timezone" data-placeholder="Choose a timezone..." class="chosen-select" style="width:295px;" tabindex="2">
|
||||
<option value=""></option>
|
||||
<option value="US/Samoa">US/Samoa</option>
|
||||
<option value="US/Hawaii">US/Hawaii</option>
|
||||
<option value="US/Alaska">US/Alaska</option>
|
||||
<option value="US/Pacific">US/Pacific</option>
|
||||
<option value="America/Tijuana">America/Tijuana</option>
|
||||
<option value="US/Arizona">US/Arizona</option>
|
||||
<option value="US/Mountain">US/Mountain</option>
|
||||
<option value="America/Chihuahua">America/Chihuahua</option>
|
||||
<option value="America/Mazatlan">America/Mazatlan</option>
|
||||
<option value="America/Mexico_City">America/Mexico_City</option>
|
||||
<option value="America/Monterrey">America/Monterrey</option>
|
||||
<option value="Canada/Saskatchewan">Canada/Saskatchewan</option>
|
||||
<option value="US/Central">US/Central</option>
|
||||
<option value="US/Eastern">US/Eastern</option>
|
||||
<option value="US/East-Indiana">US/East-Indiana</option>
|
||||
<option value="America/Bogota">America/Bogota</option>
|
||||
<option value="America/Lima">America/Lima</option>
|
||||
<option value="America/Caracas">America/Caracas</option>
|
||||
<option value="Canada/Atlantic">Canada/Atlantic</option>
|
||||
<option value="America/La_Paz">America/La_Paz</option>
|
||||
<option value="America/Santiago">America/Santiago</option>
|
||||
<option value="Canada/Newfoundland">Canada/Newfoundland</option>
|
||||
<option value="America/Buenos_Aires">America/Buenos_Aires</option>
|
||||
<option value="Greenland">Greenland</option>
|
||||
<option value="Atlantic/Stanley">Atlantic/Stanley</option>
|
||||
<option value="Atlantic/Azores">Atlantic/Azores</option>
|
||||
<option value="Atlantic/Cape_Verde">Atlantic/Cape_Verde</option>
|
||||
<option value="Africa/Casablanca">Africa/Casablanca</option>
|
||||
<option value="Europe/Dublin">Europe/Dublin</option>
|
||||
<option value="Europe/Lisbon">Europe/Lisbon</option>
|
||||
<option value="Europe/London">Europe/London</option>
|
||||
<option value="Africa/Monrovia">Africa/Monrovia</option>
|
||||
<option value="Europe/Amsterdam">Europe/Amsterdam</option>
|
||||
<option value="Europe/Belgrade">Europe/Belgrade</option>
|
||||
<option value="Europe/Berlin">Europe/Berlin</option>
|
||||
<option value="Europe/Bratislava">Europe/Bratislava</option>
|
||||
<option value="Europe/Brussels">Europe/Brussels</option>
|
||||
<option value="Europe/Budapest">Europe/Budapest</option>
|
||||
<option value="Europe/Copenhagen">Europe/Copenhagen</option>
|
||||
<option value="Europe/Ljubljana">Europe/Ljubljana</option>
|
||||
<option value="Europe/Madrid">Europe/Madrid</option>
|
||||
<option value="Europe/Paris">Europe/Paris</option>
|
||||
<option value="Europe/Prague">Europe/Prague</option>
|
||||
<option value="Europe/Rome">Europe/Rome</option>
|
||||
<option value="Europe/Sarajevo">Europe/Sarajevo</option>
|
||||
<option value="Europe/Skopje">Europe/Skopje</option>
|
||||
<option value="Europe/Stockholm">Europe/Stockholm</option>
|
||||
<option value="Europe/Vienna">Europe/Vienna</option>
|
||||
<option value="Europe/Warsaw">Europe/Warsaw</option>
|
||||
<option value="Europe/Zagreb">Europe/Zagreb</option>
|
||||
<option value="Europe/Athens">Europe/Athens</option>
|
||||
<option value="Europe/Bucharest">Europe/Bucharest</option>
|
||||
<option value="Africa/Cairo">Africa/Cairo</option>
|
||||
<option value="Africa/Harare">Africa/Harare</option>
|
||||
<option value="Europe/Helsinki">Europe/Helsinki</option>
|
||||
<option value="Europe/Istanbul">Europe/Istanbul</option>
|
||||
<option value="Asia/Jerusalem">Asia/Jerusalem</option>
|
||||
<option value="Europe/Kiev">Europe/Kiev</option>
|
||||
<option value="Europe/Minsk">Europe/Minsk</option>
|
||||
<option value="Europe/Riga">Europe/Riga</option>
|
||||
<option value="Europe/Sofia">Europe/Sofia</option>
|
||||
<option value="Europe/Tallinn">Europe/Tallinn</option>
|
||||
<option value="Europe/Vilnius">Europe/Vilnius</option>
|
||||
<option value="Asia/Baghdad">Asia/Baghdad</option>
|
||||
<option value="Asia/Kuwait">Asia/Kuwait</option>
|
||||
<option value="Africa/Nairobi">Africa/Nairobi</option>
|
||||
<option value="Asia/Riyadh">Asia/Riyadh</option>
|
||||
<option value="Asia/Tehran">Asia/Tehran</option>
|
||||
<option value="Europe/Moscow">Europe/Moscow</option>
|
||||
<option value="Asia/Baku">Asia/Baku</option>
|
||||
<option value="Europe/Volgograd">Europe/Volgograd</option>
|
||||
<option value="Asia/Muscat">Asia/Muscat</option>
|
||||
<option value="Asia/Tbilisi">Asia/Tbilisi</option>
|
||||
<option value="Asia/Yerevan">Asia/Yerevan</option>
|
||||
<option value="Asia/Kabul">Asia/Kabul</option>
|
||||
<option value="Asia/Karachi">Asia/Karachi</option>
|
||||
<option value="Asia/Tashkent">Asia/Tashkent</option>
|
||||
<option value="Asia/Kolkata">Asia/Kolkata</option>
|
||||
<option value="Asia/Kathmandu">Asia/Kathmandu</option>
|
||||
<option value="Asia/Yekaterinburg">Asia/Yekaterinburg</option>
|
||||
<option value="Asia/Almaty">Asia/Almaty</option>
|
||||
<option value="Asia/Dhaka">Asia/Dhaka</option>
|
||||
<option value="Asia/Novosibirsk">Asia/Novosibirsk</option>
|
||||
<option value="Asia/Bangkok">Asia/Bangkok</option>
|
||||
<option value="Asia/Ho_Chi_Minh">Asia/Ho_Chi_Minh</option>
|
||||
<option value="Asia/Jakarta">Asia/Jakarta</option>
|
||||
<option value="Asia/Krasnoyarsk">Asia/Krasnoyarsk</option>
|
||||
<option value="Asia/Chongqing">Asia/Chongqing</option>
|
||||
<option value="Asia/Hong_Kong">Asia/Hong_Kong</option>
|
||||
<option value="Asia/Kuala_Lumpur">Asia/Kuala_Lumpur</option>
|
||||
<option value="Australia/Perth">Australia/Perth</option>
|
||||
<option value="Asia/Singapore">Asia/Singapore</option>
|
||||
<option value="Asia/Taipei">Asia/Taipei</option>
|
||||
<option value="Asia/Ulaanbaatar">Asia/Ulaanbaatar</option>
|
||||
<option value="Asia/Urumqi">Asia/Urumqi</option>
|
||||
<option value="Asia/Irkutsk">Asia/Irkutsk</option>
|
||||
<option value="Asia/Seoul">Asia/Seoul</option>
|
||||
<option value="Asia/Tokyo">Asia/Tokyo</option>
|
||||
<option value="Australia/Adelaide">Australia/Adelaide</option>
|
||||
<option value="Australia/Darwin">Australia/Darwin</option>
|
||||
<option value="Asia/Yakutsk">Asia/Yakutsk</option>
|
||||
<option value="Australia/Brisbane">Australia/Brisbane</option>
|
||||
<option value="Australia/Canberra">Australia/Canberra</option>
|
||||
<option value="Pacific/Guam">Pacific/Guam</option>
|
||||
<option value="Australia/Hobart">Australia/Hobart</option>
|
||||
<option value="Australia/Melbourne">Australia/Melbourne</option>
|
||||
<option value="Pacific/Port_Moresby">Pacific/Port_Moresby</option>
|
||||
<option value="Australia/Sydney">Australia/Sydney</option>
|
||||
<option value="Asia/Vladivostok">Asia/Vladivostok</option>
|
||||
<option value="Asia/Magadan">Asia/Magadan</option>
|
||||
<option value="Pacific/Auckland">Pacific/Auckland</option>
|
||||
<option value="Pacific/Fiji">Pacific/Fiji</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
{!! Form::label('language',Lang::get('lang.language')) !!}
|
||||
</td>
|
||||
<td>
|
||||
<div class="side-by-side clearfix moveleft">
|
||||
<?php
|
||||
$path = base_path('resources/lang');
|
||||
$values = scandir($path);
|
||||
$values = array_slice($values, 2);
|
||||
?>
|
||||
<select name="language" data-placeholder="Choose a timezone..." class="chosen-select" style="width:295px;" tabindex="2">
|
||||
@foreach($values as $value)
|
||||
<option value=""></option>
|
||||
<option value="{!! $value !!}">{!! Config::get('languages.' . $value) !!}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</table>
|
||||
|
||||
<br>
|
||||
<p class="wc-setup-actions step">
|
||||
<input type="submit" id="submitme" class="button-primary button button-large button-next" value="Install">
|
||||
<a href="{!! route('database') !!}" class="button button-large button-next" style="float: left">Previous</a>
|
||||
<a href="step4.html" class="button button-large button-next" style="float: left">Previous</a>
|
||||
</p>
|
||||
{!! Form::token() !!}
|
||||
{!! Form::close() !!}
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</p>
|
||||
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
|
||||
@stop
|
@@ -4,85 +4,18 @@
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Faveo HELPDESK</title>
|
||||
<link rel="shortcut icon" href="{{asset("lb-faveo/media/images/favicon.ico")}}">
|
||||
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/load-styles.css")}}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/css.css")}}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/admin.css")}}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/wc-setup.css")}}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/activation.css")}}" type="text/css" media="all">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/style.css")}}" type="text/css" media="all">
|
||||
{{-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> --}}
|
||||
|
||||
<link href="{{asset("lb-faveo/css/font-awesome.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Ionicons -->
|
||||
{{-- <link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css"> --}}
|
||||
<link href="{{asset("lb-faveo/css/ionicons.min.css")}}" rel="stylesheet">
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
td input {
|
||||
padding: 3px;
|
||||
margin-left: 150px;
|
||||
width: 280px;
|
||||
}
|
||||
|
||||
td select {
|
||||
width: 290px;
|
||||
margin-left: 150px;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
i {
|
||||
float: right;
|
||||
padding-top: 7px;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
#sectool {
|
||||
min-width: 200px;
|
||||
padding: 5px;
|
||||
line-height: 20px;
|
||||
min-height: 18px;
|
||||
background-color: #3AA7D9;
|
||||
float: right;
|
||||
border-radius: 5px;
|
||||
box-shadow: 5px 6px #88C8E5;
|
||||
margin-top: 30px;
|
||||
/* position: absolute;*/
|
||||
top: 100px;
|
||||
}
|
||||
|
||||
#sectool p{
|
||||
text-align: justify;
|
||||
text-align-last: center;
|
||||
font-size: 14px;
|
||||
color: aliceblue;
|
||||
width: 200px;
|
||||
word-wrap: break-word;
|
||||
font-style: italic;
|
||||
font-weight: 600;
|
||||
font-variant: normal;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
padding:10px 20px;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
border:1px solid #FF3048;
|
||||
page-break-inside:avoid;
|
||||
}
|
||||
|
||||
blockquote{
|
||||
padding:10px 20px;
|
||||
margin:0 0 20px;
|
||||
font-size:12.5px;
|
||||
border-left: 5px solid #DD0019;
|
||||
background-color: #FFE8EB;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
|
||||
<link href="{{asset("lb-faveo/css/ggpopover.css")}}" rel="stylesheet"/>
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/prism.css")}}">
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/css/chosen.css")}}">
|
||||
</head>
|
||||
<body class="wc-setup wp-core-ui">
|
||||
<h1 id="wc-logo"><a href="http://www.faveohelpdesk.com">
|
||||
@@ -100,8 +33,37 @@
|
||||
</div>
|
||||
|
||||
|
||||
<p style="text-align: center;"> Copyright © 2015 — <?php echo date('Y')?> · Ladybird Web Solution Pvt Ltd. All Rights Reserved. Powered by <a target="_blank" href="http://www.faveohelpdesk.com">Faveo </a></p>
|
||||
{{-- // <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> --}}
|
||||
{{-- // <script src="{{asset("lb-faveo/installer/js/index.js ")}}"></script> --}}
|
||||
<p style="text-align: center;"> Copyright © 2015 - <?php echo date('Y')?> · Ladybird Web Solution Pvt Ltd. All Rights Reserved. Powered by <a target="_blank" href="http://www.faveohelpdesk.com">Faveo </a></p>
|
||||
|
||||
|
||||
|
||||
|
||||
<script src="{{asset("lb-faveo/js/ggpopover.js")}}"></script>
|
||||
<script type="text/javascript">
|
||||
$('[data-toggle="popover"]').ggpopover();
|
||||
</script>
|
||||
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script> -->
|
||||
<script src="{{asset("lb-faveo/js/chosen.jquery.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/js/prism.js")}}" type="text/javascript" charset="utf-8"></script>
|
||||
<script type="text/javascript">
|
||||
var config = {
|
||||
'.chosen-select': {},
|
||||
'.chosen-select-deselect': {
|
||||
allow_single_deselect: true
|
||||
},
|
||||
'.chosen-select-no-single': {
|
||||
disable_search_threshold: 10
|
||||
},
|
||||
'.chosen-select-no-results': {
|
||||
no_results_text: 'Oops, nothing found!'
|
||||
},
|
||||
'.chosen-select-width': {
|
||||
width: "95%"
|
||||
}
|
||||
}
|
||||
for (var selector in config) {
|
||||
$(selector).chosen(config[selector]);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
Reference in New Issue
Block a user