Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #950 from derUli/improvement/change-logo
Improvement/change logo
- Loading branch information
Showing
129 changed files
with
5,208 additions
and
4,465 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,55 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
class UliCMSVersion | ||
{ | ||
public function __construct() | ||
{ | ||
$this->codename = "Spooky Andean Condor"; | ||
$this->releaseYear = 2020; | ||
$this->buildDate = 0; // {InsertBuildDate} | ||
$this->internalVersion = [ | ||
2021, | ||
1 | ||
]; | ||
|
||
$this->update = ""; | ||
} | ||
|
||
public function getReleaseYear(): string | ||
{ | ||
return strval($this->releaseYear); | ||
} | ||
|
||
// returns the codename of this UliCMS release | ||
public function getCodeName(): string | ||
{ | ||
return $this->codename; | ||
} | ||
|
||
// returns the version number | ||
public function getInternalVersion(): array | ||
{ | ||
return $this->internalVersion; | ||
} | ||
|
||
// Returns the full version number as string | ||
public function getInternalVersionAsString(): string | ||
{ | ||
return implode(".", $this->internalVersion); | ||
} | ||
|
||
public function getBuildTimestamp(): int | ||
{ | ||
return $this->buildDate; | ||
} | ||
|
||
public function getBuildDate(): string | ||
{ | ||
return strftime("%x %X", $this->getBuildTimestamp()); | ||
} | ||
} | ||
|
||
// For backwards compatiblity | ||
class_alias("UliCMSVersion", "ulicms_version"); | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
class UliCMSVersion | ||
{ | ||
public function __construct() | ||
{ | ||
$this->codename = "Spooky Andean Condor"; | ||
$this->releaseYear = 2020; | ||
$this->buildDate = 0; // {InsertBuildDate} | ||
$this->internalVersion = [ | ||
2021, | ||
1 | ||
]; | ||
|
||
$this->update = ""; | ||
} | ||
|
||
public function getReleaseYear(): string | ||
{ | ||
return strval($this->releaseYear); | ||
} | ||
|
||
// returns the codename of this UliCMS release | ||
public function getCodeName(): string | ||
{ | ||
return $this->codename; | ||
} | ||
|
||
// returns the version number | ||
public function getInternalVersion(): array | ||
{ | ||
return $this->internalVersion; | ||
} | ||
|
||
// Returns the full version number as string | ||
public function getInternalVersionAsString(): string | ||
{ | ||
return implode(".", $this->internalVersion); | ||
} | ||
|
||
public function getBuildTimestamp(): int | ||
{ | ||
return $this->buildDate; | ||
} | ||
|
||
public function getBuildDate(): string | ||
{ | ||
return strftime("%x %X", $this->getBuildTimestamp()); | ||
} | ||
} | ||
|
||
// For backwards compatiblity | ||
class_alias("UliCMSVersion", "ulicms_version"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.