<div class="ui-dialog-left-menu-big ui-corner-all">
    <p style="text-align:center;">
        <span onclick="projectadmin.recalc_budget.close();" class="dialog_make_btn32 close smallbtns ui-corner-all" title="{$i.basic_cancel}"></span>
        <span onclick="projectadmin.recalc_budget.save();" class="dialog_make_btn32 ok smallbtns ui-corner-all" title="{$i.basic_save}"></span>
    </p>
</div>
<div class="ui-dialog-main-big">
    <form id="recalc_budget_form" style="" action=""  method="POST" enctype="multipart/form-data" onsubmit="">
        <fieldset class="noborder">
            {include file='r/checkbox.tpl' name="recalc_budget_set_to_100" title="projectadmin_recalc_budget_set_to_100" labelclass="label4"
                add_icons_file='warning_small' past_span_text=$i.projectadmin_recalc_budget_set_to_100_note}
        </fieldset>
        <h4>{$i.projectadmin_selected_projects}</h4>
        <hr />
        <div class="ui-dialog-maxheight-scroll" style="max-height:350px; margin-top:15px;">
            <ul>
            {if isset($rows_count_info)}    
                <div class="warning warningborder ui-corner-all" style="color:red">
                    {$rows_count_info}
                </div>                
            {elseif isset($selected_projects)}    
                {foreach item="selected_project" from=$selected_projects}
                     <li class="dialog_make_text_btn ui-corner-all" onclick="basicForm.selectable_row.unselect_from_dlg('projectadmin',{$selected_project->id}, this);">
                        <span class="dialog_make_btn16 delete ui-corner-all"></span>
                        {$selected_project->project_name} {$selected_project->project_number}
                     </li>
                {/foreach}         
            {/if}                 
            </ul>    
        </div>
    </form>
</div>