|
|
@ -153,27 +153,27 @@ if (api_is_allowed_to_edit() OR GroupManager :: is_user_in_group($_SESSION['_uid |
|
|
|
// Edited by Patrick Cool, 12 feb 2004: hide the forum link if there is no forum for this group (deleted through forum_admin.php) |
|
|
|
// Edited by Patrick Cool, 12 feb 2004: hide the forum link if there is no forum for this group (deleted through forum_admin.php) |
|
|
|
if (!is_null($current_group['forum_id']) && $current_group['forum_state'] != TOOL_NOT_AVAILABLE) |
|
|
|
if (!is_null($current_group['forum_id']) && $current_group['forum_state'] != TOOL_NOT_AVAILABLE) |
|
|
|
{ |
|
|
|
{ |
|
|
|
$tools .= "- <a href=\"../phpbb/viewforum.php?".api_get_cidreq()."&origin=$origin&gidReq=".$current_group['id']."&forum=".$current_group['forum_id']."\">".get_lang("Forums")."</a><br/>"; |
|
|
|
$tools .= "<a href=\"../phpbb/viewforum.php?".api_get_cidreq()."&origin=$origin&gidReq=".$current_group['id']."&forum=".$current_group['forum_id']."\"><img src='../img/forum.gif' align='absbottom'> ".get_lang("Forums")."</a></div>"; |
|
|
|
} |
|
|
|
} |
|
|
|
if( $current_group['doc_state'] != TOOL_NOT_AVAILABLE ) |
|
|
|
if( $current_group['doc_state'] != TOOL_NOT_AVAILABLE ) |
|
|
|
{ |
|
|
|
{ |
|
|
|
// link to the documents area of this group |
|
|
|
// link to the documents area of this group |
|
|
|
$tools .= "- <a href=\"../document/document.php?".api_get_cidreq()."&gidReq=".$current_group['id']."\">".get_lang("GroupDocument")."</a><br/>"; |
|
|
|
$tools .= "<div style='margin-bottom: 5px;'><a href=\"../document/document.php?".api_get_cidreq()."&gidReq=".$current_group['id']."\"><img src='../img/documents.gif' align='absbottom'> ".get_lang("GroupDocument")."</a></div>"; |
|
|
|
} |
|
|
|
} |
|
|
|
if ( $current_group['calendar_state'] != TOOL_NOT_AVAILABLE) |
|
|
|
if ( $current_group['calendar_state'] != TOOL_NOT_AVAILABLE) |
|
|
|
{ |
|
|
|
{ |
|
|
|
//link to a group-specific part of agenda |
|
|
|
//link to a group-specific part of agenda |
|
|
|
$tools .= "- <a href=\"../calendar/agenda.php?".api_get_cidreq()."&toolgroup=".$current_group['id']."&group=".$current_group['id']."&acces=0\">".get_lang("GroupCalendar")."</a><br/>"; |
|
|
|
$tools .= "<div style='margin-bottom: 5px;'><a href=\"../calendar/agenda.php?".api_get_cidreq()."&toolgroup=".$current_group['id']."&group=".$current_group['id']."&acces=0\"><img src='../img/agenda.gif' align='absbottom'> ".get_lang("GroupCalendar")."</a></div>"; |
|
|
|
} |
|
|
|
} |
|
|
|
if ( $current_group['work_state'] != TOOL_NOT_AVAILABLE) |
|
|
|
if ( $current_group['work_state'] != TOOL_NOT_AVAILABLE) |
|
|
|
{ |
|
|
|
{ |
|
|
|
//link to the works area of this group |
|
|
|
//link to the works area of this group |
|
|
|
$tools .= "- <a href=\"../work/work.php?".api_get_cidreq()."&toolgroup=".$current_group['id']."\">".get_lang("GroupWork")."</a><br/>"; |
|
|
|
$tools .= "<div style='margin-bottom: 5px;'><a href=\"../work/work.php?".api_get_cidreq()."&toolgroup=".$current_group['id']."\"><img src='../img/works.gif' align='absbottom'> ".get_lang("GroupWork")."</a></div>"; |
|
|
|
} |
|
|
|
} |
|
|
|
if ( $current_group['announcements_state'] != TOOL_NOT_AVAILABLE) |
|
|
|
if ( $current_group['announcements_state'] != TOOL_NOT_AVAILABLE) |
|
|
|
{ |
|
|
|
{ |
|
|
|
//link to a group-specific part of announcements |
|
|
|
//link to a group-specific part of announcements |
|
|
|
$tools .= "- <a href=\"../announcements/announcements.php?".api_get_cidreq()."&toolgroup=".$current_group['id']."\">".get_lang("GroupAnnouncements")."</a><br/>"; |
|
|
|
$tools .= "<div style='margin-bottom: 5px;'><a href=\"../announcements/announcements.php?".api_get_cidreq()."&toolgroup=".$current_group['id']."\"><img src='../img/valves.gif' align='absbottom'> ".get_lang("GroupAnnouncements")."</a></div>"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
echo '<b>'.get_lang("Tools").':</b><blockquote>'.$tools.'</blockquote>'; |
|
|
|
echo '<b>'.get_lang("Tools").':</b><blockquote>'.$tools.'</blockquote>'; |
|
|
|