Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
Composr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
3
Snippets
Groups
Projects
Show more breadcrumbs
Composr ecosystem
Composr
Commits
f08a246a
Commit
f08a246a
authored
4 months ago
by
Patrick Schmalstig
Browse files
Options
Downloads
Plain Diff
Merge branch 'v11' of gitlab.com:composr-foundation/composr into v11
parents
dfce9c44
cd4af19c
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
sources_custom/miniblocks/cms_homesite_download.php
+103
-101
103 additions, 101 deletions
sources_custom/miniblocks/cms_homesite_download.php
sources_custom/miniblocks/cms_homesite_make_upgrader.php
+135
-133
135 additions, 133 deletions
sources_custom/miniblocks/cms_homesite_make_upgrader.php
with
238 additions
and
234 deletions
sources_custom/miniblocks/cms_homesite_download.php
+
103
−
101
View file @
f08a246a
...
...
@@ -15,6 +15,7 @@
i_solemnly_declare
(
I_UNDERSTAND_SQL_INJECTION
|
I_UNDERSTAND_XSS
|
I_UNDERSTAND_PATH_INJECTION
);
if
(
!
class_exists
(
'Miniblock_cms_homesite_download'
))
{
class
Miniblock_cms_homesite_download
{
...
...
@@ -140,6 +141,7 @@ class Miniblock_cms_homesite_download
return
$ret
;
}
}
}
$miniblock
=
new
Miniblock_cms_homesite_download
();
return
$miniblock
->
run
();
This diff is collapsed.
Click to expand it.
sources_custom/miniblocks/cms_homesite_make_upgrader.php
+
135
−
133
View file @
f08a246a
...
...
@@ -15,6 +15,7 @@
i_solemnly_declare
(
I_UNDERSTAND_SQL_INJECTION
|
I_UNDERSTAND_XSS
|
I_UNDERSTAND_PATH_INJECTION
);
if
(
!
class_exists
(
'Miniblock_cms_homesite_make_upgrader'
))
{
class
Miniblock_cms_homesite_make_upgrader
{
/**
...
...
@@ -164,6 +165,7 @@ class Miniblock_cms_homesite_make_upgrader
echo
'<label for="upgrade-file">Upgrade file:</label> <input id="upgrade-file" class="notranslate" size="45" readonly="readonly" type="text" value="'
.
escape_html
(
$url
)
.
'" />, or <a href="'
.
escape_html
(
$url
)
.
'">download upgrade directly</a> ('
.
escape_html
(
clean_file_size
(
filesize
(
$path
)))
.
').'
;
}
}
}
$miniblock
=
new
Miniblock_cms_homesite_make_upgrader
();
return
$miniblock
->
run
(
$map
);
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