/** * @return String * @desc Opens a LJ entry based on session variables. Returns the title and content concatenated together for editing */ function livejournal_open() { global $config, $livejournal_host, $livejournal_path; $plugin = $config['plugins'][$_SESSION['plugin']]; return mt_open($plugin['username'], $plugin['password'], $livejournal_host, $livejournal_path, 'livejournal'); }
/** * @return String * @desc Opens a MT entry based on session variables. Returns the title and content concatenated together for editing */ function movabletype_open() { global $config; $plugin = $config['plugins'][$_SESSION['plugin']]; return mt_open($plugin['username'], $plugin['password'], $plugin['host'], $plugin['path'], 'movabletype'); }
/** * @return String * @desc Opens a LJ entry based on session variables. Returns the title and content concatenated together for editing */ function wordpress_open() { global $config; $plugin = $config['plugins'][$_SESSION['plugin']]; return mt_open($plugin['username'], $plugin['password'], $plugin['host'], $plugin['path'], 'wordpress'); }