latest fixes for dispys. tweaking/repairing

Signed-off-by: Simon L'nu <simon.lnu@gmail.com>
This commit is contained in:
Simon L'nu
2012-04-01 03:57:05 -04:00
parent bbd86382a6
commit db7f7e4237
5 changed files with 31 additions and 11 deletions
+7 -2
View File
@@ -113,6 +113,10 @@ EOT;
function dispydark_community_info() {
$a = get_app();
$aside['$lastusers_title'] = t('Last users');
$aside['$lastusers_items'] = array();
$publish = (get_config('system','publish_all') ? '' : " AND `publish` = 1 " );
$fostitJS = "javascript: (function() {
the_url = '".$a->get_baseurl($ssl_state)."/view/theme/dispy-dark/fpostit/fpostit.php?url=' +
encodeURIComponent(window.location.href) + '&title=' + encodeURIComponent(document.title) + '&text=' +
@@ -138,6 +142,7 @@ function dispydark_community_info() {
}
// aside on profile page
if (($a->argv[0] . $a->argv[1]) === ("profile" . $a->user['nickname'])) {
//if (($a->argv[0] . $a->argv[1]) === ("profile" . $a->user['nickname'])) {
dispydark_community_info();
}
//}