-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
24e608e
commit cdd08ed
Showing
4 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
www/includes/easyparliament/templates/html/announcements/_donation.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
|
||
<?php $featured_item = $announcement_manager->get_random_valid_item("sidebar_right_donation"); ?> | ||
|
||
<?php if ( $featured_item ) { ?> | ||
|
||
<div class="sidebar__unit__featured_side"> | ||
<div class="featured_side__content"> | ||
<a href="<?= $featured_item->url ?>"><h3 class="content__title"><?= $featured_item->title ?></h3></a> | ||
<p class="content__description"><?= $featured_item->content ?></p> | ||
<?php if (isset($featured_item->button_text)) { ?> | ||
<a class="button content__button <?= $featured_item->button_class ?>" href="<?= $featured_item->url ?>"><?= (isset($featured_item->button_text) ? $featured_item->button_text : "Read more") ?></a> | ||
<?php } ?> | ||
</div> | ||
</div> | ||
|
||
<?php }; ?> |
2 changes: 2 additions & 0 deletions
2
www/includes/easyparliament/templates/html/announcements/_sidebar_announcement_right.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?php include 'announcements/_donation'; ?> | ||
<?php include 'announcements/_subscribe'; ?> |
17 changes: 17 additions & 0 deletions
17
www/includes/easyparliament/templates/html/announcements/_subscribe.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
|
||
|
||
<?php $featured_item = $announcement_manager->get_random_valid_item("sidebar_right_subscribe"); ?> | ||
|
||
<?php if ( $featured_item ) { ?> | ||
|
||
<div class="sidebar__unit__featured_side"> | ||
<div class="featured_side__content"> | ||
<a href="<?= $featured_item->url ?>"><h3 class="content__title"><?= $featured_item->title ?></h3></a> | ||
<p class="content__description"><?= $featured_item->content ?></p> | ||
<?php if (isset($featured_item->button_text)) { ?> | ||
<a class="button content__button <?= $featured_item->button_class ?>" href="<?= $featured_item->url ?>"><?= (isset($featured_item->button_text) ? $featured_item->button_text : "Read more") ?></a> | ||
<?php } ?> | ||
</div> | ||
</div> | ||
|
||
<?php }; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters