Merge pull request #222 from Fraenkiman/upstream/issue221

Fixes wrong HTML and outdated attributes in media manager plugin
This commit is contained in:
Arvid Zimmermann 2023-04-09 13:00:28 +02:00 committed by GitHub
commit 4bc82d3d7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 17 deletions

View File

@ -1,18 +1,21 @@
.type-attachs a {
padding-left: 25px;
background-image: url('unknown.gif');
background-repeat: no-repeat;
background-position: left center;
padding-left: 25px;
background-image: url('unknown.gif');
background-repeat: no-repeat;
background-position: left center;
}
.type-images a {
padding-left: 25px;
background-image: url('image2.gif');
background-repeat: no-repeat;
background-position: left center;
padding-left: 25px;
background-image: url('image2.gif');
background-repeat: no-repeat;
background-position: left center;
}
.type-gallery a {
padding-left: 25px;
background-image: url('folder.gif');
background-repeat: no-repeat;
background-position: left center;
padding-left: 25px;
background-image: url('folder.gif');
background-repeat: no-repeat;
background-position: left center;
}
.colname {
width: 50%;
}

View File

@ -4,14 +4,13 @@
{include file="shared:errorlist.tpl"}
{html_form class="option-set"}
{$plang.page}: {$paginator.current} / {$paginator.total}</br>
{$plang.page}: {$paginator.current} / {$paginator.total}<br>
{if $currentgallery!=""}<h3>gallery '{$currentgallery}'</h3>{/if}
<table class="entrylist">
<thead>
<colgroup><col/><col width="50%"/><col/><col/><col/></colgroup>
<tr>
<th>&nbsp;</th>
<th>{$plang.colname}</th>
<th>&nbsp;</th>
<th class="colname">{$plang.colname}</th>
<th>{$plang.colusecount}</th>
<th>{$plang.colsize}</th>
<th>{$plang.colmtime}</th>
@ -95,7 +94,7 @@
{$plang.selected}:
<select name='action'>
<option value='-'>{$plang.selectaction}</option>
<{foreach from=$dwgalleries item=v}
{foreach from=$dwgalleries item=v}
<option value='atg-{$v.name}'>{$plang.addtogallery} '{$v.name}'</option>
{/foreach}
</select>