<div id="inforight">
    <p class="sep">
        <span class="dialog_make_text_btn ui-corner-all" onclick="masterdatamanagement.view('web_config.external');return false;">{$i.masterdatamanagement_us_mapping}</span>
    </p>
    
    {if $us_rights_mode<3}
        <p class="sep">
            <a class="dialog_make_text_btn ui-corner-all"
                href="javascript:masterdatamanagement.view_sub('web_config', 'write_config');">{$i.masterdatamanagement_web_config_write}</a>
        </p>
    {/if}

    {if $can_copy_portlets}
        <h4 style="margin-top: 30px">{$i.masterdatamanagement_copy_portlets}</h4>
        <table class="col2btn">
        <tr>
            <td>{$i.basic_from}</td>
            <td>
                {include file='r/input-staff.tpl' name="copy_portlets_staff_from" 
                    title="basic_staff" data=$web_config_staff_list['staff'] default='' staff_inactive_icon=FALSE
                    noempty=true deactivate_possible=false deactivate=false class="staff_inactive_icon"}  
            </td>
        </tr>
        <tr>
            <td>{$i.basic_recipient}</td>
            <td>
                {include file='r/input-staff_staff_grp.tpl' name="copy_portlets_staff_to" 
                    title="basic_staff" data=$web_config_staff_list default='' staff_inactive_icon=FALSE two_line=TRUE
                    noempty=true deactivate_possible=true deactivate=true class="staff_inactive_icon"}  
            </td>
        </tr>
        <tr>
            <td>{$i.auth_butler_page}</td>
            <td>
                <p class="formstyle formcoll ">
                    {include file='r/select-only.tpl' name="auth_butler_page" title="auth_butler_page"
                        list=$web_config_portlet_pages id="id" text="name" isEmpty=TRUE default="0" class=""}
                </p>
            </td>
        </tr>
        <tr>
            <td colspan="2" style="padding: 20px; text-align:center;">
                <p class="formstyle">
                    <span class="dialog_make_text_btn ui-corner-all ui-corner-all" style="background-color:rgba(150,250,150,.2)" onclick="webConfig.copy_portlets();" title="{$i.masterdatamanagement_copy_portlets}">
                        {$i.masterdatamanagement_copy_portlets}
                    <span class="dialog_make_btn16 parent ui-corner-all"></span>
                </p>
            </span>
            </td>
        </tr>    
    {/if}
</div>