-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Latest version 2.1.
- Loading branch information
Showing
28 changed files
with
544 additions
and
166 deletions.
There are no files selected for viewing
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
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
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
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
50 changes: 50 additions & 0 deletions
50
dist/simplr/forms/article/default_no_lightbox_black_white_copy.txp
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,50 @@ | ||
<txp:if_different> | ||
<style scoped> | ||
picture,#lightboxImage{filter:grayscale(1)} | ||
</style> | ||
<txp:else /> | ||
</txp:if_different> | ||
<txp:if_article_list> | ||
|
||
<txp:if_article_image><txp:php> | ||
// Get the first ID, store it into a TXP variable | ||
global $variable; | ||
$variable['first_pic'] = strtok(custom_field(array('name'=>'article_image')), ','); | ||
</txp:php> | ||
<txp:images form="images" limit="1" id='<txp:variable name="first_pic" />' break=""> | ||
<figure class="aspect-ratio"> | ||
<picture> | ||
<img src="<txp:image_url link='0' />" width="<txp:image_info type="w" />" height="<txp:image_info type="h" />" alt="<txp:image_info type='alt' />" lazyload="on" class="no-select" /> | ||
</picture> | ||
<figcaption> | ||
<txp:output_form form="image_count" /> <txp:image_info escape="" /> | ||
</figcaption> | ||
</figure> | ||
</txp:images> | ||
</txp:if_article_image> | ||
|
||
<txp:output_form form="article_metas" /> | ||
|
||
<div class="excerpt"> | ||
<txp:if_excerpt> | ||
<txp:excerpt /> | ||
<txp:else /> | ||
<p><txp:output_form form="shrink_text" /></p> | ||
</txp:if_excerpt> | ||
<span class="more"><a href="<txp:permlink />"><txp:text item="more" /> →</a></span> | ||
</div> | ||
|
||
<txp:else /> | ||
|
||
<txp:if_article_image><div class="gallery"> | ||
<txp:output_form form="no_lightbox_images" /> | ||
</div></txp:if_article_image> | ||
<txp:output_form form="article_metas" /> | ||
<txp:body /> | ||
|
||
<txp:output_form form="post_pager" /> | ||
|
||
|
||
<txp:output_form form="comments_display" /> | ||
|
||
</txp:if_article_list> |
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
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
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
Oops, something went wrong.