Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
VBcms-2-0
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sofiane Lasri
VBcms-2-0
Commits
2fa0f56e
Commit
2fa0f56e
authored
4 years ago
by
Sofiane Lasri
Browse files
Options
Downloads
Patches
Plain Diff
11H33 - better default pages
parent
5807f746
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
vbcms-admin/backTasks.php
+2
-1
2 additions, 1 deletion
vbcms-admin/backTasks.php
vbcms-core/defaultPages/404.php
+17
-5
17 additions, 5 deletions
vbcms-core/defaultPages/404.php
vbcms-core/defaultPages/index.php
+16
-4
16 additions, 4 deletions
vbcms-core/defaultPages/index.php
with
35 additions
and
10 deletions
vbcms-admin/backTasks.php
+
2
−
1
View file @
2fa0f56e
...
...
@@ -4,7 +4,7 @@ if (isset($_GET["getNotifications"])) {
$response
->
execute
([
$_SESSION
[
"user_id"
]]);
$response
=
$response
->
fetchAll
(
PDO
::
FETCH_ASSOC
);
echo
json_encode
(
$response
);
}
elseif
(
isset
(
$_GET
[
"updateVBcms"
]))
{
}
elseif
(
isset
(
$_GET
[
"updateVBcms"
]))
{
/*
$curentUpdateCanal = $bdd->query("SELECT value FROM `vbcms-settings` WHERE name='updateCanal'")->fetchColumn();
$serverId = $bdd->query("SELECT value FROM `vbcms-settings` WHERE name='serverId'")->fetchColumn();
$key = $bdd->query("SELECT value FROM `vbcms-settings` WHERE name='encryptionKey'")->fetchColumn();
...
...
@@ -35,6 +35,7 @@ if (isset($_GET["getNotifications"])) {
$response["code"] = 0; // Impossible de télécharger la màj
}
echo json_encode($response);
*/
}
else
{
?>
<!DOCTYPE html>
<html>
...
...
This diff is collapsed.
Click to expand it.
vbcms-core/defaultPages/404.php
+
17
−
5
View file @
2fa0f56e
...
...
@@ -10,7 +10,7 @@ if(!isset($websiteUrl)){
<html
lang=
"fr"
>
<head>
<meta
charset=
"utf-8"
>
<title>
VBcms
| Erreur 404
</title>
<title>
VBcms
</title>
<link
rel=
"icon"
type=
"image/png"
href=
"https://vbcms.net/vbcms-content/uploads/vbcms-logo/raccoon-in-box-512x.png"
/>
<link
rel=
"stylesheet"
href=
"
<?=
$websiteUrl
?>
vbcms-admin/fonts/fonts.css"
>
</head>
...
...
@@ -40,20 +40,32 @@ if(!isset($websiteUrl)){
align-items
:
center
;
}
.vbcmsLogo
img
{
width
:
8
em
;
height
:
8
em
;
width
:
7
em
;
height
:
7
em
;
}
.vbcmsLogo
span
{
font-family
:
"Linotype Kaliber Bold"
;
font-size
:
2em
;
}
.vbcmsLogo
.sub
{
font-family
:
"Linotype Kaliber Bold"
;
font-size
:
1em
;
}
.vbcmsLogo
.text
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
start
;
margin-left
:
.5em
;
}
</style>
<div
class=
"pageContent"
>
<div
class=
"vbcmsLogo"
>
<img
src=
"https://vbcms.net/vbcms-content/uploads/vbcms-logo/raccoon-in-box-512x.png"
>
<div
class=
"text"
>
<span>
VBcms
</span>
<span
class=
"sub"
>
Erreur 404: La page demandée n'existe pas
</span>
</div>
</div>
<p>
Erreur 404: La page demandée n'existe pas. :/
</p>
</div>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
vbcms-core/defaultPages/index.php
+
16
−
4
View file @
2fa0f56e
...
...
@@ -40,20 +40,32 @@ if(!isset($websiteUrl)){
align-items
:
center
;
}
.vbcmsLogo
img
{
width
:
8
em
;
height
:
8
em
;
width
:
7
em
;
height
:
7
em
;
}
.vbcmsLogo
span
{
font-family
:
"Linotype Kaliber Bold"
;
font-size
:
2em
;
}
.vbcmsLogo
.sub
{
font-family
:
"Linotype Kaliber Bold"
;
font-size
:
1em
;
}
.vbcmsLogo
.text
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
start
;
margin-left
:
.5em
;
}
</style>
<div
class=
"pageContent"
>
<div
class=
"vbcmsLogo"
>
<img
src=
"https://vbcms.net/vbcms-content/uploads/vbcms-logo/raccoon-in-box-512x.png"
>
<div
class=
"text"
>
<span>
VBcms
</span>
<span
class=
"sub"
>
Aucun index de configuré
</span>
</div>
</div>
<p>
Cette installation de VBcms ne gère pas l'index du site internet.
</p>
</div>
</body>
</html>
\ No newline at end of file
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