Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PluginMarket
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
Stud.IP
Plugins
PluginMarket
Commits
0bc86bc6
Commit
0bc86bc6
authored
9 years ago
by
Jan-Hendrik Willms
Browse files
Options
Downloads
Patches
Plain Diff
adjust image gallery handling due to changes on trunk, fixes
#57
parent
ec3e6b3f
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
assets/pluginmarket.less
+1
-1
1 addition, 1 deletion
assets/pluginmarket.less
plugin.manifest
+1
-1
1 addition, 1 deletion
plugin.manifest
views/myplugins/_edit_images.php
+3
-1
3 additions, 1 deletion
views/myplugins/_edit_images.php
views/presenting/details.php
+3
-1
3 additions, 1 deletion
views/presenting/details.php
with
8 additions
and
4 deletions
assets/pluginmarket.less
+
1
−
1
View file @
0bc86bc6
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
.flex-justify-content(center);
.flex-justify-content(center);
.flex-align-items(stretch);
.flex-align-items(stretch);
>
.image {
.image {
padding: 5px;
padding: 5px;
border: 5px solid #eeeeee;
border: 5px solid #eeeeee;
margin: 5px;
margin: 5px;
...
...
This diff is collapsed.
Click to expand it.
plugin.manifest
+
1
−
1
View file @
0bc86bc6
pluginname=PluginMarktplatz
pluginname=PluginMarktplatz
pluginclassname=PluginMarket
pluginclassname=PluginMarket
origin=studip
origin=studip
version=1.0.1
4
version=1.0.1
5
This diff is collapsed.
Click to expand it.
views/myplugins/_edit_images.php
+
3
−
1
View file @
0bc86bc6
...
@@ -9,7 +9,9 @@
...
@@ -9,7 +9,9 @@
<li
class=
"image"
>
<li
class=
"image"
>
<input
type=
"checkbox"
name=
"delete_image[]"
value=
"
<?=
htmlReady
(
$image
->
getId
())
?>
"
id=
"delete_image_
<?=
htmlReady
(
$image
->
getId
())
?>
"
>
<input
type=
"checkbox"
name=
"delete_image[]"
value=
"
<?=
htmlReady
(
$image
->
getId
())
?>
"
id=
"delete_image_
<?=
htmlReady
(
$image
->
getId
())
?>
"
>
<div>
<div>
<img
src=
"
<?=
htmlReady
(
$image
->
getURL
())
?>
"
style=
"max-height: 150px;"
>
<a
href=
"
<?=
htmlReady
(
$image
->
getURL
())
?>
"
data-lightbox=
"plugin_gallery"
>
<img
src=
"
<?=
htmlReady
(
$image
->
getURL
())
?>
"
style=
"max-height: 150px;"
>
</a>
<input
type=
"hidden"
name=
"image_order[]"
value=
"
<?=
htmlReady
(
$image
->
getId
())
?>
"
>
<input
type=
"hidden"
name=
"image_order[]"
value=
"
<?=
htmlReady
(
$image
->
getId
())
?>
"
>
<label
for=
"delete_image_
<?=
htmlReady
(
$image
->
getId
())
?>
"
>
<label
for=
"delete_image_
<?=
htmlReady
(
$image
->
getId
())
?>
"
>
<?=
Assets
::
img
(
"icons/20/blue/trash"
,
array
(
'style'
=>
"cursor: pointer;"
))
?>
<?=
Assets
::
img
(
"icons/20/blue/trash"
,
array
(
'style'
=>
"cursor: pointer;"
))
?>
...
...
This diff is collapsed.
Click to expand it.
views/presenting/details.php
+
3
−
1
View file @
0bc86bc6
...
@@ -30,7 +30,9 @@ if ($icon) {
...
@@ -30,7 +30,9 @@ if ($icon) {
<ol
id=
"pluginmarket_galery_view"
class=
"pluginmarket_galery"
>
<ol
id=
"pluginmarket_galery_view"
class=
"pluginmarket_galery"
>
<?
foreach
(
$marketplugin
->
images
as
$image
)
:
?>
<?
foreach
(
$marketplugin
->
images
as
$image
)
:
?>
<div
class=
"image"
>
<div
class=
"image"
>
<img
src=
"
<?=
htmlReady
(
$image
->
getURL
())
?>
"
>
<a
href=
"
<?=
htmlReady
(
$image
->
getURL
())
?>
"
data-lightbox=
"plugin_gallery"
>
<img
src=
"
<?=
htmlReady
(
$image
->
getURL
())
?>
"
>
</a>
</div>
</div>
<?
endforeach
?>
<?
endforeach
?>
<?
if
(
$marketplugin
->
isWritable
())
:
?>
<?
if
(
$marketplugin
->
isWritable
())
:
?>
...
...
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