Initial commit
This commit is contained in:
commit
65e0da7e11
1397 changed files with 596542 additions and 0 deletions
14
site/OFF_plugins/embed/core/snippets/cheatsheet.php
Normal file
14
site/OFF_plugins/embed/core/snippets/cheatsheet.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php if(is_array($entries)) : ?>
|
||||
<table class="field-embed-cheatsheet__table">
|
||||
<tr class="field-embed-cheatsheet__th">
|
||||
<td>URL parameter</td>
|
||||
<td>Description</td>
|
||||
</tr>
|
||||
<?php foreach($entries as $entry) : ?>
|
||||
<tr>
|
||||
<td><?= $entry[0] ?></td>
|
||||
<td><?= $entry[1] ?></td>
|
||||
</tr>
|
||||
<?php endforeach ?>
|
||||
</table>
|
||||
<?php endif ?>
|
||||
1
site/OFF_plugins/embed/core/snippets/error.php
Normal file
1
site/OFF_plugins/embed/core/snippets/error.php
Normal file
|
|
@ -0,0 +1 @@
|
|||
<figure class="embed embed--error"><?= $msg ?> <span><?= $url ?></span></figure>
|
||||
1
site/OFF_plugins/embed/core/snippets/thumb.php
Normal file
1
site/OFF_plugins/embed/core/snippets/thumb.php
Normal file
|
|
@ -0,0 +1 @@
|
|||
<div class="embed__thumb" style="background-image:url('<?= $url ?>');" title="<?= $alt ?>"><img src="<?= url(c::get('plugin.embed.video.lazyload.btn', 'assets/plugins/embed/images/play.png')) ?>" alt="" width="175" height="110" /></div>
|
||||
1
site/OFF_plugins/embed/core/snippets/typeLink.php
Normal file
1
site/OFF_plugins/embed/core/snippets/typeLink.php
Normal file
|
|
@ -0,0 +1 @@
|
|||
<div class="embed--link__fallback"><a href="<?= $url ?>"><?= $text ?></a></div>
|
||||
1
site/OFF_plugins/embed/core/snippets/wrapper.php
Normal file
1
site/OFF_plugins/embed/core/snippets/wrapper.php
Normal file
|
|
@ -0,0 +1 @@
|
|||
<figure class="embed <?php e($class !== false, 'embed--' . $type) ?> embed--<?= $provider ?> <?= $class ?>" style="<?= $style ?>"><?= $code ?><?= $more ?></figure>
|
||||
Loading…
Add table
Add a link
Reference in a new issue