-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharticle.html
More file actions
72 lines (65 loc) · 3.7 KB
/
Copy patharticle.html
File metadata and controls
72 lines (65 loc) · 3.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{loop="$events"}
{$plainDescription=strip_tags($value->getDescription())}
<!-- CORPS ARTICLE -->
{function="Plugin::callHook("event_pre_section", array(&$value))"}
<section id="{$value->getId()}" class="{if="!$value->getUnread()"}eventRead{/if} {$hightlighted%2==0?'eventHightLighted':''}{$scroll?' scroll':''}" {$scroll?'style="display: none;"':''}>
<a title="{function="_t('RETURN_TO_TOP')"}" class="goTopButton" href="#pageTopAnvil">ˆ</a>
<!-- TITRE -->
<h2 class="articleTitle">
{function="Plugin::callHook("event_pre_title", array(&$value))"}
<a onclick="readThis(this,{$value->getId()},'title');" target="_blank" href="{$value->getLink()}" title="{$plainDescription}">{$value->getTitle()}</a>
{function="Plugin::callHook("event_post_title", array(&$value))"}
</h2>
<!-- DETAILS + OPTIONS -->
<h3 class="articleDetails">
{function="Plugin::callHook("event_pre_top_options", array(&$value))"}
{if="$articleDisplayLink"}
<a href="{$value->getLink()}" target="_blank">{$allFeeds['idMap'][$value->getFeed()]['name']}</a>
{/if}
{if="$articleDisplayAuthor"}
{if="$value->getCreator()"}
{function="_t('BY')"} {$value->getCreator()}
{/if}
{/if}
{if="$articleDisplayDate"}
{$value->getPubdateWithInstant($time)}
{/if}
{if="$value->getFavorite()!=1"} - <a class="pointer favorite" onclick="addFavorite(this,{$value->getId()});" >{function="_t('FAVORIZE')"}</a>
{else}
<a class="pointer favorite" onclick="removeFavorite(this,{$value->getId()});" >{function="_t('UNFAVORIZE')"}</a>
{/if}
<a class="pointer right readUnreadButton">({function="_t('READ')"}/{function="_t('UNREAD')"})</a>
{function="Plugin::callHook("event_post_top_options", array(&$value))"}
</h3>
<!-- CONTENU/DESCRIPTION -->
{if="$articleDisplayContent"}
<div class="articleContent">
{if="$articleView=='partial'"}
{function="Plugin::callHook("event_pre_description", array(&$value))"}
{$value->getDescription()}
{function="Plugin::callHook("event_post_description", array(&$value))"}
{else}
{function="Plugin::callHook("event_pre_content", array(&$value))"}
{$value->getContent()}
{function="Plugin::callHook("event_post_content", array(&$value))"}
{/if}
</div>
{if="$articleView!='partial'"}
<!-- RAPPEL DETAILS + OPTIONS POUR LES ARTICLES AFFICHES EN ENTIER -->
<h3 class="articleDetails">
{function="Plugin::callHook("event_pre_bottom_options", array(&$value))"}
<a class="pointer right readUnreadButton">(lu/non lu)</a>
{if="$value->getFavorite()!=1"}<a class="right pointer favorite" onclick="addFavorite(this,{$value->getId()});">{function="_t('FAVORIZE')"}</a>
{else}
<a class="right pointer favorite" onclick="removeFavorite(this,{$value->getId()});">{function="_t('UNFAVORIZE')"}</a>
{/if}
<div class="clear"></div>
{function="Plugin::callHook("event_post_bottom_options", array(&$value))"}
</h3>
{/if}
{/if}
</section>
{function="Plugin::callHook("event_post_section", array(&$value))"}
{$hightlighted=$hightlighted+1}
{/loop}
{if="$scroll && $events"}<div class='scriptaddbutton'><script>addEventsButtonLuNonLus();</script></div>{/if}