Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Imldeployment
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IML Open Source
Imldeployment
Commits
aac01199
Commit
aac01199
authored
11 years ago
by
hahn
Browse files
Options
Downloads
Patches
Plain Diff
- Datum statt Revision-Hash anzeigen
parent
c90dfecc
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
public_html/deployment/inc_functions.php
+3
-3
3 additions, 3 deletions
public_html/deployment/inc_functions.php
with
3 additions
and
3 deletions
public_html/deployment/inc_functions.php
+
3
−
3
View file @
aac01199
...
@@ -100,8 +100,8 @@ function getTopArea() {
...
@@ -100,8 +100,8 @@ function getTopArea() {
$sJsonfile
=
$_SERVER
[
"DOCUMENT_ROOT"
]
.
"ci-webgui.json"
;
$sJsonfile
=
$_SERVER
[
"DOCUMENT_ROOT"
]
.
"ci-webgui.json"
;
if
(
file_exists
(
$sJsonfile
))
{
if
(
file_exists
(
$sJsonfile
))
{
$aJson
=
json_decode
(
file_get_contents
(
$sJsonfile
),
true
);
$aJson
=
json_decode
(
file_get_contents
(
$sJsonfile
),
true
);
if
(
array_key_exists
(
"
revision
"
,
$aJson
))
if
(
array_key_exists
(
"
date
"
,
$aJson
))
$sMyRev
=
$aJson
[
"
revision
"
];
$sMyRev
=
$aJson
[
"
date
"
];
}
}
$sPhase
=
'(unknown)'
;
$sPhase
=
'(unknown)'
;
$aPhases
=
array
(
$aPhases
=
array
(
...
@@ -116,7 +116,7 @@ function getTopArea() {
...
@@ -116,7 +116,7 @@ function getTopArea() {
$sWikiBaseUrl
=
'https://secure.iml.unibe.ch/wiki/doku.php'
;
$sWikiBaseUrl
=
'https://secure.iml.unibe.ch/wiki/doku.php'
;
$sReturn
=
'
$sReturn
=
'
<div class="navbar">
<div class="navbar">
<span class="version '
.
$sPhase
.
'">'
.
$sPhase
.
'
.
'
.
$sMyRev
.
'</span>
<span class="version '
.
$sPhase
.
'">'
.
$sPhase
.
'
::
'
.
$sMyRev
.
'</span>
<div class="navbar-inner">
<div class="navbar-inner">
<span class="brand">IML Deployment GUI</span>
<span class="brand">IML Deployment GUI</span>
<ul class="nav">
<ul class="nav">
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment