예제 #1
1
    ?>
</td>
   <td><?php 
    print $line['home_field'];
    ?>
&nbsp;</td>
   <td><?php 
    print checkmark($line['complex']);
    ?>
</td>
   <td><?php 
    print checkmark($line['high_perf']);
    ?>
</td>
   <td><?php 
    print checkmark($line['tailwheel']);
    ?>
</td>
   <td class="integer"><?php 
    print $line['flights'];
    ?>
</td>
   <?php 
    split_decimal($line['total_hours']);
    ?>
   <td><?php 
    print $line['detail'];
    ?>
&nbsp;</td>
   <td class="hidden"><?php 
    print $features;
예제 #2
0
                break;
            case 'in_webpath':
                $webpath = $_SERVER['SCRIPT_NAME'];
                $root = $serverpath;
                if (!empty($webpath)) {
                    $root = str_replace('\\', '/', dirname($root));
                }
                $albumfolder = $root . $albumfolder;
                break;
        }
        $good = folderCheck('albums', $albumfolder, $_zp_conf_vars['album_folder_class'], NULL, true, $chmod | 0311, $updatechmod) && $good;
    } else {
        checkmark(-1, gettext('<em>albums</em> folder'), gettext('<em>albums</em> folder [The line <code>\\$conf[\'album_folder\']</code> is missing from your configuration file]'), sprintf(gettext('You should update your configuration file to conform to the current %1$s example file.'), CONFIGFILE));
    }
    $good = folderCheck('cache', $serverpath . '/' . CACHEFOLDER . '/', 'std', NULL, true, $chmod | 0311, $updatechmod) && $good;
    $good = checkmark(file_exists($en_US), gettext('<em>locale</em> folders'), gettext('<em>locale</em> folders [Are not complete]'), gettext('Be sure you have uploaded the complete Zenphoto package. You must have at least the <em>en_US</em> folder.')) && $good;
    $good = folderCheck(gettext('uploaded'), $serverpath . '/' . UPLOAD_FOLDER . '/', 'std', NULL, false, $chmod | 0311, $updatechmod) && $good;
    $good = folderCheck(DATA_FOLDER, $serverpath . '/' . DATA_FOLDER . '/', 'std', NULL, false, $chmod | 0311, $updatechmod) && $good;
    @rmdir(SERVERPATH . '/' . DATA_FOLDER . '/mutex');
    @mkdir(SERVERPATH . '/' . DATA_FOLDER . '/' . MUTEX_FOLDER, $chmod | 0311);
    $good = folderCheck(gettext('HTML cache'), $serverpath . '/' . STATIC_CACHE_FOLDER . '/', 'std', $Cache_html_subfolders, true, $chmod | 0311, $updatechmod) && $good;
    $good = folderCheck(gettext('Third party plugins'), $serverpath . '/' . USER_PLUGIN_FOLDER . '/', 'std', $plugin_subfolders, true, $chmod | 0311, $updatechmod) && $good;
    ?>
						</ul>
						<?php 
    if ($good) {
        $dbmsg = "";
    } else {
        if (setupUserAuthorized()) {
            ?>
								<div class="error">