Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 1527 | Revision 1530 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 1527 Revision 1528
Zeile 359... Zeile 359...
359
            {if $action->category !="Display"}
359
            {if $action->category !="Display"}
360
            <td>mobiles BIld</td>
360
            <td>mobiles BIld</td>
361
            {/if}
361
            {/if}
362
        </tr>
362
        </tr>
363
        {foreach $bilder as $bild}
363
        {foreach $bilder as $bild}
364
            <tr data-tr_id="{$bild->meidum->id}"  {if $bild->meidum->aktiv!=1} class="inactive" {/if}>
364
            <tr data-tr_id="{$bild->medium->id}"  {if $bild->medium->aktiv!=1} class="inactive" {/if}>
365
                <td id="bild_name_{$bild->meidum->id}">{$bild->meidum->name}</td>
365
                <td id="bild_name_{$bild->medium->id}">{$bild->medium->name}</td>
366
                <td>
366
                <td>
367
                    <a href="{$bild->meidum->url}" target="_blank"><img src="{$bild->meidum->url}" width="153" alt="" /></a>
367
                    <a href="{$bild->medium->url}" target="_blank"><img src="{$bild->medium->url}" width="153" alt="" /></a>
368
                </td>
368
                </td>
369
                <td style="width:200px;">
369
                <td style="width:200px;">
370
                    <div>
370
                    <div>
371
                        <div style="float:left;">
371
                        <div style="float:left;">
372
                            <a class="edit_desc tb_bv_button" id="edit_desc__{$bild->meidum->id}" title="Beschreibung editieren"></a>
372
                            <a class="edit_desc tb_bv_button" id="edit_desc__{$bild->medium->id}" title="Beschreibung editieren"></a>
373
                        </div>
373
                        </div>
374
                        <div style="float:left;" id="desc_{$bild->meidum->id}">{$bild->meidum->beschreibung|default:"&nbsp;"}</div>
374
                        <div style="float:left;" id="desc_{$bild->medium->id}">{$bild->medium->beschreibung|default:"&nbsp;"}</div>
375
                    </div>
375
                    </div>
376
                </td>
376
                </td>
377
                <td>
377
                <td>
378
                    {$bild.size|fsize_format:"":2:",":"."}
378
                    {$bild.size|fsize_format:"":2:",":"."}
379
                    {if $bild->meidum->typ==1||$bild->meidum->typ==5||$bild->meidum->typ==6||$bild->meidum->typ==3}
379
                    {if $bild->medium->typ==1||$bild->medium->typ==5||$bild->medium->typ==6||$bild->medium->typ==3}
380
                        ({$bild.img_size[0]} x {$bild.img_size[1]} Pixel)
380
                        ({$bild.img_size[0]} x {$bild.img_size[1]} Pixel)
381
                    {/if}
381
                    {/if}
382
                </td>
382
                </td>
383
                <td>
383
                <td>
384
                    <table>
384
                    <table>
385
                        <tr>
385
                        <tr>
386
                            <td width="16">
386
                            <td width="16">
387
                                {if !$bild@first}
387
                                {if !$bild@first}
388
                                    <a class="pic_up" title="nach oben" id="up_{$smarty.get.l_id}_{$bild->meidum->id}_{$lType}"><img src="/images/Icons/up.png" alt=""/></a>
388
                                    <a class="pic_up" title="nach oben" id="up_{$smarty.get.l_id}_{$bild->medium->id}_{$lType}"><img src="/images/Icons/up.png" alt=""/></a>
389
                                {/if}
389
                                {/if}
390
                            </td>
390
                            </td>
391
                            <td width="16">
391
                            <td width="16">
392
                                {if !$bild@last}
392
                                {if !$bild@last}
393
                                    <a class="pic_down" title="nach unten" id="down_{$smarty.get.l_id}_{$bild->meidum->id}_{$lType}"><img src="/images/Icons/down.png" alt=""/></a>
