summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-09-24 20:37:46 +0000
committerNick Palmer <nick@sluggardy.net>2007-09-24 20:37:46 +0000
commit38c1f5d7aec0ebd452c3344dfcebc14866f98ee5 (patch)
tree335e92c9ab4e1888f4211128fe00ab52fd54e5f2 /templates
parent82b6421d311e21bb3e9f523bb0d1fce77310e502 (diff)
downloadliberty-38c1f5d7aec0ebd452c3344dfcebc14866f98ee5.tar.gz
liberty-38c1f5d7aec0ebd452c3344dfcebc14866f98ee5.tar.bz2
liberty-38c1f5d7aec0ebd452c3344dfcebc14866f98ee5.zip
Move "promotions" stuff to _bit_hype. You need to check out that package to get these features now.
Diffstat (limited to 'templates')
-rw-r--r--templates/admin_liberty.tpl28
-rw-r--r--templates/delicious_inc.tpl16
-rwxr-xr-xtemplates/diggthis_inc.tpl17
-rw-r--r--templates/furl_inc.tpl9
-rw-r--r--templates/promotions_inc.tpl8
-rw-r--r--templates/service_content_icon_inc.tpl3
-rw-r--r--templates/service_content_nav_inc.tpl5
-rw-r--r--templates/service_content_view_inc.tpl5
-rw-r--r--templates/stumbleupon_inc.tpl9
9 files changed, 0 insertions, 100 deletions
diff --git a/templates/admin_liberty.tpl b/templates/admin_liberty.tpl
index b2fa355..ef82766 100644
--- a/templates/admin_liberty.tpl
+++ b/templates/admin_liberty.tpl
@@ -30,34 +30,6 @@
</div>
{/legend}
- {legend legend="Promotions"}
- {legend legend="Locations"}
- {formhelp note="You must select one or more of the following places to display the promotion badges"}
- {foreach from=$formLibertyPromotionsLocations key=item item=output}
- <div class="row">
- {formlabel label=`$output.label` for=$item}
- {forminput}
- {html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item}
- {formhelp note=`$output.note` page=`$output.page`}
- {/forminput}
- </div>
- {/foreach}
- {/legend}
- {legend legend="Services"}
- {foreach from=$formLibertyPromotions key=item item=output}
- <div class="row">
- {formlabel label=`$output.label` for=$item}
- {forminput}
- {html_checkboxes name="$item" values="y" checked=$gBitSystem->getConfig($item) labels=false id=$item}
- {assign var=item_style value=$item|cat:_style}
- Style:&nbsp;{html_options options=$output.styles name="$item_style" id="$item_style" selected=$gBitSystem->getConfig($item_style)}
- {formhelp note=`$output.note` page=`$output.page`}
- {/forminput}
- </div>
- {/foreach}
- {/legend}
- {/legend}
-
{legend legend="Miscellaneous"}
{foreach from=$formLibertyFeatures key=item item=output}
<div class="row">
diff --git a/templates/delicious_inc.tpl b/templates/delicious_inc.tpl
deleted file mode 100644
index 0c45f36..0000000
--- a/templates/delicious_inc.tpl
+++ /dev/null
@@ -1,16 +0,0 @@
-{strip}
-{if $gContent && $gBitSystem->isFeatureActive('promotions_delicious')}
- {if $gBitSystem->getConfig('promotions_delicious_style') == 'active'}
- <script type="text/javascript">
- if (typeof window.Delicious == "undefined") window.Delicious = {ldelim}{rdelim};
- Delicious.BLOGBADGE_DEFAULT_CLASS = 'delicious-blogbadge-line';
- </script>
- <script src="http://images.del.icio.us/static/js/blogbadge.js"></script>
- {elseif $gBitSystem->getConfig('promotions_delicious_style') == 'icon'}
- <a href="http://del.icio.us/post?url={$gContent->getDisplayUri()|escape:'url'}&amp;title={$gContent->getTitle()|escape:'url'}&amp;" />{biticon ipackage="liberty" iname="delicious-wide" iexplain="delicious!" iforce="icon"}</a>
- {else}
- {biticon ipackage="liberty" iname="delicious" iexplain="delicious!" iforce="icon"}<a href="http://del.icio.us/post?url={$gContent->getDisplayUri()|escape:'url'}&amp;title={$gContent->getTitle()|escape:'url'}&amp;" />{tr}save this!{/tr}</a>
-
- {/if}
-{/if}
-{/strip} \ No newline at end of file
diff --git a/templates/diggthis_inc.tpl b/templates/diggthis_inc.tpl
deleted file mode 100755
index 96d4ebc..0000000
--- a/templates/diggthis_inc.tpl
+++ /dev/null
@@ -1,17 +0,0 @@
-{strip}
-{if $gContent && $gBitSystem->isFeatureActive('promotions_digg')}
- {if $gBitSystem->getConfig('promotions_digg_style') == active}
- <script type="text/javascript"> digg_url = '{$gContent->getDisplayUri()|escape:"quotes"}'; </script>
- <script type="text/javascript"> digg_title = '{$gContent->getTitle()|escape:"quotes"}'; </script>
- <script type="text/javascript"> digg_bodytext = '{$parsed_data|escape:"quotes"|truncate:350}'; </script>
- {if $diggStyle|default:$gBitSystem->getConfig('promotions_diggstyle')}
- <script type="text/javascript"> digg_skin = 'compact'; </script>
- {/if}
- <script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script>
- {elseif $gBitSystem->getConfig('promotions_digg_style') == icon}
- <a href="http://digg.com/submit?phase=2&amp;url={$gContent->getDisplayUri()|escape:'url'}&amp;title={$gContent->getTitle()|escape:'url'}&amp;bodytext={$parsed_data|escape:'url'|truncate:350}">{biticon ipackage="liberty" iname="digg-wide" iexplain="digg this!" iforce="icon"}</a>
- {else}
- {biticon ipackage="liberty" iname="digg" iexplain="digg this!" iforce="icon"}<a href="http://digg.com/submit?phase=2&amp;url={$gContent->getDisplayUri()|escape:'url'}&amp;title={$gContent->getTitle()|escape:'url'}&amp;bodytext={$parsed_data|escape:'url'|truncate:350}">{tr}digg this!{/tr}</a>
- {/if}
-{/if}
-{/strip} \ No newline at end of file
diff --git a/templates/furl_inc.tpl b/templates/furl_inc.tpl
deleted file mode 100644
index 3ccf936..0000000
--- a/templates/furl_inc.tpl
+++ /dev/null
@@ -1,9 +0,0 @@
-{strip}
-{if $gContent && $gBitSystem->isFeatureActive('promotions_furl')}
- {if $gBitSystem->getConfig('promotions_furl_style') == 'icon'}
- <a href="http://www.furl.net/storeIt.jsp?u={$gContent->getDisplayUri()|escape:'url'}&amp;t={$gContent->getTitle()|escape:'url'}&amp;nostatic=1&amp;name=&amp;rx_id=">{biticon ipackage="liberty" iname="furl-wide" iexplain="Furl this!" iforce="icon"}</a>
- {else}
- {biticon ipackage="liberty" iname="furl" iexplain="Furl this!" iforce="icon"}<a href="http://www.furl.net/storeIt.jsp?u={$gContent->getDisplayUri()|escape:'url'}&amp;t={$gContent->getTitle()|escape:'url'}&amp;nostatic=1&amp;name=&amp;rx_id=">{tr}furl this!{/tr}</a>
- {/if}
-{/if}
-{/strip} \ No newline at end of file
diff --git a/templates/promotions_inc.tpl b/templates/promotions_inc.tpl
deleted file mode 100644
index 4f7d265..0000000
--- a/templates/promotions_inc.tpl
+++ /dev/null
@@ -1,8 +0,0 @@
-{strip}
-<div class="promotions">
- {include file="bitpackage:liberty/diggthis_inc.tpl" diggStyle='compact'}&nbsp;
- {include file="bitpackage:liberty/furl_inc.tpl" diggStyle='compact'}&nbsp;
- {include file="bitpackage:liberty/stumbleupon_inc.tpl" diggStyle='compact'}&nbsp;
- {include file="bitpackage:liberty/delicious_inc.tpl" diggStyle='compact'}&nbsp;
-</div>
-{/strip} \ No newline at end of file
diff --git a/templates/service_content_icon_inc.tpl b/templates/service_content_icon_inc.tpl
index 5d9a3af..2aee11e 100644
--- a/templates/service_content_icon_inc.tpl
+++ b/templates/service_content_icon_inc.tpl
@@ -19,9 +19,6 @@
{/if}
{smartlink ipackage=liberty ifile=content_permissions.php ititle="Assign Permissions" ibiticon=$perm_icon ipackage=liberty ifile="content_permissions.php" content_id=$serviceHash.content_id}
{/if}
-{if $gBitSystem->isFeatureActive('promotions_icon')}
- {include file="bitpackage:liberty/promotions_inc.tpl"}
-{/if}
{* This should always be last so it is right most in the icons! *}
{if $preview && $closeclick}
<a onclick="javascript:return cClick();">{biticon ipackage=icons iname=window-close iexplain="Close Popup"}</a>
diff --git a/templates/service_content_nav_inc.tpl b/templates/service_content_nav_inc.tpl
deleted file mode 100644
index 5e39046..0000000
--- a/templates/service_content_nav_inc.tpl
+++ /dev/null
@@ -1,5 +0,0 @@
-{strip}
-{if $gBitSystem->isFeatureActive('promotions_nav')}
- {include file="bitpackage:liberty/promotions_inc.tpl"}
-{/if}
-{/strip} \ No newline at end of file
diff --git a/templates/service_content_view_inc.tpl b/templates/service_content_view_inc.tpl
deleted file mode 100644
index 8d18380..0000000
--- a/templates/service_content_view_inc.tpl
+++ /dev/null
@@ -1,5 +0,0 @@
-{strip}
-{if $gBitSystem->isFeatureActive('promotions_view')}
- {include file="bitpackage:liberty/promotions_inc.tpl"}
-{/if}
-{/strip} \ No newline at end of file
diff --git a/templates/stumbleupon_inc.tpl b/templates/stumbleupon_inc.tpl
deleted file mode 100644
index 47eeb37..0000000
--- a/templates/stumbleupon_inc.tpl
+++ /dev/null
@@ -1,9 +0,0 @@
-{strip}
-{if $gContent && $gBitSystem->isFeatureActive('promotions_stumbleupon')}
- {if $gBitSystem->getConfig('promotions_stumbleupon_style') == 'icon'}
- <a href="http://www.stumbleupon.com/submit?url={$gContent->getDisplayUri()|escape:'url'}&amp;title={$gContent->getTitle()|escape:'url'}&amp;bodytext={$parsed_data|escape:'url'|truncate:350}" />{biticon ipackage="liberty" iname="su-wide" iexplain="stumbleupon this!" iforce="icon"}</a>
- {else}
- {biticon ipackage="liberty" iname="su" iexplain="stumbleupon this!" iforce="icon"}<a href="http://www.stumbleupon.com/submit?url={$gContent->getDisplayUri()|escape:'url'}&amp;title={$gContent->getTitle()|escape:'url'}&amp;bodytext={$parsed_data|escape:'url'|truncate:350}" />{tr}stumbleupon!{/tr}</a>
- {/if}
-{/if}
-{/strip} \ No newline at end of file