Skip to content

Commit

Permalink
Header & Footer Injection
Browse files Browse the repository at this point in the history
Header & Footer Injection options were accidentily left out of 1.6.
This commit re-adds them as options.
  • Loading branch information
jptksc committed Aug 7, 2013
1 parent a144a32 commit 24c08a2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dropplets/style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,12 @@ body.dp-install form button:hover {
height: 20px;
}

.dp-panel .dp-row.dp-editable textarea.dp-code {
font-family: "Courier New", Courier, mono;
font-size: 12px;
line-height: 14px;
}

.dp-panel .dp-row.dp-editable textarea:focus {
height: auto;
}
Expand Down
18 changes: 18 additions & 0 deletions dropplets/tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,24 @@
<textarea name="intro_text" id="intro_text" rows="12" required><?php echo INTRO_TEXT; ?></textarea>
</div>
</div>

<div class="dp-row dp-editable">
<div class="dp-icon dp-icon-edit"></div>

<div class="dp-content">
<label>Header Injection</label>
<textarea class="dp-code" name="header_inject" id="header_inject" rows="12"><?php echo HEADER_INJECT; ?></textarea>
</div>
</div>

<div class="dp-row dp-editable">
<div class="dp-icon dp-icon-edit"></div>

<div class="dp-content">
<label>Footer Injection</label>
<textarea class="dp-code" name="footer_inject" id="footer_inject" rows="12"><?php echo FOOTER_INJECT; ?></textarea>
</div>
</div>
</div>
</form>

Expand Down

0 comments on commit 24c08a2

Please sign in to comment.