This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Flash Panels | |
Description: This plugin handles the flash panels that can be used on SheKnows Blogs | |
*/ | |
class FlashPanelPostType | |
{ | |
private $args = array( | |
'labels' => array(), |

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{if $companion == true} | |
<script language="javascript" src="http://www.googletagservices.com/tag/static/google_services.js"></script> | |
<script type="text/javascript"> | |
if(typeof(gnm_ord)=='undefined') gnm_ord=Math.random()*100000000000000000; | |
adSlot1 = googletag.defineSlot('/4403/gn.sk.sheknows.com/vast', [300, 250]); | |
adSlot1.addService(googletag.companionAds()); | |
adSlot1.addService(googletag.content()); | |
googletag.content().setContent(adSlot1, "<iframe src='http://n4403ad.doubleclick.net/adi/gn.sk.sheknows.com/vast;sect=vast;sz=300x250;ord=" + gnm_ord + "?' width='300' height='250' marginwidth=0 marginheight=0 scrolling=no></iframe>"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ArticleListModule extends AppModule | |
{ | |
public | |
$template = 'article_list', | |
$uses = array('ArticlesChannel', 'Article'), | |
$channel = 'entertainment', | |
$limit = 10, | |
$styleclass = '', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YUI().use('node', 'event', function(Y) { | |
Y.on('domready', function() { | |
function shareStuff(response) { | |
if (response && response.items) { | |
var uids = response.items.join(','), | |
message; | |
if (hash > "") { | |
message = { |