393
                                    <a class="pic_down" title="nach unten" id="down_{$smarty.get.l_id}_{$bild->medium->id}_{$lType}"><img src="/images/Icons/down.png" alt=""/></a>
394
                                {/if}
394
                                {/if}
395
                            </td>
395
                            </td>
396
                            <td width="16">
396
                            <td width="16">
397
                                <a title="löschen" class="del_image" id="del_image_{$bild->meidum->id}_{$smarty.get.l_id}"><img src="/images/Icons/trashcan.png" alt=""/></a>
397
                                <a title="löschen" class="del_image" id="del_image_{$bild->medium->id}_{$smarty.get.l_id}"><img src="/images/Icons/trashcan.png" alt=""/></a>
398
                            </td>
398
                            </td>
399
                            {if $action->id}
399
                            {if $action->id}
400
                            <td>
400
                            <td>
401
                                {if $bild.aktiv==1}
401
                                {if $bild.aktiv==1}
402
                                    <i data-imgid="{$bild->meidum->id}" title="deaktivieren" class="fa fa-toggle-on toggle_img" aria-hidden="true"></i>
402
                                    <i data-imgid="{$bild->medium->id}" title="deaktivieren" class="fa fa-toggle-on toggle_img" aria-hidden="true"></i>
403
                                {else}
403
                                {else}
404
                                    <i data-imgid="{$bild->meidum->id}" title="aktivieren" class="fa fa-toggle-off toggle_img" aria-hidden="true"></i>
404
                                    <i data-imgid="{$bild->medium->id}" title="aktivieren" class="fa fa-toggle-off toggle_img" aria-hidden="true"></i>
405
                                {/if}
405
                                {/if}
406
                            </td>
406
                            </td>
407
                            {/if}
407
                            {/if}
408
                        </tr>
408
                        </tr>
409
                    </table>
409
                    </table>
410
                </td>
410
                </td>
411
                {if $action->category !="Display"}
411
                {if $action->category !="Display"}
412
                <td>
412
                <td>
413
                    <a title="mobiles Bild zuordnen" class="add_mobile_image tb_bv_button" id="add_mobile_image_{$smarty.get.l_id}_{$bild->meidum->id}_{$lType}"></a>
413
                    <a title="mobiles Bild zuordnen" class="add_mobile_image tb_bv_button" id="add_mobile_image_{$smarty.get.l_id}_{$bild->medium->id}_{$lType}"></a>
414
                    <a title="mobiles Bild hochladen" class="upload_mobile_image tb_bv_button" id="upload_mobile_image_{$smarty.get.l_id}_{$bild->meidum->id}_{$lType}"></a>
414
                    <a title="mobiles Bild hochladen" class="upload_mobile_image tb_bv_button" id="upload_mobile_image_{$smarty.get.l_id}_{$bild->medium->id}_{$lType}"></a>
415
                    {if $bild.mobil_id}
415
                    {if $bild.mobil_id}
416
                        <br />
416
                        <br />
417
                        mobiles BIld: <br /> <img src="{$bild->meidum->mobil_img}" width="153" alt="" />
417
                        mobiles BIld: <br /> <img src="{$bild->medium->mobil_img}" width="153" alt="" />
418
                        <a title="Zuordnung entfernen" class="del_mobile_image" id="del_mobile_image_{$bild.id}_{$bild->meidum->mobil_id}"><img src="/images/Icons/trashcan.png" alt=""/></a>
418
                        <a title="Zuordnung entfernen" class="del_mobile_image" id="del_mobile_image_{$bild.id}_{$bild->medium->mobil_id}"><img src="/images/Icons/trashcan.png" alt=""/></a>
419
                    {/if}
419
                    {/if}
420
                </td>
420
                </td>
421
                {/if}
421
                {/if}
422
            </tr>
422
            </tr>
423
        {/foreach}
423
        {/foreach}