function streams_init() { include 'wp-content/language/lang_chooser.php'; //Loads the language-file // app_register_init( table, action, apptitle, appname, number ) app_register_init('blogs', 'mystreams', $txt['streams_streams'], 'streams', 2); }
function twitter_init() { include 'wp-content/language/lang_chooser.php'; //Loads the language-file // load Alex King's Twitter Tools WordPress plugin // set the resource, action, button label, app name, grouplevel-unimplemented app_register_init('ak_twitter', 'edit.html', $txt['twitter_twitter'], 'twitter', 2); //before_filter('download_tweets','get'); }
function pages_init() { include 'wp-content/language/lang_chooser.php'; //Loads the language-file // app_register_init( table, action, apptitle, appname, number ) if (member_of('administrators')) { app_register_init('pages', 'pagelist', 'Pages', 'pages', 2); } }
function identica_init() { include 'wp-content/language/lang_chooser.php'; //Loads the language-file // load Alex King's Twitter Tools WordPress plugin wp_plugin_include('twitter-tools'); // set a flag on aktt global $aktt; $aktt->tweet_from_sidebar = false; // set the resource, action, button label, app name, grouplevel-unimplemented app_register_init('dents', 'edit.html', $txt['identica_identica'], 'identica', 2); }
function password_init() { include 'wp-content/language/lang_chooser.php'; //Loads the language-file app_register_init('identities', 'pass', $txt['password_password'], 'password', 2); }
function auction_init() { // admin action app_register_init('auctions', 'index.html', 'Auctions', 'auction', 2); }
function apps_init() { app_register_init('identities', 'apps', 'Apps', 'apps', 2); }
function shortener_init() { include 'wp-content/language/lang_chooser.php'; //Loads the language-file wp_plugin_include('yourls-wordpress-to-twitter'); global $wp_ozh_yourls; $filedir = "wp-content" . DIRECTORY_SEPARATOR . "plugins" . DIRECTORY_SEPARATOR . 'yourls-wordpress-to-twitter'; require_once $filedir . '/inc/core.php'; require_once $filedir . '/inc/options.php'; if (!defined('WP_CONTENT_URL')) { define('WP_CONTENT_URL', get_option('siteurl') . '/wp-content'); } if (!defined('WP_PLUGIN_DIR')) { define('WP_PLUGIN_DIR', WP_CONTENT_DIR . '/plugins'); } if (!defined('WP_PLUGIN_URL')) { define('WP_PLUGIN_URL', WP_CONTENT_URL . '/plugins' . '/yourls-wordpress-to-twitter'); } if (!defined('PLUGINDIR')) { define('PLUGINDIR', 'wp-content/plugins' . '/yourls-wordpress-to-twitter'); } app_register_init('shorteners', 'index.html', 'URL Shortener', 'shortener', 2); }
function translate_init() { include 'wp-content/language/lang_chooser.php'; //Loads the language-file app_register_init('translations', 'index.html', $txt['translation_translate'], 'translate', 2); }