Initial commit
This commit is contained in:
commit
65e0da7e11
1397 changed files with 596542 additions and 0 deletions
21
site/OFF_plugins/field-engineer/snippets/template.php
Normal file
21
site/OFF_plugins/field-engineer/snippets/template.php
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?php if(c::get('engineer.debug', false)) : ?>
|
||||
<style>
|
||||
.egr-outline,
|
||||
.egr-output {
|
||||
display: block;
|
||||
}
|
||||
</style>
|
||||
<?php endif; ?>
|
||||
<div class="egr">
|
||||
<div class="egr-outline">
|
||||
<?php echo egr::snippet('delete'); ?>
|
||||
<?php echo egr::snippet('outline', $args['outline']); ?>
|
||||
</div>
|
||||
<div class="egr-presentation"><?php echo egr::snippet('presentation', $args['presentation']); ?></div>
|
||||
<div class="egr-output">
|
||||
<textarea
|
||||
name="<?= $args['instance']->name; ?>"
|
||||
id="form-field-<?= $args['instance']->name; ?>
|
||||
"><?php echo htmlspecialchars($args['instance']->value); ?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue