Changeset 1235
- Timestamp:
- 10/18/07 12:19:10 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/mod/community/lib/communities_moderator_of.php
r1234 r1235 18 18 $friends_menu = run("community:infobox:menu",array($info)); 19 19 if (run("permissions:check",array("userdetails:change", $info->ident))) { 20 $friends_menu .= "<a href=\"{$CFG->wwwroot}mod/community/index.php?community_id=".$info->ident."&action=community:delete\" onClick=\" confirm('".__gettext('Are you sure you want to delete this community?')."');\">Delete community</a>";20 $friends_menu .= "<a href=\"{$CFG->wwwroot}mod/community/index.php?community_id=".$info->ident."&action=community:delete\" onClick=\"return confirm('".__gettext('Are you sure you want to delete this community?')."');\">Delete community</a>"; 21 21 } 22 22 $friends_icon = user_icon_html($info->ident,COMMUNITY_ICON_SIZE);
