|
Revision 929, 1.8 kB
(checked in by bsmith, 16 months ago)
|
|
Adding Vanilla+Assets
|
-
Property svn:executable set to
*
|
| Line | |
|---|
| 1 | <mt:IncludeBlock module="Wrapper"> |
|---|
| 2 | |
|---|
| 3 | <mt:setvarblock name="html_head" append="1"> |
|---|
| 4 | <style type="text/css" media="screen"> |
|---|
| 5 | .entry-thumbmail-image { |
|---|
| 6 | float: right; |
|---|
| 7 | } |
|---|
| 8 | </style> |
|---|
| 9 | </mt:setvarblock> |
|---|
| 10 | |
|---|
| 11 | <mt:If tag="AssetCount"> |
|---|
| 12 | <h3><__trans phrase="Recent Assets: 100 pixel height"></h3> |
|---|
| 13 | <mt:Assets type="image" lastn="10"> |
|---|
| 14 | <a href="<$mt:AssetURL$>"><img src="<$mt:AssetThumbnailURL height="100"$>" alt="<$mt:AssetLabel$>" /></a> |
|---|
| 15 | </mt:Assets> |
|---|
| 16 | |
|---|
| 17 | <h3><__trans phrase="Recent Assets: 50 pixel width"></h3> |
|---|
| 18 | <mt:Assets type="image" lastn="10"> |
|---|
| 19 | <a href="<$mt:AssetURL$>"><img src="<$mt:AssetThumbnailURL width="50"$>" alt="<$mt:AssetLabel$>" /></a> |
|---|
| 20 | </mt:Assets> |
|---|
| 21 | |
|---|
| 22 | <h3><__trans phrase="Recent Assets: 50 pixel square"></h3> |
|---|
| 23 | <mt:Assets type="image" lastn="10"> |
|---|
| 24 | <a href="<$mt:AssetURL$>"><img src="<$mt:AssetThumbnailURL width="20" square="1"$>" alt="<$mt:AssetLabel$>" /></a> |
|---|
| 25 | </mt:Assets> |
|---|
| 26 | </mt:If> |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | <h3><__trans phrase="Recent Entries (with the first asset added to each as 70 pixel square)"></h3> |
|---|
| 30 | <mt:Entries> |
|---|
| 31 | <h2><a href="<$mt:EntryPermalink$>"><$mt:EntryTitle$></a></h2> |
|---|
| 32 | <p><__trans phrase="By [_1] on [_2]" params="<$mt:EntryAuthorLink$>%%<$mt:EntryDate format="%x %X"$>"></p> |
|---|
| 33 | <mt:EntryAssets type="image" lastn="1" sort_order="ascend"> |
|---|
| 34 | <a href="<$mt:EntryPermalink$>" class="entry-thumbmail-image"><img src="<$mt:AssetThumbnailURL width="70" square="1"$>" alt="<$mt:AssetLabel$>" /></a> |
|---|
| 35 | </mt:EntryAssets> |
|---|
| 36 | <p><$mt:EntryExcerpt$></p> |
|---|
| 37 | <p><em><__trans phrase="Read <a href="[_1]">[_2]</a>" params="<$mt:EntryPermalink$>%%<$mt:EntryTitle$>"></em></p> |
|---|
| 38 | </mt:Entries> |
|---|
| 39 | |
|---|
| 40 | </mt:IncludeBlock> |
|---|