Fixed some composer elements, Updated Excel-Password-Remover
Update utils.php, composer.php, and 14 more files...
This commit is contained in:
+9
-5
@@ -70,7 +70,7 @@ if ($content_has_error) {
|
||||
</head>
|
||||
<body>
|
||||
<?php
|
||||
include 'commons/DOM/utils.php';
|
||||
include_once 'commons/DOM/utils.php';
|
||||
include 'commons/DOM/body-1.php';
|
||||
$SIDEBAR_ID = 'home';
|
||||
include 'commons/DOM/sidebar.php';
|
||||
@@ -90,11 +90,11 @@ include 'commons/DOM/body-2.php';
|
||||
// Checking if an error occurred.
|
||||
if($content_error_code != 200) {
|
||||
if($requested_content_display_type == ContentDisplayType::SEARCH) {
|
||||
makeMainHeader(localize("content.error.heading.main.search"), "fad fa-exclamation-triangle");
|
||||
printMainHeader(localize("content.error.heading.main.search"), "fad fa-exclamation-triangle");
|
||||
} elseif($requested_content_display_type == ContentDisplayType::CONTENT) {
|
||||
makeMainHeader(localize("content.error.heading.main.content"), "fad fa-exclamation-triangle");
|
||||
printMainHeader(localize("content.error.heading.main.content"), "fad fa-exclamation-triangle");
|
||||
} else {
|
||||
makeMainHeader(localize("content.error.heading.main.fallback"), "fad fa-exclamation-triangle");
|
||||
printMainHeader(localize("content.error.heading.main.fallback"), "fad fa-exclamation-triangle");
|
||||
}
|
||||
|
||||
echo('<h3 class="mt-m t-size-18 t-center content-error-text mx-auto">' . $content_error_message . '</h3>');
|
||||
@@ -106,7 +106,11 @@ include 'commons/DOM/body-2.php';
|
||||
// We are handling a content search with at least one result.
|
||||
|
||||
// Making the header with the amount of results.
|
||||
makeMainHeader(localize("content.search.heading.main"), "fad fa-file-search",
|
||||
printMainHeader(
|
||||
count($filtered_content_index_data) > 1 ?
|
||||
localize("content.search.heading.main.multiple") :
|
||||
localize("content.search.heading.main.single"),
|
||||
"fad fa-file-search",
|
||||
count($filtered_content_index_data) . " " . (
|
||||
count($filtered_content_index_data) > 1 ?
|
||||
localize("content.search.count.multiple") :
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
}
|
||||
},
|
||||
"metadata": {
|
||||
"template": "article",
|
||||
"template": "generic-project-readme",
|
||||
"head": {
|
||||
"title": "meta.title",
|
||||
"description": "meta.description"
|
||||
@@ -51,95 +51,64 @@
|
||||
}
|
||||
},
|
||||
"elements": [
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "intro.title"},
|
||||
{"type": "paragraph", "indent": 2, "content": "intro.p1"}
|
||||
]
|
||||
},
|
||||
{"type": "h1", "content": "intro.title", "modifiers": ["_no-top-margin"]},
|
||||
{"type": "paragraph", "indent": 2, "content": "intro.p1"},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "working.title"},
|
||||
{"type": "paragraph", "indent": 2, "content": "working.p1"},
|
||||
{"type": "paragraph", "indent": 2, "content": "working.p2"}
|
||||
]
|
||||
},
|
||||
{"type": "h1", "content": "working.title"},
|
||||
{"type": "paragraph", "indent": 2, "content": "working.p1"},
|
||||
{"type": "paragraph", "indent": 2, "content": "working.p2"},
|
||||
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"parts": [
|
||||
{"type": "h1", "content": "usage.title"},
|
||||
{"type": "paragraph", "indent": 2, "content": "usage.p1"}
|
||||
]
|
||||
},
|
||||
{"type": "h1", "content": "usage.title"},
|
||||
{"type": "paragraph", "indent": 2, "content": "usage.p1"},
|
||||
|
||||
{"type": "h1", "content": "demo.title"},
|
||||
{
|
||||
"type": "container", "padding": 20,
|
||||
"modifiers": ["no-bottom-padding", "no-top-margin"],
|
||||
"type": "container",
|
||||
"modifiers": ["pb-0"],
|
||||
"padding": 2,
|
||||
"parts": [
|
||||
{"type": "h1", "content": "demo.title"},
|
||||
{
|
||||
"type": "container",
|
||||
"modifiers": ["no-padding"],
|
||||
"padding": 0,
|
||||
"parts": [
|
||||
{
|
||||
"type": "video",
|
||||
"source": "https://files.nibblepoker.lu/downloads/Excel-Worksheet-Password-Remover/demo_v1.mp4",
|
||||
"_source": "/tmp/demo_v1.mp4",
|
||||
"thumbnail": "https://files.nibblepoker.lu/downloads/Excel-Worksheet-Password-Remover/demo_v1_thumb.webp"
|
||||
}
|
||||
]
|
||||
"type": "video",
|
||||
"source": "https://files.nibblepoker.lu/downloads/Excel-Worksheet-Password-Remover/demo_v1.mp4",
|
||||
"thumbnail": "https://files.nibblepoker.lu/downloads/Excel-Worksheet-Password-Remover/demo_v1_thumb.webp"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
{"type": "h1", "content": "links.title"},
|
||||
{
|
||||
"type": "container",
|
||||
"padding": 20,
|
||||
"modifiers": ["no-top-margin"],
|
||||
"type": "paragraph",
|
||||
"indent": 2,
|
||||
"parts": [
|
||||
{"type": "h1", "content": "links.title"},
|
||||
{"type": "raw", "content": "● ", "localize": false},
|
||||
{
|
||||
"type": "paragraph",
|
||||
"indent": 2,
|
||||
"type": "raw", "link": "https://github.com/aziascreations/Excel-Worksheet-Password-Remover",
|
||||
"parts": [
|
||||
{"type": "raw", "content": "● ", "localize": false},
|
||||
{"type": "raw", "content": "content.commons.github"},
|
||||
{"type": "raw", "content": "<span class=\"hidden-xs-and-down\"> - ", "localize": false},
|
||||
{
|
||||
"type": "raw", "link": "https://github.com/aziascreations/Excel-Worksheet-Password-Remover",
|
||||
"parts": [
|
||||
{"type": "raw", "content": "content.commons.github"},
|
||||
{"type": "raw", "content": "<span class=\"hidden-xs-and-down\"> - ", "localize": false},
|
||||
{
|
||||
"type": "raw",
|
||||
"content": "<span class=\"font-size-12\">(https://github.com/aziascreations/Excel-Worksheet-Password-Remover)</span></span>",
|
||||
"localize": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{"type": "raw", "content": "<br>", "localize": false},
|
||||
{"type": "raw", "content": "● ", "localize": false},
|
||||
"type": "raw",
|
||||
"content": "<span class=\"t-size-8\">(https://github.com/aziascreations/Excel-Worksheet-Password-Remover)</span></span>",
|
||||
"localize": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{"type": "raw", "content": "<br>", "localize": false},
|
||||
{"type": "raw", "content": "● ", "localize": false},
|
||||
{
|
||||
"type": "raw", "link": "https://git.nibblepoker.lu/aziascreations/Excel-Worksheet-Password-Remover",
|
||||
"parts": [
|
||||
{"type": "raw", "content": "content.commons.gitea"},
|
||||
{"type": "raw", "content": "<span class=\"hidden-xs-and-down\"> - ", "localize": false},
|
||||
{
|
||||
"type": "raw", "link": "https://git.nibblepoker.lu/aziascreations/Excel-Worksheet-Password-Remover",
|
||||
"parts": [
|
||||
{"type": "raw", "content": "content.commons.gitea"},
|
||||
{"type": "raw", "content": "<span class=\"hidden-xs-and-down\"> - ", "localize": false},
|
||||
{
|
||||
"type": "raw",
|
||||
"content": "<span class=\"font-size-12\">(https://git.nibblepoker.lu/aziascreations/Excel-Worksheet-Password-Remover)</span></span>",
|
||||
"localize": false
|
||||
}
|
||||
]
|
||||
"type": "raw",
|
||||
"content": "<span class=\"t-size-8\">(https://git.nibblepoker.lu/aziascreations/Excel-Worksheet-Password-Remover)</span></span>",
|
||||
"localize": false
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user