mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-22 14:42:23 +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.
|
||||
| the global "config" variable.
|
||||
|
|
||||
*/
|
||||
$config['ea_version'] = '1.2'; // This must be changed manually.
|
||||
$config['ea_release_title'] = 'Dev'; // Leave empty for no title or add BETA, TEST etc ...
|
||||
$config['ea_google_sync_feature'] = Config::GOOGLE_SYNC_FEATURE;
|
||||
$config['version'] = '1.2'; // This must be changed manually.
|
||||
$config['release_label'] = 'Dev'; // Leave empty for no title or add Alpha, Beta etc ...
|
||||
$config['google_sync_feature'] = Config::GOOGLE_SYNC_FEATURE;
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
</a>
|
||||
';
|
||||
|
||||
if ($this->config->item('ea_google_sync_feature')) {
|
||||
if ($this->config->item('google_sync_feature')) {
|
||||
echo '
|
||||
<button id="add-to-google-calendar" class="btn btn-primary">
|
||||
<span class="glyphicon glyphicon-plus"></span>
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
Powered by
|
||||
<a href="http://easyappointments.org">Easy!Appointments
|
||||
<?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 != '') {
|
||||
echo ' - ' . $release_title;
|
||||
}
|
||||
|
|
|
@ -438,8 +438,8 @@
|
|||
<div class="current-version">
|
||||
<?php
|
||||
echo $this->lang->line('current_version') . ' ';
|
||||
echo $this->config->item('ea_version');
|
||||
$release_title = $this->config->item('ea_release_title');
|
||||
echo $this->config->item('version');
|
||||
$release_title = $this->config->item('release_label');
|
||||
if ($release_title != '') {
|
||||
echo ' - ' . $release_title;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue