Reformatted code files

This commit is contained in:
Alex Tselegidis 2020-12-09 14:17:45 +02:00
parent cc44f3e0c6
commit 8a68e97f94
116 changed files with 1252 additions and 1198 deletions

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
/*
| -------------------------------------------------------------------

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
/*
| -------------------------------------------------------------------

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
$_doctypes = [
'xhtml11' => '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">',

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
// Add custom values by settings them to the $config array.
// Example: $config['smtp_host'] = 'smtp.gmail.com';

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
/*
| -------------------------------------------------------------------

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------

View file

@ -1,5 +1,5 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
@ -9,176 +9,176 @@ defined('BASEPATH') OR exit('No direct script access allowed');
| Upload class to help identify allowed file types.
|
*/
return array(
'hqx' => array('application/mac-binhex40', 'application/mac-binhex', 'application/x-binhex40', 'application/x-mac-binhex40'),
'cpt' => 'application/mac-compactpro',
'csv' => array('text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'application/x-csv', 'text/x-csv', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel', 'text/plain'),
'bin' => array('application/macbinary', 'application/mac-binary', 'application/octet-stream', 'application/x-binary', 'application/x-macbinary'),
'dms' => 'application/octet-stream',
'lha' => 'application/octet-stream',
'lzh' => 'application/octet-stream',
'exe' => array('application/octet-stream', 'application/x-msdownload'),
'class' => 'application/octet-stream',
'psd' => array('application/x-photoshop', 'image/vnd.adobe.photoshop'),
'so' => 'application/octet-stream',
'sea' => 'application/octet-stream',
'dll' => 'application/octet-stream',
'oda' => 'application/oda',
'pdf' => array('application/pdf', 'application/force-download', 'application/x-download', 'binary/octet-stream'),
'ai' => array('application/pdf', 'application/postscript'),
'eps' => 'application/postscript',
'ps' => 'application/postscript',
'smi' => 'application/smil',
'smil' => 'application/smil',
'mif' => 'application/vnd.mif',
'xls' => array('application/vnd.ms-excel', 'application/msexcel', 'application/x-msexcel', 'application/x-ms-excel', 'application/x-excel', 'application/x-dos_ms_excel', 'application/xls', 'application/x-xls', 'application/excel', 'application/download', 'application/vnd.ms-office', 'application/msword'),
'ppt' => array('application/powerpoint', 'application/vnd.ms-powerpoint', 'application/vnd.ms-office', 'application/msword'),
'pptx' => array('application/vnd.openxmlformats-officedocument.presentationml.presentation', 'application/x-zip', 'application/zip'),
'wbxml' => 'application/wbxml',
'wmlc' => 'application/wmlc',
'dcr' => 'application/x-director',
'dir' => 'application/x-director',
'dxr' => 'application/x-director',
'dvi' => 'application/x-dvi',
'gtar' => 'application/x-gtar',
'gz' => 'application/x-gzip',
'gzip' => 'application/x-gzip',
'php' => array('application/x-httpd-php', 'application/php', 'application/x-php', 'text/php', 'text/x-php', 'application/x-httpd-php-source'),
'php4' => 'application/x-httpd-php',
'php3' => 'application/x-httpd-php',
'phtml' => 'application/x-httpd-php',
'phps' => 'application/x-httpd-php-source',
'js' => array('application/x-javascript', 'text/plain'),
'swf' => 'application/x-shockwave-flash',
'sit' => 'application/x-stuffit',
'tar' => 'application/x-tar',
'tgz' => array('application/x-tar', 'application/x-gzip-compressed'),
'z' => 'application/x-compress',
'xhtml' => 'application/xhtml+xml',
'xht' => 'application/xhtml+xml',
'zip' => array('application/x-zip', 'application/zip', 'application/x-zip-compressed', 'application/s-compressed', 'multipart/x-zip'),
'rar' => array('application/x-rar', 'application/rar', 'application/x-rar-compressed'),
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mpga' => 'audio/mpeg',
'mp2' => 'audio/mpeg',
'mp3' => array('audio/mpeg', 'audio/mpg', 'audio/mpeg3', 'audio/mp3'),
'aif' => array('audio/x-aiff', 'audio/aiff'),
'aiff' => array('audio/x-aiff', 'audio/aiff'),
'aifc' => 'audio/x-aiff',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'rpm' => 'audio/x-pn-realaudio-plugin',
'ra' => 'audio/x-realaudio',
'rv' => 'video/vnd.rn-realvideo',
'wav' => array('audio/x-wav', 'audio/wave', 'audio/wav'),
'bmp' => array('image/bmp', 'image/x-bmp', 'image/x-bitmap', 'image/x-xbitmap', 'image/x-win-bitmap', 'image/x-windows-bmp', 'image/ms-bmp', 'image/x-ms-bmp', 'application/bmp', 'application/x-bmp', 'application/x-win-bitmap'),
'gif' => 'image/gif',
'jpeg' => array('image/jpeg', 'image/pjpeg'),
'jpg' => array('image/jpeg', 'image/pjpeg'),
'jpe' => array('image/jpeg', 'image/pjpeg'),
'jp2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'j2k' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'jpf' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'jpg2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'jpx' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'jpm' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'mj2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'mjp2' => array('image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'),
'png' => array('image/png', 'image/x-png'),
'tiff' => 'image/tiff',
'tif' => 'image/tiff',
'css' => array('text/css', 'text/plain'),
'html' => array('text/html', 'text/plain'),
'htm' => array('text/html', 'text/plain'),
'shtml' => array('text/html', 'text/plain'),
'txt' => 'text/plain',
'text' => 'text/plain',
'log' => array('text/plain', 'text/x-log'),
'rtx' => 'text/richtext',
'rtf' => 'text/rtf',
'xml' => array('application/xml', 'text/xml', 'text/plain'),
'xsl' => array('application/xml', 'text/xsl', 'text/xml'),
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'mpe' => 'video/mpeg',
'qt' => 'video/quicktime',
'mov' => 'video/quicktime',
'avi' => array('video/x-msvideo', 'video/msvideo', 'video/avi', 'application/x-troff-msvideo'),
'movie' => 'video/x-sgi-movie',
'doc' => array('application/msword', 'application/vnd.ms-office'),
'docx' => array('application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip', 'application/msword', 'application/x-zip'),
'dot' => array('application/msword', 'application/vnd.ms-office'),
'dotx' => array('application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip', 'application/msword'),
'xlsx' => array('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/zip', 'application/vnd.ms-excel', 'application/msword', 'application/x-zip'),
'word' => array('application/msword', 'application/octet-stream'),
'xl' => 'application/excel',
'eml' => 'message/rfc822',
'json' => array('application/json', 'text/json'),
'pem' => array('application/x-x509-user-cert', 'application/x-pem-file', 'application/octet-stream'),
'p10' => array('application/x-pkcs10', 'application/pkcs10'),
'p12' => 'application/x-pkcs12',
'p7a' => 'application/x-pkcs7-signature',
'p7c' => array('application/pkcs7-mime', 'application/x-pkcs7-mime'),
'p7m' => array('application/pkcs7-mime', 'application/x-pkcs7-mime'),
'p7r' => 'application/x-pkcs7-certreqresp',
'p7s' => 'application/pkcs7-signature',
'crt' => array('application/x-x509-ca-cert', 'application/x-x509-user-cert', 'application/pkix-cert'),
'crl' => array('application/pkix-crl', 'application/pkcs-crl'),
'der' => 'application/x-x509-ca-cert',
'kdb' => 'application/octet-stream',
'pgp' => 'application/pgp',
'gpg' => 'application/gpg-keys',
'sst' => 'application/octet-stream',
'csr' => 'application/octet-stream',
'rsa' => 'application/x-pkcs7',
'cer' => array('application/pkix-cert', 'application/x-x509-ca-cert'),
'3g2' => 'video/3gpp2',
'3gp' => array('video/3gp', 'video/3gpp'),
'mp4' => 'video/mp4',
'm4a' => 'audio/x-m4a',
'f4v' => array('video/mp4', 'video/x-f4v'),
'flv' => 'video/x-flv',
'webm' => 'video/webm',
'aac' => 'audio/x-acc',
'm4u' => 'application/vnd.mpegurl',
'm3u' => 'text/plain',
'xspf' => 'application/xspf+xml',
'vlc' => 'application/videolan',
'wmv' => array('video/x-ms-wmv', 'video/x-ms-asf'),
'au' => 'audio/x-au',
'ac3' => 'audio/ac3',
'flac' => 'audio/x-flac',
'ogg' => array('audio/ogg', 'video/ogg', 'application/ogg'),
'kmz' => array('application/vnd.google-earth.kmz', 'application/zip', 'application/x-zip'),
'kml' => array('application/vnd.google-earth.kml+xml', 'application/xml', 'text/xml'),
'ics' => 'text/calendar',
'ical' => 'text/calendar',
'zsh' => 'text/x-scriptzsh',
'7z' => array('application/x-7z-compressed', 'application/x-compressed', 'application/x-zip-compressed', 'application/zip', 'multipart/x-zip'),
'7zip' => array('application/x-7z-compressed', 'application/x-compressed', 'application/x-zip-compressed', 'application/zip', 'multipart/x-zip'),
'cdr' => array('application/cdr', 'application/coreldraw', 'application/x-cdr', 'application/x-coreldraw', 'image/cdr', 'image/x-cdr', 'zz-application/zz-winassoc-cdr'),
'wma' => array('audio/x-ms-wma', 'video/x-ms-asf'),
'jar' => array('application/java-archive', 'application/x-java-application', 'application/x-jar', 'application/x-compressed'),
'svg' => array('image/svg+xml', 'application/xml', 'text/xml'),
'vcf' => 'text/x-vcard',
'srt' => array('text/srt', 'text/plain'),
'vtt' => array('text/vtt', 'text/plain'),
'ico' => array('image/x-icon', 'image/x-ico', 'image/vnd.microsoft.icon'),
'odc' => 'application/vnd.oasis.opendocument.chart',
'otc' => 'application/vnd.oasis.opendocument.chart-template',
'odf' => 'application/vnd.oasis.opendocument.formula',
'otf' => 'application/vnd.oasis.opendocument.formula-template',
'odg' => 'application/vnd.oasis.opendocument.graphics',
'otg' => 'application/vnd.oasis.opendocument.graphics-template',
'odi' => 'application/vnd.oasis.opendocument.image',
'oti' => 'application/vnd.oasis.opendocument.image-template',
'odp' => 'application/vnd.oasis.opendocument.presentation',
'otp' => 'application/vnd.oasis.opendocument.presentation-template',
'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template',
'odt' => 'application/vnd.oasis.opendocument.text',
'odm' => 'application/vnd.oasis.opendocument.text-master',
'ott' => 'application/vnd.oasis.opendocument.text-template',
'oth' => 'application/vnd.oasis.opendocument.text-web'
);
return [
'hqx' => ['application/mac-binhex40', 'application/mac-binhex', 'application/x-binhex40', 'application/x-mac-binhex40'],
'cpt' => 'application/mac-compactpro',
'csv' => ['text/x-comma-separated-values', 'text/comma-separated-values', 'application/octet-stream', 'application/vnd.ms-excel', 'application/x-csv', 'text/x-csv', 'text/csv', 'application/csv', 'application/excel', 'application/vnd.msexcel', 'text/plain'],
'bin' => ['application/macbinary', 'application/mac-binary', 'application/octet-stream', 'application/x-binary', 'application/x-macbinary'],
'dms' => 'application/octet-stream',
'lha' => 'application/octet-stream',
'lzh' => 'application/octet-stream',
'exe' => ['application/octet-stream', 'application/x-msdownload'],
'class' => 'application/octet-stream',
'psd' => ['application/x-photoshop', 'image/vnd.adobe.photoshop'],
'so' => 'application/octet-stream',
'sea' => 'application/octet-stream',
'dll' => 'application/octet-stream',
'oda' => 'application/oda',
'pdf' => ['application/pdf', 'application/force-download', 'application/x-download', 'binary/octet-stream'],
'ai' => ['application/pdf', 'application/postscript'],
'eps' => 'application/postscript',
'ps' => 'application/postscript',
'smi' => 'application/smil',
'smil' => 'application/smil',
'mif' => 'application/vnd.mif',
'xls' => ['application/vnd.ms-excel', 'application/msexcel', 'application/x-msexcel', 'application/x-ms-excel', 'application/x-excel', 'application/x-dos_ms_excel', 'application/xls', 'application/x-xls', 'application/excel', 'application/download', 'application/vnd.ms-office', 'application/msword'],
'ppt' => ['application/powerpoint', 'application/vnd.ms-powerpoint', 'application/vnd.ms-office', 'application/msword'],
'pptx' => ['application/vnd.openxmlformats-officedocument.presentationml.presentation', 'application/x-zip', 'application/zip'],
'wbxml' => 'application/wbxml',
'wmlc' => 'application/wmlc',
'dcr' => 'application/x-director',
'dir' => 'application/x-director',
'dxr' => 'application/x-director',
'dvi' => 'application/x-dvi',
'gtar' => 'application/x-gtar',
'gz' => 'application/x-gzip',
'gzip' => 'application/x-gzip',
'php' => ['application/x-httpd-php', 'application/php', 'application/x-php', 'text/php', 'text/x-php', 'application/x-httpd-php-source'],
'php4' => 'application/x-httpd-php',
'php3' => 'application/x-httpd-php',
'phtml' => 'application/x-httpd-php',
'phps' => 'application/x-httpd-php-source',
'js' => ['application/x-javascript', 'text/plain'],
'swf' => 'application/x-shockwave-flash',
'sit' => 'application/x-stuffit',
'tar' => 'application/x-tar',
'tgz' => ['application/x-tar', 'application/x-gzip-compressed'],
'z' => 'application/x-compress',
'xhtml' => 'application/xhtml+xml',
'xht' => 'application/xhtml+xml',
'zip' => ['application/x-zip', 'application/zip', 'application/x-zip-compressed', 'application/s-compressed', 'multipart/x-zip'],
'rar' => ['application/x-rar', 'application/rar', 'application/x-rar-compressed'],
'mid' => 'audio/midi',
'midi' => 'audio/midi',
'mpga' => 'audio/mpeg',
'mp2' => 'audio/mpeg',
'mp3' => ['audio/mpeg', 'audio/mpg', 'audio/mpeg3', 'audio/mp3'],
'aif' => ['audio/x-aiff', 'audio/aiff'],
'aiff' => ['audio/x-aiff', 'audio/aiff'],
'aifc' => 'audio/x-aiff',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'rpm' => 'audio/x-pn-realaudio-plugin',
'ra' => 'audio/x-realaudio',
'rv' => 'video/vnd.rn-realvideo',
'wav' => ['audio/x-wav', 'audio/wave', 'audio/wav'],
'bmp' => ['image/bmp', 'image/x-bmp', 'image/x-bitmap', 'image/x-xbitmap', 'image/x-win-bitmap', 'image/x-windows-bmp', 'image/ms-bmp', 'image/x-ms-bmp', 'application/bmp', 'application/x-bmp', 'application/x-win-bitmap'],
'gif' => 'image/gif',
'jpeg' => ['image/jpeg', 'image/pjpeg'],
'jpg' => ['image/jpeg', 'image/pjpeg'],
'jpe' => ['image/jpeg', 'image/pjpeg'],
'jp2' => ['image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'],
'j2k' => ['image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'],
'jpf' => ['image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'],
'jpg2' => ['image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'],
'jpx' => ['image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'],
'jpm' => ['image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'],
'mj2' => ['image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'],
'mjp2' => ['image/jp2', 'video/mj2', 'image/jpx', 'image/jpm'],
'png' => ['image/png', 'image/x-png'],
'tiff' => 'image/tiff',
'tif' => 'image/tiff',
'css' => ['text/css', 'text/plain'],
'html' => ['text/html', 'text/plain'],
'htm' => ['text/html', 'text/plain'],
'shtml' => ['text/html', 'text/plain'],
'txt' => 'text/plain',
'text' => 'text/plain',
'log' => ['text/plain', 'text/x-log'],
'rtx' => 'text/richtext',
'rtf' => 'text/rtf',
'xml' => ['application/xml', 'text/xml', 'text/plain'],
'xsl' => ['application/xml', 'text/xsl', 'text/xml'],
'mpeg' => 'video/mpeg',
'mpg' => 'video/mpeg',
'mpe' => 'video/mpeg',
'qt' => 'video/quicktime',
'mov' => 'video/quicktime',
'avi' => ['video/x-msvideo', 'video/msvideo', 'video/avi', 'application/x-troff-msvideo'],
'movie' => 'video/x-sgi-movie',
'doc' => ['application/msword', 'application/vnd.ms-office'],
'docx' => ['application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip', 'application/msword', 'application/x-zip'],
'dot' => ['application/msword', 'application/vnd.ms-office'],
'dotx' => ['application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'application/zip', 'application/msword'],
'xlsx' => ['application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/zip', 'application/vnd.ms-excel', 'application/msword', 'application/x-zip'],
'word' => ['application/msword', 'application/octet-stream'],
'xl' => 'application/excel',
'eml' => 'message/rfc822',
'json' => ['application/json', 'text/json'],
'pem' => ['application/x-x509-user-cert', 'application/x-pem-file', 'application/octet-stream'],
'p10' => ['application/x-pkcs10', 'application/pkcs10'],
'p12' => 'application/x-pkcs12',
'p7a' => 'application/x-pkcs7-signature',
'p7c' => ['application/pkcs7-mime', 'application/x-pkcs7-mime'],
'p7m' => ['application/pkcs7-mime', 'application/x-pkcs7-mime'],
'p7r' => 'application/x-pkcs7-certreqresp',
'p7s' => 'application/pkcs7-signature',
'crt' => ['application/x-x509-ca-cert', 'application/x-x509-user-cert', 'application/pkix-cert'],
'crl' => ['application/pkix-crl', 'application/pkcs-crl'],
'der' => 'application/x-x509-ca-cert',
'kdb' => 'application/octet-stream',
'pgp' => 'application/pgp',
'gpg' => 'application/gpg-keys',
'sst' => 'application/octet-stream',
'csr' => 'application/octet-stream',
'rsa' => 'application/x-pkcs7',
'cer' => ['application/pkix-cert', 'application/x-x509-ca-cert'],
'3g2' => 'video/3gpp2',
'3gp' => ['video/3gp', 'video/3gpp'],
'mp4' => 'video/mp4',
'm4a' => 'audio/x-m4a',
'f4v' => ['video/mp4', 'video/x-f4v'],
'flv' => 'video/x-flv',
'webm' => 'video/webm',
'aac' => 'audio/x-acc',
'm4u' => 'application/vnd.mpegurl',
'm3u' => 'text/plain',
'xspf' => 'application/xspf+xml',
'vlc' => 'application/videolan',
'wmv' => ['video/x-ms-wmv', 'video/x-ms-asf'],
'au' => 'audio/x-au',
'ac3' => 'audio/ac3',
'flac' => 'audio/x-flac',
'ogg' => ['audio/ogg', 'video/ogg', 'application/ogg'],
'kmz' => ['application/vnd.google-earth.kmz', 'application/zip', 'application/x-zip'],
'kml' => ['application/vnd.google-earth.kml+xml', 'application/xml', 'text/xml'],
'ics' => 'text/calendar',
'ical' => 'text/calendar',
'zsh' => 'text/x-scriptzsh',
'7z' => ['application/x-7z-compressed', 'application/x-compressed', 'application/x-zip-compressed', 'application/zip', 'multipart/x-zip'],
'7zip' => ['application/x-7z-compressed', 'application/x-compressed', 'application/x-zip-compressed', 'application/zip', 'multipart/x-zip'],
'cdr' => ['application/cdr', 'application/coreldraw', 'application/x-cdr', 'application/x-coreldraw', 'image/cdr', 'image/x-cdr', 'zz-application/zz-winassoc-cdr'],
'wma' => ['audio/x-ms-wma', 'video/x-ms-asf'],
'jar' => ['application/java-archive', 'application/x-java-application', 'application/x-jar', 'application/x-compressed'],
'svg' => ['image/svg+xml', 'application/xml', 'text/xml'],
'vcf' => 'text/x-vcard',
'srt' => ['text/srt', 'text/plain'],
'vtt' => ['text/vtt', 'text/plain'],
'ico' => ['image/x-icon', 'image/x-ico', 'image/vnd.microsoft.icon'],
'odc' => 'application/vnd.oasis.opendocument.chart',
'otc' => 'application/vnd.oasis.opendocument.chart-template',
'odf' => 'application/vnd.oasis.opendocument.formula',
'otf' => 'application/vnd.oasis.opendocument.formula-template',
'odg' => 'application/vnd.oasis.opendocument.graphics',
'otg' => 'application/vnd.oasis.opendocument.graphics-template',
'odi' => 'application/vnd.oasis.opendocument.image',
'oti' => 'application/vnd.oasis.opendocument.image-template',
'odp' => 'application/vnd.oasis.opendocument.presentation',
'otp' => 'application/vnd.oasis.opendocument.presentation-template',
'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
'ots' => 'application/vnd.oasis.opendocument.spreadsheet-template',
'odt' => 'application/vnd.oasis.opendocument.text',
'odm' => 'application/vnd.oasis.opendocument.text-master',
'ott' => 'application/vnd.oasis.opendocument.text-template',
'oth' => 'application/vnd.oasis.opendocument.text-web'
];

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
/*
| -------------------------------------------------------------------

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
/*
| -------------------------------------------------------------------

View file

@ -52,7 +52,7 @@ class Backend extends EA_Controller {
*/
public function index($appointment_hash = '')
{
$this->session->set_userdata('dest_url', site_url('backend/index' . (!empty($appointment_hash) ? '/' . $appointment_hash : '')));
$this->session->set_userdata('dest_url', site_url('backend/index' . (! empty($appointment_hash) ? '/' . $appointment_hash : '')));
if ( ! $this->has_privileges(PRIV_APPOINTMENTS))
{
@ -77,7 +77,7 @@ class Backend extends EA_Controller {
$view['available_providers'] = $this->providers_model->get_available_providers();
$view['available_services'] = $this->services_model->get_available_services();
$view['customers'] = $this->customers_model->get_batch();
$view['calendar_view'] = !empty($calendar_view_query_param) ? $calendar_view_query_param : $user['settings']['calendar_view'];
$view['calendar_view'] = ! empty($calendar_view_query_param) ? $calendar_view_query_param : $user['settings']['calendar_view'];
$view['timezones'] = $this->timezones->to_array();
$this->set_user_data($view);

View file

@ -14,7 +14,6 @@
use EA\Engine\Notifications\Email as EmailClient;
use EA\Engine\Types\Email;
use EA\Engine\Types\Text;
use EA\Engine\Types\Url;
/**
* Backend API Controller
@ -420,9 +419,9 @@ class Backend_api extends EA_Controller {
// Notify admins
$admins = $this->admins_model->get_batch();
foreach($admins as $admin)
foreach ($admins as $admin)
{
if (!$admin['settings']['notifications'] === '0')
if ( ! $admin['settings']['notifications'] === '0')
{
continue;
}
@ -435,9 +434,9 @@ class Backend_api extends EA_Controller {
// Notify secretaries
$secretaries = $this->secretaries_model->get_batch();
foreach($secretaries as $secretary)
foreach ($secretaries as $secretary)
{
if (!$secretary['settings']['notifications'] === '0')
if ( ! $secretary['settings']['notifications'] === '0')
{
continue;
}
@ -562,7 +561,7 @@ class Backend_api extends EA_Controller {
$limit = 1000;
}
$customers = $this->customers_model->get_batch($where, $limit, null, $order_by);
$customers = $this->customers_model->get_batch($where, $limit, NULL, $order_by);
foreach ($customers as &$customer)
{
@ -1319,7 +1318,7 @@ class Backend_api extends EA_Controller {
$result = $this->providers_model->delete($this->input->post('provider_id'));
$response =$result ? AJAX_SUCCESS : AJAX_FAILURE;
$response = $result ? AJAX_SUCCESS : AJAX_FAILURE;
}
catch (Exception $exception)
{
@ -1393,7 +1392,7 @@ class Backend_api extends EA_Controller {
$secretary_id = $this->secretaries_model->add($secretary);
$response =[
$response = [
'status' => AJAX_SUCCESS,
'id' => $secretary_id
];
@ -1427,7 +1426,7 @@ class Backend_api extends EA_Controller {
$result = $this->secretaries_model->delete($this->input->post('secretary_id'));
$response =$result ? AJAX_SUCCESS : AJAX_FAILURE;
$response = $result ? AJAX_SUCCESS : AJAX_FAILURE;
}
catch (Exception $exception)
{
@ -1605,7 +1604,7 @@ class Backend_api extends EA_Controller {
}
else
{
$response =AJAX_FAILURE;
$response = AJAX_FAILURE;
}
}
catch (Exception $exception)
@ -1679,7 +1678,7 @@ class Backend_api extends EA_Controller {
$this->providers_model->set_setting('working_plan', $working_plan, $provider['id']);
}
$response =AJAX_SUCCESS;
$response = AJAX_SUCCESS;
}
catch (Exception $exception)
{

View file

@ -41,6 +41,22 @@ class Console extends EA_Controller {
$this->load->model('settings_model');
}
/**
* Perform a console installation.
*
* Use this method to install Easy!Appointments directly from the terminal.
*
* Usage:
*
* php index.php console install
*/
public function install()
{
$this->migrate('fresh');
$this->seed();
$this->output->set_output(PHP_EOL . '⇾ Installation completed, login with "administrator" / "administrator".' . PHP_EOL . PHP_EOL);
}
/**
* Migrate the database to the latest state.
*
@ -142,22 +158,6 @@ class Console extends EA_Controller {
]);
}
/**
* Perform a console installation.
*
* Use this method to install Easy!Appointments directly from the terminal.
*
* Usage:
*
* php index.php console install
*/
public function install()
{
$this->migrate('fresh');
$this->seed();
$this->output->set_output(PHP_EOL . '⇾ Installation completed, login with "administrator" / "administrator".' . PHP_EOL . PHP_EOL);
}
/**
* Create a backup file.
*

View file

@ -29,67 +29,6 @@ class Google extends EA_Controller {
$this->load->model('providers_model');
}
/**
* Authorize Google Calendar API usage for a specific provider.
*
* Since it is required to follow the web application flow, in order to retrieve a refresh token from the Google API
* service, this method is going to authorize the given provider.
*
* @param int $provider_id The provider id, for whom the sync authorization is made.
*/
public function oauth($provider_id)
{
// Store the provider id for use on the callback function.
$this->session->set_userdata('oauth_provider_id', $provider_id);
// Redirect browser to google user content page.
header('Location: ' . $this->google_sync->get_auth_url());
}
/**
* Callback method for the Google Calendar API authorization process.
*
* Once the user grants consent with his Google Calendar data usage, the Google OAuth service will redirect him back
* in this page. Here we are going to store the refresh token, because this is what will be used to generate access
* tokens in the future.
*
* IMPORTANT: Because it is necessary to authorize the application using the web server flow (see official
* documentation of OAuth), every Easy!Appointments installation should use its own calendar api key. So in every
* api console account, the "http://path-to-Easy!Appointments/google/oauth_callback" should be included in an allowed redirect URL.
*/
public function oauth_callback()
{
$code = $this->input->get('code');
if (empty($code))
{
$this->output->set_output('Code authorization failed.');
return;
}
$token = $this->google_sync->authenticate($code);
if (empty($token))
{
$this->output->set_output('Token authorization failed.');
return;
}
// Store the token into the database for future reference.
$oauth_provider_id = $this->session->userdata('oauth_provider_id');
if ($oauth_provider_id)
{
$this->providers_model->set_setting('google_sync', TRUE, $oauth_provider_id);
$this->providers_model->set_setting('google_token', json_encode($token), $oauth_provider_id);
$this->providers_model->set_setting('google_calendar', 'primary', $oauth_provider_id);
}
else
{
$this->output->set_output('Sync provider id not specified.');
}
}
/**
* Complete synchronization of appointments between Google Calendar and Easy!Appointments.
*
@ -288,5 +227,66 @@ class Google extends EA_Controller {
->set_output(json_encode($response));
}
/**
* Authorize Google Calendar API usage for a specific provider.
*
* Since it is required to follow the web application flow, in order to retrieve a refresh token from the Google API
* service, this method is going to authorize the given provider.
*
* @param int $provider_id The provider id, for whom the sync authorization is made.
*/
public function oauth($provider_id)
{
// Store the provider id for use on the callback function.
$this->session->set_userdata('oauth_provider_id', $provider_id);
// Redirect browser to google user content page.
header('Location: ' . $this->google_sync->get_auth_url());
}
/**
* Callback method for the Google Calendar API authorization process.
*
* Once the user grants consent with his Google Calendar data usage, the Google OAuth service will redirect him back
* in this page. Here we are going to store the refresh token, because this is what will be used to generate access
* tokens in the future.
*
* IMPORTANT: Because it is necessary to authorize the application using the web server flow (see official
* documentation of OAuth), every Easy!Appointments installation should use its own calendar api key. So in every
* api console account, the "http://path-to-Easy!Appointments/google/oauth_callback" should be included in an allowed redirect URL.
*/
public function oauth_callback()
{
$code = $this->input->get('code');
if (empty($code))
{
$this->output->set_output('Code authorization failed.');
return;
}
$token = $this->google_sync->authenticate($code);
if (empty($token))
{
$this->output->set_output('Token authorization failed.');
return;
}
// Store the token into the database for future reference.
$oauth_provider_id = $this->session->userdata('oauth_provider_id');
if ($oauth_provider_id)
{
$this->providers_model->set_setting('google_sync', TRUE, $oauth_provider_id);
$this->providers_model->set_setting('google_token', json_encode($token), $oauth_provider_id);
$this->providers_model->set_setting('google_calendar', 'primary', $oauth_provider_id);
}
else
{
$this->output->set_output('Sync provider id not specified.');
}
}
}

View file

@ -74,7 +74,7 @@ class Installation extends EA_Controller {
$admin['timezone'] = 'UTC';
$admin['settings']['username'] = $admin['username'];
$admin['settings']['password'] = $admin['password'];
$admin['settings']['notifications'] = true;
$admin['settings']['notifications'] = TRUE;
$admin['settings']['calendar_view'] = CALENDAR_VIEW_DEFAULT;
unset($admin['username'], $admin['password']);
$admin['id'] = $this->admins_model->add($admin);
@ -116,7 +116,7 @@ class Installation extends EA_Controller {
],
'settings' => [
'username' => 'johndoe',
'password' => hash_password($salt, $password),
'password' => hash_password($salt, $password),
'salt' => $salt,
'working_plan' => '{"monday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]},"tuesday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]},"wednesday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]},"thursday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]},"friday":{"start":"09:00","end":"18:00","breaks":[{"start":"14:30","end":"15:00"}]},"saturday":null,"sunday":null}',
'notifications' => FALSE,

View file

@ -49,7 +49,7 @@ class Unavailabilities extends API_V1_Controller {
{
try
{
$where = $id !== NULL ? ['id' => $id] : ['is_unavailable' => true];
$where = $id !== NULL ? ['id' => $id] : ['is_unavailable' => TRUE];
$unavailabilities = $this->appointments_model->get_batch($where);

View file

@ -2,12 +2,12 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['db_invalid_connection_str'] = 'غير قادر على إيجاد إعدادات الإتصال بقواعد البيانات بناء على البيانات المرسلة.';
$lang['db_unable_to_connect'] = 'غير قادر على الإتصال بقواعد البيانات بناء على الإعدادات المقدمة.';

View file

@ -2,12 +2,12 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['email_must_be_array'] = 'يجب تمرير مصفوفة إلى دالة التحقق من البريد الإلكتروني.';
$lang['email_invalid_address'] = 'عنوان بريد إلكتروني خاطئ: %s';

View file

@ -2,12 +2,12 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['migration_none_found'] = "لا يوجد أي عمليات ترحيل.";
$lang['migration_not_found'] = "تعذر العثور على عملية الترحيل هذه.";

View file

@ -35,7 +35,7 @@
* @since Version 1.0.0
* @filesource
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['db_invalid_connection_str'] = 'Z řetězce spojení které jste zadali nelze určit nastavení databáze.';
$lang['db_unable_to_connect'] = 'Se zadanými nastaveními se není možné připojit k databázovému serveru.';

View file

@ -35,7 +35,7 @@
* @since Version 1.0.0
* @filesource
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['email_must_be_array'] = 'Metoda validace emailu musí být předána jako pole.';
$lang['email_invalid_address'] = 'Neplatná emailová adresa: %s';

View file

@ -2,18 +2,18 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['migration_none_found'] = 'Nebyla nalezena žádná migrace.';
$lang['migration_not_found'] = 'Migrace s číslem verze %s nebyla nalezena.';
$lang['migration_sequence_gap'] = 'V blízkosti sekvence migrace s číslem verze %s se nachází mezera.';
$lang['migration_multiple_version'] = 'Existuje více migrací se shodným číslem verze: %s.';
$lang['migration_class_doesnt_exist'] = 'Třída migrace "%s" nebyla nalezena.';
$lang['migration_missing_up_method'] = 'Třída migrace "%s" postrádá metodu "up".';
$lang['migration_missing_down_method'] = 'Třída migrace "%s" postrádá metodu "down".';
$lang['migration_invalid_filename'] = 'Migrace "%s" má neplatný název souboru.';
$lang['migration_none_found'] = 'Nebyla nalezena žádná migrace.';
$lang['migration_not_found'] = 'Migrace s číslem verze %s nebyla nalezena.';
$lang['migration_sequence_gap'] = 'V blízkosti sekvence migrace s číslem verze %s se nachází mezera.';
$lang['migration_multiple_version'] = 'Existuje více migrací se shodným číslem verze: %s.';
$lang['migration_class_doesnt_exist'] = 'Třída migrace "%s" nebyla nalezena.';
$lang['migration_missing_up_method'] = 'Třída migrace "%s" postrádá metodu "up".';
$lang['migration_missing_down_method'] = 'Třída migrace "%s" postrádá metodu "down".';
$lang['migration_invalid_filename'] = 'Migrace "%s" má neplatný název souboru.';

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
// Czech
$lang['page_title'] = 'Rezervace schůzky s';
$lang['service_and_provider'] = 'Výběr služby & poskytovatele';

View file

@ -2,12 +2,12 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['db_invalid_connection_str'] = 'Kan ikke fastsætte database indstillingerne baseret på forbindelsen strengen du angav.';
$lang['db_unable_to_connect'] = 'Kan ikke forbinde til din database server udfra de angivne indstillinger.';

View file

@ -2,12 +2,12 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['email_must_be_array'] = 'Email valideringsmetoden kræver at modtage et array.';
$lang['email_invalid_address'] = 'Ugyldig email adresse: %s';

View file

@ -2,12 +2,12 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['migration_none_found'] = 'Ingen migrationer blev fundet.';
$lang['migration_not_found'] = 'Ingen migrationer blev fundet med versionsnummeret: %s.';

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
// Danish
$lang['page_title'] = 'Book tid ved ...';
$lang['service_and_provider'] = 'Vælg tjeneste og leverandør';

View file

@ -2,13 +2,13 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @copyright Pieter Krul
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @copyright Pieter Krul
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('Directe toegang tot scripts is niet toegestaan');
defined('BASEPATH') or exit('Directe toegang tot scripts is niet toegestaan');
$lang['db_invalid_connection_str'] = 'Het lukt niet om de instellingen voor de database te kunnen bepalen via de connectiegegevens.';
$lang['db_unable_to_connect'] = 'Het lukt niet om een verbinding naar de database te maken met de opgegeven informatie.';

View file

@ -2,30 +2,30 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @copyright Pieter Krul
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @copyright Pieter Krul
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('Directe toegang tot scripts is niet toegestaan');
defined('BASEPATH') or exit('Directe toegang tot scripts is niet toegestaan');
$lang['email_must_be_array'] = 'De e-mail validatie methode moet de array passeren.';
$lang['email_invalid_address'] = 'De opgegeven waarde is geen geldig e-mailadres: %s';
$lang['email_attachment_missing'] = 'De bijlage bij dit bericht kan niet gevonden worden: %s';
$lang['email_attachment_unreadable'] = 'De bijlage kan niet worden gelezen: %s';
$lang['email_no_from'] = 'E-mail kan niet verstuurd worden zonder "From"-header.';
$lang['email_no_recipients'] = 'Ontvangers (Naar, Cc, of Bcc) zijn verplicht.';
$lang['email_send_failure_phpmail'] = 'Het lukt niet om de e-mail te versturen met PHP mail(). Deze server zou wel eens een andere methode gebruiken om berichten te sturen.';
$lang['email_send_failure_sendmail'] = 'Het lukt niet om de e-mail te versturen met PHP Sendmail. Deze server zou wel eens een andere methode gebruiken om berichten te sturen.';
$lang['email_send_failure_smtp'] = 'Het lukt niet om de e-mail te versturen met PHP SMTP. Deze server zou wel eens een andere methode gebruiken om berichten te sturen.';
$lang['email_sent'] = 'Het bericht is verstuurd, via het volgende protocol: %s';
$lang['email_no_socket'] = 'Het lukt niet om een socket naar Sendmail te openen. Controleer instellingen.';
$lang['email_no_hostname'] = 'Specifieer een SMTP-hostnaam.';
$lang['email_smtp_error'] = 'Tegengehouden door een SMTP-foutmelding: %s';
$lang['email_no_smtp_unpw'] = 'Fout: geef een SMTP-gebruikersnaam met wachtwoord op.';
$lang['email_failed_smtp_login'] = 'De "AUTH LOGIN"-opdracht gaf een foutmelding bij het versturen: %s';
$lang['email_smtp_auth_un'] = 'Bij het authenticeren gaf de gebruikersnaam een foutmelding: %s';
$lang['email_smtp_auth_pw'] = 'Bij het authenticeren gaf het wachtwoord een foutmelding: %s';
$lang['email_smtp_data_failure'] = 'Versturen van data is mislukt: %s';
$lang['email_exit_status'] = 'Exit statuscode: %s.';
$lang['email_must_be_array'] = 'De e-mail validatie methode moet de array passeren.';
$lang['email_invalid_address'] = 'De opgegeven waarde is geen geldig e-mailadres: %s';
$lang['email_attachment_missing'] = 'De bijlage bij dit bericht kan niet gevonden worden: %s';
$lang['email_attachment_unreadable'] = 'De bijlage kan niet worden gelezen: %s';
$lang['email_no_from'] = 'E-mail kan niet verstuurd worden zonder "From"-header.';
$lang['email_no_recipients'] = 'Ontvangers (Naar, Cc, of Bcc) zijn verplicht.';
$lang['email_send_failure_phpmail'] = 'Het lukt niet om de e-mail te versturen met PHP mail(). Deze server zou wel eens een andere methode gebruiken om berichten te sturen.';
$lang['email_send_failure_sendmail'] = 'Het lukt niet om de e-mail te versturen met PHP Sendmail. Deze server zou wel eens een andere methode gebruiken om berichten te sturen.';
$lang['email_send_failure_smtp'] = 'Het lukt niet om de e-mail te versturen met PHP SMTP. Deze server zou wel eens een andere methode gebruiken om berichten te sturen.';
$lang['email_sent'] = 'Het bericht is verstuurd, via het volgende protocol: %s';
$lang['email_no_socket'] = 'Het lukt niet om een socket naar Sendmail te openen. Controleer instellingen.';
$lang['email_no_hostname'] = 'Specifieer een SMTP-hostnaam.';
$lang['email_smtp_error'] = 'Tegengehouden door een SMTP-foutmelding: %s';
$lang['email_no_smtp_unpw'] = 'Fout: geef een SMTP-gebruikersnaam met wachtwoord op.';
$lang['email_failed_smtp_login'] = 'De "AUTH LOGIN"-opdracht gaf een foutmelding bij het versturen: %s';
$lang['email_smtp_auth_un'] = 'Bij het authenticeren gaf de gebruikersnaam een foutmelding: %s';
$lang['email_smtp_auth_pw'] = 'Bij het authenticeren gaf het wachtwoord een foutmelding: %s';
$lang['email_smtp_data_failure'] = 'Versturen van data is mislukt: %s';
$lang['email_exit_status'] = 'Exit statuscode: %s.';

View file

@ -2,19 +2,19 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @copyright Pieter Krul
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @copyright Pieter Krul
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('Directe toegang tot scripts is niet toegestaan');
defined('BASEPATH') or exit('Directe toegang tot scripts is niet toegestaan');
$lang['migration_none_found'] = 'Er is geen enkele migratie gevonden.';
$lang['migration_not_found'] = 'Een migratie met dit versienummer is onvindbaar. %s.';
$lang['migration_sequence_gap'] = 'Er ontbreekt een deel in de migratiereeks omstreeks dit versienummer. %s.';
$lang['migration_multiple_version'] = 'Er zijn meerdere migraties met hetzelfde versienummer: %s.';
$lang['migration_class_doesnt_exist'] = 'De migratie-class "%s" kon niet worden gevonden.';
$lang['migration_missing_up_method'] = 'De migratie-class "%s" mist een "up"-methode';
$lang['migration_missing_down_method'] = 'De migratie-class "%s" mist een "down"-methode.';
$lang['migration_invalid_filename'] = 'De migratie "%s" heeft een ongeldige bestandsnaam.';
$lang['migration_none_found'] = 'Er is geen enkele migratie gevonden.';
$lang['migration_not_found'] = 'Een migratie met dit versienummer is onvindbaar. %s.';
$lang['migration_sequence_gap'] = 'Er ontbreekt een deel in de migratiereeks omstreeks dit versienummer. %s.';
$lang['migration_multiple_version'] = 'Er zijn meerdere migraties met hetzelfde versienummer: %s.';
$lang['migration_class_doesnt_exist'] = 'De migratie-class "%s" kon niet worden gevonden.';
$lang['migration_missing_up_method'] = 'De migratie-class "%s" mist een "up"-methode';
$lang['migration_missing_down_method'] = 'De migratie-class "%s" mist een "down"-methode.';
$lang['migration_invalid_filename'] = 'De migratie "%s" heeft een ongeldige bestandsnaam.';

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
// Dutch
$lang['page_title'] = 'Boek afspraak met';
$lang['service_and_provider'] = 'Kies een dienst en een medewerker';

View file

@ -1,34 +1,34 @@
<?php
/**
* System messages translation for CodeIgniter(tm)
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['db_invalid_connection_str'] = "Impossible de déterminer les paramètres d'accès à la base de données en se basant sur la chaîne de connexion que vous avez fournie.";
$lang['db_unable_to_connect'] = "Impossible de se connecter à la base de données en utilisant les paramètres fournis.";
$lang['db_unable_to_select'] = "Impossible de sélectionner cette base de données : %s";
$lang['db_unable_to_create'] = "Impossible de créer cette base de données : %s";
$lang['db_invalid_query'] = "La requête que vous avez fournie est invalide.";
$lang['db_must_set_table'] = "Vous devez spécifier une table pour effectuer votre requête.";
$lang['db_must_use_set'] = "Vous devez utiliser la méthode \"set()\" pour mettre à jour une entrée.";
$lang['db_must_use_index'] = "Vous devez spécifier un index pour les mises à jour groupées.";
$lang['db_batch_missing_index'] = "Une ou plusieurs rangées de la mise à jour groupée ne disposent pas de l'index requis.";
$lang['db_must_use_where'] = "Il faut obligatoirement spécifier la clause \"WHERE\" pour mettre à jour une entrée.";
$lang['db_del_must_use_where'] = "Il faut obligatoirement spécifier la clause \"WHERE\" pour supprimer une entrée.";
$lang['db_field_param_missing'] = "La méthode \"fetch_fields()\" requiert le nom de la table cible en paramètre.";
$lang['db_unsupported_function'] = "Cette fonctionnalité n'est pas disponible pour la base de données utilisée.";
$lang['db_transaction_failure'] = "Erreur de transaction : la transaction est annulée.";
$lang['db_unable_to_drop'] = "Impossible d'effacer la base de données spécifiée.";
$lang['db_unsupported_feature'] = "Cette fonctionnalité n'est pas supportée par le système de gestion de bases de données utilisé.";
$lang['db_unsupported_compression'] = "Le format de compression choisi n'est pas supporté par votre serveur.";
$lang['db_filepath_error'] = "Impossible d'écrire des données au chemin de fichiers indiqué.";
$lang['db_invalid_cache_path'] = "Le chemin de mise en cache indiqué n'est pas valide ou inscriptible.";
$lang['db_table_name_required'] = "Un nom de table est requis pour cette opération.";
$lang['db_column_name_required'] = "Un nom de champ est requis pour cette opération.";
$lang['db_column_definition_required'] = "Une définition de champ est requise pour cette opération.";
$lang['db_unable_to_set_charset'] = "Impossible de définir le jeu de caractères de la connexion client : %s";
$lang['db_error_heading'] = "Une erreur de la base de données s'est produite.";
$lang['db_invalid_connection_str'] = "Impossible de déterminer les paramètres d'accès à la base de données en se basant sur la chaîne de connexion que vous avez fournie.";
$lang['db_unable_to_connect'] = "Impossible de se connecter à la base de données en utilisant les paramètres fournis.";
$lang['db_unable_to_select'] = "Impossible de sélectionner cette base de données : %s";
$lang['db_unable_to_create'] = "Impossible de créer cette base de données : %s";
$lang['db_invalid_query'] = "La requête que vous avez fournie est invalide.";
$lang['db_must_set_table'] = "Vous devez spécifier une table pour effectuer votre requête.";
$lang['db_must_use_set'] = "Vous devez utiliser la méthode \"set()\" pour mettre à jour une entrée.";
$lang['db_must_use_index'] = "Vous devez spécifier un index pour les mises à jour groupées.";
$lang['db_batch_missing_index'] = "Une ou plusieurs rangées de la mise à jour groupée ne disposent pas de l'index requis.";
$lang['db_must_use_where'] = "Il faut obligatoirement spécifier la clause \"WHERE\" pour mettre à jour une entrée.";
$lang['db_del_must_use_where'] = "Il faut obligatoirement spécifier la clause \"WHERE\" pour supprimer une entrée.";
$lang['db_field_param_missing'] = "La méthode \"fetch_fields()\" requiert le nom de la table cible en paramètre.";
$lang['db_unsupported_function'] = "Cette fonctionnalité n'est pas disponible pour la base de données utilisée.";
$lang['db_transaction_failure'] = "Erreur de transaction : la transaction est annulée.";
$lang['db_unable_to_drop'] = "Impossible d'effacer la base de données spécifiée.";
$lang['db_unsupported_feature'] = "Cette fonctionnalité n'est pas supportée par le système de gestion de bases de données utilisé.";
$lang['db_unsupported_compression'] = "Le format de compression choisi n'est pas supporté par votre serveur.";
$lang['db_filepath_error'] = "Impossible d'écrire des données au chemin de fichiers indiqué.";
$lang['db_invalid_cache_path'] = "Le chemin de mise en cache indiqué n'est pas valide ou inscriptible.";
$lang['db_table_name_required'] = "Un nom de table est requis pour cette opération.";
$lang['db_column_name_required'] = "Un nom de champ est requis pour cette opération.";
$lang['db_column_definition_required'] = "Une définition de champ est requise pour cette opération.";
$lang['db_unable_to_set_charset'] = "Impossible de définir le jeu de caractères de la connexion client : %s";
$lang['db_error_heading'] = "Une erreur de la base de données s'est produite.";

View file

@ -1,29 +1,29 @@
<?php
/**
* System messages translation for CodeIgniter(tm)
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['email_must_be_array'] = "La méthode de validation d'email n'accepte que les tableaux associatifs (array).";
$lang['email_invalid_address'] = "Adresse email invalide : %s";
$lang['email_attachment_missing'] = "Impossible de localiser le fichier joint suivant : %s";
$lang['email_must_be_array'] = "La méthode de validation d'email n'accepte que les tableaux associatifs (array).";
$lang['email_invalid_address'] = "Adresse email invalide : %s";
$lang['email_attachment_missing'] = "Impossible de localiser le fichier joint suivant : %s";
$lang['email_attachment_unreadable'] = "Impossible d'ouvrir ce fichier joint : %s";
$lang['email_no_from'] = "Impossible d'envoyer un email sans en-tête \"From\".";
$lang['email_no_recipients'] = "Vous devez spécifier des destinataires: To, Cc, ou Bcc";
$lang['email_send_failure_phpmail'] = "Impossible d'envoyer des emails avec la fonction mail() de PHP. Votre serveur ne doit pas être configuré pour pouvoir utiliser cette méthode.";
$lang['email_no_from'] = "Impossible d'envoyer un email sans en-tête \"From\".";
$lang['email_no_recipients'] = "Vous devez spécifier des destinataires: To, Cc, ou Bcc";
$lang['email_send_failure_phpmail'] = "Impossible d'envoyer des emails avec la fonction mail() de PHP. Votre serveur ne doit pas être configuré pour pouvoir utiliser cette méthode.";
$lang['email_send_failure_sendmail'] = "Impossible d'envoyer des emails avec la méthode Sendmail de PHP. Votre serveur ne doit pas être configuré pour pouvoir utiliser cette méthode.";
$lang['email_send_failure_smtp'] = "Impossible d'envoyer des emails avec la méthode SMTP de PHP. Votre serveur ne doit pas être configuré pour pouvoir utiliser cette méthode.";
$lang['email_sent'] = "Votre message a bien été expédié par le protocole suivant : %s";
$lang['email_no_socket'] = "Impossible d'ouvrir un socket avec Sendmail. Veuillez vérifier la configuration de votre environnement.";
$lang['email_no_hostname'] = "Vous n'avez pas spécificé d'hôte SMTP.";
$lang['email_smtp_error'] = "L'erreur SMTP suivante s'est produite : %s";
$lang['email_no_smtp_unpw'] = "Erreur : Vous devez spécifier un nom d'utilisateur et un mot de passe SMTP.";
$lang['email_failed_smtp_login'] = "Échec lors de l'envoi de la commande AUTH LOGIN. Erreur : %s";
$lang['email_smtp_auth_un'] = "Impossible d'identifier le nom d'utilisateur. Erreur : %s";
$lang['email_smtp_auth_pw'] = "Impossible d'identifier le mot de passe. Erreur : %s";
$lang['email_smtp_data_failure'] = "Impossible d'envoyer les données : %s";
$lang['email_exit_status'] = "Code de retour : %s";
$lang['email_send_failure_smtp'] = "Impossible d'envoyer des emails avec la méthode SMTP de PHP. Votre serveur ne doit pas être configuré pour pouvoir utiliser cette méthode.";
$lang['email_sent'] = "Votre message a bien été expédié par le protocole suivant : %s";
$lang['email_no_socket'] = "Impossible d'ouvrir un socket avec Sendmail. Veuillez vérifier la configuration de votre environnement.";
$lang['email_no_hostname'] = "Vous n'avez pas spécificé d'hôte SMTP.";
$lang['email_smtp_error'] = "L'erreur SMTP suivante s'est produite : %s";
$lang['email_no_smtp_unpw'] = "Erreur : Vous devez spécifier un nom d'utilisateur et un mot de passe SMTP.";
$lang['email_failed_smtp_login'] = "Échec lors de l'envoi de la commande AUTH LOGIN. Erreur : %s";
$lang['email_smtp_auth_un'] = "Impossible d'identifier le nom d'utilisateur. Erreur : %s";
$lang['email_smtp_auth_pw'] = "Impossible d'identifier le mot de passe. Erreur : %s";
$lang['email_smtp_data_failure'] = "Impossible d'envoyer les données : %s";
$lang['email_exit_status'] = "Code de retour : %s";

View file

@ -1,18 +1,18 @@
<?php
/**
* System messages translation for CodeIgniter(tm)
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['migration_none_found'] = "Aucune migration trouvée.";
$lang['migration_not_found'] = "Aucune migration n'a été trouvée avec le numéro de version : %d.";
$lang['migration_sequence_gap'] = "Il y a un trou dans la séquence de migration près de la version numéro : %s.";
$lang['migration_multiple_version'] = "Il y a plusieurs migrations avec le même numéro de version : %d.";
$lang['migration_class_doesnt_exist'] = "La classe de migration \"%s\" n'a pas pu être trouvée.";
$lang['migration_missing_up_method'] = "La classe de migration \"%s\" ne dispose pas d'une méthode 'up'.";
$lang['migration_missing_down_method'] = "La classe de migration \"%s\" ne dispose pas d'une méthode 'down'.";
$lang['migration_invalid_filename'] = "Le nom de fichier de la migration \"%s\" n'est pas valide.";
$lang['migration_none_found'] = "Aucune migration trouvée.";
$lang['migration_not_found'] = "Aucune migration n'a été trouvée avec le numéro de version : %d.";
$lang['migration_sequence_gap'] = "Il y a un trou dans la séquence de migration près de la version numéro : %s.";
$lang['migration_multiple_version'] = "Il y a plusieurs migrations avec le même numéro de version : %d.";
$lang['migration_class_doesnt_exist'] = "La classe de migration \"%s\" n'a pas pu être trouvée.";
$lang['migration_missing_up_method'] = "La classe de migration \"%s\" ne dispose pas d'une méthode 'up'.";
$lang['migration_missing_down_method'] = "La classe de migration \"%s\" ne dispose pas d'une méthode 'down'.";
$lang['migration_invalid_filename'] = "Le nom de fichier de la migration \"%s\" n'est pas valide.";

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
// French
$lang['page_title'] = 'Prendre rendez-vous avec ...';
$lang['service_and_provider'] = 'Choisissez une prestation et un exécutant';

View file

@ -2,12 +2,12 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['db_invalid_connection_str'] = 'Die Datenbank-Einstellungen sind anhand der vorliegenden Verbindungsdaten nicht zu ermitteln.';
$lang['db_unable_to_connect'] = 'Mit den vorliegenden Einstellungen ist keine Verbindung zum Datenbank-Server möglich.';

View file

@ -2,12 +2,12 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['email_must_be_array'] = 'Die Methode zur Überprüfung der E-Mail muss in einem Array übergeben werden.';
$lang['email_invalid_address'] = 'Ungültige E-Mail-Adresse: %s';

View file

@ -2,18 +2,18 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['migration_none_found'] = 'Es wurde keine Migration gefunden.';
$lang['migration_not_found'] = 'Die Migration mit der Versionsnummer %s wurde nicht gefunden.';
$lang['migration_sequence_gap'] = 'Es besteht eine Lücke in der Migrationsfolge nahe der Versionsnummer: %s.';
$lang['migration_multiple_version'] = 'Es existieren mehrere Migrationen mit der gleichen Versionsnummer: %s.';
$lang['migration_class_doesnt_exist'] = 'Die Migrationsklasse "%s" konnte nicht gefunden werden.';
$lang['migration_missing_up_method'] = 'Der Migrationsklasse "%s" fehlt eine "up" Methode.';
$lang['migration_missing_down_method'] = 'Der Migrationsklasse "%s" fehlt eine "down" Methode.';
$lang['migration_invalid_filename'] = 'Migration "%s" hat einen ungültigen Dateinamen.';
$lang['migration_none_found'] = 'Es wurde keine Migration gefunden.';
$lang['migration_not_found'] = 'Die Migration mit der Versionsnummer %s wurde nicht gefunden.';
$lang['migration_sequence_gap'] = 'Es besteht eine Lücke in der Migrationsfolge nahe der Versionsnummer: %s.';
$lang['migration_multiple_version'] = 'Es existieren mehrere Migrationen mit der gleichen Versionsnummer: %s.';
$lang['migration_class_doesnt_exist'] = 'Die Migrationsklasse "%s" konnte nicht gefunden werden.';
$lang['migration_missing_up_method'] = 'Der Migrationsklasse "%s" fehlt eine "up" Methode.';
$lang['migration_missing_down_method'] = 'Der Migrationsklasse "%s" fehlt eine "down" Methode.';
$lang['migration_invalid_filename'] = 'Migration "%s" hat einen ungültigen Dateinamen.';

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
// German
$lang['page_title'] = 'Vereinbaren Sie einen Termin mit';
$lang['service_and_provider'] = 'Dienstleistung & Anbieter';

View file

@ -2,13 +2,13 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @author Grigoris Charamidis
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @author Grigoris Charamidis
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['db_invalid_connection_str'] = 'Αδυναμία να ρυθμιστεί η βάση δεδομένων με τα στοιχεία σύνδεσης που υποβάλλονται.';
$lang['db_unable_to_connect'] = 'Δεν είναι δυνατή η σύνδεση με την βάση δεδομένων σας, παρακαλώ ελέγξτε τα στοιχεία σύνδεσης.';

View file

@ -2,13 +2,13 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @author Grigoris Charamidis
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @author Grigoris Charamidis
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['email_must_be_array'] = 'Η μέθοδος email validation πρέπει να περάσει απο έναν πίνακα.';
$lang['email_invalid_address'] = 'Μη έγκυρη διεύθυνση e-mail: %s';

View file

@ -2,13 +2,13 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @author Grigoris Charamidis
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @author Grigoris Charamidis
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['migration_none_found'] = 'Δεν βρέθηκαν migrations.';
$lang['migration_not_found'] = 'Όχι migrations, θα μπορούσε να βρεθεί με τον αριθμό έκδοσης: %s.';

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
// Greek
$lang['page_title'] = 'Κράτηση Ραντεβού Με';
$lang['service_and_provider'] = 'Υπηρεσία & Πάροχος';

View file

@ -35,7 +35,7 @@
* @since Version 1.0.0
* @filesource
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['db_invalid_connection_str'] = 'לא ניתן לקבוע את הגדרות מסד הנתונים בהתבסס על מחרוזת החיבור שהגשת.';
$lang['db_unable_to_connect'] = 'לא ניתן להתחבר לשרת מסד הנתונים שלך באמצעות ההגדרות שסופקו.';

View file

@ -35,7 +35,7 @@
* @since Version 1.0.0
* @filesource
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['email_must_be_array'] = 'שיטת אימות הדוא"ל חחיבת להיות במערך.';
$lang['email_invalid_address'] = 'כתובת דוא"ל לא תקנית: %s';

View file

@ -2,19 +2,19 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @author Iban Eguia
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @author Iban Eguia
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
defined('BASEPATH') or exit('No direct script access allowed');
$lang['migration_none_found'] = 'מיזוג לא נמצא.';
$lang['migration_not_found'] = 'לא נמצאה מיזוג למספר הגרסה: %s.';
$lang['migration_sequence_gap'] = 'יש פער בין המיזוג, למספר הגרסה: %s.';
$lang['migration_multiple_version'] = 'ישנם מספר מיזוגים בעלי מספר גרסה זהה: %s.';
$lang['migration_class_doesnt_exist'] = 'מחלקת המיזוג "%s" לא נמצאה.';
$lang['migration_missing_up_method'] = 'מחלקת המיזוג "%s" חסרה את השיטה "up".';
$lang['migration_missing_down_method'] = 'מחלקת המיזוג "%s" חסרה את השיטה "down".';
$lang['migration_invalid_filename'] = 'למיזוג "%s" יש שם קובץ לא חוקי.';
$lang['migration_none_found'] = 'מיזוג לא נמצא.';
$lang['migration_not_found'] = 'לא נמצאה מיזוג למספר הגרסה: %s.';
$lang['migration_sequence_gap'] = 'יש פער בין המיזוג, למספר הגרסה: %s.';
$lang['migration_multiple_version'] = 'ישנם מספר מיזוגים בעלי מספר גרסה זהה: %s.';
$lang['migration_class_doesnt_exist'] = 'מחלקת המיזוג "%s" לא נמצאה.';
$lang['migration_missing_up_method'] = 'מחלקת המיזוג "%s" חסרה את השיטה "up".';
$lang['migration_missing_down_method'] = 'מחלקת המיזוג "%s" חסרה את השיטה "down".';
$lang['migration_invalid_filename'] = 'למיזוג "%s" יש שם קובץ לא חוקי.';

View file

@ -2,13 +2,13 @@
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @copyright Pieter Krul
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @copyright Pieter Krul
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('Directe toegang tot scripts is niet toegestaan');
defined('BASEPATH') or exit('Directe toegang tot scripts is niet toegestaan');
$lang['db_invalid_connection_str'] = 'मैं कनेक्शन डेटा का उपयोग कर डेटाबेस के लिए सेटिंग्स का निर्धारण करने में असमर्थ हूँ।';
$lang['db_unable_to_connect'] = 'मैं निर्दिष्ट जानकारी के साथ डेटाबेस से कनेक्ट करने में असमर्थ हूँ।';
$lang['db_unable_to_select'] = 'मैं डेटाबेस का उपयोग करने में असमर्थ हूँ:% s';

View file

@ -1,14 +1,14 @@
<?php
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @copyright Pieter Krul
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('Directe toegang tot scripts is niet toegestaan');
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @copyright Pieter Krul
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') or exit('Directe toegang tot scripts is niet toegestaan');
$lang['email_must_be_array'] = 'ईमेल सत्यापन विधि को सरणी (array) भेजी जानी चाहिए।';
$lang['email_invalid_address'] = 'अवैध ईमेल पता है:% s';
$lang['email_attachment_missing'] = '% S: निम्नलिखित ईमेल संलग्नक (अटैचमेंट) पता लगाने में असमर्थ';

View file

@ -1,13 +1,13 @@
<?php
/**
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') OR exit('No direct script access allowed');
* System messages translation for CodeIgniter(tm)
*
* @author CodeIgniter community
* @copyright Copyright (c) 2014-2018, British Columbia Institute of Technology (http://bcit.ca/)
* @license http://opensource.org/licenses/MIT MIT License
* @link https://codeigniter.com
*/
defined('BASEPATH') or exit('No direct script access allowed');
$lang['migration_none_found'] = 'कोई माइग्रेशन नहीं पाए गए।';
$lang['migration_not_found'] = 'कोई माइग्रेशन वर्जन नंबर के साथनहीं नहीं पाया जा सका:% s।';

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
// Hindi
$lang['page_title'] = 'नअपॉइंटमेंट बुक करें';
$lang['service_and_provider'] = 'प्रदान करनेवाला और सेवा का चयन करें';

View file

@ -32,17 +32,21 @@
<span id="company-name"><?= $company_name ?></span>
<div id="steps">
<div id="step-1" class="book-step active-step" data-tippy-content="<?= lang('service_and_provider') ?>">
<div id="step-1" class="book-step active-step"
data-tippy-content="<?= lang('service_and_provider') ?>">
<strong>1</strong>
</div>
<div id="step-2" class="book-step" data-toggle="tooltip" data-tippy-content="<?= lang('appointment_date_and_time') ?>">
<div id="step-2" class="book-step" data-toggle="tooltip"
data-tippy-content="<?= lang('appointment_date_and_time') ?>">
<strong>2</strong>
</div>
<div id="step-3" class="book-step" data-toggle="tooltip" data-tippy-content="<?= lang('customer_information') ?>">
<div id="step-3" class="book-step" data-toggle="tooltip"
data-tippy-content="<?= lang('customer_information') ?>">
<strong>3</strong>
</div>
<div id="step-4" class="book-step" data-toggle="tooltip" data-tippy-content="<?= lang('appointment_confirmation') ?>">
<div id="step-4" class="book-step" data-toggle="tooltip"
data-tippy-content="<?= lang('appointment_confirmation') ?>">
<strong>4</strong>
</div>
</div>

View file

@ -17,83 +17,83 @@
<script src="<?= asset_url('assets/ext/fontawesome/js/solid.min.js') ?>"></script>
</head>
<body>
<div id="main" class="container">
<div class="row wrapper">
<div id="success-frame" class="col-12 border my-auto frame-container">
<div>
<img id="success-icon" class="mt-0 mb-2" src="<?= base_url('assets/img/success.png') ?>" />
</div>
<div id="main" class="container">
<div class="row wrapper">
<div id="success-frame" class="col-12 border my-auto frame-container">
<div>
<img id="success-icon" class="mt-0 mb-2" src="<?= base_url('assets/img/success.png') ?>"/>
</div>
<div>
<h3><?= lang('appointment_registered') ?></h3>
<div>
<h3><?= lang('appointment_registered') ?></h3>
<p>
<?= lang('appointment_details_was_sent_to_you') ?>
</p>
<p>
<?= lang('appointment_details_was_sent_to_you') ?>
</p>
<p>
<strong>
<?= lang('check_spam_folder') ?>
</strong>
</p>
<p>
<strong>
<?= lang('check_spam_folder') ?>
</strong>
</p>
<a href="<?= site_url() ?>" class="btn btn-success btn-large">
<i class="fas fa-calendar-alt"></i>
<?= lang('go_to_booking_page') ?>
</a>
<a href="<?= site_url() ?>" class="btn btn-success btn-large">
<i class="fas fa-calendar-alt"></i>
<?= lang('go_to_booking_page') ?>
</a>
<?php if(config('google_sync_feature')): ?>
<button id="add-to-google-calendar" class="btn btn-primary">
<i class="fas fa-plus"></i>
<?= lang('add_to_google_calendar') ?>
</button>
<?php endif ?>
<?php if (config('google_sync_feature')): ?>
<button id="add-to-google-calendar" class="btn btn-primary">
<i class="fas fa-plus"></i>
<?= lang('add_to_google_calendar') ?>
</button>
<?php endif ?>
<?php if (isset($exceptions)): ?>
<div class="m-2">
<h4><?= lang('unexpected_issues') ?></h4>
<?php if (isset($exceptions)): ?>
<div class="m-2">
<h4><?= lang('unexpected_issues') ?></h4>
<?php foreach($exceptions as $exception): ?>
<?= exceptionToHtml($exception) ?>
<?php endforeach ?>
</div>
<?php endif ?>
</div>
<?php foreach ($exceptions as $exception): ?>
<?= exceptionToHtml($exception) ?>
<?php endforeach ?>
</div>
<?php endif ?>
</div>
<div class="mt-2">
<small>
Powered by
<a href="https://easyappointments.org">Easy!Appointments</a>
</small>
</div>
<div class="mt-2">
<small>
Powered by
<a href="https://easyappointments.org">Easy!Appointments</a>
</small>
</div>
</div>
</div>
</div>
<script src="<?= base_url('assets/ext/jquery/jquery.min.js') ?>"></script>
<script src="<?= base_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
<script src="<?= base_url('assets/ext/datejs/date.min.js') ?>"></script>
<script src="https://apis.google.com/js/client.js"></script>
<script src="<?= base_url('assets/ext/jquery/jquery.min.js') ?>"></script>
<script src="<?= base_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
<script src="<?= base_url('assets/ext/datejs/date.min.js') ?>"></script>
<script src="https://apis.google.com/js/client.js"></script>
<script>
var GlobalVariables = {
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
appointmentData: <?= json_encode($appointment_data) ?>,
providerData: <?= json_encode($provider_data) ?>,
serviceData: <?= json_encode($service_data) ?>,
companyName: <?= json_encode($company_name) ?>,
googleApiKey: <?= json_encode(config('google_api_key')) ?>,
googleClientId: <?= json_encode(config('google_client_id')) ?>,
googleApiScope: 'https://www.googleapis.com/auth/calendar'
};
<script>
var GlobalVariables = {
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
appointmentData: <?= json_encode($appointment_data) ?>,
providerData: <?= json_encode($provider_data) ?>,
serviceData: <?= json_encode($service_data) ?>,
companyName: <?= json_encode($company_name) ?>,
googleApiKey: <?= json_encode(config('google_api_key')) ?>,
googleClientId: <?= json_encode(config('google_client_id')) ?>,
googleApiScope: 'https://www.googleapis.com/auth/calendar'
};
var EALang = <?= json_encode($this->lang->language) ?>;
</script>
var EALang = <?= json_encode($this->lang->language) ?>;
</script>
<script src="<?= asset_url('assets/js/frontend_book_success.js') ?>"></script>
<script src="<?= asset_url('assets/js/polyfill.js') ?>"></script>
<script src="<?= asset_url('assets/js/general_functions.js') ?>"></script>
<script src="<?= asset_url('assets/js/frontend_book_success.js') ?>"></script>
<script src="<?= asset_url('assets/js/polyfill.js') ?>"></script>
<script src="<?= asset_url('assets/js/general_functions.js') ?>"></script>
<?php google_analytics_script() ?>
<?php google_analytics_script() ?>
</body>
</html>

View file

@ -1,6 +1,6 @@
<html lang="en">
<head>
<title>403 Forbidden</title>
<title>403 Forbidden</title>
</head>
<body>

View file

@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#35A768">
<title><?= $message_title ?> | Easy!Appointments</title>
<title><?= $message_title ?> | Easy!Appointments</title>
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/bootstrap/css/bootstrap.min.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/frontend.css') ?>">
@ -26,37 +26,37 @@
</head>
<body>
<div id="main" class="container">
<div class="row wrapper">
<div id="message-frame" class="col-12 border my-auto frame-container">
<div>
<img id="message-icon" src="<?= $message_icon ?>" alt="warning">
</div>
<div id="main" class="container">
<div class="row wrapper">
<div id="message-frame" class="col-12 border my-auto frame-container">
<div>
<img id="message-icon" src="<?= $message_icon ?>" alt="warning">
</div>
<div>
<h3><?= $message_title ?></h3>
<p><?= $message_text ?></p>
<div>
<h3><?= $message_title ?></h3>
<p><?= $message_text ?></p>
<?php if (isset($exceptions) && config('debug')): ?>
<div>
<h4><?= lang('unexpected_issues') ?></h4>
<?php foreach($exceptions as $exception): ?>
<?= exceptionToHtml($exception) ?>
<?php endforeach ?>
</div>
<?php endif ?>
</div>
<?php if (isset($exceptions) && config('debug')): ?>
<div>
<h4><?= lang('unexpected_issues') ?></h4>
<?php foreach ($exceptions as $exception): ?>
<?= exceptionToHtml($exception) ?>
<?php endforeach ?>
</div>
<?php endif ?>
</div>
<div class="mt-2">
<small>
Powered by
<a href="https://easyappointments.org">Easy!Appointments</a>
</small>
</div>
<div class="mt-2">
<small>
Powered by
<a href="https://easyappointments.org">Easy!Appointments</a>
</small>
</div>
</div>
</div>
</div>
<?php google_analytics_script() ?>
<?php google_analytics_script() ?>
</body>
</html>

View file

@ -3,7 +3,8 @@
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title"><?= lang('privacy_policy') ?></h4>
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span></button>
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<p><?= $privacy_policy_content ?></p>

View file

@ -3,7 +3,8 @@
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title"><?= lang('terms_and_conditions') ?></h4>
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span></button>
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<p><?= $terms_and_conditions_content ?></p>

View file

@ -66,43 +66,44 @@
<?php endif ?>
<?php if ($privileges[PRIV_APPOINTMENTS]['add'] == TRUE): ?>
<div class="btn-group">
<button class="btn btn-light" id="insert-appointment">
<i class="fas fa-plus-square mr-2"></i>
<?= lang('appointment') ?>
</button>
<button class="btn btn-light dropdown-toggle" id="insert-dropdown" data-toggle="dropdown">
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#" id="insert-unavailable">
<div class="btn-group">
<button class="btn btn-light" id="insert-appointment">
<i class="fas fa-plus-square mr-2"></i>
<?= lang('unavailable') ?>
</a>
<a class="dropdown-item" href="#" id="insert-working-plan-exception"
<?= $this->session->userdata('role_slug') !== 'admin' ? 'hidden' : '' ?>>
<i class="fas fa-plus-square mr-2"></i>
<?= lang('working_plan_exception') ?>
</a>
<?= lang('appointment') ?>
</button>
<button class="btn btn-light dropdown-toggle" id="insert-dropdown" data-toggle="dropdown">
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#" id="insert-unavailable">
<i class="fas fa-plus-square mr-2"></i>
<?= lang('unavailable') ?>
</a>
<a class="dropdown-item" href="#" id="insert-working-plan-exception"
<?= $this->session->userdata('role_slug') !== 'admin' ? 'hidden' : '' ?>>
<i class="fas fa-plus-square mr-2"></i>
<?= lang('working_plan_exception') ?>
</a>
</div>
</div>
</div>
<?php endif ?>
<button id="reload-appointments" class="btn btn-light" data-tippy-content="<?= lang('reload_appointments_hint') ?>">
<button id="reload-appointments" class="btn btn-light"
data-tippy-content="<?= lang('reload_appointments_hint') ?>">
<i class="fas fa-sync-alt"></i>
</button>
<?php if($calendar_view === 'default'): ?>
<?php if ($calendar_view === 'default'): ?>
<a class="btn btn-light" href="<?= site_url('backend?view=table') ?>"
data-tippy-content="<?= lang('table') ?>">
<i class="fas fa-table"></i>
</a>
<?php endif ?>
<?php if($calendar_view === 'table'): ?>
<?php if ($calendar_view === 'table'): ?>
<a class="btn btn-light" href="<?= site_url('backend?view=default') ?>"
data-tippy-content="<?= lang('default') ?>">
<i class="fas fa-calendar-alt"></i>
@ -325,7 +326,8 @@
<span class="text-danger">*</span>
<?php endif ?>
</label>
<input id="phone-number" class="form-control <?= $require_phone_number === '1' ? 'required' : '' ?>">
<input id="phone-number"
class="form-control <?= $require_phone_number === '1' ? 'required' : '' ?>">
</div>
</div>
<div class="col-12 col-sm-6">

View file

@ -12,7 +12,7 @@
baseUrl: <?= json_encode($base_url) ?>,
customers: <?= json_encode($customers) ?>,
timezones: <?= json_encode($timezones) ?>,
user : {
user: {
id: <?= $user_id ?>,
email: <?= json_encode($user_email) ?>,
timezone: <?= json_encode($timezone) ?>,
@ -21,7 +21,7 @@
}
};
$(function() {
$(function () {
BackendCustomers.initialize(true);
});
</script>
@ -35,11 +35,13 @@
<div class="input-group-addon">
<div>
<button class="filter btn btn-outline-secondary" type="submit" data-tippy-content="<?= lang('filter') ?>">
<button class="filter btn btn-outline-secondary" type="submit"
data-tippy-content="<?= lang('filter') ?>">
<i class="fas fa-search"></i>
</button>
<button class="clear btn btn-outline-secondary" type="button" data-tippy-content="<?= lang('clear') ?>">
<i class="fas fa-redo-alt"></i>
<button class="clear btn btn-outline-secondary" type="button"
data-tippy-content="<?= lang('clear') ?>">
<i class="fas fa-redo-alt"></i>
</button>
</div>
</div>
@ -48,30 +50,30 @@
<h3><?= lang('customers') ?></h3>
<div class="results"></div>
</div>
</div>
<div class="record-details col-12 col-md-7">
<div class="record-details col-12 col-md-7">
<div class="btn-toolbar mb-4">
<div id="add-edit-delete-group" class="btn-group">
<?php if ($privileges[PRIV_CUSTOMERS]['add'] === TRUE): ?>
<button id="add-customer" class="btn btn-primary">
<i class="fas fa-plus-square mr-2"></i>
<?= lang('add') ?>
</button>
<button id="add-customer" class="btn btn-primary">
<i class="fas fa-plus-square mr-2"></i>
<?= lang('add') ?>
</button>
<?php endif ?>
<?php if ($privileges[PRIV_CUSTOMERS]['edit'] === TRUE): ?>
<button id="edit-customer" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-edit mr-2"></i>
<?= lang('edit') ?>
</button>
<button id="edit-customer" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-edit mr-2"></i>
<?= lang('edit') ?>
</button>
<?php endif ?>
<?php if ($privileges[PRIV_CUSTOMERS]['delete'] === TRUE): ?>
<button id="delete-customer" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-trash-alt mr-2"></i>
<?= lang('delete') ?>
</button>
<button id="delete-customer" class="btn btn-outline-secondary" disabled="disabled">
<i class="fas fa-trash-alt mr-2"></i>
<?= lang('delete') ?>
</button>
<?php endif ?>
</div>
@ -179,6 +181,6 @@
<div id="appointment-details" class="card bg-light border-light d-none"></div>
</div>
</div>
</div>
</div>
</div>
</div>

View file

@ -4,7 +4,7 @@
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title><?= isset($page_title) ? $page_title : lang('backend_section') ?> | Easy!Appointments</title>
<title><?= isset($page_title) ? $page_title : lang('backend_section') ?> | Easy!Appointments</title>
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/bootstrap/css/bootstrap.min.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.css') ?>">
@ -14,21 +14,21 @@
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
<script>
<script>
// Global JavaScript Variables - Used in all backend pages.
var availableLanguages = <?= json_encode(config('available_languages')) ?>;
var EALang = <?= json_encode($this->lang->language) ?>;
</script>
</script>
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/popper/popper.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/tippy/tippy-bundle.umd.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/moment/moment.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/moment/moment.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/trumbowyg/trumbowyg.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/select2/select2.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/fontawesome/js/fontawesome.min.js') ?>"></script>
@ -54,7 +54,7 @@
<?php $active = ($active_menu == PRIV_APPOINTMENTS) ? 'active' : '' ?>
<li class="nav-item <?= $active . $hidden ?>">
<a href="<?= site_url('backend') ?>" class="nav-link"
data-tippy-content="<?= lang('manage_appointment_record_hint') ?>">
data-tippy-content="<?= lang('manage_appointment_record_hint') ?>">
<i class="fas fa-calendar-alt mr-2"></i>
<?= lang('calendar') ?>
</a>
@ -64,7 +64,7 @@
<?php $active = ($active_menu == PRIV_CUSTOMERS) ? 'active' : '' ?>
<li class="nav-item <?= $active . $hidden ?>">
<a href="<?= site_url('backend/customers') ?>" class="nav-link"
data-tippy-content="<?= lang('manage_customers_hint') ?>">
data-tippy-content="<?= lang('manage_customers_hint') ?>">
<i class="fas fa-user-friends mr-2"></i>
<?= lang('customers') ?>
</a>
@ -74,28 +74,28 @@
<?php $active = ($active_menu == PRIV_SERVICES) ? 'active' : '' ?>
<li class="nav-item <?= $active . $hidden ?>">
<a href="<?= site_url('backend/services') ?>" class="nav-link"
data-tippy-content="<?= lang('manage_services_hint') ?>">
data-tippy-content="<?= lang('manage_services_hint') ?>">
<i class="fas fa-business-time mr-2"></i>
<?= lang('services') ?>
</a>
</li>
<?php $hidden = ($privileges[PRIV_USERS]['view'] == TRUE) ? '' : 'd-none' ?>
<?php $hidden = ($privileges[PRIV_USERS]['view'] == TRUE) ? '' : 'd-none' ?>
<?php $active = ($active_menu == PRIV_USERS) ? 'active' : '' ?>
<li class="nav-item <?= $active . $hidden ?>">
<a href="<?= site_url('backend/users') ?>" class="nav-link"
data-tippy-content="<?= lang('manage_users_hint') ?>">
data-tippy-content="<?= lang('manage_users_hint') ?>">
<i class="fas fa-users-cog mr-2"></i>
<?= lang('users') ?>
</a>
</li>
<?php $hidden = ($privileges[PRIV_SYSTEM_SETTINGS]['view'] == TRUE
|| $privileges[PRIV_USER_SETTINGS]['view'] == TRUE) ? '' : 'd-none' ?>
|| $privileges[PRIV_USER_SETTINGS]['view'] == TRUE) ? '' : 'd-none' ?>
<?php $active = ($active_menu == PRIV_SYSTEM_SETTINGS) ? 'active' : '' ?>
<li class="nav-item <?= $active . $hidden ?>">
<a href="<?= site_url('backend/settings') ?>" class="nav-link"
data-tippy-content="<?= lang('settings_hint') ?>">
data-tippy-content="<?= lang('settings_hint') ?>">
<i class="fas fa-cogs mr-2"></i>
<?= lang('settings') ?>
</a>
@ -103,7 +103,7 @@
<li class="nav-item">
<a href="<?= site_url('user/logout') ?>" class="nav-link"
data-tippy-content="<?= lang('log_out_hint') ?>">
data-tippy-content="<?= lang('log_out_hint') ?>">
<i class="fas fa-sign-out-alt mr-2"></i>
<?= lang('log_out') ?>
</a>

View file

@ -1,6 +1,6 @@
<html lang="en">
<head>
<title>403 Forbidden</title>
<title>403 Forbidden</title>
</head>
<body>

View file

@ -19,7 +19,7 @@
}
};
$(function() {
$(function () {
BackendServices.initialize(true);
});
</script>
@ -51,10 +51,12 @@
<div class="input-group-addon">
<div>
<button class="filter btn btn-outline-secondary" type="submit" data-tippy-content="<?= lang('filter') ?>">
<button class="filter btn btn-outline-secondary" type="submit"
data-tippy-content="<?= lang('filter') ?>">
<i class="fas fa-search"></i>
</button>
<button class="clear btn btn-outline-secondary" type="button" data-tippy-content="<?= lang('clear') ?>">
<button class="clear btn btn-outline-secondary" type="button"
data-tippy-content="<?= lang('clear') ?>">
<i class="fas fa-redo-alt"></i>
</button>
</div>
@ -192,10 +194,12 @@
<div class="input-group-addon">
<div>
<button class="filter btn btn-outline-secondary" type="submit" data-tippy-content="<?= lang('filter') ?>">
<button class="filter btn btn-outline-secondary" type="submit"
data-tippy-content="<?= lang('filter') ?>">
<i class="fas fa-search"></i>
</button>
<button class="clear btn btn-outline-secondary" type="button" data-tippy-content="<?= lang('clear') ?>">
<button class="clear btn btn-outline-secondary" type="button"
data-tippy-content="<?= lang('clear') ?>">
<i class="fas fa-redo-alt"></i>
</button>
</div>

View file

@ -67,15 +67,17 @@
<input type="text" class="key form-control">
<div class="input-group-addon">
<div>
<button class="filter btn btn-outline-secondary" type="submit" data-tippy-content="<?= lang('filter') ?>">
<i class="fas fa-search"></i>
</button>
<button class="clear btn btn-outline-secondary" type="button" data-tippy-content="<?= lang('clear') ?>">
<i class="fas fa-redo-alt"></i>
</button>
</div>
</div>
<div>
<button class="filter btn btn-outline-secondary" type="submit"
data-tippy-content="<?= lang('filter') ?>">
<i class="fas fa-search"></i>
</button>
<button class="clear btn btn-outline-secondary" type="button"
data-tippy-content="<?= lang('clear') ?>">
<i class="fas fa-redo-alt"></i>
</button>
</div>
</div>
</div>
</form>
@ -303,8 +305,8 @@
<h3><?= lang('breaks') ?></h3>
<p>
<?= lang('add_breaks_during_each_day') ?>
</p>
<?= lang('add_breaks_during_each_day') ?>
</p>
<div>
<button type="button" class="add-break btn btn-primary">
@ -332,8 +334,8 @@
<h3><?= lang('working_plan_exceptions') ?></h3>
<p>
<?= lang('add_working_plan_exceptions_during_each_day') ?>
</p>
<?= lang('add_working_plan_exceptions_during_each_day') ?>
</p>
<div>
<button type="button" class="add-working-plan-exception btn btn-primary mr-2">
@ -374,10 +376,12 @@
<span class="input-group-addon">
<div>
<button class="filter btn btn-outline-secondary" type="submit" data-tippy-content="<?= lang('filter') ?>">
<button class="filter btn btn-outline-secondary" type="submit"
data-tippy-content="<?= lang('filter') ?>">
<i class="fas fa-search"></i>
</button>
<button class="clear btn btn-outline-secondary" type="button" data-tippy-content="<?= lang('clear') ?>">
<button class="clear btn btn-outline-secondary" type="button"
data-tippy-content="<?= lang('clear') ?>">
<i class="fas fa-redo-alt"></i>
</button>
</div>
@ -580,10 +584,12 @@
<span class="input-group-addon">
<div>
<button class="filter btn btn-outline-secondary" type="submit" data-tippy-content="<?= lang('filter') ?>">
<button class="filter btn btn-outline-secondary" type="submit"
data-tippy-content="<?= lang('filter') ?>">
<i class="fas fa-search"></i>
</button>
<button class="clear btn btn-outline-secondary" type="button" data-tippy-content="<?= lang('clear') ?>">
<button class="clear btn btn-outline-secondary" type="button"
data-tippy-content="<?= lang('clear') ?>">
<i class="fas fa-redo-alt"></i>
</button>
</div>

View file

@ -51,7 +51,8 @@
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal"><?= lang('cancel') ?></button>
<button type="button" class="btn btn-primary" id="working-plan-exceptions-save"><?= lang('save') ?></button>
<button type="button" class="btn btn-primary"
id="working-plan-exceptions-save"><?= lang('save') ?></button>
</div>
</div>
</div>

View file

@ -1,3 +1,3 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
echo "\nERROR: ", $heading, "\n\n", $message, "\n\n";

View file

@ -1,3 +1,3 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
echo "\nDatabase error: ", $heading, "\n\n", $message, "\n\n";

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed') ?>
<?php defined('BASEPATH') or exit('No direct script access allowed') ?>
An uncaught Exception was encountered
@ -7,7 +7,7 @@ Message: <?= $message, "\n" ?>
Filename: <?= $exception->getFile(), "\n" ?>
Line Number: <?= $exception->getLine() ?>
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === true): ?>
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
Backtrace:
<?php foreach ($exception->getTrace() as $error): ?>
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>

View file

@ -1,3 +1,3 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed');
<?php defined('BASEPATH') or exit('No direct script access allowed');
echo "\nERROR: ", $heading, "\n\n", $message, "\n\n";

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed') ?>
<?php defined('BASEPATH') or exit('No direct script access allowed') ?>
A PHP Error was encountered
@ -7,7 +7,7 @@ Message: <?= $message, "\n" ?>
Filename: <?= $filepath, "\n" ?>
Line Number: <?= $line ?>
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === true): ?>
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
Backtrace:
<?php foreach (debug_backtrace() as $error): ?>
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>403 Forbidden</title>
<title>403 Forbidden</title>
</head>
<body>

View file

@ -1,62 +1,73 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>404 Page Not Found</title>
<style type="text/css">
<title>404 Page Not Found</title>
<style type="text/css">
::selection{ background-color: #E13300; color: white; }
::moz-selection{ background-color: #E13300; color: white; }
::webkit-selection{ background-color: #E13300; color: white; }
::selection {
background-color: #E13300;
color: white;
}
body {
background-color: #fff;
margin: 40px;
font: 13px/20px normal Helvetica, Arial, sans-serif;
color: #4F5155;
}
::moz-selection {
background-color: #E13300;
color: white;
}
a {
color: #003399;
background-color: transparent;
font-weight: normal;
}
::webkit-selection {
background-color: #E13300;
color: white;
}
h1 {
color: #444;
background-color: transparent;
border-bottom: 1px solid #D0D0D0;
font-size: 19px;
font-weight: normal;
margin: 0 0 14px 0;
padding: 14px 15px 10px 15px;
}
body {
background-color: #fff;
margin: 40px;
font: 13px/20px normal Helvetica, Arial, sans-serif;
color: #4F5155;
}
code {
font-family: Consolas, Monaco, Courier New, Courier, monospace;
font-size: 12px;
background-color: #f9f9f9;
border: 1px solid #D0D0D0;
color: #002166;
display: block;
margin: 14px 0 14px 0;
padding: 12px 10px 12px 10px;
}
a {
color: #003399;
background-color: transparent;
font-weight: normal;
}
#container {
margin: 10px;
border: 1px solid #D0D0D0;
-webkit-box-shadow: 0 0 8px #D0D0D0;
}
h1 {
color: #444;
background-color: transparent;
border-bottom: 1px solid #D0D0D0;
font-size: 19px;
font-weight: normal;
margin: 0 0 14px 0;
padding: 14px 15px 10px 15px;
}
p {
margin: 12px 15px 12px 15px;
}
</style>
code {
font-family: Consolas, Monaco, Courier New, Courier, monospace;
font-size: 12px;
background-color: #f9f9f9;
border: 1px solid #D0D0D0;
color: #002166;
display: block;
margin: 14px 0 14px 0;
padding: 12px 10px 12px 10px;
}
#container {
margin: 10px;
border: 1px solid #D0D0D0;
-webkit-box-shadow: 0 0 8px #D0D0D0;
}
p {
margin: 12px 15px 12px 15px;
}
</style>
</head>
<body>
<div id="container">
<h1><?= $heading ?></h1>
<?= $message ?>
</div>
<div id="container">
<h1><?= $heading ?></h1>
<?= $message ?>
</div>
</body>
</html>

View file

@ -1,62 +1,73 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Database Error</title>
<style type="text/css">
<title>Database Error</title>
<style type="text/css">
::selection{ background-color: #E13300; color: white; }
::moz-selection{ background-color: #E13300; color: white; }
::webkit-selection{ background-color: #E13300; color: white; }
::selection {
background-color: #E13300;
color: white;
}
body {
background-color: #fff;
margin: 40px;
font: 13px/20px normal Helvetica, Arial, sans-serif;
color: #4F5155;
}
::moz-selection {
background-color: #E13300;
color: white;
}
a {
color: #003399;
background-color: transparent;
font-weight: normal;
}
::webkit-selection {
background-color: #E13300;
color: white;
}
h1 {
color: #444;
background-color: transparent;
border-bottom: 1px solid #D0D0D0;
font-size: 19px;
font-weight: normal;
margin: 0 0 14px 0;
padding: 14px 15px 10px 15px;
}
body {
background-color: #fff;
margin: 40px;
font: 13px/20px normal Helvetica, Arial, sans-serif;
color: #4F5155;
}
code {
font-family: Consolas, Monaco, Courier New, Courier, monospace;
font-size: 12px;
background-color: #f9f9f9;
border: 1px solid #D0D0D0;
color: #002166;
display: block;
margin: 14px 0 14px 0;
padding: 12px 10px 12px 10px;
}
a {
color: #003399;
background-color: transparent;
font-weight: normal;
}
#container {
margin: 10px;
border: 1px solid #D0D0D0;
-webkit-box-shadow: 0 0 8px #D0D0D0;
}
h1 {
color: #444;
background-color: transparent;
border-bottom: 1px solid #D0D0D0;
font-size: 19px;
font-weight: normal;
margin: 0 0 14px 0;
padding: 14px 15px 10px 15px;
}
p {
margin: 12px 15px 12px 15px;
}
</style>
code {
font-family: Consolas, Monaco, Courier New, Courier, monospace;
font-size: 12px;
background-color: #f9f9f9;
border: 1px solid #D0D0D0;
color: #002166;
display: block;
margin: 14px 0 14px 0;
padding: 12px 10px 12px 10px;
}
#container {
margin: 10px;
border: 1px solid #D0D0D0;
-webkit-box-shadow: 0 0 8px #D0D0D0;
}
p {
margin: 12px 15px 12px 15px;
}
</style>
</head>
<body>
<div id="container">
<h1><?= $heading ?></h1>
<?= $message ?>
</div>
<div id="container">
<h1><?= $heading ?></h1>
<?= $message ?>
</div>
</body>
</html>

View file

@ -1,4 +1,4 @@
<?php defined('BASEPATH') OR exit('No direct script access allowed') ?>
<?php defined('BASEPATH') or exit('No direct script access allowed') ?>
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
@ -9,7 +9,7 @@
<p>Filename: <?= $exception->getFile() ?></p>
<p>Line Number: <?= $exception->getLine() ?></p>
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === true): ?>
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
<p>Backtrace:</p>

View file

@ -1,62 +1,73 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Error</title>
<style type="text/css">
<title>Error</title>
<style type="text/css">
::selection{ background-color: #E13300; color: white; }
::moz-selection{ background-color: #E13300; color: white; }
::webkit-selection{ background-color: #E13300; color: white; }
::selection {
background-color: #E13300;
color: white;
}
body {
background-color: #fff;
margin: 40px;
font: 13px/20px normal Helvetica, Arial, sans-serif;
color: #4F5155;
}
::moz-selection {
background-color: #E13300;
color: white;
}
a {
color: #003399;
background-color: transparent;
font-weight: normal;
}
::webkit-selection {
background-color: #E13300;
color: white;
}
h1 {
color: #444;
background-color: transparent;
border-bottom: 1px solid #D0D0D0;
font-size: 19px;
font-weight: normal;
margin: 0 0 14px 0;
padding: 14px 15px 10px 15px;
}
body {
background-color: #fff;
margin: 40px;
font: 13px/20px normal Helvetica, Arial, sans-serif;
color: #4F5155;
}
code {
font-family: Consolas, Monaco, Courier New, Courier, monospace;
font-size: 12px;
background-color: #f9f9f9;
border: 1px solid #D0D0D0;
color: #002166;
display: block;
margin: 14px 0 14px 0;
padding: 12px 10px 12px 10px;
}
a {
color: #003399;
background-color: transparent;
font-weight: normal;
}
#container {
margin: 10px;
border: 1px solid #D0D0D0;
-webkit-box-shadow: 0 0 8px #D0D0D0;
}
h1 {
color: #444;
background-color: transparent;
border-bottom: 1px solid #D0D0D0;
font-size: 19px;
font-weight: normal;
margin: 0 0 14px 0;
padding: 14px 15px 10px 15px;
}
p {
margin: 12px 15px 12px 15px;
}
</style>
code {
font-family: Consolas, Monaco, Courier New, Courier, monospace;
font-size: 12px;
background-color: #f9f9f9;
border: 1px solid #D0D0D0;
color: #002166;
display: block;
margin: 14px 0 14px 0;
padding: 12px 10px 12px 10px;
}
#container {
margin: 10px;
border: 1px solid #D0D0D0;
-webkit-box-shadow: 0 0 8px #D0D0D0;
}
p {
margin: 12px 15px 12px 15px;
}
</style>
</head>
<body>
<div id="container">
<h1><?= $heading ?></h1>
<?= $message ?>
</div>
<div id="container">
<h1><?= $heading ?></h1>
<?= $message ?>
</div>
</body>
</html>

View file

@ -1,6 +1,6 @@
<html lang="en">
<head>
<title>403 Forbidden</title>
<title>403 Forbidden</title>
</head>
<body>

View file

@ -1,6 +1,6 @@
<html lang="en">
<head>
<title>403 Forbidden</title>
<title>403 Forbidden</title>
</head>
<body>

View file

@ -6,14 +6,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#35A768">
<title><?= lang('page_not_found') ?> | Easy!Appointments</title>
<title><?= lang('page_not_found') ?> | Easy!Appointments</title>
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/bootstrap/css/bootstrap.min.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/error404.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
<script>
var EALang = <?= json_encode($this->lang->language) ?>;
@ -28,31 +28,31 @@
<script src="<?= asset_url('assets/js/general_functions.js') ?>"></script>
</head>
<body>
<div id="message-frame" class="frame-container">
<h3><?= lang('page_not_found')
. ' - ' . lang('error') . ' 404' ?></h3>
<p>
<?= lang('page_not_found_message') ?>
</p>
<div id="message-frame" class="frame-container">
<h3><?= lang('page_not_found')
. ' - ' . lang('error') . ' 404' ?></h3>
<p>
<?= lang('page_not_found_message') ?>
</p>
<a href="<?= site_url() ?>" class="btn btn-success btn-large">
<i class="fas fa-calendar-alt mr-2"></i>
<?= lang('book_appointment_title') ?>
</a>
<a href="<?= site_url() ?>" class="btn btn-success btn-large">
<i class="fas fa-calendar-alt mr-2"></i>
<?= lang('book_appointment_title') ?>
</a>
<a href="<?= site_url('backend') ?>" class="btn btn-outline-secondary btn-large">
<i class="fas fa-wrench mr-2"></i>
<?= lang('backend_section') ?>
</a>
<a href="<?= site_url('backend') ?>" class="btn btn-outline-secondary btn-large">
<i class="fas fa-wrench mr-2"></i>
<?= lang('backend_section') ?>
</a>
<div class="mt-4">
<small>
Powered by
<a href="https://easyappointments.org">Easy!Appointments</a>
</small>
</div>
<div class="mt-4">
<small>
Powered by
<a href="https://easyappointments.org">Easy!Appointments</a>
</small>
</div>
</div>
<?php google_analytics_script() ?>
<?php google_analytics_script() ?>
</body>
</html>

View file

@ -1,6 +1,6 @@
<html lang="en">
<head>
<title>403 Forbidden</title>
<title>403 Forbidden</title>
</head>
<body>

View file

@ -3,150 +3,151 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Installation | Easy!Appointments</title>
<title>Installation | Easy!Appointments</title>
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/bootstrap/css/bootstrap.min.css') ?>">
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url ('assets/ext/jquery-ui/jquery-ui.min.css')?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/installation.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
</head>
<body>
<div id="loading" class="d-none">
<img src="<?= base_url('assets/img/loading.gif') ?>">
<div id="loading" class="d-none">
<img src="<?= base_url('assets/img/loading.gif') ?>">
</div>
<header>
<div class="container">
<h1 class="page-title">Easy!Appointments Installation</h1>
</div>
</header>
<div class="content container">
<div class="welcome">
<h3>Welcome to the Easy!Appointments installation page.</h3>
<p>
This page will help you set the main settings of your Easy!Appointments installation.
You will be able to edit these settings and many more in the backend session of your
system. Remember to use the <strong class="text-primary"><?= site_url('backend') ?></strong>
url to connect to the backend section of Easy!Appointments.
If you face any problems during the usage of Easy!Appointments you can always check the
<a href="http://easyappointments.org/docs.html">Documentation</a>
and <a href="http://groups.google.com/group/easy-appointments">Support Group</a> for getting help. You
may also submit new issues on
<a href="https://github.com/alextselegidis/easyappointments/issues">GitHub Issues</a>
in order to help our development process.
</p>
</div>
<header>
<div class="container">
<h1 class="page-title">Easy!Appointments Installation</h1>
</div>
</header>
<div class="alert d-none"></div>
<div class="content container">
<div class="welcome">
<h3>Welcome to the Easy!Appointments installation page.</h3>
<p>
This page will help you set the main settings of your Easy!Appointments installation.
You will be able to edit these settings and many more in the backend session of your
system. Remember to use the <strong class="text-primary"><?= site_url('backend') ?></strong>
url to connect to the backend section of Easy!Appointments.
<div class="row">
<div class="admin-settings col-12 col-sm-5">
<h3>Administrator</h3>
If you face any problems during the usage of Easy!Appointments you can always check the
<a href="http://easyappointments.org/docs.html">Documentation</a>
and <a href="http://groups.google.com/group/easy-appointments">Support Group</a> for getting help. You
may also submit new issues on
<a href="https://github.com/alextselegidis/easyappointments/issues">GitHub Issues</a>
in order to help our development process.
</p>
</div>
<div class="form-group">
<label for="first-name" class="control-label">First Name</label>
<input type="text" id="first-name" class="form-control"/>
</div>
<div class="alert d-none"></div>
<div class="row">
<div class="admin-settings col-12 col-sm-5">
<h3>Administrator</h3>
<div class="form-group">
<label for="first-name" class="control-label">First Name</label>
<input type="text" id="first-name" class="form-control" />
</div>
<div class="form-group">
<div class="form-group">
<label for="last-name" class="control-label">Last Name</label>
<input type="text" id="last-name" class="form-control" />
</div>
<div class="form-group">
<label for="email" class="control-label">Email</label>
<input type="text" id="email" class="form-control" />
</div>
<div class="form-group">
<label for="phone-number" class="control-label">Phone Number</label>
<input type="text" id="phone-number" class="form-control" />
</div>
<div class="form-group">
<label for="username" class="control-label">Username</label>
<input type="text" id="username" class="form-control" />
</div>
<div class="form-group">
<label for="password" class="control-label">Password</label>
<input type="password" id="password" class="form-control" />
</div>
<div class="form-group">
<label for="retype-password" class="control-label">Retype Password</label>
<input type="password" id="retype-password" class="form-control" />
</div>
<input type="text" id="last-name" class="form-control"/>
</div>
<div class="company-settings col-12 col-sm-5">
<h3>Company</h3>
<div class="form-group">
<label for="email" class="control-label">Email</label>
<input type="text" id="email" class="form-control"/>
</div>
<div class="form-group">
<label for="company-name" class="control-label">Company Name</label>
<input type="text" id="company-name" class="form-control" />
</div>
<div class="form-group">
<label for="phone-number" class="control-label">Phone Number</label>
<input type="text" id="phone-number" class="form-control"/>
</div>
<div class="form-group">
<label for="company-email" class="control-label">Company Email</label>
<input type="text" id="company-email" class="form-control" />
</div>
<div class="form-group">
<label for="username" class="control-label">Username</label>
<input type="text" id="username" class="form-control"/>
</div>
<div class="form-group">
<label for="company-link" class="control-label">Company Link</label>
<input type="text" id="company-link" class="form-control" />
</div>
<div class="form-group">
<label for="password" class="control-label">Password</label>
<input type="password" id="password" class="form-control"/>
</div>
<div class="form-group">
<label for="retype-password" class="control-label">Retype Password</label>
<input type="password" id="retype-password" class="form-control"/>
</div>
</div>
<br>
<div class="company-settings col-12 col-sm-5">
<h3>Company</h3>
<p>
You will be able to set your business logic in the backend settings page
after the installation is complete.
<br>
Press the following button to complete the installation process.
</p>
<div class="form-group">
<label for="company-name" class="control-label">Company Name</label>
<input type="text" id="company-name" class="form-control"/>
</div>
<br>
<div class="form-group">
<label for="company-email" class="control-label">Company Email</label>
<input type="text" id="company-email" class="form-control"/>
</div>
<p>
<h3>License</h3>
Easy!Appointments is licensed under the <span class="badge badge-default">GPL-3.0 license</span>.
By using the code of Easy!Appointments in any way <br> you agree with the terms described in the
following url:
<a href="https://www.gnu.org/licenses/gpl-3.0.en.html">https://www.gnu.org/licenses/gpl-3.0.en.html</a>
</p>
<br>
<button type="button" id="install" class="btn btn-success btn-large">
<i class="icon-white icon-ok mr-2"></i>
Install Easy!Appointments</button>
<div class="form-group">
<label for="company-link" class="control-label">Company Link</label>
<input type="text" id="company-link" class="form-control"/>
</div>
</div>
</div>
<footer>
Powered by <a href="https://easyappointments.org">Easy!Appointments</a>
</footer>
<br>
<script>
var GlobalVariables = {
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
baseUrl: <?= json_encode(config('base_url')) ?>
};
<p>
You will be able to set your business logic in the backend settings page
after the installation is complete.
<br>
Press the following button to complete the installation process.
</p>
var EALang = <?= json_encode($this->lang->language) ?>;
</script>
<br>
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
<script src="<?= asset_url('assets/js/polyfill.js') ?>"></script>
<script src="<?= asset_url('assets/js/general_functions.js') ?>"></script>
<script src="<?= asset_url('assets/js/installation.js') ?>"></script>
<p>
<h3>License</h3>
Easy!Appointments is licensed under the <span class="badge badge-default">GPL-3.0 license</span>.
By using the code of Easy!Appointments in any way <br> you agree with the terms described in the
following url:
<a href="https://www.gnu.org/licenses/gpl-3.0.en.html">https://www.gnu.org/licenses/gpl-3.0.en.html</a>
</p>
<br>
<button type="button" id="install" class="btn btn-success btn-large">
<i class="icon-white icon-ok mr-2"></i>
Install Easy!Appointments
</button>
</div>
<footer>
Powered by <a href="https://easyappointments.org">Easy!Appointments</a>
</footer>
<script>
var GlobalVariables = {
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
baseUrl: <?= json_encode(config('base_url')) ?>
};
var EALang = <?= json_encode($this->lang->language) ?>;
</script>
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
<script src="<?= asset_url('assets/js/polyfill.js') ?>"></script>
<script src="<?= asset_url('assets/js/general_functions.js') ?>"></script>
<script src="<?= asset_url('assets/js/installation.js') ?>"></script>
</body>
</html>

View file

@ -69,6 +69,6 @@
</footer>
<script src="<?= asset_url('assets/ext/fontawesome/js/fontawesome.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/fontawesome/js/solid.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/fontawesome/js/solid.min.js') ?>"></script>
</body>
</html>

View file

@ -1,6 +1,6 @@
<html lang="en">
<head>
<title>403 Forbidden</title>
<title>403 Forbidden</title>
</head>
<body>

View file

@ -1,6 +1,6 @@
<html lang="en">
<head>
<title>403 Forbidden</title>
<title>403 Forbidden</title>
</head>
<body>

View file

@ -8,15 +8,15 @@
<title><?= lang('forgot_your_password') ?> | Easy!Appointments</title>
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/bootstrap/css/bootstrap.min.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/forgot_password.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/bootstrap/css/bootstrap.min.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/forgot_password.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
<script>
<script>
var GlobalVariables = {
csrfToken: <?= json_encode($this->security->get_csrf_hash()) ?>,
baseUrl: <?= json_encode(config('base_url')) ?>,
@ -25,7 +25,7 @@
};
var EALang = <?= json_encode($this->lang->language) ?>;
</script>
</script>
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
@ -33,43 +33,43 @@
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
</head>
<body>
<div id="forgot-password-frame" class="frame-container">
<h2><?= lang('forgot_your_password') ?></h2>
<p><?= lang('type_username_and_email_for_new_password') ?></p>
<hr>
<div class="alert d-none"></div>
<form>
<div class="form-group">
<label for="username"><?= lang('username') ?></label>
<input type="text" id="username" placeholder="<?= lang('enter_username_here') ?>" class="form-control" />
</div>
<div class="form-group">
<label for="email"><?= lang('email') ?></label>
<input type="text" id="email" placeholder="<?= lang('enter_email_here') ?>" class="form-control" />
</div>
<br>
<button type="submit" id="get-new-password" class="btn btn-primary btn-large">
<i class="fas fa-unlock-alt mr-2"></i>
<?= lang('regenerate_password') ?>
</button>
<a href="<?= site_url('user/login') ?>" class="user-login">
<?= lang('go_to_login') ?></a>
</form>
<div class="mt-4">
<small>
Powered by
<a href="https://easyappointments.org">Easy!Appointments</a>
</small>
<div id="forgot-password-frame" class="frame-container">
<h2><?= lang('forgot_your_password') ?></h2>
<p><?= lang('type_username_and_email_for_new_password') ?></p>
<hr>
<div class="alert d-none"></div>
<form>
<div class="form-group">
<label for="username"><?= lang('username') ?></label>
<input type="text" id="username" placeholder="<?= lang('enter_username_here') ?>" class="form-control"/>
</div>
<div class="form-group">
<label for="email"><?= lang('email') ?></label>
<input type="text" id="email" placeholder="<?= lang('enter_email_here') ?>" class="form-control"/>
</div>
<br>
<button type="submit" id="get-new-password" class="btn btn-primary btn-large">
<i class="fas fa-unlock-alt mr-2"></i>
<?= lang('regenerate_password') ?>
</button>
<a href="<?= site_url('user/login') ?>" class="user-login">
<?= lang('go_to_login') ?></a>
</form>
<div class="mt-4">
<small>
Powered by
<a href="https://easyappointments.org">Easy!Appointments</a>
</small>
</div>
<script src="<?= asset_url('assets/ext/fontawesome/js/fontawesome.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/fontawesome/js/solid.min.js') ?>"></script>
<script src="<?= asset_url('assets/js/polyfill.js') ?>"></script>
<script src="<?= asset_url('assets/js/general_functions.js') ?>"></script>
<script src="<?= asset_url('assets/js/forgot_password.js') ?>"></script>
</div>
<script src="<?= asset_url('assets/ext/fontawesome/js/fontawesome.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/fontawesome/js/solid.min.js') ?>"></script>
<script src="<?= asset_url('assets/js/polyfill.js') ?>"></script>
<script src="<?= asset_url('assets/js/general_functions.js') ?>"></script>
<script src="<?= asset_url('assets/js/forgot_password.js') ?>"></script>
</body>
</html>

View file

@ -1,6 +1,6 @@
<html lang="en">
<head>
<title>403 Forbidden</title>
<title>403 Forbidden</title>
</head>
<body>

View file

@ -9,16 +9,16 @@
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/bootstrap/css/bootstrap.min.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/login.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/login.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/jquery-ui/jquery-ui.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/datejs/date.min.js') ?>"></script>
<script>
var GlobalVariables = {
@ -33,58 +33,58 @@
var availableLanguages = <?= json_encode(config('available_languages')) ?>;
$(function() {
$(function () {
GeneralFunctions.enableLanguageSelection($('#select-language'));
});
</script>
</head>
<body>
<div id="login-frame" class="frame-container">
<h2><?= lang('backend_section') ?></h2>
<p><?= lang('you_need_to_login') ?></p>
<hr>
<div class="alert d-none"></div>
<form id="login-form">
<div class="form-group">
<label for="username"><?= lang('username') ?></label>
<input type="text" id="username"
placeholder="<?= lang('enter_username_here') ?>"
class="form-control" />
</div>
<div class="form-group">
<label for="password"><?= lang('password') ?></label>
<input type="password" id="password"
placeholder="<?= lang('enter_password_here') ?>"
class="form-control" />
</div>
<div id="login-frame" class="frame-container">
<h2><?= lang('backend_section') ?></h2>
<p><?= lang('you_need_to_login') ?></p>
<hr>
<div class="alert d-none"></div>
<form id="login-form">
<div class="form-group">
<label for="username"><?= lang('username') ?></label>
<input type="text" id="username"
placeholder="<?= lang('enter_username_here') ?>"
class="form-control"/>
</div>
<div class="form-group">
<label for="password"><?= lang('password') ?></label>
<input type="password" id="password"
placeholder="<?= lang('enter_password_here') ?>"
class="form-control"/>
</div>
<div class="form-group">
<button type="submit" id="login" class="btn btn-primary">
<i class="fas fa-sign-in-alt mr-2"></i>
<?= lang('login') ?>
</button>
</div>
<div class="form-group">
<button type="submit" id="login" class="btn btn-primary">
<i class="fas fa-sign-in-alt mr-2"></i>
<?= lang('login') ?>
</button>
</div>
<a href="<?= site_url('user/forgot_password') ?>" class="forgot-password">
<?= lang('forgot_your_password') ?></a>
|
<span id="select-language" class="badge badge-success">
<a href="<?= site_url('user/forgot_password') ?>" class="forgot-password">
<?= lang('forgot_your_password') ?></a>
|
<span id="select-language" class="badge badge-success">
<?= ucfirst(config('language')) ?>
</span>
<div class="mt-4">
<small>
Powered by
<a href="https://easyappointments.org">Easy!Appointments</a>
</small>
</div>
</form>
</div>
<div class="mt-4">
<small>
Powered by
<a href="https://easyappointments.org">Easy!Appointments</a>
</small>
</div>
</form>
</div>
<script src="<?= asset_url('assets/ext/fontawesome/js/fontawesome.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/fontawesome/js/solid.min.js') ?>"></script>
<script src="<?= asset_url('assets/js/polyfill.js') ?>"></script>
<script src="<?= asset_url('assets/js/general_functions.js') ?>"></script>
<script src="<?= asset_url('assets/js/login.js') ?>"></script>
<script src="<?= asset_url('assets/ext/fontawesome/js/fontawesome.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/fontawesome/js/solid.min.js') ?>"></script>
<script src="<?= asset_url('assets/js/polyfill.js') ?>"></script>
<script src="<?= asset_url('assets/js/general_functions.js') ?>"></script>
<script src="<?= asset_url('assets/js/login.js') ?>"></script>
</body>
</html>

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#35A768">
@ -9,46 +9,46 @@
<title><?= lang('log_out') ?> | Easy!Appointments</title>
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/ext/bootstrap/css/bootstrap.min.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/logout.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/logout.css') ?>">
<link rel="stylesheet" type="text/css" href="<?= asset_url('assets/css/general.css') ?>">
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
<link rel="icon" type="image/x-icon" href="<?= asset_url('assets/img/favicon.ico') ?>">
<link rel="icon" sizes="192x192" href="<?= asset_url('assets/img/logo.png') ?>">
<script>
<script>
var EALang = <?= json_encode($this->lang->language) ?>;
</script>
</script>
<script src="<?= asset_url('assets/ext/jquery/jquery.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/fontawesome/js/fontawesome.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/fontawesome/js/fontawesome.min.js') ?>"></script>
<script src="<?= asset_url('assets/ext/fontawesome/js/solid.min.js') ?>"></script>
</head>
<body>
<div id="logout-frame" class="frame-container">
<h3><?= lang('log_out') ?></h3>
<p>
<?= lang('logout_success') ?>
</p>
<div id="logout-frame" class="frame-container">
<h3><?= lang('log_out') ?></h3>
<p>
<?= lang('logout_success') ?>
</p>
<br>
<br>
<a href="<?= site_url() ?>" class="btn btn-success btn-large">
<i class="fas fa-calendar-alt mr-2"></i>
<?= lang('book_appointment_title') ?>
</a>
<a href="<?= site_url() ?>" class="btn btn-success btn-large">
<i class="fas fa-calendar-alt mr-2"></i>
<?= lang('book_appointment_title') ?>
</a>
<a href="<?= site_url('backend') ?>" class="btn btn-outline-secondary btn-large">
<i class="fas fa-wrench mr-2"></i>
<?= lang('backend_section') ?>
</a>
<a href="<?= site_url('backend') ?>" class="btn btn-outline-secondary btn-large">
<i class="fas fa-wrench mr-2"></i>
<?= lang('backend_section') ?>
</a>
<div class="mt-4">
<small>
Powered by
<a href="https://easyappointments.org">Easy!Appointments</a>
</small>
</div>
<div class="mt-4">
<small>
Powered by
<a href="https://easyappointments.org">Easy!Appointments</a>
</small>
</div>
</div>
</body>
</html>

View file

@ -19,25 +19,25 @@
<script src="<?= asset_url('assets/ext/bootstrap/js/bootstrap.bundle.min.js') ?>"></script>
</head>
<body>
<div id="no-priv-frame" class="frame-container">
<h3><?= lang('no_privileges') ?></h3>
<p>
<?= lang('no_privileges_message') ?>
</p>
<div id="no-priv-frame" class="frame-container">
<h3><?= lang('no_privileges') ?></h3>
<p>
<?= lang('no_privileges_message') ?>
</p>
<br>
<br>
<a href="<?= site_url('backend') ?>" class="btn btn-success btn-large">
<i class="icon-calendar icon-white mr-2"></i>
<?= lang('backend_calendar') ?>
</a>
<a href="<?= site_url('backend') ?>" class="btn btn-success btn-large">
<i class="icon-calendar icon-white mr-2"></i>
<?= lang('backend_calendar') ?>
</a>
<div class="mt-4">
<small>
Powered by
<a href="https://easyappointments.org">Easy!Appointments</a>
</small>
</div>
<div class="mt-4">
<small>
Powered by
<a href="https://easyappointments.org">Easy!Appointments</a>
</small>
</div>
</div>
</body>
</html>

View file

@ -323,7 +323,7 @@ body legend {
margin-bottom: 10px;
}
#calendar-page #calendar-actions > .btn-group {
#calendar-page #calendar-actions > .btn-group {
width: 100%;
}
@ -331,11 +331,11 @@ body legend {
width: auto;
}
#calendar-page #calendar-actions > .btn-group .btn:not(.dropdown-toggle) {
#calendar-page #calendar-actions > .btn-group .btn:not(.dropdown-toggle) {
text-align: right;
}
#calendar-page #calendar-actions > .btn-group .btn.dropdown-toggle {
#calendar-page #calendar-actions > .btn-group .btn.dropdown-toggle {
text-align: left;
}
@ -498,7 +498,7 @@ body .form-horizontal .controls {
#calendar .select2-container--default.select2-container--focus .select2-selection--multiple {
border-color: #80bdff;
outline: 0;
box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}
#calendar .select2-container--default .select2-selection--multiple .select2-selection__choice {
@ -571,7 +571,7 @@ body .form-horizontal .controls {
margin-bottom: 0;
}
#calendar-page #calendar-actions > .btn-group {
#calendar-page #calendar-actions > .btn-group {
width: auto;
}
@ -579,11 +579,11 @@ body .form-horizontal .controls {
width: auto;
}
#calendar-page #calendar-actions > .btn-group .btn:not(.dropdown-toggle) {
#calendar-page #calendar-actions > .btn-group .btn:not(.dropdown-toggle) {
text-align: center;
}
#calendar-page #calendar-actions > .btn-group .btn.dropdown-toggle {
#calendar-page #calendar-actions > .btn-group .btn.dropdown-toggle {
text-align: center;
}

View file

@ -18,7 +18,7 @@ body {
margin-right: 10px;
}
@media(max-width: 640px) {
@media (max-width: 640px) {
body {
display: block;
}

View file

@ -18,7 +18,7 @@ body {
margin-left: 20px;
}
@media(max-width: 640px) {
@media (max-width: 640px) {
#forgot-password-frame {
width: 100%;
padding: 20px;

View file

@ -192,7 +192,7 @@ body .ui-datepicker .ui-datepicker-buttonpane button {
}
li.language {
cursor: pointer;
cursor: pointer;
}
li.language:hover {
@ -398,7 +398,7 @@ body .popover {
body .popover-body strong {
min-width: 90px;
display:inline-block;
display: inline-block;
}
body .popover-body button {

View file

@ -14,7 +14,7 @@ body {
padding: 70px;
}
@media(max-width: 640px) {
@media (max-width: 640px) {
#login-frame {
width: 100%;
padding: 20px;

View file

@ -18,7 +18,7 @@ body {
margin-right: 10px;
}
@media(max-width: 640px) {
@media (max-width: 640px) {
#logout-frame {
width: 100%;
padding: 20px;

View file

@ -18,7 +18,7 @@ body {
margin-right: 10px;
}
@media(max-width: 640px) {
@media (max-width: 640px) {
#no-priv-frame {
width: 100%;
padding: 20px;

View file

@ -129,7 +129,7 @@ window.Backend = window.Backend || {};
})
.appendTo($notification);
actions.forEach(function(action) {
actions.forEach(function (action) {
$('<button/>', {
'class': 'btn btn-outline-secondary btn-xs',
'text': action.label,

View file

@ -25,7 +25,7 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa
function updateTimezone() {
var providerId = $('#select-provider').val();
var provider = GlobalVariables.availableProviders.find(function(availableProvider) {
var provider = GlobalVariables.availableProviders.find(function (availableProvider) {
return Number(availableProvider.id) === Number(providerId);
});
@ -144,7 +144,7 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa
var serviceId = $dialog.find('#select-service').val();
var service = GlobalVariables.availableServices.find(function(availableService) {
var service = GlobalVariables.availableServices.find(function (availableService) {
return Number(availableService.id) === Number(serviceId);
});
@ -250,7 +250,7 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa
.appendTo($list);
// Verify if this customer is on the old customer list.
var result = GlobalVariables.customers.filter(function(globalVariablesCustomer) {
var result = GlobalVariables.customers.filter(function (globalVariablesCustomer) {
return Number(globalVariablesCustomer.id) === Number(customer.id);
});
@ -264,7 +264,7 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa
// If there is any error on the request, search by the local client database.
$list.empty();
GlobalVariables.customers.forEach(function(customer, index) {
GlobalVariables.customers.forEach(function (customer, index) {
if (customer.first_name.toLowerCase().indexOf(key) !== -1
|| customer.last_name.toLowerCase().indexOf(key) !== -1
|| customer.email.toLowerCase().indexOf(key) !== -1
@ -366,7 +366,7 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa
var serviceId = $dialog.find('#select-service').val();
var canProvideService = provider.services.filter(function(providerServiceId) {
var canProvideService = provider.services.filter(function (providerServiceId) {
return Number(providerServiceId) === Number(serviceId)
}).length > 0;
@ -385,7 +385,7 @@ window.BackendCalendarAppointmentsModal = window.BackendCalendarAppointmentsModa
// Get the selected service duration. It will be needed in order to calculate the appointment end datetime.
var serviceId = $dialog.find('#select-service').val();
var service = GlobalVariables.availableServices.forEach(function(service) {
var service = GlobalVariables.availableServices.forEach(function (service) {
return Number(service.id) === Number(serviceId);
});

View file

@ -1085,7 +1085,7 @@ window.BackendCalendarTableView = window.BackendCalendarTableView || {};
* @param {Event} event
*/
function getEventNotes(event) {
if (!event.data || !event.data.notes) {
if (!event.data || !event.data.notes) {
return '-';
}

Some files were not shown because too many files have changed in this diff Show more