mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-22 16:02:54 +03:00
Removed 'ea' prefix from internal configuration parameters.
This commit is contained in:
parent
5dc051626a
commit
6756de80c4
4 changed files with 8 additions and 9 deletions
|
@ -6,12 +6,11 @@
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
|
||||||
| Declare some of the global config values of Easy!Appointments.
|
| Declare some of the global config values of Easy!Appointments.
|
||||||
| the global "config" variable.
|
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
$config['ea_version'] = '1.2'; // This must be changed manually.
|
$config['version'] = '1.2'; // This must be changed manually.
|
||||||
$config['ea_release_title'] = 'Dev'; // Leave empty for no title or add BETA, TEST etc ...
|
$config['release_label'] = 'Dev'; // Leave empty for no title or add Alpha, Beta etc ...
|
||||||
$config['ea_google_sync_feature'] = Config::GOOGLE_SYNC_FEATURE;
|
$config['google_sync_feature'] = Config::GOOGLE_SYNC_FEATURE;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
</a>
|
</a>
|
||||||
';
|
';
|
||||||
|
|
||||||
if ($this->config->item('ea_google_sync_feature')) {
|
if ($this->config->item('google_sync_feature')) {
|
||||||
echo '
|
echo '
|
||||||
<button id="add-to-google-calendar" class="btn btn-primary">
|
<button id="add-to-google-calendar" class="btn btn-primary">
|
||||||
<span class="glyphicon glyphicon-plus"></span>
|
<span class="glyphicon glyphicon-plus"></span>
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
Powered by
|
Powered by
|
||||||
<a href="http://easyappointments.org">Easy!Appointments
|
<a href="http://easyappointments.org">Easy!Appointments
|
||||||
<?php
|
<?php
|
||||||
echo 'v' . $this->config->item('ea_version');
|
echo 'v' . $this->config->item('version');
|
||||||
|
|
||||||
$release_title = $this->config->item('ea_release_title');
|
$release_title = $this->config->item('release_label');
|
||||||
if ($release_title != '') {
|
if ($release_title != '') {
|
||||||
echo ' - ' . $release_title;
|
echo ' - ' . $release_title;
|
||||||
}
|
}
|
||||||
|
|
|
@ -438,8 +438,8 @@
|
||||||
<div class="current-version">
|
<div class="current-version">
|
||||||
<?php
|
<?php
|
||||||
echo $this->lang->line('current_version') . ' ';
|
echo $this->lang->line('current_version') . ' ';
|
||||||
echo $this->config->item('ea_version');
|
echo $this->config->item('version');
|
||||||
$release_title = $this->config->item('ea_release_title');
|
$release_title = $this->config->item('release_label');
|
||||||
if ($release_title != '') {
|
if ($release_title != '') {
|
||||||
echo ' - ' . $release_title;
|
echo ' - ' . $release_title;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue