diff -r 2f6f6f7551ca -r 32102edaa81b web/wp-content/plugins/twitter-tools/widget.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/wp-content/plugins/twitter-tools/widget.php Mon Nov 19 18:26:13 2012 +0100 @@ -0,0 +1,110 @@ + 'aktt-widget', + 'description' => $desc + ) + ); + } + + function form($instance) { + if (!AKTT::$enabled) { + return ''; + } + $account_options = array(); + AKTT::get_social_accounts(); + foreach (AKTT::$accounts as $account) { + if ($account->option('enabled')) { + $account_options[] = $account->social_acct->name(); + } + } + $defaults = array( + 'title' => __('Recent Tweets', 'twitter-tools'), + 'account' => '', + 'count' => 5, + 'include_rts' => 0, + 'include_replies' => 0, + ); + foreach ($defaults as $k => $v) { + if (!isset($instance[$k])) { + $instance[$k] = $v; + } + } +?> +

+ + +

+

+ + +

+

+ + +

+

+ +   + /> + +   + /> + +

+

+ +   + /> + +   + /> + +

+