コード例 #1
0
     if (file_exists($filePath)) {
         echo '<td>', $sp, '</td>';
     } else {
         if (is_file($filePath)) {
             echo '<td>0644</td>';
         } elseif (is_dir($filePath)) {
             echo '<td class="center">0755</td>';
         } else {
             echo '<td>', $sp, '</td>';
         }
     }
     echo '</tr>';
 }
 echo '</tbody>';
 echo '</table>';
 if (!WsdUtil::isWinOs()) {
     echo '<div class="wsdplugin-overflow"><p style="text-align: right; clear: both; margin: 7px 0 0 0;" class="wsdplugin-overflow">';
     //@@ Display action result
     if ($acx_isPostBack && !empty($acx_message)) {
         echo '<p class="acx-info-box" style="float: left; width: 70%; margin: 0 0; padding-top: 3px; padding-bottom: 3px;">' . $acx_message . '</p>';
     }
     if (wpsIsMainSite()) {
         echo '<input type="submit" value="Apply suggested permissions" class="button-primary" style="float: right;" />';
     }
     echo '</div>';
 }
 echo '</form>';
 echo '<p class="acx-info-box" style="margin: 7px 0 7px 0;">';
 echo __('Our suggested permissions are still secure but more permissive in order not to break some servers\' setups.
         If your existent file permissions are more restrictive, ex: 0750 instead of the suggested 0755 then you have no reason to
         change it to the suggested 0755 permissions.');