if ($str_LOCKED_BY == $USER->GetID()) {
            ?>
<span class="required">(!)</span><?php 
        }
        ?>
</td>
	</tr>
	<?php 
    }
    ?>
	<?php 
}
?>

	<?php 
if (CSite::IsDistinctDocRoots()) {
    ?>
	<tr class="adm-detail-required-field">
		<td><?php 
    echo GetMessage("FLOW_EDIT_SITE");
    ?>
</td>
		<td><?php 
    echo CSite::SelectBox("SITE_ID", $str_SITE_ID);
    ?>
</td>
	</tr>
	<?php 
}
?>
	<tr class="adm-detail-required-field">
Example #2
0
     @set_time_limit(0);
     $strWarning_tmp = CFileMan::DeleteEx(array($site, CFileMan::NormalizePath($pathEx)));
     // Delete file from search results, stored in db
     if ($bSearch) {
         CFilemanSearch::DelFromSearchResult($searchSess, $pathEx);
     }
     if (strlen($strWarning_tmp) > 0) {
         $lAdmin->AddGroupError($strWarning_tmp, $ID);
     }
     break;
 case "copy":
 case "move":
     if (!($USER->CanDoFileOperation('fm_create_new_file', $arPath_i) || $USER->CanDoFileOperation('fm_create_new_folder', $arPath_i)) || !($USER->CanDoFileOperation('fm_delete_file', $arPath_i) || $USER->CanDoFileOperation('fm_delete_folder', $arPath_i)) && $_REQUEST['action'] == 'move') {
         break;
     }
     if (!CSite::IsDistinctDocRoots() || CFileMan::__CheckSite($copy_to_site) === false) {
         $copy_to_site = $site;
     }
     $name_i = $bSearch ? CFileman::GetFileName($ID) : $ID;
     if (($mess = CFileMan::CheckFileName(str_replace('/', '', $copy_to))) !== true) {
         $lAdmin->AddGroupError($mess, $ID);
     } else {
         $strWarning_tmp = CFileMan::CopyEx(array($site, CFileMan::NormalizePath($pathEx)), array($copy_to_site, CFileMan::NormalizePath($copy_to . "/" . $name_i)), $_REQUEST['action'] == "move" ? true : false);
     }
     if ($bSearch && $_REQUEST['action'] == "move") {
         CFilemanSearch::DelFromSearchResult($searchSess, $pathEx);
     }
     if (strlen($strWarning_tmp) > 0) {
         $lAdmin->AddGroupError($strWarning_tmp, $ID);
     }
     break;