mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-25 07:59:28 +00:00
- Removed not used config files in application/config
- Renamed hlp_message_helper to hlp_return_object_helper - Adapted code to include the renamed helper
This commit is contained in:
@@ -83,8 +83,7 @@ $autoload['drivers'] = array();
|
||||
|
|
||||
| $autoload['helper'] = array('url', 'file');
|
||||
*/
|
||||
//$autoload['helper'] = array();
|
||||
$autoload['helper'] = array('url', 'language', 'hlp_session');
|
||||
$autoload['helper'] = array('url');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
@@ -112,7 +111,7 @@ $autoload['config'] = array();
|
||||
| "codeigniter_lang.php" would be referenced as array('codeigniter');
|
||||
|
|
||||
*/
|
||||
$autoload['language'] = array('fhcomplete');
|
||||
$autoload['language'] = array();
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
|
||||
@@ -70,7 +70,7 @@ $config['url_suffix'] = '';
|
||||
| than english.
|
||||
|
|
||||
*/
|
||||
$config['language'] = 'de-AT';
|
||||
$config['language'] = '';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -2,47 +2,23 @@
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| FH-Complete constants
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| These constants are used for internal messages. It are also be used
|
||||
| and translated in the language files.
|
||||
|
|
||||
*/
|
||||
define('FHC_SUCCESS', 0); // General Success Message
|
||||
define('FHC_ERROR', 1); // General Error Message
|
||||
define('FHC_MODEL_ERROR', 2); // Model Error
|
||||
define('FHC_DB_ERROR', 3); // Database Error
|
||||
define('FHC_NODBTABLE', 4); // No DB-Table is set
|
||||
define('FHC_NORIGHT', 5); // No rights
|
||||
define('FHC_INVALIDID', 6); // Invalid or no ID (key)
|
||||
define('FHC_NOPK', 7); // No primary key
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Exit status codes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Used to indicate the conditions under which the script is exit()ing.
|
||||
| While there is no universal standard for error codes, there are some
|
||||
| broad conventions. Three such conventions are mentioned below, for
|
||||
| those who wish to make use of them. The CodeIgniter defaults were
|
||||
| chosen for the least overlap with these conventions, while still
|
||||
| leaving room for others to be defined in future versions and user
|
||||
| applications.
|
||||
|
|
||||
*/
|
||||
define('EXIT_SUCCESS', 0); // no errors
|
||||
define('EXIT_ERROR', 1); // generic error
|
||||
define('EXIT_MODEL', 2); // model error
|
||||
define('EXIT_CONFIG', 3); // configuration error
|
||||
define('EXIT_UNKNOWN_FILE', 4); // file not found
|
||||
define('EXIT_UNKNOWN_CLASS', 5); // unknown class
|
||||
define('EXIT_UNKNOWN_METHOD', 6); // unknown class member
|
||||
define('EXIT_USER_INPUT', 7); // invalid user input
|
||||
define('EXIT_DATABASE', 8); // database error
|
||||
define('EXIT_SUCCESS', 0); // no errors
|
||||
define('EXIT_ERROR', 1); // generic error
|
||||
define('EXIT_MODEL', 2); // model error
|
||||
define('EXIT_CONFIG', 3); // configuration error
|
||||
define('EXIT_UNKNOWN_FILE', 4); // file not found
|
||||
define('EXIT_UNKNOWN_CLASS', 5); // unknown class
|
||||
define('EXIT_UNKNOWN_METHOD', 6); // unknown class method
|
||||
define('EXIT_USER_INPUT', 7); // invalid user input
|
||||
define('EXIT_DATABASE', 8); // database error
|
||||
define('EXIT_VALIDATION_UDF', 10); // UDF validation has been failed
|
||||
define('EXIT_VALIDATION_UDF_MIN_VALUE', 11); // UDF validation has been failed -> MIN VALUE
|
||||
define('EXIT_VALIDATION_UDF_MAX_VALUE', 12); // UDF validation has been failed -> MAX VALUE
|
||||
@@ -52,8 +28,8 @@ define('EXIT_VALIDATION_UDF_REGEX', 15); // UDF validation has been failed ->
|
||||
define('EXIT_VALIDATION_UDF_REQUIRED', 16); // UDF validation has been failed -> REQUIRED
|
||||
define('EXIT_VALIDATION_UDF_NOT_VALID_VAL', 17); // UDF validation has been failed -> Not valid value, object or array
|
||||
|
||||
define('EXIT_AUTO_MIN', 1000); // lowest automatically-assigned error code
|
||||
define('EXIT_AUTO_MAX', 2000); // highest automatically-assigned error code
|
||||
define('EXIT_AUTO_MIN', 1000); // lowest automatically-assigned error code
|
||||
define('EXIT_AUTO_MAX', 2000); // highest automatically-assigned error code
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -158,18 +134,6 @@ define('PRIORITY_NORMAL', 2);
|
||||
define('PRIORITY_HIGH', 3);
|
||||
define('PRIORITY_URGENT', 4);
|
||||
|
||||
// Status return message codes
|
||||
define('MSG_SUCCESS', 0);
|
||||
define('MSG_ERROR', 1);
|
||||
|
||||
define('MSG_MESSAGE_SENT', 10);
|
||||
define('MSG_STATUS_UPDATE', 11);
|
||||
|
||||
define('MSG_PARTICIPANT_ADDED', 30);
|
||||
define('MSG_ERR_PARTICIPANT_EXISTS', 31);
|
||||
define('MSG_ERR_PARTICIPANT_NONSYSTEM', 32);
|
||||
define('MSG_PARTICIPANT_REMOVED', 33);
|
||||
|
||||
define('MSG_ERR_SUBJECT_EMPTY', 40);
|
||||
define('MSG_ERR_BODY_EMPTY', 41);
|
||||
define('MSG_ERR_TEMPLATE_NOT_FOUND', 42);
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
//For view all the languages go to the folder assets/grocery_crud/languages/
|
||||
$config['grocery_crud_default_language'] = 'english';
|
||||
|
||||
// There are only three choices: "uk-date" (dd/mm/yyyy), "us-date" (mm/dd/yyyy) or "sql-date" (yyyy-mm-dd)
|
||||
$config['grocery_crud_date_format'] = 'uk-date';
|
||||
|
||||
// The default per page when a user firstly see a list page
|
||||
$config['grocery_crud_default_per_page'] = 10;
|
||||
|
||||
$config['grocery_crud_file_upload_allow_file_types'] = 'gif|jpeg|jpg|png|tiff|doc|docx|txt|odt|xls|xlsx|pdf|ppt|pptx|pps|ppsx|mp3|m4a|ogg|wav|mp4|m4v|mov|wmv|flv|avi|mpg|ogv|3gp|3g2';
|
||||
$config['grocery_crud_file_upload_max_file_size'] = '20MB'; //ex. '10MB' (Mega Bytes), '1067KB' (Kilo Bytes), '5000B' (Bytes)
|
||||
|
||||
//You can choose 'ckeditor','tinymce' or 'markitup'
|
||||
$config['grocery_crud_default_text_editor'] = 'ckeditor';
|
||||
//You can choose 'minimal' or 'full'
|
||||
$config['grocery_crud_text_editor_type'] = 'full';
|
||||
|
||||
//The character limiter at the list page, zero(0) value if you don't want character limiter at your list page
|
||||
$config['grocery_crud_character_limiter'] = 30;
|
||||
|
||||
//All the forms are opening with dialog forms without refreshing the page once again.
|
||||
//IMPORTANT: PLease be aware that this functionality is still in BETA phase and it is
|
||||
//not suggested to use this in production mode
|
||||
$config['grocery_crud_dialog_forms'] = false;
|
||||
|
||||
//Having some options at the list paging. This is the default one that all the websites are using.
|
||||
//Make sure that the number of grocery_crud_default_per_page variable is included to this array.
|
||||
$config['grocery_crud_paging_options'] = array('10','25','50','100');
|
||||
|
||||
//Default theme for grocery CRUD
|
||||
$config['grocery_crud_default_theme'] = 'flexigrid';
|
||||
|
||||
//The environment is important so we can have specific configurations for specific environments
|
||||
$config['grocery_crud_environment'] = 'production';
|
||||
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -11,19 +12,7 @@ if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
| and disable it back when you're done.
|
||||
|
|
||||
*/
|
||||
$config['migration_enabled'] = TRUE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Migrations version
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This is used to set migration version that the file system should be on.
|
||||
| If you run $this->migration->current() this is the version that schema will
|
||||
| be upgraded / downgraded to.
|
||||
|
|
||||
*/
|
||||
$config['migration_version'] = '014';
|
||||
$config['migration_enabled'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -41,7 +30,7 @@ $config['migration_version'] = '014';
|
||||
| defaults to 'sequential' for backward compatibility with CI2.
|
||||
|
|
||||
*/
|
||||
$config['migration_type'] = 'sequential';
|
||||
$config['migration_type'] = 'timestamp';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -55,8 +44,7 @@ $config['migration_type'] = 'sequential';
|
||||
| will migrate up. This must be set.
|
||||
|
|
||||
*/
|
||||
//$config['migration_table'] = 'system.ci_migrations'; // A missing feature or a bug cannot use another schema than public. Bug: tableExists only looks in the public schema.
|
||||
$config['migration_table'] = 'ci_migrations';
|
||||
$config['migration_table'] = 'migrations';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
@@ -72,6 +60,18 @@ $config['migration_table'] = 'ci_migrations';
|
||||
*/
|
||||
$config['migration_auto_latest'] = FALSE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Migrations version
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This is used to set migration version that the file system should be on.
|
||||
| If you run $this->migration->current() this is the version that schema will
|
||||
| be upgraded / downgraded to.
|
||||
|
|
||||
*/
|
||||
$config['migration_version'] = 0;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Migrations Path
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
* Pagination Config Bootstrap 3 CSS Style
|
||||
* harviacode.com
|
||||
*/
|
||||
|
||||
$config['query_string_segment'] = 'start';
|
||||
|
||||
$config['full_tag_open'] = '<nav><ul class="pagination" style="margin-top:0px">';
|
||||
$config['full_tag_close'] = '</ul></nav>';
|
||||
|
||||
$config['first_link'] = 'First';
|
||||
$config['first_tag_open'] = '<li>';
|
||||
$config['first_tag_close'] = '</li>';
|
||||
|
||||
$config['last_link'] = 'Last';
|
||||
$config['last_tag_open'] = '<li>';
|
||||
$config['last_tag_close'] = '</li>';
|
||||
|
||||
$config['next_link'] = 'Next';
|
||||
$config['next_tag_open'] = '<li>';
|
||||
$config['next_tag_close'] = '</li>';
|
||||
|
||||
$config['prev_link'] = 'Prev';
|
||||
$config['prev_tag_open'] = '<li>';
|
||||
$config['prev_tag_close'] = '</li>';
|
||||
|
||||
$config['cur_tag_open'] = '<li class="active"><a>';
|
||||
$config['cur_tag_close'] = '</a></li>';
|
||||
|
||||
$config['num_tag_open'] = '<li>';
|
||||
$config['num_tag_close'] = '</li>';
|
||||
|
||||
|
||||
/* End of file pagination.php */
|
||||
/* Location: ./application/config/pagination.php */
|
||||
@@ -516,4 +516,4 @@ $config['rest_ajax_only'] = FALSE;
|
||||
| Language file to load from the language directory
|
||||
|
|
||||
*/
|
||||
$config['rest_language'] = 'en-US';
|
||||
$config['rest_language'] = 'english';
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH'))
|
||||
exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------------
|
||||
| Standard ROLES in FH-Complete and their persmissions
|
||||
| -------------------------------------------------------------------------
|
||||
|
|
||||
*/
|
||||
$config['roles'] = array
|
||||
(
|
||||
array
|
||||
(
|
||||
'rolle_kurzbz' => 'admin',
|
||||
'berechtigung' => array
|
||||
(
|
||||
'admin', 'assistenz', 'basis/addon', 'basis/ampel', 'basis/ampeluebersicht',
|
||||
'basis/benutzer', 'basis/berechtigung', 'basis/betriebsmittel', 'basis/cms',
|
||||
'basis/cms_review', 'basis/cms_sperrfreigabe', 'basis/cronjob', 'basis/dms',
|
||||
'basis/fas', 'basis/ferien', 'basis/fhausweis','basis/firma',
|
||||
'basis/infoscreen', 'basis/moodle', 'basis/moodle','basis/news', 'basis/notiz',
|
||||
'basis/organisationseinheit', 'basis/ort', 'basis/person', 'basis/planner',
|
||||
'basis/service', 'basis/statistik', 'basis/studiengang', 'basis/studiensemester', 'basis/tempus',
|
||||
'basis/testtool', 'basis/variable', 'basis/vilesci', 'buchung/typen',
|
||||
'buchung/mitarbeiter', 'inout/incoming', 'inout/outgoing', 'inout/uebersicht',
|
||||
'lehre', 'lehre/abgabetool', 'lehre/freifach', 'lehre/lehrfach',
|
||||
'lehre/lehrveranstaltung', 'lehre/lvplan', 'lehre/lvinfo',
|
||||
'lehre/pruefungsanmeldungAdmin', 'lehre/pruefungsbeurteilung',
|
||||
'lehre/pruefungsbeurteilungAdmin', 'lehre/pruefungsterminAdmin',
|
||||
'lehre/pruefungsfenster', 'lehre/reihungstest', 'lehre/reservierung',
|
||||
'lehre/studienordnung', 'lehre/studienordnungInaktiv', 'lehre/studienplan',
|
||||
'lehre/vorrueckung', 'lv-plan', 'lv-plan/gruppenentfernen',
|
||||
'lv-plan/lektorentfernen', 'mitarbeiter', 'mitarbeiter/bankdaten',
|
||||
'mitarbeiter/personalnummer', 'mitarbeiter/stammdaten', 'mitarbeiter/urlaube',
|
||||
'mitarbeiter/zeitsperre', 'news', 'planner', 'preinteressent', 'raumres',
|
||||
'reihungstest', 'sdTools', 'soap/lv', 'soap/lvplan', 'soap/mitarbeiter',
|
||||
'soap/ort', 'soap/pruefungsfenster', 'soap/student', 'soap/studienordnung',
|
||||
'soap/benutzer', 'soap/buchungen', 'student/bankdaten', 'student/anrechnung',
|
||||
'student/anwesenheit', 'student/dokumente', 'student/noten', 'system/phrase',
|
||||
'system/vorlage', 'system/vorlagestudiengang', 'student/stammdaten',
|
||||
'student/vorrueckung', 'system/developer', 'system/loginasuser',
|
||||
'user', 'veranstaltung', 'vertrag/mitarbeiter', 'vertrag/typen',
|
||||
'wawi/berichte', 'wawi/bestellung', 'wawi/bestellung_advanced', 'wawi/budget',
|
||||
'wawi/delete_advanced', 'wawi/firma', 'wawi/freigabe',
|
||||
'wawi/freigabe_advanced', 'wawi/inventar', 'wawi/konto', 'wawi/kostenstelle',
|
||||
'wawi/rechnung', 'wawi/rechnung_freigeben', 'wawi/rechnung_transfer',
|
||||
'wawi/storno'
|
||||
)
|
||||
),
|
||||
array
|
||||
(
|
||||
'rolle_kurzbz' => 'infocenter',
|
||||
'berechtigung' => array
|
||||
(
|
||||
'basis/adresse','basis/akte','basis/kontakt','basis/log','basis/nation','basis/notiz','basis/notizzuordnung',
|
||||
'basis/person','basis/prestudent','basis/prestudentstatus','basis/status','basis/zgv','basis/zgvmaster',
|
||||
'lehre/studienplan','system/filters','fs/dms','basis/message','basis/benutzerrolle', 'basis/sprache',
|
||||
'system/personlock','basis/benutzerfunktion','system/vorlagestudiengang', 'basis/bewerbungstermine'
|
||||
)
|
||||
)
|
||||
);
|
||||
@@ -1,64 +0,0 @@
|
||||
<?php
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/*
|
||||
| -------------------------------------------------------------------
|
||||
| SMILEYS
|
||||
| -------------------------------------------------------------------
|
||||
| This file contains an array of smileys for use with the emoticon helper.
|
||||
| Individual images can be used to replace multiple smileys. For example:
|
||||
| :-) and :) use the same image replacement.
|
||||
|
|
||||
| Please see user guide for more info:
|
||||
| http://codeigniter.com/user_guide/helpers/smiley_helper.html
|
||||
|
|
||||
*/
|
||||
$smileys = array(
|
||||
|
||||
// smiley image name width height alt
|
||||
|
||||
':-)' => array('grin.gif', '19', '19', 'grin'),
|
||||
':lol:' => array('lol.gif', '19', '19', 'LOL'),
|
||||
':cheese:' => array('cheese.gif', '19', '19', 'cheese'),
|
||||
':)' => array('smile.gif', '19', '19', 'smile'),
|
||||
';-)' => array('wink.gif', '19', '19', 'wink'),
|
||||
';)' => array('wink.gif', '19', '19', 'wink'),
|
||||
':smirk:' => array('smirk.gif', '19', '19', 'smirk'),
|
||||
':roll:' => array('rolleyes.gif', '19', '19', 'rolleyes'),
|
||||
':-S' => array('confused.gif', '19', '19', 'confused'),
|
||||
':wow:' => array('surprise.gif', '19', '19', 'surprised'),
|
||||
':bug:' => array('bigsurprise.gif', '19', '19', 'big surprise'),
|
||||
':-P' => array('tongue_laugh.gif', '19', '19', 'tongue laugh'),
|
||||
'%-P' => array('tongue_rolleye.gif', '19', '19', 'tongue rolleye'),
|
||||
';-P' => array('tongue_wink.gif', '19', '19', 'tongue wink'),
|
||||
':P' => array('raspberry.gif', '19', '19', 'raspberry'),
|
||||
':blank:' => array('blank.gif', '19', '19', 'blank stare'),
|
||||
':long:' => array('longface.gif', '19', '19', 'long face'),
|
||||
':ohh:' => array('ohh.gif', '19', '19', 'ohh'),
|
||||
':grrr:' => array('grrr.gif', '19', '19', 'grrr'),
|
||||
':gulp:' => array('gulp.gif', '19', '19', 'gulp'),
|
||||
'8-/' => array('ohoh.gif', '19', '19', 'oh oh'),
|
||||
':down:' => array('downer.gif', '19', '19', 'downer'),
|
||||
':red:' => array('embarrassed.gif', '19', '19', 'red face'),
|
||||
':sick:' => array('sick.gif', '19', '19', 'sick'),
|
||||
':shut:' => array('shuteye.gif', '19', '19', 'shut eye'),
|
||||
':-/' => array('hmm.gif', '19', '19', 'hmmm'),
|
||||
'>:(' => array('mad.gif', '19', '19', 'mad'),
|
||||
':mad:' => array('mad.gif', '19', '19', 'mad'),
|
||||
'>:-(' => array('angry.gif', '19', '19', 'angry'),
|
||||
':angry:' => array('angry.gif', '19', '19', 'angry'),
|
||||
':zip:' => array('zip.gif', '19', '19', 'zipper'),
|
||||
':kiss:' => array('kiss.gif', '19', '19', 'kiss'),
|
||||
':ahhh:' => array('shock.gif', '19', '19', 'shock'),
|
||||
':coolsmile:' => array('shade_smile.gif', '19', '19', 'cool smile'),
|
||||
':coolsmirk:' => array('shade_smirk.gif', '19', '19', 'cool smirk'),
|
||||
':coolgrin:' => array('shade_grin.gif', '19', '19', 'cool grin'),
|
||||
':coolhmm:' => array('shade_hmm.gif', '19', '19', 'cool hmm'),
|
||||
':coolmad:' => array('shade_mad.gif', '19', '19', 'cool mad'),
|
||||
':coolcheese:' => array('shade_cheese.gif', '19', '19', 'cool cheese'),
|
||||
':vampire:' => array('vampire.gif', '19', '19', 'vampire'),
|
||||
':snake:' => array('snake.gif', '19', '19', 'snake'),
|
||||
':exclaim:' => array('exclaim.gif', '19', '19', 'exclaim'),
|
||||
':question:' => array('question.gif', '19', '19', 'question')
|
||||
|
||||
);
|
||||
@@ -1,15 +0,0 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Template configuration
|
||||
|--------------------------------------------------------------------------
|
||||
| This file will contain the settings for the template library.
|
||||
|
|
||||
| 'parser' = if you want your main template file to be parsed, set to TRUE
|
||||
| 'template' = the filename of the default template file
|
||||
| 'cache_ttl' = the time all partials should be cache in seconds, 0 means no global caching
|
||||
*/
|
||||
|
||||
$config['parser'] = TRUE;
|
||||
$config['template'] = 'templates/vilesci';
|
||||
$config['cache_ttl'] = 0;
|
||||
@@ -1,591 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH'))
|
||||
exit('No direct script access allowed');
|
||||
|
||||
/**
|
||||
* Database Class
|
||||
*
|
||||
*/
|
||||
|
||||
class DBTools extends Auth_Controller
|
||||
{
|
||||
private $cli = false;
|
||||
/**
|
||||
* Path to seed classes
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $seed_path;
|
||||
|
||||
/**
|
||||
* Seed basename regex
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $seed_regex = '/^\d{3}_(\w+)$/';
|
||||
|
||||
/**
|
||||
* Initialize DB-Tools Class
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
// An empty array as parameter will ensure that this controller is ONLY callable from command line
|
||||
parent::__construct(array());
|
||||
|
||||
$this->seed_path = APPPATH.'seeds/';
|
||||
|
||||
if ($this->input->is_cli_request())
|
||||
{
|
||||
$cli = true;
|
||||
|
||||
$this->load->database('system'); //Use the system-Connection for DB-Manipulation
|
||||
$this->config->load('migration');
|
||||
$this->load->library('migration');
|
||||
|
||||
// If not set, set it
|
||||
$this->seed_path !== '' OR $this->seed_path = APPPATH.'seeds/';
|
||||
// Add trailing slash if not set
|
||||
$this->seed_path = rtrim($this->seed_path, '/').'/';
|
||||
|
||||
// Load seed language
|
||||
$this->lang->load('seed');
|
||||
|
||||
// initiate faker
|
||||
$this->faker = \Faker\Factory::create();
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->output->set_status_header(403, 'Migrations must be run from the CLI');
|
||||
echo "Migrations must be run from the CLI";
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Main function index as help
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$result = "The following are the available command line interface commands\n\n";
|
||||
$result .= "php index.ci.php DBTools migrate [\"version_number\"] Run migrations. (latest/current) ";
|
||||
$result .= "The version number is optional.\n";
|
||||
$result .= "php index.ci.php DBTools seed [\"file_name\"] Run the specified seed (Name of Seed. expl: 'Organisation').\n";
|
||||
|
||||
echo $result.PHP_EOL;
|
||||
}
|
||||
|
||||
/**
|
||||
* Migrate to latest or current version
|
||||
*
|
||||
* @param string $version [optional] One of either "latest" or "current"
|
||||
* @return void
|
||||
*/
|
||||
public function migrate($version = 'latest')
|
||||
{
|
||||
echo 'DB-Migration';
|
||||
if ($version != 'latest' && $version != 'current')
|
||||
{
|
||||
$this->__failed('Migration version must be either latest or current');
|
||||
}
|
||||
elseif ($this->cli && !$this->migration->$version())
|
||||
{
|
||||
show_error($this->migration->error_string());
|
||||
}
|
||||
elseif (!$this->migration->$version())
|
||||
{
|
||||
$this->__failed();
|
||||
}
|
||||
|
||||
$this->__succeeded();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Migrate to a specific version
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function version()
|
||||
{
|
||||
if ($version == 'latest' || $version == 'current')
|
||||
{
|
||||
$this->index($version);
|
||||
exit;
|
||||
}
|
||||
|
||||
if (!$this->migrate->version($version))
|
||||
{
|
||||
$this->__failed();
|
||||
}
|
||||
|
||||
$this->__succeeded();
|
||||
}
|
||||
|
||||
/**
|
||||
* Roll-back to the last version before current
|
||||
*
|
||||
* @param int $version The migration to rollback to, defaults to previous
|
||||
* @return void
|
||||
*/
|
||||
public function rollback($version = null)
|
||||
{
|
||||
if (is_null($version))
|
||||
{
|
||||
$version = $this->__getVersion() ?: 1;
|
||||
$version--;
|
||||
}
|
||||
|
||||
// Check it's definitely false, we could be rolling back to v0
|
||||
if (false === $this->migration->version($version))
|
||||
{
|
||||
$this->__failed();
|
||||
}
|
||||
|
||||
$this->__succeeded('rolled back');
|
||||
}
|
||||
|
||||
/**
|
||||
* ROLLBACK ALL THE THINGS!
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function uninstall()
|
||||
{
|
||||
$this->rollback(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Seeds DB with Testdata
|
||||
*
|
||||
* @param string $name Name of the seed file.
|
||||
* @return bool
|
||||
*/
|
||||
public function seed($name = null)
|
||||
{
|
||||
$seeds = $this->findSeeds();
|
||||
|
||||
if (empty($seeds))
|
||||
{
|
||||
$this->_error_string = $this->lang->line('seed_none_found');
|
||||
return false;
|
||||
}
|
||||
|
||||
$method = 'seed';
|
||||
$pending = array();
|
||||
|
||||
|
||||
foreach ($seeds as $number => $file)
|
||||
{
|
||||
include_once($file);
|
||||
$class = 'Seed_'.ucfirst(strtolower($this->_getSeedName(basename($file, '.php'))));
|
||||
|
||||
// Validate the seed file structure
|
||||
if (! class_exists($class, false))
|
||||
{
|
||||
$this->_error_string = sprintf($this->lang->line('seed_class_doesnt_exist'), $class);
|
||||
return false;
|
||||
}
|
||||
// method_exists() returns true for non-public methods,
|
||||
// while is_callable() can't be used without instantiating.
|
||||
// Only get_class_methods() satisfies both conditions.
|
||||
elseif (! in_array($method, array_map('strtolower', get_class_methods($class))))
|
||||
{
|
||||
$this->_error_string = sprintf($this->lang->line('seed_missing_'.$method.'_method'), $class);
|
||||
return false;
|
||||
}
|
||||
|
||||
$pending[$number] = array($class, $method);
|
||||
}
|
||||
|
||||
// Now just run the necessary seeds
|
||||
foreach ($pending as $number => $seed)
|
||||
{
|
||||
if (is_null($name))
|
||||
{
|
||||
log_message('debug', 'Seeding '.$method);
|
||||
|
||||
$seed[0] = new $seed[0];
|
||||
call_user_func($seed);
|
||||
}
|
||||
elseif ($seed[0] == 'Seed_'.$name)
|
||||
{
|
||||
log_message('debug', 'Seeding '.$method);
|
||||
|
||||
$seed[0] = new $seed[0];
|
||||
call_user_func($seed);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves list of available seed files
|
||||
*
|
||||
* @return array list of seed file paths sorted by version
|
||||
*/
|
||||
public function findSeeds()
|
||||
{
|
||||
$seeds = array();
|
||||
|
||||
// Load all *_*.php files in the seeds path
|
||||
foreach (glob($this->seed_path.'*_*.php') as $file)
|
||||
{
|
||||
$name = basename($file, '.php');
|
||||
|
||||
// Filter out non-seed files
|
||||
if (preg_match($this->seed_regex, $name))
|
||||
{
|
||||
$number = $this->_getSeedNumber($name);
|
||||
|
||||
// There cannot be duplicate seed numbers
|
||||
if (isset($seeds[$number]))
|
||||
{
|
||||
$this->_error_string = sprintf($this->lang->line('seed_multiple_version'), $number);
|
||||
show_error($this->_error_string);
|
||||
}
|
||||
|
||||
$seeds[$number] = $file;
|
||||
}
|
||||
}
|
||||
|
||||
ksort($seeds);
|
||||
return $seeds;
|
||||
}
|
||||
|
||||
/**
|
||||
* Truncate DB from Testdata
|
||||
*
|
||||
* @param string $name Name of the seed file.
|
||||
* @return bool
|
||||
*/
|
||||
public function truncate($name)
|
||||
{
|
||||
$seeds = $this->findSeeds();
|
||||
|
||||
if (empty($name))
|
||||
{
|
||||
$this->_error_string = $this->lang->line('seed_none_found');
|
||||
return false;
|
||||
}
|
||||
|
||||
$method = 'truncate';
|
||||
$pending = array();
|
||||
|
||||
|
||||
foreach ($seeds as $number => $file)
|
||||
{
|
||||
include_once($file);
|
||||
$class = 'Seed_'.ucfirst(strtolower($this->_getSeedName(basename($file, '.php'))));
|
||||
|
||||
// Validate the seed file structure
|
||||
if (! class_exists($class, false))
|
||||
{
|
||||
$this->_error_string = sprintf($this->lang->line('seed_class_doesnt_exist'), $class);
|
||||
return false;
|
||||
}
|
||||
// method_exists() returns true for non-public methods,
|
||||
// while is_callable() can't be used without instantiating.
|
||||
// Only get_class_methods() satisfies both conditions.
|
||||
elseif (! in_array($method, array_map('strtolower', get_class_methods($class))))
|
||||
{
|
||||
$this->_error_string = sprintf($this->lang->line('seed_missing_'.$method.'_method'), $class);
|
||||
return false;
|
||||
}
|
||||
|
||||
$pending[$number] = array($class, $method);
|
||||
}
|
||||
|
||||
// Now just run the necessary seeds
|
||||
foreach ($pending as $number => $seed)
|
||||
{
|
||||
if (is_null($name))
|
||||
{
|
||||
log_message('debug', 'Seeding '.$method);
|
||||
|
||||
$seed[0] = new $seed[0];
|
||||
call_user_func($seed);
|
||||
}
|
||||
elseif ($seed[0] == 'Seed_'.$name)
|
||||
{
|
||||
log_message('debug', 'Seeding '.$method);
|
||||
|
||||
$seed[0] = new $seed[0];
|
||||
call_user_func($seed);
|
||||
}
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Extracts the seed number from a filename
|
||||
*
|
||||
* @param string $seed Filename of the seed.
|
||||
* @return string Numeric portion of a seed filename
|
||||
*/
|
||||
protected function _getSeedNumber($seed)
|
||||
{
|
||||
return sscanf($seed, '%[0-9]+', $number)
|
||||
? $number : '0';
|
||||
}
|
||||
/**
|
||||
* Extracts the seed class name from a filename
|
||||
*
|
||||
* @param string $seed Filename of the seed.
|
||||
* @return string text portion of a migration filename
|
||||
*/
|
||||
protected function _getSeedName($seed)
|
||||
{
|
||||
$parts = explode('_', $seed);
|
||||
array_shift($parts);
|
||||
return implode('_', $parts);
|
||||
}
|
||||
|
||||
/**
|
||||
* Yay, it worked! Tell the user.
|
||||
*
|
||||
* @param string $task What did we just do? We...
|
||||
* @return void
|
||||
*/
|
||||
private function __succeeded($task = 'migrated')
|
||||
{
|
||||
$version = $this->__getVersion();
|
||||
exit('Successfully '.$task.' to version '.$version);
|
||||
}
|
||||
|
||||
/**
|
||||
* Output an error message when it all goes tits up
|
||||
*
|
||||
* @param string $message Error to output (default to CI's migration error)
|
||||
* @return void
|
||||
*/
|
||||
private function __failed($message = null)
|
||||
{
|
||||
$message = $message ?: $this->migration->error_string();
|
||||
show_error($message);
|
||||
}
|
||||
|
||||
/**
|
||||
* Carbon copy of parent::__getVersion, but that's protected.
|
||||
*
|
||||
* @return int Currently installed migration number
|
||||
*/
|
||||
private function __getVersion()
|
||||
{
|
||||
$row = $this->db->get($this->config->item('migration_table'))->row();
|
||||
return $row ? $row->version : 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check DB for different things like permissions or roles
|
||||
*
|
||||
* @param string $action What to check.
|
||||
* @return void
|
||||
*/
|
||||
public function check($action = 'schema')
|
||||
{
|
||||
echo 'DB-Check';
|
||||
switch ($action)
|
||||
{
|
||||
// **** Permission ****
|
||||
// ToDo: Check Persmissions in the bottom of this file
|
||||
case 'permissions':
|
||||
echo ' Permissions!';
|
||||
//$this->config->load('roles');
|
||||
foreach ($this->config->item('fhc_acl') as $b)
|
||||
{
|
||||
$qry = "SELECT * FROM system.tbl_berechtigung
|
||||
WHERE berechtigung_kurzbz='".$b."';";
|
||||
|
||||
if($result = $this->db->query($qry))
|
||||
{
|
||||
if($result->num_rows($result)==0)
|
||||
{
|
||||
// Nicht vorhanden -> anlegen
|
||||
$qry_insert="INSERT INTO system.tbl_berechtigung (berechtigung_kurzbz) VALUES('".$b."');";
|
||||
|
||||
if($this->db->query($qry_insert))
|
||||
{
|
||||
echo '<br>Recht '.$b.' <b>hinzugefügt</b>';
|
||||
$neue=true;
|
||||
}
|
||||
else
|
||||
echo '<br><span class="error">Fehler: Recht '.$b.' hinzufügen nicht möglich</span>';
|
||||
}
|
||||
else
|
||||
echo "- $b -";
|
||||
}
|
||||
}
|
||||
break;
|
||||
// **** Roles ****
|
||||
case 'roles':
|
||||
echo ' Roles!';
|
||||
$this->config->load('roles');
|
||||
foreach ($this->config->item('roles') as $role)
|
||||
{
|
||||
echo "\n\n".'Check role '.$role['rolle_kurzbz'];
|
||||
$qry = "SELECT * FROM system.tbl_rolle
|
||||
WHERE rolle_kurzbz='".$role['rolle_kurzbz']."';";
|
||||
|
||||
if($result = $this->db->query($qry))
|
||||
{
|
||||
if($result->num_rows($result)==0)
|
||||
{
|
||||
// Nicht vorhanden -> anlegen
|
||||
$qry_insert="INSERT INTO system.tbl_rolle(rolle_kurzbz, beschreibung) VALUES ('".$role['rolle_kurzbz']."','".$role['rolle_kurzbz']."');";
|
||||
|
||||
if($this->db->query($qry_insert))
|
||||
{
|
||||
echo "\nRolle ".$role['rolle_kurzbz'].' hinzugefügt';
|
||||
$neue=true;
|
||||
}
|
||||
else
|
||||
{
|
||||
echo "\nFehler: ".$role['rolle_kurzbz'].' Rolle hinzufügen nicht möglich';
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($role['berechtigung'] as $b)
|
||||
{
|
||||
$qry = "SELECT * FROM system.tbl_rolleberechtigung
|
||||
WHERE rolle_kurzbz='".$role['rolle_kurzbz']."'
|
||||
AND berechtigung_kurzbz='".$b."';";
|
||||
|
||||
if($result = $this->db->query($qry))
|
||||
{
|
||||
if($result->num_rows($result)==0)
|
||||
{
|
||||
// Nicht vorhanden -> anlegen
|
||||
$qry_insert="INSERT INTO system.tbl_rolleberechtigung (rolle_kurzbz, berechtigung_kurzbz, art) VALUES ('".$role['rolle_kurzbz']."','".$b."', 'suid');";
|
||||
|
||||
if($this->db->query($qry_insert))
|
||||
{
|
||||
echo "\n".$role['rolle_kurzbz'].' -> '.$b.' hinzugefügt';
|
||||
$neue=true;
|
||||
}
|
||||
else
|
||||
echo "\nFehler: ".$role['rolle_kurzbz'].' -> '.$b.' hinzufügen nicht möglich';
|
||||
}
|
||||
else
|
||||
echo "\n- $b -";
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
// **** Default ****
|
||||
default: echo ' what? roles or permisssions?';
|
||||
exit();
|
||||
}
|
||||
|
||||
exit('Succesfully checked!');
|
||||
}
|
||||
|
||||
/**
|
||||
* Create User in DB
|
||||
*
|
||||
* @param string $action What to check.
|
||||
* @return void
|
||||
*/
|
||||
public function createadminuser($uid, $person_id = 1)
|
||||
{
|
||||
echo 'Create User!';
|
||||
$qry = "SELECT * FROM public.tbl_benutzer
|
||||
WHERE uid='".$uid."';";
|
||||
if ($result = $this->db->query($qry))
|
||||
{
|
||||
if ($result->num_rows($result)==0)
|
||||
{
|
||||
// Nicht vorhanden -> anlegen
|
||||
$qry_insert="INSERT INTO public.tbl_benutzer (uid, person_id) VALUES('".$uid."', ".$person_id.");";
|
||||
if($this->db->query($qry_insert))
|
||||
echo '<br>User '.$uid.' <b>angelegt</b>';
|
||||
else
|
||||
echo '<br><span class="error">Fehler: User '.$uid.' anlegen nicht möglich!</span>';
|
||||
// Join Role Admin
|
||||
$qry_insert="INSERT INTO system.tbl_benutzerrolle (rolle_kurzbz, uid) VALUES('admin','".$uid."');";
|
||||
if($this->db->query($qry_insert))
|
||||
echo '<br>Rolle Admin für User '.$uid.' <b>hinzugefügt</b>';
|
||||
else
|
||||
echo '<br><span class="error">Rolle Admin hinzufügen für User '.$b.' hinzufügen nicht möglich</span>';
|
||||
}
|
||||
}
|
||||
|
||||
exit('Succesfully created User!');
|
||||
}
|
||||
}
|
||||
|
||||
/* Check also this permissions:
|
||||
basis/fhausweis -> Verwaltungstools für FH Ausweis – Kartentausch, Bildpruefung, Druck hinzugefügt
|
||||
buchung/typen -> Verwaltung von Buchungstypen hinzugefügt
|
||||
buchung/mitarbeiter -> Verwaltung von Buchungen fuer Mitarbeiter hinzugefügt
|
||||
inout/incoming -> Incomingverwaltung hinzugefügt
|
||||
inout/outgoing -> Outgoingverwaltung hinzugefügt
|
||||
inout/uebersicht -> Verbandsanzeige fuer Incoming/Outgoing im FAS hinzugefügt
|
||||
lehre/lehrfach:begrenzt -> Lehrfachverwaltung - nur aktiv aenderbar, nur aktive LF werden angezeigt hinzugefügt
|
||||
lehre/pruefungsanmeldungAdmin -> Erlaubt die Verwaltung der Prüfungsanmeldungen. hinzugefügt
|
||||
lehre/pruefungsbeurteilung -> Erlaubt dem Benutzer Beurteilungen zu Prüfungen einzutragen. hinzugefügt
|
||||
lehre/pruefungsbeurteilungAdmin -> Erlaubt dem Benutzer für alle Prüfungen Beurteilungen einzutragen. hinzugefügt
|
||||
lehre/pruefungsterminAdmin -> Recht für jeden Lektor eine Prüfung anzulegen hinzugefügt
|
||||
lehre/pruefungsfenster -> Erlaubt dem Benutzer Prüfungsfenster anzulegen. hinzugefügt
|
||||
lv-plan/gruppenentfernen -> Erlaut das Entfernen von Gruppen aus LVPlan vom FAS aus hinzugefügt
|
||||
lv-plan/lektorentfernen -> Erlaut das Entfernen von Lektoren aus LVPlan vom FAS aus hinzugefügt
|
||||
mitarbeiter/bankdaten -> Bankdaten für Mitarbeiter und Studierende anzeigen hinzugefügt
|
||||
mitarbeiter/personalnummer -> Editieren der Personalnummer im FAS hinzugefügt
|
||||
mitarbeiter/urlaube -> Mit diesem Recht werden im CIS die Urlaube von allen Mitarbeiter sichtbar hinzugefügt
|
||||
planner -> Planner Verwaltung hinzugefügt
|
||||
reihungstest -> Recht für Anzeige des Reihungstests im Vilesci hinzugefügt
|
||||
sdTools -> Recht für Anzeige der SD-Tools im Vilesci hinzugefügt
|
||||
soap/lv -> Recht für LV Webservice hinzugefügt
|
||||
soap/lvplan -> Recht für LV-Plan Webservice hinzugefügt
|
||||
soap/mitarbeiter -> Recht für Mitarbeiter-Webservice hinzugefügt
|
||||
soap/ort -> Recht für Ort Webservice hinzugefügt
|
||||
soap/pruefungsfenster -> Recht für Pruefungsfenster Webservice hinzugefügt
|
||||
soap/student -> Recht für Student Webservice hinzugefügt
|
||||
soap/studienordnung -> Recht für Studienordnung Webservice hinzugefügt
|
||||
soap/benutzer -> Berechtigung für Bentutzerabfrage Addon Kontoimport hinzugefügt
|
||||
soap/buchungen -> Berechtigung für Buchungsabfrage Addon Kontoimport hinzugefügt
|
||||
student/bankdaten -> Bankdaten des Studenten hinzugefügt
|
||||
student/anrechnung -> Anrechnungen des Studenten hinzugefügt
|
||||
student/anwesenheit -> Anwesenheiten im FAS hinzugefügt
|
||||
system/developer -> Anzeige zusätzlicher Developerinfos hinzugefügt
|
||||
system/loginasuser -> Berechtigung zum Einloggen als anderer User hinzugefügt
|
||||
vertrag/mitarbeiter -> Verwalten von Vertraegen hinzugefügt
|
||||
vertrag/typen -> Verwalten von Vertragstypen hinzugefügt
|
||||
wawi/berichte -> Alle Berichte anzeigen hinzugefügt
|
||||
wawi/delete_advanced -> Loeschen von freigegebenen Bestellungen hinzugefügt
|
||||
Webservice Berechtigungen pruefen
|
||||
|
||||
soap/studienordnung/load_lva_oe->lehrveranstaltung hinzugefügt
|
||||
soap/studienordnung/load->lehrveranstaltung hinzugefügt
|
||||
soap/studienordnung/deleteStudienplanLehrveranstaltung->studienplan hinzugefügt
|
||||
soap/studienordnung/containsLehrveranstaltung->studienplan hinzugefügt
|
||||
soap/studienordnung/loadStudienplanLehrveranstaltung->studienplan hinzugefügt
|
||||
soap/studienordnung/saveStudienplanLehrveranstaltung->studienplan hinzugefügt
|
||||
soap/studienordnung/loadStudienordnung->studienordnung hinzugefügt
|
||||
soap/studienordnung/delete->lvregel hinzugefügt
|
||||
soap/studienordnung/save->lvregel hinzugefügt
|
||||
soap/studienordnung/load->lvregel hinzugefügt
|
||||
soap/studienordnung/loadLVRegelTypen->lvregel hinzugefügt
|
||||
soap/studienordnung/load_lva->lehrveranstaltung hinzugefügt
|
||||
soap/studienordnung/getAll->lehrtyp hinzugefügt
|
||||
soap/studienordnung/getAll->organisationseinheit hinzugefügt
|
||||
soap/studienordnung/getLVRegelTree->lvregel hinzugefügt
|
||||
soap/studienordnung/save->studienplan hinzugefügt
|
||||
soap/studienordnung/save->studienordnung hinzugefügt
|
||||
soap/studienordnung/loadStudienplanSTO->studienplan hinzugefügt
|
||||
soap/studienordnung/loadStudienordnungSTG->studienordnung hinzugefügt
|
||||
soap/studienordnung/loadStudienordnungSTGInaktiv->studienordnung hinzugefügt
|
||||
soap/studienordnung/loadStudienplan->studienplan hinzugefügt
|
||||
soap/studienordnung/saveSemesterZuordnung->studienordnung hinzugefügt
|
||||
soap/studienordnung/deleteSemesterZuordnung->studienordnung hinzugefügt
|
||||
soap/studienordnung/getLVkompatibel->lehrveranstaltung hinzugefügt
|
||||
soap/studienordnung/getLvTree->lehrveranstaltung hinzugefügt
|
||||
soap/pruefungsfenster/getByStudiensemester->pruefungsfenster hinzugefügt
|
||||
soap/studienordnung/exists->lvregel hinzugefügt
|
||||
soap/studienordnung/saveSortierung->studienplan hinzugefügt
|
||||
soap/benutzer/search->benutzer hinzugefügt
|
||||
soap/buchungen/getBuchungen-> */
|
||||
@@ -13,7 +13,7 @@ class CheckUserAuth extends REST_Controller
|
||||
|
||||
// Loads helper message to manage returning messages
|
||||
// NOTE: loaded here because it does not extend the APIv1_Controller
|
||||
$this->load->helper('hlp_message');
|
||||
$this->load->helper('hlp_return_object');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
require_once APPPATH.'/libraries/REST_Controller.php';
|
||||
|
||||
/**
|
||||
* Testing class for REST calls and authentication
|
||||
*/
|
||||
@@ -14,7 +12,7 @@ class Test extends REST_Controller
|
||||
parent::__construct();
|
||||
|
||||
// Loads helper message to manage returning messages
|
||||
$this->load->helper('hlp_message');
|
||||
$this->load->helper('hlp_return_object');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,17 +23,17 @@ class Nation extends APIv1_Controller
|
||||
{
|
||||
parent::__construct(array('Nation' => 'basis/nation:r', 'All' => 'basis/nation:r'));
|
||||
// Load model NationModel
|
||||
$this->load->model('codex/nation_model', 'NationModel');
|
||||
$this->load->model('codex/Nation_model', 'NationModel');
|
||||
}
|
||||
|
||||
|
||||
public function getNation()
|
||||
{
|
||||
$nation_code = $this->get("nation_code");
|
||||
|
||||
|
||||
if (isset($nation_code))
|
||||
{
|
||||
$result = $this->NationModel->loadWhere(array('nation_code' => $nation_code));
|
||||
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
else
|
||||
@@ -41,7 +41,7 @@ class Nation extends APIv1_Controller
|
||||
$this->response();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function getAll()
|
||||
{
|
||||
if (!$this->get('orderEnglish'))
|
||||
@@ -52,7 +52,7 @@ class Nation extends APIv1_Controller
|
||||
{
|
||||
$result = $this->NationModel->addOrder('engltext');
|
||||
}
|
||||
|
||||
|
||||
if (isSuccess($result))
|
||||
{
|
||||
if ($this->get('ohnesperre'))
|
||||
@@ -64,7 +64,7 @@ class Nation extends APIv1_Controller
|
||||
$result = $this->NationModel->load();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$this->response($result, REST_Controller::HTTP_OK);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ class Zgv extends APIv1_Controller
|
||||
{
|
||||
parent::__construct(array('Zgv' => 'basis/zgv:rw'));
|
||||
// Load model ZgvModel
|
||||
$this->load->model('codex/zgv_model', 'ZgvModel');
|
||||
$this->load->model('codex/Zgv_model', 'ZgvModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -30,7 +30,7 @@ class Bewerbungstermine extends APIv1_Controller
|
||||
)
|
||||
);
|
||||
// Load model BewerbungstermineModel
|
||||
$this->load->model('crm/bewerbungstermine_model', 'BewerbungstermineModel');
|
||||
$this->load->model('crm/Bewerbungstermine_model', 'BewerbungstermineModel');
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -29,7 +29,7 @@ class Dokumentprestudent extends APIv1_Controller
|
||||
)
|
||||
);
|
||||
// Load model DokumentprestudentModel
|
||||
$this->load->model('crm/dokumentprestudent_model', 'DokumentprestudentModel');
|
||||
$this->load->model('crm/Dokumentprestudent_model', 'DokumentprestudentModel');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -23,7 +23,7 @@ class Notizzuordnung extends APIv1_Controller
|
||||
{
|
||||
parent::__construct(array('Notizzuordnung' => 'basis/notizzuordnung:rw'));
|
||||
// Load model NotizzuordnungModel
|
||||
$this->load->model('person/notizzuordnung_model', 'NotizzuordnungModel');
|
||||
$this->load->model('person/Notizzuordnung_model', 'NotizzuordnungModel');
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -1,74 +0,0 @@
|
||||
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Basic extends CI_Controller
|
||||
{
|
||||
/**
|
||||
* Loading the rdf-Library and Form- and Url-Helper
|
||||
* @return void
|
||||
*/
|
||||
private function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
$this->load->library(array('rdf'));
|
||||
$this->load->helper('form');
|
||||
}
|
||||
|
||||
/**
|
||||
* Load Basic View
|
||||
* @return void
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$this->load->library('Rdf');
|
||||
$d['title'] = '';
|
||||
$d['content'] = $this->load->view('rdf/basic', $d, true);
|
||||
$this->load->view('home', $d);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load Sparql-View
|
||||
* @return void
|
||||
*/
|
||||
public function sparql()
|
||||
{
|
||||
$this->load->library('Rdf');
|
||||
$d['title'] = '';
|
||||
$d['content'] = $this->load->view('rdf/basic_sparql', $d, true);
|
||||
$this->load->view('home', $d);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load foaf-View
|
||||
* @return void
|
||||
*/
|
||||
public function foafinfo()
|
||||
{
|
||||
$this->load->library('Rdf');
|
||||
$d['title'] = '';
|
||||
$d['content'] = $this->load->view('rdf/foafinfo', $d, true);
|
||||
$this->load->view('home', $d);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load foafmaker View
|
||||
* @return void
|
||||
*/
|
||||
public function foafmaker()
|
||||
{
|
||||
$d['title'] = '';
|
||||
$d['content'] = $this->load->view('rdf/foafmaker', $d, true);
|
||||
$this->load->view('home', $d);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load converter View
|
||||
* @return void
|
||||
*/
|
||||
public function converter()
|
||||
{
|
||||
$d['title'] = '';
|
||||
$d['content'] = $this->load->view('rdf/converter', $d, true);
|
||||
$this->load->view('home', $d);
|
||||
}
|
||||
}
|
||||
@@ -102,15 +102,15 @@ class InfoCenter extends Auth_Controller
|
||||
);
|
||||
|
||||
// Loads models
|
||||
$this->load->model('crm/akte_model', 'AkteModel');
|
||||
$this->load->model('crm/prestudent_model', 'PrestudentModel');
|
||||
$this->load->model('crm/prestudentstatus_model', 'PrestudentstatusModel');
|
||||
$this->load->model('crm/statusgrund_model', 'StatusgrundModel');
|
||||
$this->load->model('person/notiz_model', 'NotizModel');
|
||||
$this->load->model('person/person_model', 'PersonModel');
|
||||
$this->load->model('system/message_model', 'MessageModel');
|
||||
$this->load->model('system/filters_model', 'FiltersModel');
|
||||
$this->load->model('system/personLock_model', 'PersonLockModel');
|
||||
$this->load->model('crm/Akte_model', 'AkteModel');
|
||||
$this->load->model('crm/Prestudent_model', 'PrestudentModel');
|
||||
$this->load->model('crm/Prestudentstatus_model', 'PrestudentstatusModel');
|
||||
$this->load->model('crm/Statusgrund_model', 'StatusgrundModel');
|
||||
$this->load->model('person/Notiz_model', 'NotizModel');
|
||||
$this->load->model('person/Person_model', 'PersonModel');
|
||||
$this->load->model('system/Message_model', 'MessageModel');
|
||||
$this->load->model('system/Filters_model', 'FiltersModel');
|
||||
$this->load->model('system/PersonLock_model', 'PersonLockModel');
|
||||
|
||||
// Loads libraries
|
||||
$this->load->library('PersonLogLib');
|
||||
@@ -522,7 +522,7 @@ class InfoCenter extends Auth_Controller
|
||||
|
||||
if (isSuccess($result))
|
||||
{
|
||||
$this->load->model('crm/dokumentprestudent_model', 'DokumentprestudentModel');
|
||||
$this->load->model('crm/Dokumentprestudent_model', 'DokumentprestudentModel');
|
||||
|
||||
//set documents which have been formal geprüft to accepted
|
||||
$dokument_kurzbzs = array();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
class DB_Model extends FHC_Model
|
||||
class DB_Model extends CI_Model
|
||||
{
|
||||
// Default schema used by the models
|
||||
const DEFAULT_SCHEMA = 'public';
|
||||
@@ -64,7 +64,7 @@ class DB_Model extends FHC_Model
|
||||
public function insert($data)
|
||||
{
|
||||
// Check class properties
|
||||
if (is_null($this->dbTable)) return error(FHC_MODEL_ERROR, FHC_NODBTABLE);
|
||||
if (is_null($this->dbTable)) return error('The given database table name is not valid', EXIT_MODEL);
|
||||
|
||||
// If this table has UDF and the validation of them is ok
|
||||
if (isError($validate = $this->_manageUDFs($data, $this->dbTable))) return $validate;
|
||||
@@ -100,7 +100,7 @@ class DB_Model extends FHC_Model
|
||||
}
|
||||
else
|
||||
{
|
||||
return error($this->db->error(), FHC_DB_ERROR);
|
||||
return error($this->db->error(), EXIT_DATABASE);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -114,8 +114,8 @@ class DB_Model extends FHC_Model
|
||||
public function update($id, $data)
|
||||
{
|
||||
// Check class properties
|
||||
if (is_null($this->pk)) return error(FHC_MODEL_ERROR, FHC_NOPK);
|
||||
if (is_null($this->dbTable)) return error(FHC_MODEL_ERROR, FHC_NODBTABLE);
|
||||
if (is_null($this->pk)) return error('The given primary key is not valid', EXIT_MODEL);
|
||||
if (is_null($this->dbTable)) return error('The given database table name is not valid', EXIT_MODEL);
|
||||
|
||||
// If this table has UDF and the validation of them is ok
|
||||
if (isError($validate = $this->_manageUDFs($data, $this->dbTable, $id))) return $validate;
|
||||
@@ -148,7 +148,7 @@ class DB_Model extends FHC_Model
|
||||
}
|
||||
else
|
||||
{
|
||||
return error($this->db->error(), FHC_DB_ERROR);
|
||||
return error($this->db->error(), EXIT_DATABASE);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -161,8 +161,8 @@ class DB_Model extends FHC_Model
|
||||
public function delete($id)
|
||||
{
|
||||
// Check class properties
|
||||
if (is_null($this->dbTable)) return error(FHC_MODEL_ERROR, FHC_NODBTABLE);
|
||||
if (is_null($this->pk)) return error(FHC_MODEL_ERROR, FHC_NOPK);
|
||||
if (is_null($this->pk)) return error('The given primary key is not valid', EXIT_MODEL);
|
||||
if (is_null($this->dbTable)) return error('The given database table name is not valid', EXIT_MODEL);
|
||||
|
||||
$tmpId = $id;
|
||||
|
||||
@@ -190,7 +190,7 @@ class DB_Model extends FHC_Model
|
||||
}
|
||||
else
|
||||
{
|
||||
return error($this->db->error(), FHC_DB_ERROR);
|
||||
return error($this->db->error(), EXIT_DATABASE);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -203,8 +203,8 @@ class DB_Model extends FHC_Model
|
||||
public function load($id = null)
|
||||
{
|
||||
// Check class properties
|
||||
if (is_null($this->pk)) return error(FHC_MODEL_ERROR, FHC_NOPK);
|
||||
if (is_null($this->dbTable)) return error(FHC_MODEL_ERROR, FHC_NODBTABLE);
|
||||
if (is_null($this->pk)) return error('The given primary key is not valid', EXIT_MODEL);
|
||||
if (is_null($this->dbTable)) return error('The given database table name is not valid', EXIT_MODEL);
|
||||
|
||||
$tmpId = $id;
|
||||
|
||||
@@ -232,7 +232,7 @@ class DB_Model extends FHC_Model
|
||||
public function loadWhere($where = null)
|
||||
{
|
||||
// Check class properties
|
||||
if (is_null($this->dbTable)) return error(FHC_MODEL_ERROR, FHC_NODBTABLE);
|
||||
if (is_null($this->dbTable)) return error('The given database table name is not valid', EXIT_MODEL);
|
||||
|
||||
// Execute query
|
||||
$result = $this->db->get_where($this->dbTable, $where);
|
||||
@@ -245,7 +245,7 @@ class DB_Model extends FHC_Model
|
||||
}
|
||||
else
|
||||
{
|
||||
return error($this->db->error(), FHC_DB_ERROR);
|
||||
return error($this->db->error(), EXIT_DATABASE);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -264,7 +264,7 @@ class DB_Model extends FHC_Model
|
||||
public function loadTree($mainTable, $sideTables, $where = null, $sideTablesAliases = null)
|
||||
{
|
||||
// Check class properties
|
||||
if (is_null($this->dbTable)) return error(FHC_MODEL_ERROR, FHC_NODBTABLE);
|
||||
if (is_null($this->dbTable)) return error('The given database table name is not valid', EXIT_MODEL);
|
||||
|
||||
// List of tables on which it will work
|
||||
$tables = array_merge(array($mainTable), $sideTables);
|
||||
@@ -405,12 +405,12 @@ class DB_Model extends FHC_Model
|
||||
|| is_null($cond)
|
||||
|| !in_array($type, array('', 'LEFT', 'RIGHT', 'OUTER', 'INNER', 'LEFT OUTER', 'RIGHT OUTER')))
|
||||
{
|
||||
return error(FHC_MODEL_ERROR, FHC_MODEL_ERROR);
|
||||
return error('The joining operation type is not valid', EXIT_MODEL);
|
||||
}
|
||||
|
||||
$this->db->join($joinTable, $cond, $type);
|
||||
|
||||
return success(true);
|
||||
return success();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -420,12 +420,13 @@ class DB_Model extends FHC_Model
|
||||
*/
|
||||
public function addOrder($field = null, $type = 'ASC')
|
||||
{
|
||||
// Check class properties and parameters
|
||||
if (is_null($field) || !in_array($type, array('ASC', 'DESC'))) return error(FHC_MODEL_ERROR, FHC_MODEL_ERROR);
|
||||
// Check parameters
|
||||
if (is_null($field)) return error('The field parameter is not valid', EXIT_MODEL);
|
||||
if (!in_array($type, array('ASC', 'DESC'))) return error('The order type is not valid', EXIT_MODEL);
|
||||
|
||||
$this->db->order_by($field, $type);
|
||||
|
||||
return success(true);
|
||||
return success();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -435,12 +436,12 @@ class DB_Model extends FHC_Model
|
||||
*/
|
||||
public function addSelect($select, $escape = true)
|
||||
{
|
||||
// Check class properties and parameters
|
||||
if (is_null($select) || $select == '') return error(FHC_MODEL_ERROR, FHC_MODEL_ERROR);
|
||||
// Check parameters
|
||||
if (is_null($select) || $select == '') return error('The select parameter is not valid', EXIT_MODEL);
|
||||
|
||||
$this->db->select($select, $escape);
|
||||
|
||||
return success(true);
|
||||
return success();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -461,7 +462,8 @@ class DB_Model extends FHC_Model
|
||||
public function addLimit($start = null, $end = null)
|
||||
{
|
||||
// Check class properties and parameters
|
||||
if (!is_numeric($start) || (is_numeric($start) && $start <= 0)) return error(FHC_MODEL_ERROR, FHC_MODEL_ERROR);
|
||||
if (!is_numeric($start) || (is_numeric($start) && $start <= 0))
|
||||
return error('The start parameter is not valid', EXIT_MODEL);
|
||||
|
||||
if (is_numeric($end) && $end > $start)
|
||||
{
|
||||
@@ -472,7 +474,7 @@ class DB_Model extends FHC_Model
|
||||
$this->db->limit($start);
|
||||
}
|
||||
|
||||
return success(true);
|
||||
return success();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -485,7 +487,7 @@ class DB_Model extends FHC_Model
|
||||
$tmpTable = trim($table);
|
||||
|
||||
// Check parameters
|
||||
if (isEmptyString($tmpTable)) return error(FHC_MODEL_ERROR, FHC_MODEL_ERROR);
|
||||
if (isEmptyString($tmpTable)) return error('The table parameter is not valid', EXIT_MODEL);
|
||||
|
||||
if (!isEmptyString($alias))
|
||||
{
|
||||
@@ -494,7 +496,7 @@ class DB_Model extends FHC_Model
|
||||
|
||||
$this->db->from($tmpTable);
|
||||
|
||||
return success(true);
|
||||
return success();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -509,12 +511,12 @@ class DB_Model extends FHC_Model
|
||||
|| (is_array($fields) && count($fields) == 0)
|
||||
|| (is_string($fields) && $fields == ''))
|
||||
{
|
||||
return error(FHC_MODEL_ERROR, FHC_MODEL_ERROR);
|
||||
return error('The fields parameter is not valid', EXIT_MODEL);
|
||||
}
|
||||
|
||||
$this->db->group_by($fields);
|
||||
|
||||
return success(true);
|
||||
return success();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -772,7 +774,7 @@ class DB_Model extends FHC_Model
|
||||
}
|
||||
else
|
||||
{
|
||||
$result = error($this->db->error(), FHC_DB_ERROR);
|
||||
$result = error($this->db->error(), EXIT_DATABASE);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -827,7 +829,7 @@ class DB_Model extends FHC_Model
|
||||
*/
|
||||
private function _manageUDFs(&$data, $schemaAndTable, $id = null)
|
||||
{
|
||||
$manageUDFs = success(true);
|
||||
$manageUDFs = success();
|
||||
|
||||
if ($this->hasUDF())
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@ class FHC_Controller extends CI_Controller
|
||||
$this->_controllerId = null; // set _controllerId as null by default
|
||||
|
||||
// Loads helper message to manage returning messages
|
||||
$this->load->helper('hlp_message');
|
||||
$this->load->helper('hlp_return_object');
|
||||
|
||||
// Loads helper with generic utility function
|
||||
$this->load->helper('hlp_common');
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class FHC_Model extends CI_Model
|
||||
{
|
||||
/**
|
||||
* Standard constructor for all the models
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
|
||||
// Load languages files
|
||||
$this->lang->load('fhc_model');
|
||||
$this->lang->load('fhcomplete');
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
class FS_Model extends FHC_Model
|
||||
class FS_Model extends CI_Model
|
||||
{
|
||||
protected $filepath; // Path of the file
|
||||
|
||||
@@ -17,7 +17,7 @@ class FS_Model extends FHC_Model
|
||||
$this->filepath = $filepath;
|
||||
}
|
||||
|
||||
/** ---------------------------------------------------------------
|
||||
/**
|
||||
* Read data from file system
|
||||
*
|
||||
* @return array
|
||||
@@ -25,10 +25,10 @@ class FS_Model extends FHC_Model
|
||||
public function read($filename)
|
||||
{
|
||||
// Check Class-Attributes
|
||||
if (is_null($this->filepath)) return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
if (is_null($this->filepath)) return error('The given filepath in not valid', EXIT_ERROR);
|
||||
|
||||
// Check method parameters
|
||||
if (is_null($filename)) return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
if (is_null($filename)) return error('The given filename is not valid', EXIT_ERROR);
|
||||
|
||||
if (!is_null($data = $this->filesystemlib->read($this->filepath, $filename)))
|
||||
{
|
||||
@@ -36,11 +36,11 @@ class FS_Model extends FHC_Model
|
||||
}
|
||||
else
|
||||
{
|
||||
return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
return error('An error occurred while reading a file', EXIT_ERROR);
|
||||
}
|
||||
}
|
||||
|
||||
/** ---------------------------------------------------------------
|
||||
/**
|
||||
* Writing data to file system
|
||||
*
|
||||
* @param string $fileContent File content
|
||||
@@ -49,23 +49,23 @@ class FS_Model extends FHC_Model
|
||||
public function write($filename, $content)
|
||||
{
|
||||
// Check Class-Attributes
|
||||
if (is_null($this->filepath)) return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
if (is_null($this->filepath)) return error('The given filepath in not valid', EXIT_ERROR);
|
||||
|
||||
// Check method parameters
|
||||
if (is_null($filename)) return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
if (is_null($content)) return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
if (is_null($content)) return error('The given file content is not valid', EXIT_ERROR);
|
||||
if (is_null($filename)) return error('The given filename is not valid', EXIT_ERROR);
|
||||
|
||||
if ($this->filesystemlib->write($this->filepath, $filename, base64_decode($content)) === true)
|
||||
{
|
||||
return success(FHC_SUCCESS);
|
||||
return success();
|
||||
}
|
||||
else
|
||||
{
|
||||
return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
return error('An error occurred while writing a file', EXIT_ERROR);
|
||||
}
|
||||
}
|
||||
|
||||
/** ---------------------------------------------------------------
|
||||
/**
|
||||
* Append data to a file
|
||||
*
|
||||
* @param array $data File content
|
||||
@@ -74,23 +74,23 @@ class FS_Model extends FHC_Model
|
||||
public function append($filename, $content)
|
||||
{
|
||||
// Check Class-Attributes
|
||||
if (is_null($this->filepath)) return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
if (is_null($this->filepath)) return error('The given filepath in not valid', EXIT_ERROR);
|
||||
|
||||
// Check method parameters
|
||||
if (is_null($content)) return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
if (is_null($filename)) return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
if (is_null($content)) return error('The given file content is not valid', EXIT_ERROR);
|
||||
if (is_null($filename)) return error('The given filename is not valid', EXIT_ERROR);
|
||||
|
||||
if ($this->filesystemlib->append($this->filepath, $filename, base64_decode($content)) === true)
|
||||
{
|
||||
return success(FHC_SUCCESS);
|
||||
return success();
|
||||
}
|
||||
else
|
||||
{
|
||||
return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
return error('An error occurred while appending to a file', EXIT_ERROR);
|
||||
}
|
||||
}
|
||||
|
||||
/** ---------------------------------------------------------------
|
||||
/**
|
||||
* Delete data from file system
|
||||
*
|
||||
* @param string $id Primary Key for DELETE
|
||||
@@ -99,22 +99,22 @@ class FS_Model extends FHC_Model
|
||||
public function remove($filename)
|
||||
{
|
||||
// Check Class-Attributes
|
||||
if (is_null($this->filepath)) return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
if (is_null($this->filepath)) return error('The given filepath in not valid', EXIT_ERROR);
|
||||
|
||||
// Check method parameters
|
||||
if (is_null($filename)) return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
if (is_null($filename)) return error('The given filename is not valid', EXIT_ERROR);
|
||||
|
||||
if ($this->filesystemlib->remove($this->filepath, $filename) === true)
|
||||
{
|
||||
return success(FHC_SUCCESS);
|
||||
return success();
|
||||
}
|
||||
else
|
||||
{
|
||||
return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
return error('An error occurred while removing a file', EXIT_ERROR);
|
||||
}
|
||||
}
|
||||
|
||||
/** ---------------------------------------------------------------
|
||||
/**
|
||||
* Rename a file
|
||||
*
|
||||
* @param string $id Primary Key for DELETE
|
||||
@@ -123,19 +123,19 @@ class FS_Model extends FHC_Model
|
||||
public function rename($filename, $newFilename)
|
||||
{
|
||||
// Check Class-Attributes
|
||||
if (is_null($this->filepath)) return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
if (is_null($this->filepath)) return error('The given filepath in not valid', EXIT_ERROR);
|
||||
|
||||
// Check method parameters
|
||||
if (is_null($filename)) return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
if (is_null($newFilename)) return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
if (is_null($filename)) return error('The given filename is not valid', EXIT_ERROR);
|
||||
if (is_null($newFilename)) return error('The given new filename is not valid', EXIT_ERROR);
|
||||
|
||||
if ($this->filesystemlib->rename($this->filepath, $filename, $this->filepath, $newFilename) === true)
|
||||
{
|
||||
return success(FHC_SUCCESS);
|
||||
return success();
|
||||
}
|
||||
else
|
||||
{
|
||||
return error(FHC_MODEL_ERROR, FHC_ERROR);
|
||||
return error('An error occurred while renaming a file', EXIT_ERROR);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -361,7 +361,10 @@ abstract class REST_Controller extends CI_Controller {
|
||||
protected function early_checks()
|
||||
{
|
||||
// Loads helper message to manage returning messages
|
||||
$this->load->helper('hlp_message');
|
||||
$this->load->helper('hlp_return_object');
|
||||
|
||||
// Loads helper session to manage the php session
|
||||
$this->load->helper('hlp_session');
|
||||
|
||||
// Loads helper with generic utility function
|
||||
$this->load->helper('hlp_common');
|
||||
|
||||
+21
-20
@@ -20,23 +20,30 @@
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
// -------------------------------------------------------------------------------------------------------
|
||||
// Collection of functions to handle successful and error messages that methods and functions can return
|
||||
// Collection of functions to handle success and error objects that methods and functions can return
|
||||
// -------------------------------------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Used to create a return object, should not be used directly
|
||||
*/
|
||||
function _createReturnObject($code, $error, $retval)
|
||||
{
|
||||
$returnObject = new stdClass();
|
||||
$returnObject->code = $code;
|
||||
$returnObject->error = $error;
|
||||
$returnObject->retval = $retval;
|
||||
|
||||
return $returnObject;
|
||||
}
|
||||
|
||||
/**
|
||||
* Success
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
function success($retval, $code = null, $msg_indx_prefix = 'fhc_')
|
||||
function success($retval = null, $code = null)
|
||||
{
|
||||
$success = new stdClass();
|
||||
$success->error = EXIT_SUCCESS;
|
||||
$success->fhcCode = $code;
|
||||
if (!is_null($code)) $success->msg = lang($msg_indx_prefix . $code);
|
||||
$success->retval = $retval;
|
||||
|
||||
return $success;
|
||||
return _createReturnObject($code, EXIT_SUCCESS, $retval);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -44,15 +51,9 @@ function success($retval, $code = null, $msg_indx_prefix = 'fhc_')
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
function error($retval = '', $code = null, $msg_indx_prefix = 'fhc_')
|
||||
function error($retval = null, $code = null)
|
||||
{
|
||||
$error = new stdClass();
|
||||
$error->error = EXIT_ERROR;
|
||||
$error->fhcCode = $code;
|
||||
if (!is_null($code)) $error->msg = lang($msg_indx_prefix . $code);
|
||||
$error->retval = $retval;
|
||||
|
||||
return $error;
|
||||
return _createReturnObject($code, EXIT_ERROR, $retval);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -111,15 +112,15 @@ function getData($result)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the property fhcCode if present, otherwise null
|
||||
* Returns the property code if present, otherwise null
|
||||
*/
|
||||
function getCode($result)
|
||||
{
|
||||
$code = null;
|
||||
|
||||
if (isset($result->fhcCode))
|
||||
if (isset($result->code))
|
||||
{
|
||||
$code = $result->fhcCode;
|
||||
$code = $result->code;
|
||||
}
|
||||
|
||||
return $code;
|
||||
@@ -1,11 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Bulgarian language
|
||||
*/
|
||||
|
||||
$lang['text_rest_invalid_api_key'] = 'Невалиден API ключ %s';
|
||||
$lang['text_rest_invalid_credentials'] = 'Невалидни данни за достъп';
|
||||
$lang['text_rest_ip_denied'] = 'Отказан IP адрес';
|
||||
$lang['text_rest_ip_unauthorized'] = 'Неоторизиран IP адрес';
|
||||
$lang['text_rest_unauthorized'] = 'Неоторизиран достъп';
|
||||
$lang['text_rest_ajax_only'] = 'Само AJAX заявки са разрешени';
|
||||
$lang['text_rest_api_key_unauthorized'] = 'API ключът не е оторизиран зо достъп до заявения контролер';
|
||||
$lang['text_rest_api_key_permissions'] = 'API ключът няма достатъчно права';
|
||||
$lang['text_rest_api_key_time_limit'] = 'API ключът е изполван с превишаване на времевия лимит за този метод';
|
||||
$lang['text_rest_unknown_method'] = 'Неизвестен метод';
|
||||
$lang['text_rest_unsupported'] = 'Неподдържан протокол';
|
||||
@@ -1,84 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['cal_su'] = 'Su';
|
||||
$lang['cal_mo'] = 'Mo';
|
||||
$lang['cal_tu'] = 'Tu';
|
||||
$lang['cal_we'] = 'We';
|
||||
$lang['cal_th'] = 'Th';
|
||||
$lang['cal_fr'] = 'Fr';
|
||||
$lang['cal_sa'] = 'Sa';
|
||||
$lang['cal_sun'] = 'Sun';
|
||||
$lang['cal_mon'] = 'Mon';
|
||||
$lang['cal_tue'] = 'Tue';
|
||||
$lang['cal_wed'] = 'Wed';
|
||||
$lang['cal_thu'] = 'Thu';
|
||||
$lang['cal_fri'] = 'Fri';
|
||||
$lang['cal_sat'] = 'Sat';
|
||||
$lang['cal_sunday'] = 'Sunday';
|
||||
$lang['cal_monday'] = 'Monday';
|
||||
$lang['cal_tuesday'] = 'Tuesday';
|
||||
$lang['cal_wednesday'] = 'Wednesday';
|
||||
$lang['cal_thursday'] = 'Thursday';
|
||||
$lang['cal_friday'] = 'Friday';
|
||||
$lang['cal_saturday'] = 'Saturday';
|
||||
$lang['cal_jan'] = 'Jan';
|
||||
$lang['cal_feb'] = 'Feb';
|
||||
$lang['cal_mar'] = 'Mar';
|
||||
$lang['cal_apr'] = 'Apr';
|
||||
$lang['cal_may'] = 'May';
|
||||
$lang['cal_jun'] = 'Jun';
|
||||
$lang['cal_jul'] = 'Jul';
|
||||
$lang['cal_aug'] = 'Aug';
|
||||
$lang['cal_sep'] = 'Sep';
|
||||
$lang['cal_oct'] = 'Oct';
|
||||
$lang['cal_nov'] = 'Nov';
|
||||
$lang['cal_dec'] = 'Dec';
|
||||
$lang['cal_january'] = 'January';
|
||||
$lang['cal_february'] = 'February';
|
||||
$lang['cal_march'] = 'March';
|
||||
$lang['cal_april'] = 'April';
|
||||
$lang['cal_mayl'] = 'May';
|
||||
$lang['cal_june'] = 'June';
|
||||
$lang['cal_july'] = 'July';
|
||||
$lang['cal_august'] = 'August';
|
||||
$lang['cal_september'] = 'September';
|
||||
$lang['cal_october'] = 'October';
|
||||
$lang['cal_november'] = 'November';
|
||||
$lang['cal_december'] = 'December';
|
||||
@@ -1,94 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['date_year'] = 'Year';
|
||||
$lang['date_years'] = 'Years';
|
||||
$lang['date_month'] = 'Month';
|
||||
$lang['date_months'] = 'Months';
|
||||
$lang['date_week'] = 'Week';
|
||||
$lang['date_weeks'] = 'Weeks';
|
||||
$lang['date_day'] = 'Day';
|
||||
$lang['date_days'] = 'Days';
|
||||
$lang['date_hour'] = 'Hour';
|
||||
$lang['date_hours'] = 'Hours';
|
||||
$lang['date_minute'] = 'Minute';
|
||||
$lang['date_minutes'] = 'Minutes';
|
||||
$lang['date_second'] = 'Second';
|
||||
$lang['date_seconds'] = 'Seconds';
|
||||
|
||||
$lang['UM12'] = '(UTC -12:00) Baker/Howland Island';
|
||||
$lang['UM11'] = '(UTC -11:00) Niue';
|
||||
$lang['UM10'] = '(UTC -10:00) Hawaii-Aleutian Standard Time, Cook Islands, Tahiti';
|
||||
$lang['UM95'] = '(UTC -9:30) Marquesas Islands';
|
||||
$lang['UM9'] = '(UTC -9:00) Alaska Standard Time, Gambier Islands';
|
||||
$lang['UM8'] = '(UTC -8:00) Pacific Standard Time, Clipperton Island';
|
||||
$lang['UM7'] = '(UTC -7:00) Mountain Standard Time';
|
||||
$lang['UM6'] = '(UTC -6:00) Central Standard Time';
|
||||
$lang['UM5'] = '(UTC -5:00) Eastern Standard Time, Western Caribbean Standard Time';
|
||||
$lang['UM45'] = '(UTC -4:30) Venezuelan Standard Time';
|
||||
$lang['UM4'] = '(UTC -4:00) Atlantic Standard Time, Eastern Caribbean Standard Time';
|
||||
$lang['UM35'] = '(UTC -3:30) Newfoundland Standard Time';
|
||||
$lang['UM3'] = '(UTC -3:00) Argentina, Brazil, French Guiana, Uruguay';
|
||||
$lang['UM2'] = '(UTC -2:00) South Georgia/South Sandwich Islands';
|
||||
$lang['UM1'] = '(UTC -1:00) Azores, Cape Verde Islands';
|
||||
$lang['UTC'] = '(UTC) Greenwich Mean Time, Western European Time';
|
||||
$lang['UP1'] = '(UTC +1:00) Central European Time, West Africa Time';
|
||||
$lang['UP2'] = '(UTC +2:00) Central Africa Time, Eastern European Time, Kaliningrad Time';
|
||||
$lang['UP3'] = '(UTC +3:00) Moscow Time, East Africa Time, Arabia Standard Time';
|
||||
$lang['UP35'] = '(UTC +3:30) Iran Standard Time';
|
||||
$lang['UP4'] = '(UTC +4:00) Azerbaijan Standard Time, Samara Time';
|
||||
$lang['UP45'] = '(UTC +4:30) Afghanistan';
|
||||
$lang['UP5'] = '(UTC +5:00) Pakistan Standard Time, Yekaterinburg Time';
|
||||
$lang['UP55'] = '(UTC +5:30) Indian Standard Time, Sri Lanka Time';
|
||||
$lang['UP575'] = '(UTC +5:45) Nepal Time';
|
||||
$lang['UP6'] = '(UTC +6:00) Bangladesh Standard Time, Bhutan Time, Omsk Time';
|
||||
$lang['UP65'] = '(UTC +6:30) Cocos Islands, Myanmar';
|
||||
$lang['UP7'] = '(UTC +7:00) Krasnoyarsk Time, Cambodia, Laos, Thailand, Vietnam';
|
||||
$lang['UP8'] = '(UTC +8:00) Australian Western Standard Time, Beijing Time, Irkutsk Time';
|
||||
$lang['UP875'] = '(UTC +8:45) Australian Central Western Standard Time';
|
||||
$lang['UP9'] = '(UTC +9:00) Japan Standard Time, Korea Standard Time, Yakutsk Time';
|
||||
$lang['UP95'] = '(UTC +9:30) Australian Central Standard Time';
|
||||
$lang['UP10'] = '(UTC +10:00) Australian Eastern Standard Time, Vladivostok Time';
|
||||
$lang['UP105'] = '(UTC +10:30) Lord Howe Island';
|
||||
$lang['UP11'] = '(UTC +11:00) Srednekolymsk Time, Solomon Islands, Vanuatu';
|
||||
$lang['UP115'] = '(UTC +11:30) Norfolk Island';
|
||||
$lang['UP12'] = '(UTC +12:00) Fiji, Gilbert Islands, Kamchatka Time, New Zealand Standard Time';
|
||||
$lang['UP1275'] = '(UTC +12:45) Chatham Islands Standard Time';
|
||||
$lang['UP13'] = '(UTC +13:00) Samoa Time Zone, Phoenix Islands Time, Tonga';
|
||||
$lang['UP14'] = '(UTC +14:00) Line Islands';
|
||||
@@ -1,63 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['db_invalid_connection_str'] = 'Unable to determine the database settings based on the connection string you submitted.';
|
||||
$lang['db_unable_to_connect'] = 'Unable to connect to your database server using the provided settings.';
|
||||
$lang['db_unable_to_select'] = 'Unable to select the specified database: %s';
|
||||
$lang['db_unable_to_create'] = 'Unable to create the specified database: %s';
|
||||
$lang['db_invalid_query'] = 'The query you submitted is not valid.';
|
||||
$lang['db_must_set_table'] = 'You must set the database table to be used with your query.';
|
||||
$lang['db_must_use_set'] = 'You must use the "set" method to update an entry.';
|
||||
$lang['db_must_use_index'] = 'You must specify an index to match on for batch updates.';
|
||||
$lang['db_batch_missing_index'] = 'One or more rows submitted for batch updating is missing the specified index.';
|
||||
$lang['db_must_use_where'] = 'Updates are not allowed unless they contain a "where" clause.';
|
||||
$lang['db_del_must_use_where'] = 'Deletes are not allowed unless they contain a "where" or "like" clause.';
|
||||
$lang['db_field_param_missing'] = 'To fetch fields requires the name of the table as a parameter.';
|
||||
$lang['db_unsupported_function'] = 'This feature is not available for the database you are using.';
|
||||
$lang['db_transaction_failure'] = 'Transaction failure: Rollback performed.';
|
||||
$lang['db_unable_to_drop'] = 'Unable to drop the specified database.';
|
||||
$lang['db_unsupported_feature'] = 'Unsupported feature of the database platform you are using.';
|
||||
$lang['db_unsupported_compression'] = 'The file compression format you chose is not supported by your server.';
|
||||
$lang['db_filepath_error'] = 'Unable to write data to the file path you have submitted.';
|
||||
$lang['db_invalid_cache_path'] = 'The cache path you submitted is not valid or writable.';
|
||||
$lang['db_table_name_required'] = 'A table name is required for that operation.';
|
||||
$lang['db_column_name_required'] = 'A column name is required for that operation.';
|
||||
$lang['db_column_definition_required'] = 'A column definition is required for that operation.';
|
||||
$lang['db_unable_to_set_charset'] = 'Unable to set client connection character set: %s';
|
||||
$lang['db_error_heading'] = 'A Database Error Occurred';
|
||||
@@ -1,58 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['email_must_be_array'] = 'The email validation method must be passed an array.';
|
||||
$lang['email_invalid_address'] = 'Invalid email address: %s';
|
||||
$lang['email_attachment_missing'] = 'Unable to locate the following email attachment: %s';
|
||||
$lang['email_attachment_unreadable'] = 'Unable to open this attachment: %s';
|
||||
$lang['email_no_from'] = 'Cannot send mail with no "From" header.';
|
||||
$lang['email_no_recipients'] = 'You must include recipients: To, Cc, or Bcc';
|
||||
$lang['email_send_failure_phpmail'] = 'Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.';
|
||||
$lang['email_send_failure_sendmail'] = 'Unable to send email using PHP Sendmail. Your server might not be configured to send mail using this method.';
|
||||
$lang['email_send_failure_smtp'] = 'Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.';
|
||||
$lang['email_sent'] = 'Your message has been successfully sent using the following protocol: %s';
|
||||
$lang['email_no_socket'] = 'Unable to open a socket to Sendmail. Please check settings.';
|
||||
$lang['email_no_hostname'] = 'You did not specify a SMTP hostname.';
|
||||
$lang['email_smtp_error'] = 'The following SMTP error was encountered: %s';
|
||||
$lang['email_no_smtp_unpw'] = 'Error: You must assign a SMTP username and password.';
|
||||
$lang['email_failed_smtp_login'] = 'Failed to send AUTH LOGIN command. Error: %s';
|
||||
$lang['email_smtp_auth_un'] = 'Failed to authenticate username. Error: %s';
|
||||
$lang['email_smtp_auth_pw'] = 'Failed to authenticate password. Error: %s';
|
||||
$lang['email_smtp_data_failure'] = 'Unable to send data: %s';
|
||||
$lang['email_exit_status'] = 'Exit status code: %s';
|
||||
@@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
// DB-Errormessages
|
||||
$lang['fhc_'.FHC_MODEL_ERROR] = 'Fehler in Model';
|
||||
$lang['fhc_'.FHC_NODBTABLE] = '"dbTable" ist nicht gesetzt!';
|
||||
$lang['fhc_'.FHC_NORIGHT] = 'Rechte sind nicht ausreichend!';
|
||||
$lang['fhc_'.EXIT_VALIDATION_UDF] = 'UDF validation has been failed';
|
||||
$lang['fhc_'.EXIT_VALIDATION_UDF_MIN_VALUE] = 'UDF validation has been failed - MIN VALUE';
|
||||
$lang['fhc_'.EXIT_VALIDATION_UDF_MAX_VALUE] = 'UDF validation has been failed - MAX VALUE';
|
||||
$lang['fhc_'.EXIT_VALIDATION_UDF_MIN_LENGTH] = 'UDF validation has been failed - MIN LENGTH';
|
||||
$lang['fhc_'.EXIT_VALIDATION_UDF_MAX_LENGTH] = 'UDF validation has been failed - MAX LENGTH';
|
||||
$lang['fhc_'.EXIT_VALIDATION_UDF_REGEX] = 'UDF validation has been failed - REGEX';
|
||||
$lang['fhc_'.EXIT_VALIDATION_UDF_REQUIRED] = 'UDF validation has been failed - REQUIRED';
|
||||
$lang['fhc_'.EXIT_VALIDATION_UDF_NOT_VALID_VAL] = 'UDF validation has been failed - Not valid value, object or array given';
|
||||
@@ -1,10 +0,0 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
// Account Creation
|
||||
$lang['fhc_'.FHC_SUCCESS] = 'Erfolgreich!';
|
||||
$lang['fhc_'.FHC_ERROR] = 'Allgemeiner Fehler ist aufgetreten!';
|
||||
$lang['fhc_'.FHC_MODEL_ERROR] = 'Fehler in Model!';
|
||||
$lang['fhc_'.FHC_DB_ERROR] = 'Fehler beim Datenbankzugriff';
|
||||
$lang['fhc_'.FHC_NODBTABLE] = 'DB-Tabelle nicht vorhanden!';
|
||||
$lang['fhc_'.FHC_NORIGHT] = 'Fehlende Berechtigung des Users!';
|
||||
$lang['fhc_'.FHC_INVALIDID] = 'ID/Key ist ungültig oder nicht vorhanden!';
|
||||
@@ -1,68 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['form_validation_required'] = 'The {field} field is required.';
|
||||
$lang['form_validation_isset'] = 'The {field} field must have a value.';
|
||||
$lang['form_validation_valid_email'] = 'The {field} field must contain a valid email address.';
|
||||
$lang['form_validation_valid_emails'] = 'The {field} field must contain all valid email addresses.';
|
||||
$lang['form_validation_valid_url'] = 'The {field} field must contain a valid URL.';
|
||||
$lang['form_validation_valid_ip'] = 'The {field} field must contain a valid IP.';
|
||||
$lang['form_validation_min_length'] = 'The {field} field must be at least {param} characters in length.';
|
||||
$lang['form_validation_max_length'] = 'The {field} field cannot exceed {param} characters in length.';
|
||||
$lang['form_validation_exact_length'] = 'The {field} field must be exactly {param} characters in length.';
|
||||
$lang['form_validation_alpha'] = 'The {field} field may only contain alphabetical characters.';
|
||||
$lang['form_validation_alpha_numeric'] = 'The {field} field may only contain alpha-numeric characters.';
|
||||
$lang['form_validation_alpha_numeric_spaces'] = 'The {field} field may only contain alpha-numeric characters and spaces.';
|
||||
$lang['form_validation_alpha_dash'] = 'The {field} field may only contain alpha-numeric characters, underscores, and dashes.';
|
||||
$lang['form_validation_numeric'] = 'The {field} field must contain only numbers.';
|
||||
$lang['form_validation_is_numeric'] = 'The {field} field must contain only numeric characters.';
|
||||
$lang['form_validation_integer'] = 'The {field} field must contain an integer.';
|
||||
$lang['form_validation_regex_match'] = 'The {field} field is not in the correct format.';
|
||||
$lang['form_validation_matches'] = 'The {field} field does not match the {param} field.';
|
||||
$lang['form_validation_differs'] = 'The {field} field must differ from the {param} field.';
|
||||
$lang['form_validation_is_unique'] = 'The {field} field must contain a unique value.';
|
||||
$lang['form_validation_is_natural'] = 'The {field} field must only contain digits.';
|
||||
$lang['form_validation_is_natural_no_zero'] = 'The {field} field must only contain digits and must be greater than zero.';
|
||||
$lang['form_validation_decimal'] = 'The {field} field must contain a decimal number.';
|
||||
$lang['form_validation_less_than'] = 'The {field} field must contain a number less than {param}.';
|
||||
$lang['form_validation_less_than_equal_to'] = 'The {field} field must contain a number less than or equal to {param}.';
|
||||
$lang['form_validation_greater_than'] = 'The {field} field must contain a number greater than {param}.';
|
||||
$lang['form_validation_greater_than_equal_to'] = 'The {field} field must contain a number greater than or equal to {param}.';
|
||||
$lang['form_validation_error_message_not_set'] = 'Unable to access an error message corresponding to your field name {field}.';
|
||||
$lang['form_validation_in_list'] = 'The {field} field must be one of: {param}.';
|
||||
@@ -1,51 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['ftp_no_connection'] = 'Unable to locate a valid connection ID. Please make sure you are connected before performing any file routines.';
|
||||
$lang['ftp_unable_to_connect'] = 'Unable to connect to your FTP server using the supplied hostname.';
|
||||
$lang['ftp_unable_to_login'] = 'Unable to login to your FTP server. Please check your username and password.';
|
||||
$lang['ftp_unable_to_mkdir'] = 'Unable to create the directory you have specified.';
|
||||
$lang['ftp_unable_to_changedir'] = 'Unable to change directories.';
|
||||
$lang['ftp_unable_to_chmod'] = 'Unable to set file permissions. Please check your path.';
|
||||
$lang['ftp_unable_to_upload'] = 'Unable to upload the specified file. Please check your path.';
|
||||
$lang['ftp_unable_to_download'] = 'Unable to download the specified file. Please check your path.';
|
||||
$lang['ftp_no_source_file'] = 'Unable to locate the source file. Please check your path.';
|
||||
$lang['ftp_unable_to_rename'] = 'Unable to rename the file.';
|
||||
$lang['ftp_unable_to_delete'] = 'Unable to delete the file.';
|
||||
$lang['ftp_unable_to_move'] = 'Unable to move the file. Please make sure the destination directory exists.';
|
||||
@@ -1,56 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['imglib_source_image_required'] = 'You must specify a source image in your preferences.';
|
||||
$lang['imglib_gd_required'] = 'The GD image library is required for this feature.';
|
||||
$lang['imglib_gd_required_for_props'] = 'Your server must support the GD image library in order to determine the image properties.';
|
||||
$lang['imglib_unsupported_imagecreate'] = 'Your server does not support the GD function required to process this type of image.';
|
||||
$lang['imglib_gif_not_supported'] = 'GIF images are often not supported due to licensing restrictions. You may have to use JPG or PNG images instead.';
|
||||
$lang['imglib_jpg_not_supported'] = 'JPG images are not supported.';
|
||||
$lang['imglib_png_not_supported'] = 'PNG images are not supported.';
|
||||
$lang['imglib_jpg_or_png_required'] = 'The image resize protocol specified in your preferences only works with JPEG or PNG image types.';
|
||||
$lang['imglib_copy_error'] = 'An error was encountered while attempting to replace the file. Please make sure your file directory is writable.';
|
||||
$lang['imglib_rotate_unsupported'] = 'Image rotation does not appear to be supported by your server.';
|
||||
$lang['imglib_libpath_invalid'] = 'The path to your image library is not correct. Please set the correct path in your image preferences.';
|
||||
$lang['imglib_image_process_failed'] = 'Image processing failed. Please verify that your server supports the chosen protocol and that the path to your image library is correct.';
|
||||
$lang['imglib_rotation_angle_required'] = 'An angle of rotation is required to rotate the image.';
|
||||
$lang['imglib_invalid_path'] = 'The path to the image is not correct.';
|
||||
$lang['imglib_copy_failed'] = 'The image copy routine failed.';
|
||||
$lang['imglib_missing_font'] = 'Unable to find a font to use.';
|
||||
$lang['imglib_save_failed'] = 'Unable to save the image. Please make sure the image and file directory are writable.';
|
||||
@@ -1,11 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,28 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
// Account Creation
|
||||
$lang['message_' . MSG_SUCCESS] = 'Success';
|
||||
$lang['message_' . MSG_ERROR] = 'Error';
|
||||
$lang['message_' . MSG_ERR_INVALID_USER_ID] = 'No user id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_MSG_ID] = 'No message id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_THREAD_ID] = 'No message thread id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_STATUS_ID] = 'No status specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_SENDER_ID] = 'Not a valid sender';
|
||||
$lang['message_' . MSG_ERR_INVALID_RECEIVER_ID] = 'Not a valid receiver';
|
||||
$lang['message_' . MSG_ERR_INVALID_RECIPIENTS] = 'No valid recipients';
|
||||
$lang['message_' . MSG_ERR_INVALID_OU] = 'No valid organization unit';
|
||||
$lang['message_' . MSG_ERR_INVALID_TEMPLATE] = 'Not a valid template';
|
||||
$lang['message_' . MSG_ERR_SUBJECT_EMPTY] = 'Subject is empty';
|
||||
$lang['message_' . MSG_ERR_BODY_EMPTY] = 'Body is empty';
|
||||
$lang['message_' . MSG_ERR_TEMPLATE_NOT_FOUND] = 'Template not found';
|
||||
$lang['message_' . MSG_ERR_DELIVERY_MESSAGE] = 'Error while delivering the message';
|
||||
$lang['message_' . MSG_ERR_CONTACT_NOT_FOUND] = 'Contact not found for the specified person';
|
||||
$lang['message_' . MSG_MESSAGE_SENT] = 'Message sent';
|
||||
$lang['message_' . MSG_STATUS_UPDATE] = 'Status updated';
|
||||
$lang['message_' . MSG_PARTICIPANT_ADDED] = 'Participant added';
|
||||
$lang['message_' . MSG_ERR_PARTICIPANT_EXISTS] = 'User is already participating in this thread';
|
||||
$lang['message_' . MSG_ERR_PARTICIPANT_NONSYSTEM] = 'This user id is not in the system';
|
||||
$lang['message_' . MSG_PARTICIPANT_REMOVED] = 'Participant removed from thread';
|
||||
$lang['message_' . MSG_ERR_OU_CONTACTS_NOT_FOUND] = 'No receivers found for this organization unit';
|
||||
@@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Austrian-German Language
|
||||
*/
|
||||
|
||||
$lang['text_rest_invalid_api_key'] = 'Invalid API key %s'; // %s is the REST API key
|
||||
$lang['text_rest_invalid_credentials'] = 'Invalid credentials';
|
||||
$lang['text_rest_ip_denied'] = 'IP denied';
|
||||
$lang['text_rest_ip_unauthorized'] = 'IP unauthorized';
|
||||
$lang['text_rest_unauthorized'] = 'Unauthorized';
|
||||
$lang['text_rest_ajax_only'] = 'Only AJAX requests are allowed';
|
||||
$lang['text_rest_api_key_unauthorized'] = 'This API key does not have access to the requested controller';
|
||||
$lang['text_rest_api_key_permissions'] = 'This API key does not have enough permissions';
|
||||
$lang['text_rest_api_key_time_limit'] = 'This API key has reached the time limit for this method';
|
||||
$lang['text_rest_unknown_method'] = 'Unknown method';
|
||||
$lang['text_rest_unsupported'] = 'Unsupported protocol';
|
||||
@@ -1,44 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['terabyte_abbr'] = 'TB';
|
||||
$lang['gigabyte_abbr'] = 'GB';
|
||||
$lang['megabyte_abbr'] = 'MB';
|
||||
$lang['kilobyte_abbr'] = 'KB';
|
||||
$lang['bytes'] = 'Bytes';
|
||||
@@ -1,43 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['pagination_first_link'] = '‹ First';
|
||||
$lang['pagination_next_link'] = '>';
|
||||
$lang['pagination_prev_link'] = '<';
|
||||
$lang['pagination_last_link'] = 'Last ›';
|
||||
@@ -1,60 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['profiler_database'] = 'DATABASE';
|
||||
$lang['profiler_controller_info'] = 'CLASS/METHOD';
|
||||
$lang['profiler_benchmarks'] = 'BENCHMARKS';
|
||||
$lang['profiler_queries'] = 'QUERIES';
|
||||
$lang['profiler_get_data'] = 'GET DATA';
|
||||
$lang['profiler_post_data'] = 'POST DATA';
|
||||
$lang['profiler_uri_string'] = 'URI STRING';
|
||||
$lang['profiler_memory_usage'] = 'MEMORY USAGE';
|
||||
$lang['profiler_config'] = 'CONFIG VARIABLES';
|
||||
$lang['profiler_session_data'] = 'SESSION DATA';
|
||||
$lang['profiler_headers'] = 'HTTP HEADERS';
|
||||
$lang['profiler_no_db'] = 'Database driver is not currently loaded';
|
||||
$lang['profiler_no_queries'] = 'No queries were run';
|
||||
$lang['profiler_no_post'] = 'No POST data exists';
|
||||
$lang['profiler_no_get'] = 'No GET data exists';
|
||||
$lang['profiler_no_uri'] = 'No URI data exists';
|
||||
$lang['profiler_no_memory'] = 'Memory Usage Unavailable';
|
||||
$lang['profiler_no_profiles'] = 'No Profile data - all Profiler sections have been disabled.';
|
||||
$lang['profiler_section_hide'] = 'Hide';
|
||||
$lang['profiler_section_show'] = 'Show';
|
||||
$lang['profiler_seconds'] = 'seconds';
|
||||
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['seed_none_found'] = 'No seeds were found.';
|
||||
$lang['seed_not_found'] = 'No seed could be found with the version number: %s.';
|
||||
$lang['seed_sequence_gap'] = 'There is a gap in the seed sequence near version number: %s.';
|
||||
$lang['seed_multiple_version'] = 'There are multiple seeds with the same version number: %s.';
|
||||
$lang['seed_class_doesnt_exist'] = 'The seed class "%s" could not be found.';
|
||||
$lang['seed_missing_up_method'] = 'The seed class "%s" is missing an "up" method.';
|
||||
$lang['seed_missing_down_method'] = 'The seed class "%s" is missing a "down" method.';
|
||||
$lang['seed_invalid_filename'] = 'Seed "%s" has an invalid filename.';
|
||||
@@ -1,58 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['ut_test_name'] = 'Test Name';
|
||||
$lang['ut_test_datatype'] = 'Test Datatype';
|
||||
$lang['ut_res_datatype'] = 'Expected Datatype';
|
||||
$lang['ut_result'] = 'Result';
|
||||
$lang['ut_undefined'] = 'Undefined Test Name';
|
||||
$lang['ut_file'] = 'File Name';
|
||||
$lang['ut_line'] = 'Line Number';
|
||||
$lang['ut_passed'] = 'Passed';
|
||||
$lang['ut_failed'] = 'Failed';
|
||||
$lang['ut_boolean'] = 'Boolean';
|
||||
$lang['ut_integer'] = 'Integer';
|
||||
$lang['ut_float'] = 'Float';
|
||||
$lang['ut_double'] = 'Float'; // can be the same as float
|
||||
$lang['ut_string'] = 'String';
|
||||
$lang['ut_array'] = 'Array';
|
||||
$lang['ut_object'] = 'Object';
|
||||
$lang['ut_resource'] = 'Resource';
|
||||
$lang['ut_null'] = 'Null';
|
||||
$lang['ut_notes'] = 'Notes';
|
||||
@@ -1,55 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['upload_userfile_not_set'] = 'Unable to find a post variable called userfile.';
|
||||
$lang['upload_file_exceeds_limit'] = 'The uploaded file exceeds the maximum allowed size in your PHP configuration file.';
|
||||
$lang['upload_file_exceeds_form_limit'] = 'The uploaded file exceeds the maximum size allowed by the submission form.';
|
||||
$lang['upload_file_partial'] = 'The file was only partially uploaded.';
|
||||
$lang['upload_no_temp_directory'] = 'The temporary folder is missing.';
|
||||
$lang['upload_unable_to_write_file'] = 'The file could not be written to disk.';
|
||||
$lang['upload_stopped_by_extension'] = 'The file upload was stopped by extension.';
|
||||
$lang['upload_no_file_selected'] = 'You did not select a file to upload.';
|
||||
$lang['upload_invalid_filetype'] = 'The filetype you are attempting to upload is not allowed.';
|
||||
$lang['upload_invalid_filesize'] = 'The file you are attempting to upload is larger than the permitted size.';
|
||||
$lang['upload_invalid_dimensions'] = 'The image you are attempting to upload doesn\'t fit into the allowed dimensions.';
|
||||
$lang['upload_destination_error'] = 'A problem was encountered while attempting to move the uploaded file to the final destination.';
|
||||
$lang['upload_no_filepath'] = 'The upload path does not appear to be valid.';
|
||||
$lang['upload_no_file_types'] = 'You have not specified any allowed file types.';
|
||||
$lang['upload_bad_filename'] = 'The file name you submitted already exists on the server.';
|
||||
$lang['upload_not_writable'] = 'The upload destination folder does not appear to be writable.';
|
||||
@@ -1,84 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['cal_su'] = 'Su';
|
||||
$lang['cal_mo'] = 'Mo';
|
||||
$lang['cal_tu'] = 'Tu';
|
||||
$lang['cal_we'] = 'We';
|
||||
$lang['cal_th'] = 'Th';
|
||||
$lang['cal_fr'] = 'Fr';
|
||||
$lang['cal_sa'] = 'Sa';
|
||||
$lang['cal_sun'] = 'Sun';
|
||||
$lang['cal_mon'] = 'Mon';
|
||||
$lang['cal_tue'] = 'Tue';
|
||||
$lang['cal_wed'] = 'Wed';
|
||||
$lang['cal_thu'] = 'Thu';
|
||||
$lang['cal_fri'] = 'Fri';
|
||||
$lang['cal_sat'] = 'Sat';
|
||||
$lang['cal_sunday'] = 'Sunday';
|
||||
$lang['cal_monday'] = 'Monday';
|
||||
$lang['cal_tuesday'] = 'Tuesday';
|
||||
$lang['cal_wednesday'] = 'Wednesday';
|
||||
$lang['cal_thursday'] = 'Thursday';
|
||||
$lang['cal_friday'] = 'Friday';
|
||||
$lang['cal_saturday'] = 'Saturday';
|
||||
$lang['cal_jan'] = 'Jan';
|
||||
$lang['cal_feb'] = 'Feb';
|
||||
$lang['cal_mar'] = 'Mar';
|
||||
$lang['cal_apr'] = 'Apr';
|
||||
$lang['cal_may'] = 'May';
|
||||
$lang['cal_jun'] = 'Jun';
|
||||
$lang['cal_jul'] = 'Jul';
|
||||
$lang['cal_aug'] = 'Aug';
|
||||
$lang['cal_sep'] = 'Sep';
|
||||
$lang['cal_oct'] = 'Oct';
|
||||
$lang['cal_nov'] = 'Nov';
|
||||
$lang['cal_dec'] = 'Dec';
|
||||
$lang['cal_january'] = 'January';
|
||||
$lang['cal_february'] = 'February';
|
||||
$lang['cal_march'] = 'March';
|
||||
$lang['cal_april'] = 'April';
|
||||
$lang['cal_mayl'] = 'May';
|
||||
$lang['cal_june'] = 'June';
|
||||
$lang['cal_july'] = 'July';
|
||||
$lang['cal_august'] = 'August';
|
||||
$lang['cal_september'] = 'September';
|
||||
$lang['cal_october'] = 'October';
|
||||
$lang['cal_november'] = 'November';
|
||||
$lang['cal_december'] = 'December';
|
||||
@@ -1,94 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['date_year'] = 'Year';
|
||||
$lang['date_years'] = 'Years';
|
||||
$lang['date_month'] = 'Month';
|
||||
$lang['date_months'] = 'Months';
|
||||
$lang['date_week'] = 'Week';
|
||||
$lang['date_weeks'] = 'Weeks';
|
||||
$lang['date_day'] = 'Day';
|
||||
$lang['date_days'] = 'Days';
|
||||
$lang['date_hour'] = 'Hour';
|
||||
$lang['date_hours'] = 'Hours';
|
||||
$lang['date_minute'] = 'Minute';
|
||||
$lang['date_minutes'] = 'Minutes';
|
||||
$lang['date_second'] = 'Second';
|
||||
$lang['date_seconds'] = 'Seconds';
|
||||
|
||||
$lang['UM12'] = '(UTC -12:00) Baker/Howland Island';
|
||||
$lang['UM11'] = '(UTC -11:00) Niue';
|
||||
$lang['UM10'] = '(UTC -10:00) Hawaii-Aleutian Standard Time, Cook Islands, Tahiti';
|
||||
$lang['UM95'] = '(UTC -9:30) Marquesas Islands';
|
||||
$lang['UM9'] = '(UTC -9:00) Alaska Standard Time, Gambier Islands';
|
||||
$lang['UM8'] = '(UTC -8:00) Pacific Standard Time, Clipperton Island';
|
||||
$lang['UM7'] = '(UTC -7:00) Mountain Standard Time';
|
||||
$lang['UM6'] = '(UTC -6:00) Central Standard Time';
|
||||
$lang['UM5'] = '(UTC -5:00) Eastern Standard Time, Western Caribbean Standard Time';
|
||||
$lang['UM45'] = '(UTC -4:30) Venezuelan Standard Time';
|
||||
$lang['UM4'] = '(UTC -4:00) Atlantic Standard Time, Eastern Caribbean Standard Time';
|
||||
$lang['UM35'] = '(UTC -3:30) Newfoundland Standard Time';
|
||||
$lang['UM3'] = '(UTC -3:00) Argentina, Brazil, French Guiana, Uruguay';
|
||||
$lang['UM2'] = '(UTC -2:00) South Georgia/South Sandwich Islands';
|
||||
$lang['UM1'] = '(UTC -1:00) Azores, Cape Verde Islands';
|
||||
$lang['UTC'] = '(UTC) Greenwich Mean Time, Western European Time';
|
||||
$lang['UP1'] = '(UTC +1:00) Central European Time, West Africa Time';
|
||||
$lang['UP2'] = '(UTC +2:00) Central Africa Time, Eastern European Time, Kaliningrad Time';
|
||||
$lang['UP3'] = '(UTC +3:00) Moscow Time, East Africa Time, Arabia Standard Time';
|
||||
$lang['UP35'] = '(UTC +3:30) Iran Standard Time';
|
||||
$lang['UP4'] = '(UTC +4:00) Azerbaijan Standard Time, Samara Time';
|
||||
$lang['UP45'] = '(UTC +4:30) Afghanistan';
|
||||
$lang['UP5'] = '(UTC +5:00) Pakistan Standard Time, Yekaterinburg Time';
|
||||
$lang['UP55'] = '(UTC +5:30) Indian Standard Time, Sri Lanka Time';
|
||||
$lang['UP575'] = '(UTC +5:45) Nepal Time';
|
||||
$lang['UP6'] = '(UTC +6:00) Bangladesh Standard Time, Bhutan Time, Omsk Time';
|
||||
$lang['UP65'] = '(UTC +6:30) Cocos Islands, Myanmar';
|
||||
$lang['UP7'] = '(UTC +7:00) Krasnoyarsk Time, Cambodia, Laos, Thailand, Vietnam';
|
||||
$lang['UP8'] = '(UTC +8:00) Australian Western Standard Time, Beijing Time, Irkutsk Time';
|
||||
$lang['UP875'] = '(UTC +8:45) Australian Central Western Standard Time';
|
||||
$lang['UP9'] = '(UTC +9:00) Japan Standard Time, Korea Standard Time, Yakutsk Time';
|
||||
$lang['UP95'] = '(UTC +9:30) Australian Central Standard Time';
|
||||
$lang['UP10'] = '(UTC +10:00) Australian Eastern Standard Time, Vladivostok Time';
|
||||
$lang['UP105'] = '(UTC +10:30) Lord Howe Island';
|
||||
$lang['UP11'] = '(UTC +11:00) Srednekolymsk Time, Solomon Islands, Vanuatu';
|
||||
$lang['UP115'] = '(UTC +11:30) Norfolk Island';
|
||||
$lang['UP12'] = '(UTC +12:00) Fiji, Gilbert Islands, Kamchatka Time, New Zealand Standard Time';
|
||||
$lang['UP1275'] = '(UTC +12:45) Chatham Islands Standard Time';
|
||||
$lang['UP13'] = '(UTC +13:00) Samoa Time Zone, Phoenix Islands Time, Tonga';
|
||||
$lang['UP14'] = '(UTC +14:00) Line Islands';
|
||||
@@ -1,63 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['db_invalid_connection_str'] = 'Unable to determine the database settings based on the connection string you submitted.';
|
||||
$lang['db_unable_to_connect'] = 'Unable to connect to your database server using the provided settings.';
|
||||
$lang['db_unable_to_select'] = 'Unable to select the specified database: %s';
|
||||
$lang['db_unable_to_create'] = 'Unable to create the specified database: %s';
|
||||
$lang['db_invalid_query'] = 'The query you submitted is not valid.';
|
||||
$lang['db_must_set_table'] = 'You must set the database table to be used with your query.';
|
||||
$lang['db_must_use_set'] = 'You must use the "set" method to update an entry.';
|
||||
$lang['db_must_use_index'] = 'You must specify an index to match on for batch updates.';
|
||||
$lang['db_batch_missing_index'] = 'One or more rows submitted for batch updating is missing the specified index.';
|
||||
$lang['db_must_use_where'] = 'Updates are not allowed unless they contain a "where" clause.';
|
||||
$lang['db_del_must_use_where'] = 'Deletes are not allowed unless they contain a "where" or "like" clause.';
|
||||
$lang['db_field_param_missing'] = 'To fetch fields requires the name of the table as a parameter.';
|
||||
$lang['db_unsupported_function'] = 'This feature is not available for the database you are using.';
|
||||
$lang['db_transaction_failure'] = 'Transaction failure: Rollback performed.';
|
||||
$lang['db_unable_to_drop'] = 'Unable to drop the specified database.';
|
||||
$lang['db_unsupported_feature'] = 'Unsupported feature of the database platform you are using.';
|
||||
$lang['db_unsupported_compression'] = 'The file compression format you chose is not supported by your server.';
|
||||
$lang['db_filepath_error'] = 'Unable to write data to the file path you have submitted.';
|
||||
$lang['db_invalid_cache_path'] = 'The cache path you submitted is not valid or writable.';
|
||||
$lang['db_table_name_required'] = 'A table name is required for that operation.';
|
||||
$lang['db_column_name_required'] = 'A column name is required for that operation.';
|
||||
$lang['db_column_definition_required'] = 'A column definition is required for that operation.';
|
||||
$lang['db_unable_to_set_charset'] = 'Unable to set client connection character set: %s';
|
||||
$lang['db_error_heading'] = 'A Database Error Occurred';
|
||||
@@ -1,58 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['email_must_be_array'] = 'The email validation method must be passed an array.';
|
||||
$lang['email_invalid_address'] = 'Invalid email address: %s';
|
||||
$lang['email_attachment_missing'] = 'Unable to locate the following email attachment: %s';
|
||||
$lang['email_attachment_unreadable'] = 'Unable to open this attachment: %s';
|
||||
$lang['email_no_from'] = 'Cannot send mail with no "From" header.';
|
||||
$lang['email_no_recipients'] = 'You must include recipients: To, Cc, or Bcc';
|
||||
$lang['email_send_failure_phpmail'] = 'Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.';
|
||||
$lang['email_send_failure_sendmail'] = 'Unable to send email using PHP Sendmail. Your server might not be configured to send mail using this method.';
|
||||
$lang['email_send_failure_smtp'] = 'Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.';
|
||||
$lang['email_sent'] = 'Your message has been successfully sent using the following protocol: %s';
|
||||
$lang['email_no_socket'] = 'Unable to open a socket to Sendmail. Please check settings.';
|
||||
$lang['email_no_hostname'] = 'You did not specify a SMTP hostname.';
|
||||
$lang['email_smtp_error'] = 'The following SMTP error was encountered: %s';
|
||||
$lang['email_no_smtp_unpw'] = 'Error: You must assign a SMTP username and password.';
|
||||
$lang['email_failed_smtp_login'] = 'Failed to send AUTH LOGIN command. Error: %s';
|
||||
$lang['email_smtp_auth_un'] = 'Failed to authenticate username. Error: %s';
|
||||
$lang['email_smtp_auth_pw'] = 'Failed to authenticate password. Error: %s';
|
||||
$lang['email_smtp_data_failure'] = 'Unable to send data: %s';
|
||||
$lang['email_exit_status'] = 'Exit status code: %s';
|
||||
@@ -1,16 +0,0 @@
|
||||
<?php
|
||||
if ( ! defined('BASEPATH'))
|
||||
exit('No direct script access allowed');
|
||||
|
||||
// DB-Errormessages
|
||||
$lang['fhc_'.FHC_MODEL_ERROR] = 'Error in Model';
|
||||
$lang['fhc_'.FHC_NODBTABLE] = 'dbTable is not set!';
|
||||
$lang['fhc_'.FHC_NORIGHT] = 'rights are missing!';
|
||||
$lang['fhc_'.EXIT_VALIDATION_UDF] = 'UDF validation has been failed';
|
||||
$lang['fhc_'.EXIT_VALIDATION_UDF_MIN_VALUE] = 'UDF validation has been failed - MIN VALUE';
|
||||
$lang['fhc_'.EXIT_VALIDATION_UDF_MAX_VALUE] = 'UDF validation has been failed - MAX VALUE';
|
||||
$lang['fhc_'.EXIT_VALIDATION_UDF_MIN_LENGTH] = 'UDF validation has been failed - MIN LENGTH';
|
||||
$lang['fhc_'.EXIT_VALIDATION_UDF_MAX_LENGTH] = 'UDF validation has been failed - MAX LENGTH';
|
||||
$lang['fhc_'.EXIT_VALIDATION_UDF_REGEX] = 'UDF validation has been failed - REGEX';
|
||||
$lang['fhc_'.EXIT_VALIDATION_UDF_REQUIRED] = 'UDF validation has been failed - REQUIRED';
|
||||
$lang['fhc_'.EXIT_VALIDATION_UDF_NOT_VALID_VAL] = 'UDF validation has been failed - Not valid value, object or array given';
|
||||
@@ -1,10 +0,0 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
// Account Creation
|
||||
$lang['fhc_'.FHC_SUCCESS] = 'Success!';
|
||||
$lang['fhc_'.FHC_ERROR] = 'Generell error!';
|
||||
$lang['fhc_'.FHC_MODEL_ERROR] = 'Error in Model!';
|
||||
$lang['fhc_'.FHC_DB_ERROR] = 'Database-Error';
|
||||
$lang['fhc_'.FHC_NODBTABLE] = 'DB-Table not exists!';
|
||||
$lang['fhc_'.FHC_NORIGHT] = 'No user-permissions!';
|
||||
$lang['fhc_'.FHC_INVALIDID] = 'ID/Key is not valid or missing!';
|
||||
@@ -1,68 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['form_validation_required'] = 'The {field} field is required.';
|
||||
$lang['form_validation_isset'] = 'The {field} field must have a value.';
|
||||
$lang['form_validation_valid_email'] = 'The {field} field must contain a valid email address.';
|
||||
$lang['form_validation_valid_emails'] = 'The {field} field must contain all valid email addresses.';
|
||||
$lang['form_validation_valid_url'] = 'The {field} field must contain a valid URL.';
|
||||
$lang['form_validation_valid_ip'] = 'The {field} field must contain a valid IP.';
|
||||
$lang['form_validation_min_length'] = 'The {field} field must be at least {param} characters in length.';
|
||||
$lang['form_validation_max_length'] = 'The {field} field cannot exceed {param} characters in length.';
|
||||
$lang['form_validation_exact_length'] = 'The {field} field must be exactly {param} characters in length.';
|
||||
$lang['form_validation_alpha'] = 'The {field} field may only contain alphabetical characters.';
|
||||
$lang['form_validation_alpha_numeric'] = 'The {field} field may only contain alpha-numeric characters.';
|
||||
$lang['form_validation_alpha_numeric_spaces'] = 'The {field} field may only contain alpha-numeric characters and spaces.';
|
||||
$lang['form_validation_alpha_dash'] = 'The {field} field may only contain alpha-numeric characters, underscores, and dashes.';
|
||||
$lang['form_validation_numeric'] = 'The {field} field must contain only numbers.';
|
||||
$lang['form_validation_is_numeric'] = 'The {field} field must contain only numeric characters.';
|
||||
$lang['form_validation_integer'] = 'The {field} field must contain an integer.';
|
||||
$lang['form_validation_regex_match'] = 'The {field} field is not in the correct format.';
|
||||
$lang['form_validation_matches'] = 'The {field} field does not match the {param} field.';
|
||||
$lang['form_validation_differs'] = 'The {field} field must differ from the {param} field.';
|
||||
$lang['form_validation_is_unique'] = 'The {field} field must contain a unique value.';
|
||||
$lang['form_validation_is_natural'] = 'The {field} field must only contain digits.';
|
||||
$lang['form_validation_is_natural_no_zero'] = 'The {field} field must only contain digits and must be greater than zero.';
|
||||
$lang['form_validation_decimal'] = 'The {field} field must contain a decimal number.';
|
||||
$lang['form_validation_less_than'] = 'The {field} field must contain a number less than {param}.';
|
||||
$lang['form_validation_less_than_equal_to'] = 'The {field} field must contain a number less than or equal to {param}.';
|
||||
$lang['form_validation_greater_than'] = 'The {field} field must contain a number greater than {param}.';
|
||||
$lang['form_validation_greater_than_equal_to'] = 'The {field} field must contain a number greater than or equal to {param}.';
|
||||
$lang['form_validation_error_message_not_set'] = 'Unable to access an error message corresponding to your field name {field}.';
|
||||
$lang['form_validation_in_list'] = 'The {field} field must be one of: {param}.';
|
||||
@@ -1,51 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['ftp_no_connection'] = 'Unable to locate a valid connection ID. Please make sure you are connected before performing any file routines.';
|
||||
$lang['ftp_unable_to_connect'] = 'Unable to connect to your FTP server using the supplied hostname.';
|
||||
$lang['ftp_unable_to_login'] = 'Unable to login to your FTP server. Please check your username and password.';
|
||||
$lang['ftp_unable_to_mkdir'] = 'Unable to create the directory you have specified.';
|
||||
$lang['ftp_unable_to_changedir'] = 'Unable to change directories.';
|
||||
$lang['ftp_unable_to_chmod'] = 'Unable to set file permissions. Please check your path.';
|
||||
$lang['ftp_unable_to_upload'] = 'Unable to upload the specified file. Please check your path.';
|
||||
$lang['ftp_unable_to_download'] = 'Unable to download the specified file. Please check your path.';
|
||||
$lang['ftp_no_source_file'] = 'Unable to locate the source file. Please check your path.';
|
||||
$lang['ftp_unable_to_rename'] = 'Unable to rename the file.';
|
||||
$lang['ftp_unable_to_delete'] = 'Unable to delete the file.';
|
||||
$lang['ftp_unable_to_move'] = 'Unable to move the file. Please make sure the destination directory exists.';
|
||||
@@ -1,56 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['imglib_source_image_required'] = 'You must specify a source image in your preferences.';
|
||||
$lang['imglib_gd_required'] = 'The GD image library is required for this feature.';
|
||||
$lang['imglib_gd_required_for_props'] = 'Your server must support the GD image library in order to determine the image properties.';
|
||||
$lang['imglib_unsupported_imagecreate'] = 'Your server does not support the GD function required to process this type of image.';
|
||||
$lang['imglib_gif_not_supported'] = 'GIF images are often not supported due to licensing restrictions. You may have to use JPG or PNG images instead.';
|
||||
$lang['imglib_jpg_not_supported'] = 'JPG images are not supported.';
|
||||
$lang['imglib_png_not_supported'] = 'PNG images are not supported.';
|
||||
$lang['imglib_jpg_or_png_required'] = 'The image resize protocol specified in your preferences only works with JPEG or PNG image types.';
|
||||
$lang['imglib_copy_error'] = 'An error was encountered while attempting to replace the file. Please make sure your file directory is writable.';
|
||||
$lang['imglib_rotate_unsupported'] = 'Image rotation does not appear to be supported by your server.';
|
||||
$lang['imglib_libpath_invalid'] = 'The path to your image library is not correct. Please set the correct path in your image preferences.';
|
||||
$lang['imglib_image_process_failed'] = 'Image processing failed. Please verify that your server supports the chosen protocol and that the path to your image library is correct.';
|
||||
$lang['imglib_rotation_angle_required'] = 'An angle of rotation is required to rotate the image.';
|
||||
$lang['imglib_invalid_path'] = 'The path to the image is not correct.';
|
||||
$lang['imglib_copy_failed'] = 'The image copy routine failed.';
|
||||
$lang['imglib_missing_font'] = 'Unable to find a font to use.';
|
||||
$lang['imglib_save_failed'] = 'Unable to save the image. Please make sure the image and file directory are writable.';
|
||||
@@ -1,11 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,28 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
// Account Creation
|
||||
$lang['message_' . MSG_SUCCESS] = 'Success';
|
||||
$lang['message_' . MSG_ERROR] = 'Error';
|
||||
$lang['message_' . MSG_ERR_INVALID_USER_ID] = 'No user id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_MSG_ID] = 'No message id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_THREAD_ID] = 'No message thread id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_STATUS_ID] = 'No status specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_SENDER_ID] = 'Not a valid sender';
|
||||
$lang['message_' . MSG_ERR_INVALID_RECEIVER_ID] = 'Not a valid receiver';
|
||||
$lang['message_' . MSG_ERR_INVALID_RECIPIENTS] = 'No valid recipients';
|
||||
$lang['message_' . MSG_ERR_INVALID_OU] = 'No valid organization unit';
|
||||
$lang['message_' . MSG_ERR_INVALID_TEMPLATE] = 'Not a valid template';
|
||||
$lang['message_' . MSG_ERR_SUBJECT_EMPTY] = 'Subject is empty';
|
||||
$lang['message_' . MSG_ERR_BODY_EMPTY] = 'Body is empty';
|
||||
$lang['message_' . MSG_ERR_TEMPLATE_NOT_FOUND] = 'Template not found';
|
||||
$lang['message_' . MSG_ERR_DELIVERY_MESSAGE] = 'Error while delivering the message';
|
||||
$lang['message_' . MSG_ERR_CONTACT_NOT_FOUND] = 'Contact not found for the specified person';
|
||||
$lang['message_' . MSG_MESSAGE_SENT] = 'Message sent';
|
||||
$lang['message_' . MSG_STATUS_UPDATE] = 'Status updated';
|
||||
$lang['message_' . MSG_PARTICIPANT_ADDED] = 'Participant added';
|
||||
$lang['message_' . MSG_ERR_PARTICIPANT_EXISTS] = 'User is already participating in this thread';
|
||||
$lang['message_' . MSG_ERR_PARTICIPANT_NONSYSTEM] = 'This user id is not in the system';
|
||||
$lang['message_' . MSG_PARTICIPANT_REMOVED] = 'Participant removed from thread';
|
||||
$lang['message_' . MSG_ERR_OU_CONTACTS_NOT_FOUND] = 'No receivers found for this organization unit';
|
||||
@@ -1,47 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 3.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['migration_none_found'] = 'No migrations were found.';
|
||||
$lang['migration_not_found'] = 'No migration could be found with the version number: %s.';
|
||||
$lang['migration_sequence_gap'] = 'There is a gap in the migration sequence near version number: %s.';
|
||||
$lang['migration_multiple_version'] = 'There are multiple migrations with the same version number: %s.';
|
||||
$lang['migration_class_doesnt_exist'] = 'The migration class "%s" could not be found.';
|
||||
$lang['migration_missing_up_method'] = 'The migration class "%s" is missing an "up" method.';
|
||||
$lang['migration_missing_down_method'] = 'The migration class "%s" is missing a "down" method.';
|
||||
$lang['migration_invalid_filename'] = 'Migration "%s" has an invalid filename.';
|
||||
@@ -1,44 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['terabyte_abbr'] = 'TB';
|
||||
$lang['gigabyte_abbr'] = 'GB';
|
||||
$lang['megabyte_abbr'] = 'MB';
|
||||
$lang['kilobyte_abbr'] = 'KB';
|
||||
$lang['bytes'] = 'Bytes';
|
||||
@@ -1,43 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['pagination_first_link'] = '‹ First';
|
||||
$lang['pagination_next_link'] = '>';
|
||||
$lang['pagination_prev_link'] = '<';
|
||||
$lang['pagination_last_link'] = 'Last ›';
|
||||
@@ -1,60 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['profiler_database'] = 'DATABASE';
|
||||
$lang['profiler_controller_info'] = 'CLASS/METHOD';
|
||||
$lang['profiler_benchmarks'] = 'BENCHMARKS';
|
||||
$lang['profiler_queries'] = 'QUERIES';
|
||||
$lang['profiler_get_data'] = 'GET DATA';
|
||||
$lang['profiler_post_data'] = 'POST DATA';
|
||||
$lang['profiler_uri_string'] = 'URI STRING';
|
||||
$lang['profiler_memory_usage'] = 'MEMORY USAGE';
|
||||
$lang['profiler_config'] = 'CONFIG VARIABLES';
|
||||
$lang['profiler_session_data'] = 'SESSION DATA';
|
||||
$lang['profiler_headers'] = 'HTTP HEADERS';
|
||||
$lang['profiler_no_db'] = 'Database driver is not currently loaded';
|
||||
$lang['profiler_no_queries'] = 'No queries were run';
|
||||
$lang['profiler_no_post'] = 'No POST data exists';
|
||||
$lang['profiler_no_get'] = 'No GET data exists';
|
||||
$lang['profiler_no_uri'] = 'No URI data exists';
|
||||
$lang['profiler_no_memory'] = 'Memory Usage Unavailable';
|
||||
$lang['profiler_no_profiles'] = 'No Profile data - all Profiler sections have been disabled.';
|
||||
$lang['profiler_section_hide'] = 'Hide';
|
||||
$lang['profiler_section_show'] = 'Show';
|
||||
$lang['profiler_seconds'] = 'seconds';
|
||||
@@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* English language
|
||||
*/
|
||||
|
||||
$lang['text_rest_invalid_api_key'] = 'Invalid API key %s'; // %s is the REST API key
|
||||
$lang['text_rest_invalid_credentials'] = 'Invalid credentials';
|
||||
$lang['text_rest_ip_denied'] = 'IP denied';
|
||||
$lang['text_rest_ip_unauthorized'] = 'IP unauthorized';
|
||||
$lang['text_rest_unauthorized'] = 'Unauthorized';
|
||||
$lang['text_rest_ajax_only'] = 'Only AJAX requests are allowed';
|
||||
$lang['text_rest_api_key_unauthorized'] = 'This API key does not have access to the requested controller';
|
||||
$lang['text_rest_api_key_permissions'] = 'This API key does not have enough permissions';
|
||||
$lang['text_rest_api_key_time_limit'] = 'This API key has reached the time limit for this method';
|
||||
$lang['text_rest_unknown_method'] = 'Unknown method';
|
||||
$lang['text_rest_unsupported'] = 'Unsupported protocol';
|
||||
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['seed_none_found'] = 'No seeds were found.';
|
||||
$lang['seed_not_found'] = 'No seed could be found with the version number: %s.';
|
||||
$lang['seed_sequence_gap'] = 'There is a gap in the seed sequence near version number: %s.';
|
||||
$lang['seed_multiple_version'] = 'There are multiple seeds with the same version number: %s.';
|
||||
$lang['seed_class_doesnt_exist'] = 'The seed class "%s" could not be found.';
|
||||
$lang['seed_missing_up_method'] = 'The seed class "%s" is missing an "up" method.';
|
||||
$lang['seed_missing_down_method'] = 'The seed class "%s" is missing a "down" method.';
|
||||
$lang['seed_invalid_filename'] = 'Seed "%s" has an invalid filename.';
|
||||
@@ -1,58 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['ut_test_name'] = 'Test Name';
|
||||
$lang['ut_test_datatype'] = 'Test Datatype';
|
||||
$lang['ut_res_datatype'] = 'Expected Datatype';
|
||||
$lang['ut_result'] = 'Result';
|
||||
$lang['ut_undefined'] = 'Undefined Test Name';
|
||||
$lang['ut_file'] = 'File Name';
|
||||
$lang['ut_line'] = 'Line Number';
|
||||
$lang['ut_passed'] = 'Passed';
|
||||
$lang['ut_failed'] = 'Failed';
|
||||
$lang['ut_boolean'] = 'Boolean';
|
||||
$lang['ut_integer'] = 'Integer';
|
||||
$lang['ut_float'] = 'Float';
|
||||
$lang['ut_double'] = 'Float'; // can be the same as float
|
||||
$lang['ut_string'] = 'String';
|
||||
$lang['ut_array'] = 'Array';
|
||||
$lang['ut_object'] = 'Object';
|
||||
$lang['ut_resource'] = 'Resource';
|
||||
$lang['ut_null'] = 'Null';
|
||||
$lang['ut_notes'] = 'Notes';
|
||||
@@ -1,55 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['upload_userfile_not_set'] = 'Unable to find a post variable called userfile.';
|
||||
$lang['upload_file_exceeds_limit'] = 'The uploaded file exceeds the maximum allowed size in your PHP configuration file.';
|
||||
$lang['upload_file_exceeds_form_limit'] = 'The uploaded file exceeds the maximum size allowed by the submission form.';
|
||||
$lang['upload_file_partial'] = 'The file was only partially uploaded.';
|
||||
$lang['upload_no_temp_directory'] = 'The temporary folder is missing.';
|
||||
$lang['upload_unable_to_write_file'] = 'The file could not be written to disk.';
|
||||
$lang['upload_stopped_by_extension'] = 'The file upload was stopped by extension.';
|
||||
$lang['upload_no_file_selected'] = 'You did not select a file to upload.';
|
||||
$lang['upload_invalid_filetype'] = 'The filetype you are attempting to upload is not allowed.';
|
||||
$lang['upload_invalid_filesize'] = 'The file you are attempting to upload is larger than the permitted size.';
|
||||
$lang['upload_invalid_dimensions'] = 'The image you are attempting to upload doesn\'t fit into the allowed dimensions.';
|
||||
$lang['upload_destination_error'] = 'A problem was encountered while attempting to move the uploaded file to the final destination.';
|
||||
$lang['upload_no_filepath'] = 'The upload path does not appear to be valid.';
|
||||
$lang['upload_no_file_types'] = 'You have not specified any allowed file types.';
|
||||
$lang['upload_bad_filename'] = 'The file name you submitted already exists on the server.';
|
||||
$lang['upload_not_writable'] = 'The upload destination folder does not appear to be writable.';
|
||||
@@ -1,11 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Brazilian portuguese language
|
||||
*/
|
||||
|
||||
$lang['text_rest_invalid_api_key'] = 'Chave da API %s inválida'; // %s is the REST API key
|
||||
$lang['text_rest_invalid_credentials'] = 'Credenciais inválidas';
|
||||
$lang['text_rest_ip_denied'] = 'IP proibido';
|
||||
$lang['text_rest_ip_unauthorized'] = 'IP não autorizado';
|
||||
$lang['text_rest_unauthorized'] = 'Não autorizado';
|
||||
$lang['text_rest_ajax_only'] = 'Apenas chamadas AJAX são permitidas';
|
||||
$lang['text_rest_api_key_unauthorized'] = 'Esta chave da API não tem acesso ao controller solicitado';
|
||||
$lang['text_rest_api_key_permissions'] = 'Esta chave da API não tem permissões suficientes';
|
||||
$lang['text_rest_api_key_time_limit'] = 'Esta chave da API já atingiu o tempo limite para este método';
|
||||
$lang['text_rest_unknown_method'] = 'Método desconhecido';
|
||||
$lang['text_rest_unsupported'] = 'Sem suporte para este protocolo';
|
||||
@@ -1,84 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['cal_su'] = 'Su';
|
||||
$lang['cal_mo'] = 'Mo';
|
||||
$lang['cal_tu'] = 'Tu';
|
||||
$lang['cal_we'] = 'We';
|
||||
$lang['cal_th'] = 'Th';
|
||||
$lang['cal_fr'] = 'Fr';
|
||||
$lang['cal_sa'] = 'Sa';
|
||||
$lang['cal_sun'] = 'Sun';
|
||||
$lang['cal_mon'] = 'Mon';
|
||||
$lang['cal_tue'] = 'Tue';
|
||||
$lang['cal_wed'] = 'Wed';
|
||||
$lang['cal_thu'] = 'Thu';
|
||||
$lang['cal_fri'] = 'Fri';
|
||||
$lang['cal_sat'] = 'Sat';
|
||||
$lang['cal_sunday'] = 'Sunday';
|
||||
$lang['cal_monday'] = 'Monday';
|
||||
$lang['cal_tuesday'] = 'Tuesday';
|
||||
$lang['cal_wednesday'] = 'Wednesday';
|
||||
$lang['cal_thursday'] = 'Thursday';
|
||||
$lang['cal_friday'] = 'Friday';
|
||||
$lang['cal_saturday'] = 'Saturday';
|
||||
$lang['cal_jan'] = 'Jan';
|
||||
$lang['cal_feb'] = 'Feb';
|
||||
$lang['cal_mar'] = 'Mar';
|
||||
$lang['cal_apr'] = 'Apr';
|
||||
$lang['cal_may'] = 'May';
|
||||
$lang['cal_jun'] = 'Jun';
|
||||
$lang['cal_jul'] = 'Jul';
|
||||
$lang['cal_aug'] = 'Aug';
|
||||
$lang['cal_sep'] = 'Sep';
|
||||
$lang['cal_oct'] = 'Oct';
|
||||
$lang['cal_nov'] = 'Nov';
|
||||
$lang['cal_dec'] = 'Dec';
|
||||
$lang['cal_january'] = 'January';
|
||||
$lang['cal_february'] = 'February';
|
||||
$lang['cal_march'] = 'March';
|
||||
$lang['cal_april'] = 'April';
|
||||
$lang['cal_mayl'] = 'May';
|
||||
$lang['cal_june'] = 'June';
|
||||
$lang['cal_july'] = 'July';
|
||||
$lang['cal_august'] = 'August';
|
||||
$lang['cal_september'] = 'September';
|
||||
$lang['cal_october'] = 'October';
|
||||
$lang['cal_november'] = 'November';
|
||||
$lang['cal_december'] = 'December';
|
||||
@@ -1,94 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['date_year'] = 'Year';
|
||||
$lang['date_years'] = 'Years';
|
||||
$lang['date_month'] = 'Month';
|
||||
$lang['date_months'] = 'Months';
|
||||
$lang['date_week'] = 'Week';
|
||||
$lang['date_weeks'] = 'Weeks';
|
||||
$lang['date_day'] = 'Day';
|
||||
$lang['date_days'] = 'Days';
|
||||
$lang['date_hour'] = 'Hour';
|
||||
$lang['date_hours'] = 'Hours';
|
||||
$lang['date_minute'] = 'Minute';
|
||||
$lang['date_minutes'] = 'Minutes';
|
||||
$lang['date_second'] = 'Second';
|
||||
$lang['date_seconds'] = 'Seconds';
|
||||
|
||||
$lang['UM12'] = '(UTC -12:00) Baker/Howland Island';
|
||||
$lang['UM11'] = '(UTC -11:00) Niue';
|
||||
$lang['UM10'] = '(UTC -10:00) Hawaii-Aleutian Standard Time, Cook Islands, Tahiti';
|
||||
$lang['UM95'] = '(UTC -9:30) Marquesas Islands';
|
||||
$lang['UM9'] = '(UTC -9:00) Alaska Standard Time, Gambier Islands';
|
||||
$lang['UM8'] = '(UTC -8:00) Pacific Standard Time, Clipperton Island';
|
||||
$lang['UM7'] = '(UTC -7:00) Mountain Standard Time';
|
||||
$lang['UM6'] = '(UTC -6:00) Central Standard Time';
|
||||
$lang['UM5'] = '(UTC -5:00) Eastern Standard Time, Western Caribbean Standard Time';
|
||||
$lang['UM45'] = '(UTC -4:30) Venezuelan Standard Time';
|
||||
$lang['UM4'] = '(UTC -4:00) Atlantic Standard Time, Eastern Caribbean Standard Time';
|
||||
$lang['UM35'] = '(UTC -3:30) Newfoundland Standard Time';
|
||||
$lang['UM3'] = '(UTC -3:00) Argentina, Brazil, French Guiana, Uruguay';
|
||||
$lang['UM2'] = '(UTC -2:00) South Georgia/South Sandwich Islands';
|
||||
$lang['UM1'] = '(UTC -1:00) Azores, Cape Verde Islands';
|
||||
$lang['UTC'] = '(UTC) Greenwich Mean Time, Western European Time';
|
||||
$lang['UP1'] = '(UTC +1:00) Central European Time, West Africa Time';
|
||||
$lang['UP2'] = '(UTC +2:00) Central Africa Time, Eastern European Time, Kaliningrad Time';
|
||||
$lang['UP3'] = '(UTC +3:00) Moscow Time, East Africa Time, Arabia Standard Time';
|
||||
$lang['UP35'] = '(UTC +3:30) Iran Standard Time';
|
||||
$lang['UP4'] = '(UTC +4:00) Azerbaijan Standard Time, Samara Time';
|
||||
$lang['UP45'] = '(UTC +4:30) Afghanistan';
|
||||
$lang['UP5'] = '(UTC +5:00) Pakistan Standard Time, Yekaterinburg Time';
|
||||
$lang['UP55'] = '(UTC +5:30) Indian Standard Time, Sri Lanka Time';
|
||||
$lang['UP575'] = '(UTC +5:45) Nepal Time';
|
||||
$lang['UP6'] = '(UTC +6:00) Bangladesh Standard Time, Bhutan Time, Omsk Time';
|
||||
$lang['UP65'] = '(UTC +6:30) Cocos Islands, Myanmar';
|
||||
$lang['UP7'] = '(UTC +7:00) Krasnoyarsk Time, Cambodia, Laos, Thailand, Vietnam';
|
||||
$lang['UP8'] = '(UTC +8:00) Australian Western Standard Time, Beijing Time, Irkutsk Time';
|
||||
$lang['UP875'] = '(UTC +8:45) Australian Central Western Standard Time';
|
||||
$lang['UP9'] = '(UTC +9:00) Japan Standard Time, Korea Standard Time, Yakutsk Time';
|
||||
$lang['UP95'] = '(UTC +9:30) Australian Central Standard Time';
|
||||
$lang['UP10'] = '(UTC +10:00) Australian Eastern Standard Time, Vladivostok Time';
|
||||
$lang['UP105'] = '(UTC +10:30) Lord Howe Island';
|
||||
$lang['UP11'] = '(UTC +11:00) Srednekolymsk Time, Solomon Islands, Vanuatu';
|
||||
$lang['UP115'] = '(UTC +11:30) Norfolk Island';
|
||||
$lang['UP12'] = '(UTC +12:00) Fiji, Gilbert Islands, Kamchatka Time, New Zealand Standard Time';
|
||||
$lang['UP1275'] = '(UTC +12:45) Chatham Islands Standard Time';
|
||||
$lang['UP13'] = '(UTC +13:00) Samoa Time Zone, Phoenix Islands Time, Tonga';
|
||||
$lang['UP14'] = '(UTC +14:00) Line Islands';
|
||||
@@ -1,63 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['db_invalid_connection_str'] = 'Unable to determine the database settings based on the connection string you submitted.';
|
||||
$lang['db_unable_to_connect'] = 'Unable to connect to your database server using the provided settings.';
|
||||
$lang['db_unable_to_select'] = 'Unable to select the specified database: %s';
|
||||
$lang['db_unable_to_create'] = 'Unable to create the specified database: %s';
|
||||
$lang['db_invalid_query'] = 'The query you submitted is not valid.';
|
||||
$lang['db_must_set_table'] = 'You must set the database table to be used with your query.';
|
||||
$lang['db_must_use_set'] = 'You must use the "set" method to update an entry.';
|
||||
$lang['db_must_use_index'] = 'You must specify an index to match on for batch updates.';
|
||||
$lang['db_batch_missing_index'] = 'One or more rows submitted for batch updating is missing the specified index.';
|
||||
$lang['db_must_use_where'] = 'Updates are not allowed unless they contain a "where" clause.';
|
||||
$lang['db_del_must_use_where'] = 'Deletes are not allowed unless they contain a "where" or "like" clause.';
|
||||
$lang['db_field_param_missing'] = 'To fetch fields requires the name of the table as a parameter.';
|
||||
$lang['db_unsupported_function'] = 'This feature is not available for the database you are using.';
|
||||
$lang['db_transaction_failure'] = 'Transaction failure: Rollback performed.';
|
||||
$lang['db_unable_to_drop'] = 'Unable to drop the specified database.';
|
||||
$lang['db_unsupported_feature'] = 'Unsupported feature of the database platform you are using.';
|
||||
$lang['db_unsupported_compression'] = 'The file compression format you chose is not supported by your server.';
|
||||
$lang['db_filepath_error'] = 'Unable to write data to the file path you have submitted.';
|
||||
$lang['db_invalid_cache_path'] = 'The cache path you submitted is not valid or writable.';
|
||||
$lang['db_table_name_required'] = 'A table name is required for that operation.';
|
||||
$lang['db_column_name_required'] = 'A column name is required for that operation.';
|
||||
$lang['db_column_definition_required'] = 'A column definition is required for that operation.';
|
||||
$lang['db_unable_to_set_charset'] = 'Unable to set client connection character set: %s';
|
||||
$lang['db_error_heading'] = 'A Database Error Occurred';
|
||||
@@ -1,58 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['email_must_be_array'] = 'The email validation method must be passed an array.';
|
||||
$lang['email_invalid_address'] = 'Invalid email address: %s';
|
||||
$lang['email_attachment_missing'] = 'Unable to locate the following email attachment: %s';
|
||||
$lang['email_attachment_unreadable'] = 'Unable to open this attachment: %s';
|
||||
$lang['email_no_from'] = 'Cannot send mail with no "From" header.';
|
||||
$lang['email_no_recipients'] = 'You must include recipients: To, Cc, or Bcc';
|
||||
$lang['email_send_failure_phpmail'] = 'Unable to send email using PHP mail(). Your server might not be configured to send mail using this method.';
|
||||
$lang['email_send_failure_sendmail'] = 'Unable to send email using PHP Sendmail. Your server might not be configured to send mail using this method.';
|
||||
$lang['email_send_failure_smtp'] = 'Unable to send email using PHP SMTP. Your server might not be configured to send mail using this method.';
|
||||
$lang['email_sent'] = 'Your message has been successfully sent using the following protocol: %s';
|
||||
$lang['email_no_socket'] = 'Unable to open a socket to Sendmail. Please check settings.';
|
||||
$lang['email_no_hostname'] = 'You did not specify a SMTP hostname.';
|
||||
$lang['email_smtp_error'] = 'The following SMTP error was encountered: %s';
|
||||
$lang['email_no_smtp_unpw'] = 'Error: You must assign a SMTP username and password.';
|
||||
$lang['email_failed_smtp_login'] = 'Failed to send AUTH LOGIN command. Error: %s';
|
||||
$lang['email_smtp_auth_un'] = 'Failed to authenticate username. Error: %s';
|
||||
$lang['email_smtp_auth_pw'] = 'Failed to authenticate password. Error: %s';
|
||||
$lang['email_smtp_data_failure'] = 'Unable to send data: %s';
|
||||
$lang['email_exit_status'] = 'Exit status code: %s';
|
||||
@@ -1,9 +0,0 @@
|
||||
<?php
|
||||
if ( ! defined('BASEPATH'))
|
||||
exit('No direct script access allowed');
|
||||
|
||||
// DB-Errormessages
|
||||
$lang['fhc_'.FHC_MODEL_ERROR] = 'Fehler in Model';
|
||||
$lang['fhc_'.FHC_NODBTABLE] = '"dbTable" ist nicht gesetzt!';
|
||||
$lang['fhc_'.FHC_NORIGHT] = 'Rechte sind nicht ausreichend!';
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
// Account Creation
|
||||
$lang['fhc_'.FHC_SUCCESS] = 'Erfolgreich!';
|
||||
$lang['fhc_'.FHC_ERROR] = 'Allgemeiner Fehler ist aufgetreten!';
|
||||
$lang['fhc_'.FHC_MODEL_ERROR] = 'Fehler in Model!';
|
||||
$lang['fhc_'.FHC_DB_ERROR] = 'Fehler beim Datenbankzugriff';
|
||||
$lang['fhc_'.FHC_NODBTABLE] = 'DB-Tabelle nicht vorhanden!';
|
||||
$lang['fhc_'.FHC_NORIGHT] = 'Fehlende Berechtigung des Users!';
|
||||
$lang['fhc_'.FHC_INVALIDID] = 'ID/Key ist ungültig oder nicht vorhanden!';
|
||||
@@ -1,68 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['form_validation_required'] = 'The {field} field is required.';
|
||||
$lang['form_validation_isset'] = 'The {field} field must have a value.';
|
||||
$lang['form_validation_valid_email'] = 'The {field} field must contain a valid email address.';
|
||||
$lang['form_validation_valid_emails'] = 'The {field} field must contain all valid email addresses.';
|
||||
$lang['form_validation_valid_url'] = 'The {field} field must contain a valid URL.';
|
||||
$lang['form_validation_valid_ip'] = 'The {field} field must contain a valid IP.';
|
||||
$lang['form_validation_min_length'] = 'The {field} field must be at least {param} characters in length.';
|
||||
$lang['form_validation_max_length'] = 'The {field} field cannot exceed {param} characters in length.';
|
||||
$lang['form_validation_exact_length'] = 'The {field} field must be exactly {param} characters in length.';
|
||||
$lang['form_validation_alpha'] = 'The {field} field may only contain alphabetical characters.';
|
||||
$lang['form_validation_alpha_numeric'] = 'The {field} field may only contain alpha-numeric characters.';
|
||||
$lang['form_validation_alpha_numeric_spaces'] = 'The {field} field may only contain alpha-numeric characters and spaces.';
|
||||
$lang['form_validation_alpha_dash'] = 'The {field} field may only contain alpha-numeric characters, underscores, and dashes.';
|
||||
$lang['form_validation_numeric'] = 'The {field} field must contain only numbers.';
|
||||
$lang['form_validation_is_numeric'] = 'The {field} field must contain only numeric characters.';
|
||||
$lang['form_validation_integer'] = 'The {field} field must contain an integer.';
|
||||
$lang['form_validation_regex_match'] = 'The {field} field is not in the correct format.';
|
||||
$lang['form_validation_matches'] = 'The {field} field does not match the {param} field.';
|
||||
$lang['form_validation_differs'] = 'The {field} field must differ from the {param} field.';
|
||||
$lang['form_validation_is_unique'] = 'The {field} field must contain a unique value.';
|
||||
$lang['form_validation_is_natural'] = 'The {field} field must only contain digits.';
|
||||
$lang['form_validation_is_natural_no_zero'] = 'The {field} field must only contain digits and must be greater than zero.';
|
||||
$lang['form_validation_decimal'] = 'The {field} field must contain a decimal number.';
|
||||
$lang['form_validation_less_than'] = 'The {field} field must contain a number less than {param}.';
|
||||
$lang['form_validation_less_than_equal_to'] = 'The {field} field must contain a number less than or equal to {param}.';
|
||||
$lang['form_validation_greater_than'] = 'The {field} field must contain a number greater than {param}.';
|
||||
$lang['form_validation_greater_than_equal_to'] = 'The {field} field must contain a number greater than or equal to {param}.';
|
||||
$lang['form_validation_error_message_not_set'] = 'Unable to access an error message corresponding to your field name {field}.';
|
||||
$lang['form_validation_in_list'] = 'The {field} field must be one of: {param}.';
|
||||
@@ -1,51 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['ftp_no_connection'] = 'Unable to locate a valid connection ID. Please make sure you are connected before performing any file routines.';
|
||||
$lang['ftp_unable_to_connect'] = 'Unable to connect to your FTP server using the supplied hostname.';
|
||||
$lang['ftp_unable_to_login'] = 'Unable to login to your FTP server. Please check your username and password.';
|
||||
$lang['ftp_unable_to_mkdir'] = 'Unable to create the directory you have specified.';
|
||||
$lang['ftp_unable_to_changedir'] = 'Unable to change directories.';
|
||||
$lang['ftp_unable_to_chmod'] = 'Unable to set file permissions. Please check your path.';
|
||||
$lang['ftp_unable_to_upload'] = 'Unable to upload the specified file. Please check your path.';
|
||||
$lang['ftp_unable_to_download'] = 'Unable to download the specified file. Please check your path.';
|
||||
$lang['ftp_no_source_file'] = 'Unable to locate the source file. Please check your path.';
|
||||
$lang['ftp_unable_to_rename'] = 'Unable to rename the file.';
|
||||
$lang['ftp_unable_to_delete'] = 'Unable to delete the file.';
|
||||
$lang['ftp_unable_to_move'] = 'Unable to move the file. Please make sure the destination directory exists.';
|
||||
@@ -1,56 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['imglib_source_image_required'] = 'You must specify a source image in your preferences.';
|
||||
$lang['imglib_gd_required'] = 'The GD image library is required for this feature.';
|
||||
$lang['imglib_gd_required_for_props'] = 'Your server must support the GD image library in order to determine the image properties.';
|
||||
$lang['imglib_unsupported_imagecreate'] = 'Your server does not support the GD function required to process this type of image.';
|
||||
$lang['imglib_gif_not_supported'] = 'GIF images are often not supported due to licensing restrictions. You may have to use JPG or PNG images instead.';
|
||||
$lang['imglib_jpg_not_supported'] = 'JPG images are not supported.';
|
||||
$lang['imglib_png_not_supported'] = 'PNG images are not supported.';
|
||||
$lang['imglib_jpg_or_png_required'] = 'The image resize protocol specified in your preferences only works with JPEG or PNG image types.';
|
||||
$lang['imglib_copy_error'] = 'An error was encountered while attempting to replace the file. Please make sure your file directory is writable.';
|
||||
$lang['imglib_rotate_unsupported'] = 'Image rotation does not appear to be supported by your server.';
|
||||
$lang['imglib_libpath_invalid'] = 'The path to your image library is not correct. Please set the correct path in your image preferences.';
|
||||
$lang['imglib_image_process_failed'] = 'Image processing failed. Please verify that your server supports the chosen protocol and that the path to your image library is correct.';
|
||||
$lang['imglib_rotation_angle_required'] = 'An angle of rotation is required to rotate the image.';
|
||||
$lang['imglib_invalid_path'] = 'The path to the image is not correct.';
|
||||
$lang['imglib_copy_failed'] = 'The image copy routine failed.';
|
||||
$lang['imglib_missing_font'] = 'Unable to find a font to use.';
|
||||
$lang['imglib_save_failed'] = 'Unable to save the image. Please make sure the image and file directory are writable.';
|
||||
@@ -1,11 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,27 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
// Account Creation
|
||||
$lang['message_' . MSG_SUCCESS] = 'Success';
|
||||
$lang['message_' . MSG_ERROR] = 'Error';
|
||||
$lang['message_' . MSG_ERR_INVALID_USER_ID] = 'No user id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_MSG_ID] = 'No message id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_THREAD_ID] = 'No message thread id specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_STATUS_ID] = 'No status specified';
|
||||
$lang['message_' . MSG_ERR_INVALID_SENDER_ID] = 'Not a valid sender';
|
||||
$lang['message_' . MSG_ERR_INVALID_RECEIVER_ID] = 'Not a valid receiver';
|
||||
$lang['message_' . MSG_ERR_INVALID_RECIPIENTS] = 'No valid recipients';
|
||||
$lang['message_' . MSG_ERR_INVALID_OU] = 'No valid organization unit';
|
||||
$lang['message_' . MSG_ERR_INVALID_TEMPLATE] = 'Not a valid template';
|
||||
$lang['message_' . MSG_ERR_SUBJECT_EMPTY] = 'Subject is empty';
|
||||
$lang['message_' . MSG_ERR_BODY_EMPTY] = 'Body is empty';
|
||||
$lang['message_' . MSG_ERR_TEMPLATE_NOT_FOUND] = 'Template not found';
|
||||
$lang['message_' . MSG_ERR_DELIVERY_MESSAGE] = 'Error while delivering the message';
|
||||
$lang['message_' . MSG_ERR_CONTACT_NOT_FOUND] = 'Contact not found for the specified person';
|
||||
$lang['message_' . MSG_MESSAGE_SENT] = 'Message sent';
|
||||
$lang['message_' . MSG_STATUS_UPDATE] = 'Status updated';
|
||||
$lang['message_' . MSG_PARTICIPANT_ADDED] = 'Participant added';
|
||||
$lang['message_' . MSG_ERR_PARTICIPANT_EXISTS] = 'User is already participating in this thread';
|
||||
$lang['message_' . MSG_ERR_PARTICIPANT_NONSYSTEM] = 'This user id is not in the system';
|
||||
$lang['message_' . MSG_PARTICIPANT_REMOVED] = 'Participant removed from thread';
|
||||
@@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* Austrian-German Language
|
||||
*/
|
||||
|
||||
$lang['text_rest_invalid_api_key'] = 'Invalid API key %s'; // %s is the REST API key
|
||||
$lang['text_rest_invalid_credentials'] = 'Invalid credentials';
|
||||
$lang['text_rest_ip_denied'] = 'IP denied';
|
||||
$lang['text_rest_ip_unauthorized'] = 'IP unauthorized';
|
||||
$lang['text_rest_unauthorized'] = 'Unauthorized';
|
||||
$lang['text_rest_ajax_only'] = 'Only AJAX requests are allowed';
|
||||
$lang['text_rest_api_key_unauthorized'] = 'This API key does not have access to the requested controller';
|
||||
$lang['text_rest_api_key_permissions'] = 'This API key does not have enough permissions';
|
||||
$lang['text_rest_api_key_time_limit'] = 'This API key has reached the time limit for this method';
|
||||
$lang['text_rest_unknown_method'] = 'Unknown method';
|
||||
$lang['text_rest_unsupported'] = 'Unsupported protocol';
|
||||
@@ -1,44 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['terabyte_abbr'] = 'TB';
|
||||
$lang['gigabyte_abbr'] = 'GB';
|
||||
$lang['megabyte_abbr'] = 'MB';
|
||||
$lang['kilobyte_abbr'] = 'KB';
|
||||
$lang['bytes'] = 'Bytes';
|
||||
@@ -1,43 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['pagination_first_link'] = '‹ First';
|
||||
$lang['pagination_next_link'] = '>';
|
||||
$lang['pagination_prev_link'] = '<';
|
||||
$lang['pagination_last_link'] = 'Last ›';
|
||||
@@ -1,60 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['profiler_database'] = 'DATABASE';
|
||||
$lang['profiler_controller_info'] = 'CLASS/METHOD';
|
||||
$lang['profiler_benchmarks'] = 'BENCHMARKS';
|
||||
$lang['profiler_queries'] = 'QUERIES';
|
||||
$lang['profiler_get_data'] = 'GET DATA';
|
||||
$lang['profiler_post_data'] = 'POST DATA';
|
||||
$lang['profiler_uri_string'] = 'URI STRING';
|
||||
$lang['profiler_memory_usage'] = 'MEMORY USAGE';
|
||||
$lang['profiler_config'] = 'CONFIG VARIABLES';
|
||||
$lang['profiler_session_data'] = 'SESSION DATA';
|
||||
$lang['profiler_headers'] = 'HTTP HEADERS';
|
||||
$lang['profiler_no_db'] = 'Database driver is not currently loaded';
|
||||
$lang['profiler_no_queries'] = 'No queries were run';
|
||||
$lang['profiler_no_post'] = 'No POST data exists';
|
||||
$lang['profiler_no_get'] = 'No GET data exists';
|
||||
$lang['profiler_no_uri'] = 'No URI data exists';
|
||||
$lang['profiler_no_memory'] = 'Memory Usage Unavailable';
|
||||
$lang['profiler_no_profiles'] = 'No Profile data - all Profiler sections have been disabled.';
|
||||
$lang['profiler_section_hide'] = 'Hide';
|
||||
$lang['profiler_section_show'] = 'Show';
|
||||
$lang['profiler_seconds'] = 'seconds';
|
||||
@@ -1,17 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* English language
|
||||
*/
|
||||
|
||||
$lang['text_rest_invalid_api_key'] = 'Invalid API key %s'; // %s is the REST API key
|
||||
$lang['text_rest_invalid_credentials'] = 'Invalid credentials';
|
||||
$lang['text_rest_ip_denied'] = 'IP denied';
|
||||
$lang['text_rest_ip_unauthorized'] = 'IP unauthorized';
|
||||
$lang['text_rest_unauthorized'] = 'Unauthorized';
|
||||
$lang['text_rest_ajax_only'] = 'Only AJAX requests are allowed';
|
||||
$lang['text_rest_api_key_unauthorized'] = 'This API key does not have access to the requested controller';
|
||||
$lang['text_rest_api_key_permissions'] = 'This API key does not have enough permissions';
|
||||
$lang['text_rest_api_key_time_limit'] = 'This API key has reached the time limit for this method';
|
||||
$lang['text_rest_unknown_method'] = 'Unknown method';
|
||||
$lang['text_rest_unsupported'] = 'Unsupported protocol';
|
||||
@@ -1,15 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* FH-Complete
|
||||
*
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['seed_none_found'] = 'No seeds were found.';
|
||||
$lang['seed_not_found'] = 'No seed could be found with the version number: %s.';
|
||||
$lang['seed_sequence_gap'] = 'There is a gap in the seed sequence near version number: %s.';
|
||||
$lang['seed_multiple_version'] = 'There are multiple seeds with the same version number: %s.';
|
||||
$lang['seed_class_doesnt_exist'] = 'The seed class "%s" could not be found.';
|
||||
$lang['seed_missing_up_method'] = 'The seed class "%s" is missing an "up" method.';
|
||||
$lang['seed_missing_down_method'] = 'The seed class "%s" is missing a "down" method.';
|
||||
$lang['seed_invalid_filename'] = 'Seed "%s" has an invalid filename.';
|
||||
@@ -1,58 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['ut_test_name'] = 'Test Name';
|
||||
$lang['ut_test_datatype'] = 'Test Datatype';
|
||||
$lang['ut_res_datatype'] = 'Expected Datatype';
|
||||
$lang['ut_result'] = 'Result';
|
||||
$lang['ut_undefined'] = 'Undefined Test Name';
|
||||
$lang['ut_file'] = 'File Name';
|
||||
$lang['ut_line'] = 'Line Number';
|
||||
$lang['ut_passed'] = 'Passed';
|
||||
$lang['ut_failed'] = 'Failed';
|
||||
$lang['ut_boolean'] = 'Boolean';
|
||||
$lang['ut_integer'] = 'Integer';
|
||||
$lang['ut_float'] = 'Float';
|
||||
$lang['ut_double'] = 'Float'; // can be the same as float
|
||||
$lang['ut_string'] = 'String';
|
||||
$lang['ut_array'] = 'Array';
|
||||
$lang['ut_object'] = 'Object';
|
||||
$lang['ut_resource'] = 'Resource';
|
||||
$lang['ut_null'] = 'Null';
|
||||
$lang['ut_notes'] = 'Notes';
|
||||
@@ -1,55 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
* CodeIgniter
|
||||
*
|
||||
* An open source application development framework for PHP
|
||||
*
|
||||
* This content is released under the MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2014 - 2016, British Columbia Institute of Technology
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*
|
||||
* @package CodeIgniter
|
||||
* @author EllisLab Dev Team
|
||||
* @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (https://ellislab.com/)
|
||||
* @copyright Copyright (c) 2014 - 2016, British Columbia Institute of Technology (http://bcit.ca/)
|
||||
* @license http://opensource.org/licenses/MIT MIT License
|
||||
* @link https://codeigniter.com
|
||||
* @since Version 1.0.0
|
||||
* @filesource
|
||||
*/
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
$lang['upload_userfile_not_set'] = 'Unable to find a post variable called userfile.';
|
||||
$lang['upload_file_exceeds_limit'] = 'The uploaded file exceeds the maximum allowed size in your PHP configuration file.';
|
||||
$lang['upload_file_exceeds_form_limit'] = 'The uploaded file exceeds the maximum size allowed by the submission form.';
|
||||
$lang['upload_file_partial'] = 'The file was only partially uploaded.';
|
||||
$lang['upload_no_temp_directory'] = 'The temporary folder is missing.';
|
||||
$lang['upload_unable_to_write_file'] = 'The file could not be written to disk.';
|
||||
$lang['upload_stopped_by_extension'] = 'The file upload was stopped by extension.';
|
||||
$lang['upload_no_file_selected'] = 'You did not select a file to upload.';
|
||||
$lang['upload_invalid_filetype'] = 'The filetype you are attempting to upload is not allowed.';
|
||||
$lang['upload_invalid_filesize'] = 'The file you are attempting to upload is larger than the permitted size.';
|
||||
$lang['upload_invalid_dimensions'] = 'The image you are attempting to upload doesn\'t fit into the allowed dimensions.';
|
||||
$lang['upload_destination_error'] = 'A problem was encountered while attempting to move the uploaded file to the final destination.';
|
||||
$lang['upload_no_filepath'] = 'The upload path does not appear to be valid.';
|
||||
$lang['upload_no_file_types'] = 'You have not specified any allowed file types.';
|
||||
$lang['upload_bad_filename'] = 'The file name you submitted already exists on the server.';
|
||||
$lang['upload_not_writable'] = 'The upload destination folder does not appear to be writable.';
|
||||
@@ -199,7 +199,7 @@ class DmsLib
|
||||
if ($this->ci->db->trans_status() === false || isError($result))
|
||||
{
|
||||
$this->ci->db->trans_rollback();
|
||||
$result = error($result->msg, EXIT_ERROR);
|
||||
$result = error('An error occurred while performing a delete operation', EXIT_ERROR);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -1,531 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
/**
|
||||
* Format class
|
||||
* Help convert between various formats such as XML, JSON, CSV, etc.
|
||||
*
|
||||
* @author Phil Sturgeon, Chris Kacerguis, @softwarespot
|
||||
* @license http://www.dbad-license.org/
|
||||
*/
|
||||
class Format {
|
||||
|
||||
/**
|
||||
* Array output format
|
||||
*/
|
||||
const ARRAY_FORMAT = 'array';
|
||||
|
||||
/**
|
||||
* Comma Separated Value (CSV) output format
|
||||
*/
|
||||
const CSV_FORMAT = 'csv';
|
||||
|
||||
/**
|
||||
* Json output format
|
||||
*/
|
||||
const JSON_FORMAT = 'json';
|
||||
|
||||
/**
|
||||
* HTML output format
|
||||
*/
|
||||
const HTML_FORMAT = 'html';
|
||||
|
||||
/**
|
||||
* PHP output format
|
||||
*/
|
||||
const PHP_FORMAT = 'php';
|
||||
|
||||
/**
|
||||
* Serialized output format
|
||||
*/
|
||||
const SERIALIZED_FORMAT = 'serialized';
|
||||
|
||||
/**
|
||||
* XML output format
|
||||
*/
|
||||
const XML_FORMAT = 'xml';
|
||||
|
||||
/**
|
||||
* Default format of this class
|
||||
*/
|
||||
const DEFAULT_FORMAT = self::JSON_FORMAT; // Couldn't be DEFAULT, as this is a keyword
|
||||
|
||||
/**
|
||||
* CodeIgniter instance
|
||||
*
|
||||
* @var object
|
||||
*/
|
||||
private $_CI;
|
||||
|
||||
/**
|
||||
* Data to parse
|
||||
*
|
||||
* @var mixed
|
||||
*/
|
||||
protected $_data = [];
|
||||
|
||||
/**
|
||||
* Type to convert from
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $_from_type = NULL;
|
||||
|
||||
/**
|
||||
* DO NOT CALL THIS DIRECTLY, USE factory()
|
||||
*
|
||||
* @param NULL $data
|
||||
* @param NULL $from_type
|
||||
* @throws Exception
|
||||
*/
|
||||
|
||||
public function __construct($data = NULL, $from_type = NULL)
|
||||
{
|
||||
// Get the CodeIgniter reference
|
||||
$this->_CI = &get_instance();
|
||||
|
||||
// Load the inflector helper
|
||||
$this->_CI->load->helper('inflector');
|
||||
|
||||
// If the provided data is already formatted we should probably convert it to an array
|
||||
if ($from_type !== NULL)
|
||||
{
|
||||
if (method_exists($this, '_from_' . $from_type))
|
||||
{
|
||||
$data = call_user_func([$this, '_from_' . $from_type], $data);
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new Exception('Format class does not support conversion from "' . $from_type . '".');
|
||||
}
|
||||
}
|
||||
|
||||
// Set the member variable to the data passed
|
||||
$this->_data = $data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an instance of the format class
|
||||
* e.g: echo $this->format->factory(['foo' => 'bar'])->to_csv();
|
||||
*
|
||||
* @param mixed $data Data to convert/parse
|
||||
* @param string $from_type Type to convert from e.g. json, csv, html
|
||||
*
|
||||
* @return object Instance of the format class
|
||||
*/
|
||||
public function factory($data, $from_type = NULL)
|
||||
{
|
||||
// $class = __CLASS__;
|
||||
// return new $class();
|
||||
|
||||
return new static($data, $from_type);
|
||||
}
|
||||
|
||||
// FORMATTING OUTPUT ---------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Format data as an array
|
||||
*
|
||||
* @param mixed|NULL $data Optional data to pass, so as to override the data passed
|
||||
* to the constructor
|
||||
* @return array Data parsed as an array; otherwise, an empty array
|
||||
*/
|
||||
public function to_array($data = NULL)
|
||||
{
|
||||
// If no data is passed as a parameter, then use the data passed
|
||||
// via the constructor
|
||||
if ($data === NULL && func_num_args() === 0)
|
||||
{
|
||||
$data = $this->_data;
|
||||
}
|
||||
|
||||
// Cast as an array if not already
|
||||
if (is_array($data) === FALSE)
|
||||
{
|
||||
$data = (array) $data;
|
||||
}
|
||||
|
||||
$array = [];
|
||||
foreach ((array) $data as $key => $value)
|
||||
{
|
||||
if (is_object($value) === TRUE || is_array($value) === TRUE)
|
||||
{
|
||||
$array[$key] = $this->to_array($value);
|
||||
}
|
||||
else
|
||||
{
|
||||
$array[$key] = $value;
|
||||
}
|
||||
}
|
||||
|
||||
return $array;
|
||||
}
|
||||
|
||||
/**
|
||||
* Format data as XML
|
||||
*
|
||||
* @param mixed|NULL $data Optional data to pass, so as to override the data passed
|
||||
* to the constructor
|
||||
* @param NULL $structure
|
||||
* @param string $basenode
|
||||
* @return mixed
|
||||
*/
|
||||
public function to_xml($data = NULL, $structure = NULL, $basenode = 'xml')
|
||||
{
|
||||
if ($data === NULL && func_num_args() === 0)
|
||||
{
|
||||
$data = $this->_data;
|
||||
}
|
||||
|
||||
// turn off compatibility mode as simple xml throws a wobbly if you don't.
|
||||
if (ini_get('zend.ze1_compatibility_mode') == 1)
|
||||
{
|
||||
ini_set('zend.ze1_compatibility_mode', 0);
|
||||
}
|
||||
|
||||
if ($structure === NULL)
|
||||
{
|
||||
$structure = simplexml_load_string("<?xml version='1.0' encoding='utf-8'?><$basenode />");
|
||||
}
|
||||
|
||||
// Force it to be something useful
|
||||
if (is_array($data) === FALSE && is_object($data) === FALSE)
|
||||
{
|
||||
$data = (array) $data;
|
||||
}
|
||||
|
||||
foreach ($data as $key => $value)
|
||||
{
|
||||
|
||||
//change false/true to 0/1
|
||||
if (is_bool($value))
|
||||
{
|
||||
$value = (int) $value;
|
||||
}
|
||||
|
||||
// no numeric keys in our xml please!
|
||||
if (is_numeric($key))
|
||||
{
|
||||
// make string key...
|
||||
$key = (singular($basenode) != $basenode) ? singular($basenode) : 'item';
|
||||
}
|
||||
|
||||
// replace anything not alpha numeric
|
||||
$key = preg_replace('/[^a-z_\-0-9]/i', '', $key);
|
||||
|
||||
if ($key === '_attributes' && (is_array($value) || is_object($value)))
|
||||
{
|
||||
$attributes = $value;
|
||||
if (is_object($attributes))
|
||||
{
|
||||
$attributes = get_object_vars($attributes);
|
||||
}
|
||||
|
||||
foreach ($attributes as $attribute_name => $attribute_value)
|
||||
{
|
||||
$structure->addAttribute($attribute_name, $attribute_value);
|
||||
}
|
||||
}
|
||||
// if there is another array found recursively call this function
|
||||
elseif (is_array($value) || is_object($value))
|
||||
{
|
||||
$node = $structure->addChild($key);
|
||||
|
||||
// recursive call.
|
||||
$this->to_xml($value, $node, $key);
|
||||
}
|
||||
else
|
||||
{
|
||||
// add single node.
|
||||
$value = htmlspecialchars(html_entity_decode($value, ENT_QUOTES, 'UTF-8'), ENT_QUOTES, 'UTF-8');
|
||||
|
||||
$structure->addChild($key, $value);
|
||||
}
|
||||
}
|
||||
|
||||
return $structure->asXML();
|
||||
}
|
||||
|
||||
/**
|
||||
* Format data as HTML
|
||||
*
|
||||
* @param mixed|NULL $data Optional data to pass, so as to override the data passed
|
||||
* to the constructor
|
||||
* @return mixed
|
||||
*/
|
||||
public function to_html($data = NULL)
|
||||
{
|
||||
// If no data is passed as a parameter, then use the data passed
|
||||
// via the constructor
|
||||
if ($data === NULL && func_num_args() === 0)
|
||||
{
|
||||
$data = $this->_data;
|
||||
}
|
||||
|
||||
// Cast as an array if not already
|
||||
if (is_array($data) === FALSE)
|
||||
{
|
||||
$data = (array) $data;
|
||||
}
|
||||
|
||||
// Check if it's a multi-dimensional array
|
||||
if (isset($data[0]) && count($data) !== count($data, COUNT_RECURSIVE))
|
||||
{
|
||||
// Multi-dimensional array
|
||||
$headings = array_keys($data[0]);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Single array
|
||||
$headings = array_keys($data);
|
||||
$data = [$data];
|
||||
}
|
||||
|
||||
// Load the table library
|
||||
$this->_CI->load->library('table');
|
||||
|
||||
$this->_CI->table->set_heading($headings);
|
||||
|
||||
foreach ($data as $row)
|
||||
{
|
||||
// Suppressing the "array to string conversion" notice
|
||||
// Keep the "evil" @ here
|
||||
$row = @array_map('strval', $row);
|
||||
|
||||
$this->_CI->table->add_row($row);
|
||||
}
|
||||
|
||||
return $this->_CI->table->generate();
|
||||
}
|
||||
|
||||
/**
|
||||
* @link http://www.metashock.de/2014/02/create-csv-file-in-memory-php/
|
||||
* @param mixed|NULL $data Optional data to pass, so as to override the data passed
|
||||
* to the constructor
|
||||
* @param string $delimiter The optional delimiter parameter sets the field
|
||||
* delimiter (one character only). NULL will use the default value (,)
|
||||
* @param string $enclosure The optional enclosure parameter sets the field
|
||||
* enclosure (one character only). NULL will use the default value (")
|
||||
* @return string A csv string
|
||||
*/
|
||||
public function to_csv($data = NULL, $delimiter = ',', $enclosure = '"')
|
||||
{
|
||||
// Use a threshold of 1 MB (1024 * 1024)
|
||||
$handle = fopen('php://temp/maxmemory:1048576', 'w');
|
||||
if ($handle === FALSE)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
// If no data is passed as a parameter, then use the data passed
|
||||
// via the constructor
|
||||
if ($data === NULL && func_num_args() === 0)
|
||||
{
|
||||
$data = $this->_data;
|
||||
}
|
||||
|
||||
// If NULL, then set as the default delimiter
|
||||
if ($delimiter === NULL)
|
||||
{
|
||||
$delimiter = ',';
|
||||
}
|
||||
|
||||
// If NULL, then set as the default enclosure
|
||||
if ($enclosure === NULL)
|
||||
{
|
||||
$enclosure = '"';
|
||||
}
|
||||
|
||||
// Cast as an array if not already
|
||||
if (is_array($data) === FALSE)
|
||||
{
|
||||
$data = (array) $data;
|
||||
}
|
||||
|
||||
// Check if it's a multi-dimensional array
|
||||
if (isset($data[0]) && count($data) !== count($data, COUNT_RECURSIVE))
|
||||
{
|
||||
// Multi-dimensional array
|
||||
$headings = array_keys($data[0]);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Single array
|
||||
$headings = array_keys($data);
|
||||
$data = [$data];
|
||||
}
|
||||
|
||||
// Apply the headings
|
||||
fputcsv($handle, $headings, $delimiter, $enclosure);
|
||||
|
||||
foreach ($data as $record)
|
||||
{
|
||||
// If the record is not an array, then break. This is because the 2nd param of
|
||||
// fputcsv() should be an array
|
||||
if (is_array($record) === FALSE)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
// Suppressing the "array to string conversion" notice.
|
||||
// Keep the "evil" @ here.
|
||||
$record = @ array_map('strval', $record);
|
||||
|
||||
// Returns the length of the string written or FALSE
|
||||
fputcsv($handle, $record, $delimiter, $enclosure);
|
||||
}
|
||||
|
||||
// Reset the file pointer
|
||||
rewind($handle);
|
||||
|
||||
// Retrieve the csv contents
|
||||
$csv = stream_get_contents($handle);
|
||||
|
||||
// Close the handle
|
||||
fclose($handle);
|
||||
|
||||
return $csv;
|
||||
}
|
||||
|
||||
/**
|
||||
* Encode data as json
|
||||
*
|
||||
* @param mixed|NULL $data Optional data to pass, so as to override the data passed
|
||||
* to the constructor
|
||||
* @return string Json representation of a value
|
||||
*/
|
||||
public function to_json($data = NULL)
|
||||
{
|
||||
// If no data is passed as a parameter, then use the data passed
|
||||
// via the constructor
|
||||
if ($data === NULL && func_num_args() === 0)
|
||||
{
|
||||
$data = $this->_data;
|
||||
}
|
||||
|
||||
// Get the callback parameter (if set)
|
||||
$callback = $this->_CI->input->get('callback');
|
||||
|
||||
if (empty($callback) === TRUE)
|
||||
{
|
||||
return json_encode($data);
|
||||
}
|
||||
|
||||
// We only honour a jsonp callback which are valid javascript identifiers
|
||||
elseif (preg_match('/^[a-z_\$][a-z0-9\$_]*(\.[a-z_\$][a-z0-9\$_]*)*$/i', $callback))
|
||||
{
|
||||
// Return the data as encoded json with a callback
|
||||
return $callback . '(' . json_encode($data) . ');';
|
||||
}
|
||||
|
||||
// An invalid jsonp callback function provided.
|
||||
// Though I don't believe this should be hardcoded here
|
||||
$data['warning'] = 'INVALID JSONP CALLBACK: ' . $callback;
|
||||
|
||||
return json_encode($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Encode data as a serialized array
|
||||
*
|
||||
* @param mixed|NULL $data Optional data to pass, so as to override the data passed
|
||||
* to the constructor
|
||||
* @return string Serialized data
|
||||
*/
|
||||
public function to_serialized($data = NULL)
|
||||
{
|
||||
// If no data is passed as a parameter, then use the data passed
|
||||
// via the constructor
|
||||
if ($data === NULL && func_num_args() === 0)
|
||||
{
|
||||
$data = $this->_data;
|
||||
}
|
||||
|
||||
return serialize($data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Format data using a PHP structure
|
||||
*
|
||||
* @param mixed|NULL $data Optional data to pass, so as to override the data passed
|
||||
* to the constructor
|
||||
* @return mixed String representation of a variable
|
||||
*/
|
||||
public function to_php($data = NULL)
|
||||
{
|
||||
// If no data is passed as a parameter, then use the data passed
|
||||
// via the constructor
|
||||
if ($data === NULL && func_num_args() === 0)
|
||||
{
|
||||
$data = $this->_data;
|
||||
}
|
||||
|
||||
return var_export($data, TRUE);
|
||||
}
|
||||
|
||||
// INTERNAL FUNCTIONS
|
||||
|
||||
/**
|
||||
* @param $data XML string
|
||||
* @return SimpleXMLElement XML element object; otherwise, empty array
|
||||
*/
|
||||
protected function _from_xml($data)
|
||||
{
|
||||
return $data ? (array) simplexml_load_string($data, 'SimpleXMLElement', LIBXML_NOCDATA) : [];
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $data CSV string
|
||||
* @param string $delimiter The optional delimiter parameter sets the field
|
||||
* delimiter (one character only). NULL will use the default value (,)
|
||||
* @param string $enclosure The optional enclosure parameter sets the field
|
||||
* enclosure (one character only). NULL will use the default value (")
|
||||
* @return array A multi-dimensional array with the outer array being the number of rows
|
||||
* and the inner arrays the individual fields
|
||||
*/
|
||||
protected function _from_csv($data, $delimiter = ',', $enclosure = '"')
|
||||
{
|
||||
// If NULL, then set as the default delimiter
|
||||
if ($delimiter === NULL)
|
||||
{
|
||||
$delimiter = ',';
|
||||
}
|
||||
|
||||
// If NULL, then set as the default enclosure
|
||||
if ($enclosure === NULL)
|
||||
{
|
||||
$enclosure = '"';
|
||||
}
|
||||
|
||||
return str_getcsv($data, $delimiter, $enclosure);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $data Encoded json string
|
||||
* @return mixed Decoded json string with leading and trailing whitespace removed
|
||||
*/
|
||||
protected function _from_json($data)
|
||||
{
|
||||
return json_decode(trim($data));
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string Data to unserialized
|
||||
* @return mixed Unserialized data
|
||||
*/
|
||||
protected function _from_serialize($data)
|
||||
{
|
||||
return unserialize(trim($data));
|
||||
}
|
||||
|
||||
/**
|
||||
* @param $data Data to trim leading and trailing whitespace
|
||||
* @return string Data with leading and trailing whitespace removed
|
||||
*/
|
||||
protected function _from_php($data)
|
||||
{
|
||||
return trim($data);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -36,9 +36,6 @@ class MessageLib
|
||||
$this->_ci->load->model('system/MsgStatus_model', 'MsgStatusModel');
|
||||
$this->_ci->load->model('system/Recipient_model', 'RecipientModel');
|
||||
$this->_ci->load->model('system/Attachment_model', 'AttachmentModel');
|
||||
|
||||
// Loads phrases
|
||||
$this->_ci->lang->load('message');
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------------------------------------------
|
||||
@@ -970,7 +967,7 @@ class MessageLib
|
||||
if ($this->_ci->db->trans_status() === false || isError($result))
|
||||
{
|
||||
$this->_ci->db->trans_rollback();
|
||||
$result = $this->_error($result->msg, EXIT_ERROR);
|
||||
$result = $this->_error('An error occurred while saving a message', EXIT_ERROR);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -984,16 +981,16 @@ class MessageLib
|
||||
/**
|
||||
* Wrapper for function error
|
||||
*/
|
||||
private function _error($retval = '', $code = null)
|
||||
private function _error($retval, $code)
|
||||
{
|
||||
return error($retval, $code, MessageLib::MSG_INDX_PREFIX);
|
||||
return error($retval, $code);
|
||||
}
|
||||
|
||||
/**
|
||||
* Wrapper for function success
|
||||
*/
|
||||
private function _success($retval = '', $code = null)
|
||||
private function _success($retval, $code = null)
|
||||
{
|
||||
return success($retval, $code, MessageLib::MSG_INDX_PREFIX);
|
||||
return success($retval, $code);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -82,8 +82,7 @@ class PhrasesLib
|
||||
*/
|
||||
public function getPhrasentextById($phrasentext_id)
|
||||
{
|
||||
if (isEmptyString($phrasentext_id))
|
||||
return error($this->_ci->lang->line('fhc_'.FHC_INVALIDID, false));
|
||||
if (isEmptyString($phrasentext_id)) return error('Not a valid phrasentext_id');
|
||||
|
||||
return $this->_ci->PhrasentextModel->load($phrasentext_id);
|
||||
}
|
||||
@@ -170,8 +169,7 @@ class PhrasesLib
|
||||
*/
|
||||
public function parseVorlagetext($text, $data = array())
|
||||
{
|
||||
if (isEmptyString($text))
|
||||
return error($this->_ci->lang->line('fhc_'.FHC_INVALIDID, false));
|
||||
if (isEmptyString($text)) return error('Not a valid text');
|
||||
|
||||
return $this->_ci->parser->parse_string($text, $data, true);
|
||||
}
|
||||
|
||||
@@ -72,8 +72,7 @@ class VorlageLib
|
||||
*/
|
||||
public function getVorlagetextByVorlage($vorlage_kurzbz)
|
||||
{
|
||||
if (isEmptyString($vorlage_kurzbz))
|
||||
return error($this->ci->lang->line('fhc_'.FHC_INVALIDID, false));
|
||||
if (isEmptyString($vorlage_kurzbz)) return error('Not a valid vorlage_kurzbz');
|
||||
|
||||
$vorlage = $this->ci->VorlageStudiengangModel->loadWhere(array('vorlage_kurzbz' => $vorlage_kurzbz));
|
||||
return $vorlage;
|
||||
@@ -90,8 +89,7 @@ class VorlageLib
|
||||
*/
|
||||
public function loadVorlagetext($vorlage_kurzbz, $oe_kurzbz = null, $orgform_kurzbz = null, $sprache = null)
|
||||
{
|
||||
if (isEmptyString($vorlage_kurzbz))
|
||||
return error($this->ci->lang->line('fhc_'.FHC_INVALIDID, false));
|
||||
if (isEmptyString($vorlage_kurzbz)) return error('Not a valid vorlage_kurzbz');
|
||||
|
||||
// Try to search the template with the given vorlage_kurzbz and other parameters if present
|
||||
$queryParameters = array("vorlage_kurzbz" => $vorlage_kurzbz, "aktiv" => true);
|
||||
@@ -200,9 +198,8 @@ class VorlageLib
|
||||
*/
|
||||
public function parseVorlagetext($text, $data = array())
|
||||
{
|
||||
if (isEmptyString($text))
|
||||
return error($this->ci->lang->line('fhc_'.FHC_INVALIDID, false));
|
||||
$text = $this->ci->parser->parse_string($text, $data, true);
|
||||
return $text;
|
||||
if (isEmptyString($text)) return error('Not a valid text');
|
||||
|
||||
return $this->ci->parser->parse_string($text, $data, true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Migration_Init extends CI_Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
$this->load->database('system');
|
||||
// Schemas
|
||||
echo '<br/>';
|
||||
$this->db->query('CREATE SCHEMA IF NOT EXISTS public;');
|
||||
$this->db->query('CREATE SCHEMA IF NOT EXISTS addon;');
|
||||
$this->db->query('CREATE SCHEMA IF NOT EXISTS fue;');
|
||||
$this->db->query('CREATE SCHEMA IF NOT EXISTS lehre;');
|
||||
$this->db->query('CREATE SCHEMA IF NOT EXISTS system;');
|
||||
$this->db->query('CREATE SCHEMA IF NOT EXISTS bis;');
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
/* $this->db->query('
|
||||
DROP SCHEMA IF EXISTS addon;
|
||||
DROP SCHEMA IF EXISTS bis;
|
||||
DROP SCHEMA IF EXISTS campus;
|
||||
DROP SCHEMA IF EXISTS fue;
|
||||
DROP SCHEMA IF EXISTS kommune;
|
||||
DROP SCHEMA IF EXISTS lehre;
|
||||
DROP SCHEMA IF EXISTS public;
|
||||
DROP SCHEMA IF EXISTS sync;
|
||||
DROP SCHEMA IF EXISTS system;
|
||||
DROP SCHEMA IF EXISTS testtool;
|
||||
DROP SCHEMA IF EXISTS wawi;
|
||||
');*/
|
||||
}
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (! defined("BASEPATH")) exit("No direct script access allowed");
|
||||
|
||||
require_once APPPATH . "/libraries/MigrationLib.php";
|
||||
|
||||
class Migration_Pk_migrations extends MigrationLib
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function up()
|
||||
{
|
||||
$this->startUP();
|
||||
|
||||
$this->addPrimaryKey(
|
||||
"public",
|
||||
"ci_migrations",
|
||||
"pk_migrations",
|
||||
array("version")
|
||||
);
|
||||
|
||||
$this->endUP();
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
$this->startDown();
|
||||
|
||||
$this->execQuery('ALTER TABLE ci_migrations DROP CONSTRAINT pk_migrations');
|
||||
|
||||
$this->endDown();
|
||||
}
|
||||
}
|
||||
@@ -1,60 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (! defined("BASEPATH")) exit("No direct script access allowed");
|
||||
|
||||
require_once APPPATH . "/libraries/MigrationLib.php";
|
||||
|
||||
class Migration_Add_apikey extends MigrationLib
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function up()
|
||||
{
|
||||
$this->startUP();
|
||||
|
||||
// Create table public.ci_apikey
|
||||
$fields = array(
|
||||
"apikey_id" => array(
|
||||
"type" => "serial"
|
||||
),
|
||||
"key" => array(
|
||||
"type" => "varchar(100)",
|
||||
"null" => false
|
||||
),
|
||||
"level" => array(
|
||||
"type" => "integer",
|
||||
"null" => true
|
||||
),
|
||||
"ignore_limits" => array(
|
||||
"type" => "integer",
|
||||
"null" => true
|
||||
),
|
||||
"date_created" => array(
|
||||
"type" => "date DEFAULT NOW()",
|
||||
"null" => true
|
||||
)
|
||||
);
|
||||
$this->createTable("public", "ci_apikey", $fields);
|
||||
$this->addPrimaryKey(
|
||||
"public",
|
||||
"ci_apikey",
|
||||
"pk_ci_apikey",
|
||||
array("apikey_id")
|
||||
);
|
||||
$this->grantTable(array("SELECT"), "public", "ci_apikey", "vilesci");
|
||||
|
||||
$this->endUP();
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
$this->startDown();
|
||||
|
||||
$this->dropTable("public", "ci_apikey");
|
||||
|
||||
$this->endDown();
|
||||
}
|
||||
}
|
||||
@@ -1,34 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
class Migration_Create_basedb extends CI_Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
//$this->load->database('system');
|
||||
if (!$this->db->table_exists('tbl_person'))
|
||||
{
|
||||
$this->load->helper('file');
|
||||
|
||||
$sqlfile = read_file('./system/fhcomplete3.0.sql');
|
||||
if (!$this->db->simple_query($sqlfile))
|
||||
{
|
||||
echo "Error creating Basis DB-Schema!";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
/*$this->db->simple_query('DROP SCHEMA bis;');
|
||||
$this->db->simple_query('DROP SCHEMA campus;');
|
||||
$this->db->simple_query('DROP SCHEMA fue;');
|
||||
$this->db->simple_query('DROP SCHEMA kommune;');
|
||||
$this->db->simple_query('DROP SCHEMA lehre;');
|
||||
$this->db->simple_query('DROP SCHEMA sync;');
|
||||
$this->db->simple_query('DROP SCHEMA system;');
|
||||
$this->db->simple_query('DROP SCHEMA testtool;');
|
||||
$this->db->simple_query('DROP SCHEMA wawi;');*/
|
||||
}
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
require_once(dirname(__FILE__).'/../../include/basis_db.class.php');
|
||||
|
||||
class Migration_fhc30 extends CI_Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
echo '<br/><h1>Update to FHC 3.0</h1><br/>';
|
||||
$this->db=$this->load->database('system', true);
|
||||
$db = new basis_db($this);
|
||||
require_once('./system/dbupdate_3.0.php');
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
/*$this->db->simple_query('DROP TABLE fue.tbl_scrumteam;');
|
||||
$this->db->simple_query('DROP TABLE lehre.tbl_studienordnung;');
|
||||
$this->db->simple_query('DROP TABLE lehre.tbl_studienordnung_semester;');
|
||||
$this->db->simple_query('DROP TABLE lehre.tbl_studienplan;');*/
|
||||
}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
require_once(dirname(__FILE__).'/../../include/basis_db.class.php');
|
||||
|
||||
class Migration_fhc31 extends CI_Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
echo '<br/><h1>Update to FHC 3.1</h1><br/>';
|
||||
$this->db=$this->load->database('system', true);
|
||||
$db = new basis_db($this);
|
||||
require_once('./system/dbupdate_3.1.php');
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
/*$this->db->simple_query('DROP SCHEMA bis;');
|
||||
$this->db->simple_query('DROP SCHEMA campus;');
|
||||
$this->db->simple_query('DROP SCHEMA fue;');
|
||||
$this->db->simple_query('DROP SCHEMA kommune;');
|
||||
$this->db->simple_query('DROP SCHEMA lehre;');
|
||||
$this->db->simple_query('DROP SCHEMA sync;');
|
||||
$this->db->simple_query('DROP SCHEMA system;');
|
||||
$this->db->simple_query('DROP SCHEMA testtool;');
|
||||
$this->db->simple_query('DROP SCHEMA wawi;');*/
|
||||
}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
require_once(dirname(__FILE__).'/../../include/basis_db.class.php');
|
||||
|
||||
class Migration_fhc32 extends CI_Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
echo '<br/><h1>Update to FHC 3.2</h1><br/>';
|
||||
$this->db=$this->load->database('system', true);
|
||||
$db = new basis_db($this);
|
||||
require_once('./system/dbupdate_3.2.php');
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
/*$this->db->simple_query('DROP SCHEMA bis;');
|
||||
$this->db->simple_query('DROP SCHEMA campus;');
|
||||
$this->db->simple_query('DROP SCHEMA fue;');
|
||||
$this->db->simple_query('DROP SCHEMA kommune;');
|
||||
$this->db->simple_query('DROP SCHEMA lehre;');
|
||||
$this->db->simple_query('DROP SCHEMA sync;');
|
||||
$this->db->simple_query('DROP SCHEMA system;');
|
||||
$this->db->simple_query('DROP SCHEMA testtool;');
|
||||
$this->db->simple_query('DROP SCHEMA wawi;');*/
|
||||
}
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
<?php
|
||||
|
||||
if (! defined('BASEPATH')) exit('No direct script access allowed');
|
||||
|
||||
require_once(dirname(__FILE__).'/../../include/basis_db.class.php');
|
||||
|
||||
class Migration_fhc33 extends CI_Migration
|
||||
{
|
||||
public function up()
|
||||
{
|
||||
echo '<br/><h1>Update to FHC 3.3</h1><br/>';
|
||||
$this->db=$this->load->database('system', true);
|
||||
$db = new basis_db($this);
|
||||
require_once('./system/dbupdate_3.3.php');
|
||||
}
|
||||
|
||||
public function down()
|
||||
{
|
||||
/*$this->db->simple_query('DROP SCHEMA bis;');
|
||||
$this->db->simple_query('DROP SCHEMA campus;');
|
||||
$this->db->simple_query('DROP SCHEMA fue;');
|
||||
$this->db->simple_query('DROP SCHEMA kommune;');
|
||||
$this->db->simple_query('DROP SCHEMA lehre;');
|
||||
$this->db->simple_query('DROP SCHEMA sync;');
|
||||
$this->db->simple_query('DROP SCHEMA system;');
|
||||
$this->db->simple_query('DROP SCHEMA testtool;');
|
||||
$this->db->simple_query('DROP SCHEMA wawi;');*/
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user