Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MaarchCourrier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maarch
MaarchCourrier
Commits
ca90e5eb
Commit
ca90e5eb
authored
7 years ago
by
Florian Azizian
Browse files
Options
Downloads
Patches
Plain Diff
FIX
#27
update version only in superadmin
parent
85a7a3d4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
apps/maarch_entreprise/admin/update_control/update_control.php
+5
-4
5 additions, 4 deletions
...maarch_entreprise/admin/update_control/update_control.php
install/view/update_end_view.php
+2
-2
2 additions, 2 deletions
install/view/update_end_view.php
with
7 additions
and
6 deletions
apps/maarch_entreprise/admin/update_control/update_control.php
+
5
−
4
View file @
ca90e5eb
...
@@ -124,9 +124,6 @@ foreach ($tags as $key => $value) {
...
@@ -124,9 +124,6 @@ foreach ($tags as $key => $value) {
}
?>
}
?>
</select>
</select>
<?php
<?php
if
(
$_SESSION
[
'user'
][
'UserId'
]
!=
'superadmin'
)
{
echo
_CONNECT_YOU_IN_SUPERADMIN
;
}
}
else
{
}
else
{
echo
_NO_AVAILABLE_TAG_TO_UPDATE
.
'<br />'
;
echo
_NO_AVAILABLE_TAG_TO_UPDATE
.
'<br />'
;
}
}
...
@@ -139,7 +136,11 @@ foreach ($tags as $key => $value) {
...
@@ -139,7 +136,11 @@ foreach ($tags as $key => $value) {
<div
align=
"center"
style=
"margin-bottom:150px"
>
<div
align=
"center"
style=
"margin-bottom:150px"
>
<?php
<?php
if
(
$isAnyAvailableTag
&&
count
(
$tags
)
>
0
)
{
if
(
$isAnyAvailableTag
&&
count
(
$tags
)
>
0
)
{
echo
'<a style="margin-top:100px" href="'
.
$_SESSION
[
'config'
][
'coreurl'
]
.
'install/index.php?step=update_language"><input class="button" value="'
.
_CLICK_HERE_TO_GO_TO_UPDATE_MANAGEMENT
.
'" type="button"></a>'
;
if
(
$_SESSION
[
'user'
][
'UserId'
]
!=
'superadmin'
)
{
echo
_CONNECT_YOU_IN_SUPERADMIN
;
}
else
{
echo
'<a style="margin-top:100px" href="'
.
$_SESSION
[
'config'
][
'coreurl'
]
.
'install/index.php?step=update_language"><input class="button" value="'
.
_CLICK_HERE_TO_GO_TO_UPDATE_MANAGEMENT
.
'" type="button"></a>'
;
}
}
}
if
(
$isAnyAvailableVersion
)
{
if
(
$isAnyAvailableVersion
)
{
...
...
This diff is collapsed.
Click to expand it.
install/view/update_end_view.php
+
2
−
2
View file @
ca90e5eb
...
@@ -39,11 +39,11 @@ if ($_SESSION['user']['UserId'] <> 'superadmin') {
...
@@ -39,11 +39,11 @@ if ($_SESSION['user']['UserId'] <> 'superadmin') {
<div
class=
"contentBlock"
id=
"welcome"
>
<div
class=
"contentBlock"
id=
"welcome"
>
<p>
<p>
<div
id=
"buttons"
>
<div
id=
"buttons"
>
<div
style=
"float: left;"
class=
"previousButton"
id=
"previous"
>
<!--
<div style="float: left;" class="previousButton" id="previous">
<a href="#" onClick="goTo('index.php?step=update_deploy');">
<a href="#" onClick="goTo('index.php?step=update_deploy');">
<?php
echo
_PREVIOUS_INSTALL
;
?>
<?php
echo
_PREVIOUS_INSTALL
;
?>
</a>
</a>
</div>
</div>
-->
<div
style=
"float: right;"
class=
"nextButton"
id=
"start"
>
<div
style=
"float: right;"
class=
"nextButton"
id=
"start"
>
<a
href=
"#"
onClick=
"goTo('../index.php');"
>
<a
href=
"#"
onClick=
"goTo('../index.php');"
>
<?php
echo
_START_MEP_1_3
;
?>
<?php
echo
_START_MEP_1_3
;
?>
...
...
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