summaryrefslogtreecommitdiff
path: root/admin
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 /admin
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 'admin')
-rw-r--r--admin/admin_liberty_inc.php58
1 files changed, 1 insertions, 57 deletions
diff --git a/admin/admin_liberty_inc.php b/admin/admin_liberty_inc.php
index 1740a06..f1de0ee 100644
--- a/admin/admin_liberty_inc.php
+++ b/admin/admin_liberty_inc.php
@@ -1,57 +1,4 @@
<?php
-$formLibertyPromotionsLocations = array(
- 'promotions_nav' => array(
- 'label' => 'Promotions in "nav"',
- 'note' => 'Displays the promotions in the "nav" section of each page.',
- ),
- 'promotions_view' => array(
- 'label' => 'Promotions in "view"',
- 'note' => 'Displays the promotions in the "view" section of each page.',
- ),
- 'promotions_icon' => array(
- 'label' => 'Promotions in "icons"',
- 'note' => 'Displays the promotions in the "icons" section of each page.',
- ),
-);
-$gBitSmarty->assign( 'formLibertyPromotionsLocations', $formLibertyPromotionsLocations );
-
-$formLibertyPromotions = array(
- 'promotions_digg' => array(
- 'label' => 'Display digg link',
- 'note' => 'Displays the digg logo to make it easy for people to digg your content.',
- 'styles' => array(
- 'text-icon' => 'Text and Icon',
- 'icon' => 'Wide Icon',
- 'active' => 'Active Javascript'
- ),
- ),
- 'promotions_stumbleupon' => array(
- 'label' => 'Display stumbleupon link',
- 'note' => 'Displays the stumbleupon logo to make it easy for people to stumbleupon your content.',
- 'styles' => array(
- 'text-icon' => 'Text and Icon',
- 'icon' => 'Wide Icon'
- ),
- ),
- 'promotions_delicious' => array(
- 'label' => 'Display delicious link',
- 'note' => 'Displays the delicious logo to make it easy for people to delicious your content.',
- 'styles' => array(
- 'text-icon' => 'Text and Icon',
- 'icon' => 'Wide Icon',
- 'active' => 'Active Javascript',
- ),
- ),
- 'promotions_furl' => array(
- 'label' => 'Display furl link',
- 'note' => 'Displays the furl logo to make it easy for people to furl your content.',
- 'styles' => array(
- 'text-icon' => 'Text and Icon',
- 'icon' => 'Wide Icon',
- ),
- ),
-);
-$gBitSmarty->assign( 'formLibertyPromotions', $formLibertyPromotions );
$formLibertyFeatures = array(
"liberty_display_status" => array(
@@ -156,10 +103,7 @@ $gBitSmarty->assign( 'thumbFormats', $thumbFormats );
$formValues = array( 'image_processor', 'liberty_attachment_link_format', 'comments_per_page', 'comments_default_ordering', 'comments_default_display_mode' );
if( !empty( $_REQUEST['change_prefs'] )) {
- $formFeatures = array_merge( $formLibertyPromotionsLocations, $formLibertyPromotions, $formLibertyFeatures, $formImageFeatures, $formCaptcha );
- foreach( $formLibertyPromotions as $item => $data ) {
- simple_set_value( $item . "_style", LIBERTY_PKG_NAME );
- }
+ $formFeatures = array_merge( $formLibertyFeatures, $formImageFeatures, $formCaptcha );
foreach( $formFeatures as $item => $data ) {
simple_set_toggle( $item, LIBERTY_PKG_NAME );
}