<div id="inforightbtns">
    {if $info->type == 'root' || $info->type == 'roottab'}
        <span title="{$i.basic_add}" class="dialog_make_btn16 add smallbtns ui-corner-all" onclick="project_group_dialogs.view_edit_new();"></span>
    {elseif $info->type == 'group' || $info->type == 'grouptab'}
        <!--Projekt hinzufügen-->
        {if !$info->project_group_dyn}
            <span title="{$i.basic_edit}" class="dialog_make_btn16 edit smallbtns ui-corner-all" onclick="project_group_dialogs.view_edit_new({$info->grp_id});"></span>
        {/if}
        <span title="{$i.basic_delete}" class="dialog_make_btn16 delete smallbtns ui-corner-all" onclick="project_group.remove_project_or_group('{$info->node_id}');"></span>
    {/if}
    
    {if isset($item_id)}
    <ul class="functionmenu">
        <li class="ui-corner-all"><span class="ui-widget-header ui-corner-all">{$i.basic_functions}</span>
            <ul>
                {if $info->type == 'root' || $info->type == 'group'}
                    {include file="r_basic/functionmenuitem.tpl" title=$i.basic_update
                        icon="update" action="project_group_tree.refresh_tree('{$info->node_id}');"}
                {/if}
                {if $info->type == 'grouptab'}
                    {include file="r_basic/functionmenuitem.tpl" title=$i.basic_update
                        icon="update" action="project_group.hover_update_do('update{$info->node_id}');"}
                {/if}
                
                {include file="r_basic/functionmenuitem.tpl" title=$i.projectadmin_staff_projects
                    icon="staffadmin" action="staff_projects_groups.open({$item_id});"}
            </ul>
        </li>
    </ul>
    {/if}
</div>

<div id="inforight" class="below">
    {include file="Projectadmin/info_right_project_group_table.tpl"}
</div>

