diff options
| author | laetzer <laetzer@users.sourceforge.net> | 2008-09-29 11:56:30 +0000 |
|---|---|---|
| committer | laetzer <laetzer@users.sourceforge.net> | 2008-09-29 11:56:30 +0000 |
| commit | 20b756c6259fe2fed0186f6aa6f44e1d4d5a74a5 (patch) | |
| tree | 9a31c0690c3ab599800b5e889c10e11857dad763 /templates/mime | |
| parent | 5bf11e5d095cb770b5d2c857de019de91545bd0e (diff) | |
| download | liberty-20b756c6259fe2fed0186f6aa6f44e1d4d5a74a5.tar.gz liberty-20b756c6259fe2fed0186f6aa6f44e1d4d5a74a5.tar.bz2 liberty-20b756c6259fe2fed0186f6aa6f44e1d4d5a74a5.zip | |
inline css in liberty, kernel, themes replaced with classes from inline.css (loaded by themes pkg)
Diffstat (limited to 'templates/mime')
| -rw-r--r-- | templates/mime/application/view.tpl | 2 | ||||
| -rw-r--r-- | templates/mime/audio/view.tpl | 2 | ||||
| -rw-r--r-- | templates/mime/default/view.tpl | 2 | ||||
| -rw-r--r-- | templates/mime/flash/view.tpl | 4 | ||||
| -rw-r--r-- | templates/mime/flv/view.tpl | 6 |
5 files changed, 8 insertions, 8 deletions
diff --git a/templates/mime/application/view.tpl b/templates/mime/application/view.tpl index a7261fa..553ee7a 100644 --- a/templates/mime/application/view.tpl +++ b/templates/mime/application/view.tpl @@ -1,5 +1,5 @@ {strip} -<div class="row" style="text-align:center;"> +<div class="row aligncenter"> {assign var=size value=$smarty.request.size|default:icon} <a href="{$attachment.source_url|escape}"> <img title="" alt="" src="{$attachment.thumbnail_url.$size}" /> diff --git a/templates/mime/audio/view.tpl b/templates/mime/audio/view.tpl index f01c5de..0d3f9b7 100644 --- a/templates/mime/audio/view.tpl +++ b/templates/mime/audio/view.tpl @@ -1,6 +1,6 @@ {strip} {if $attachment.media_url} - <div class="row" style="text-align:center;"> + <div class="row aligncenter"> {include file="bitpackage:liberty/mime_audio_player_inc.tpl"} </div> {/if} diff --git a/templates/mime/default/view.tpl b/templates/mime/default/view.tpl index 1b39bfe..0b1e9c0 100644 --- a/templates/mime/default/view.tpl +++ b/templates/mime/default/view.tpl @@ -1,5 +1,5 @@ {strip} -<div class="row" style="text-align:center;"> +<div class="row aligncenter"> {assign var=size value=$smarty.request.size|default:medium} <img title="" alt="" src="{$attachment.thumbnail_url.$size}" /> </div> diff --git a/templates/mime/flash/view.tpl b/templates/mime/flash/view.tpl index 87d06fe..4c7bb97 100644 --- a/templates/mime/flash/view.tpl +++ b/templates/mime/flash/view.tpl @@ -1,5 +1,5 @@ {strip} -<div class="row" style="text-align:center;"> +<div class="row aligncenter"> {* this should really get a max h or w and base size on the bounding box *} {assign var=height value=$attachment.preferences.height} {assign var=width value=$attachment.preferences.width} @@ -22,4 +22,4 @@ {/foreach} </div> {/strip} -{include file="bitpackage:liberty/mime_meta_inc.tpl"} +{include file="bitpackage:liberty/mime_meta_inc.tpl"}
\ No newline at end of file diff --git a/templates/mime/flv/view.tpl b/templates/mime/flv/view.tpl index 5990457..e4ef88d 100644 --- a/templates/mime/flv/view.tpl +++ b/templates/mime/flv/view.tpl @@ -1,6 +1,6 @@ {strip} {if $attachment.media_url} - <div class="row" style="text-align:center;"> + <div class="row aligncenter"> {include file="bitpackage:liberty/mime_flv_player_inc.tpl"} </div> @@ -14,7 +14,7 @@ <a href="{$attachment.display_url}&size=original">{tr}Original{/tr}</a> • </div> {elseif $attachment.status.processing} - <div class="row" style="text-align:center;"> + <div class="row aligncenter"> <a href="{$attachment.download_url}"> {assign var=size value=$gBitSystem->getConfig('treasury_item_view_thumb')} <img src="{$attachment.thumbnail_url.$size}{$refresh}" alt="{$gContent->getTitle()}" title="{$gContent->getTitle()}" /> @@ -23,7 +23,7 @@ </div> {formfeedback warning="{tr}The video is being processed. please try to reload in a couple of minutes.{/tr}"} {elseif $attachment.status.error} - <div class="row" style="text-align:center;"> + <div class="row aligncenter"> <a href="{$attachment.download_url}"> {assign var=size value=$gBitSystem->getConfig('treasury_item_view_thumb')} <img src="{$attachment.thumbnail_url.$size}{$refresh}" alt="{$gContent->getTitle()}" title="{$gContent->getTitle()}" /> |
