Example #1
0
</div>
<div class="right-box">
<form method="post" enctype="multipart/form-data">
<ul style="padding: 10px; margin-top: -10px;">
    <strong>Timezone</strong><BR>
    <?php 
    $utc = new DateTimeZone('UTC');
    $dt = new DateTime('now', $utc);
    echo '<select type="dropdown" name="userTimeZone" style="width: 250px;">';
    foreach (DateTimeZone::listIdentifiers() as $tz) {
        $current_tz = new DateTimeZone($tz);
        $offset = $current_tz->getOffset($dt);
        $transition = $current_tz->getTransitions($dt->getTimestamp(), $dt->getTimestamp());
        $abbr = $transition[0]['abbr'];
        echo '<option value="' . $tz . '">' . $tz . ' [' . $abbr . ' ' . $Controller->formatOffset($offset) . ']</option>';
    }
    echo '</select>';
    ?>
</ul>
<ul style="padding: 10px; margin-top: -10px;">
    <strong>What is the url of your UCM installation?</strong>
    <span style="color: #b60000;"> (Required)</span><BR>
    http://<input type="username" name="ucm-url" placeholder="www.example.com/UCM" style="width: 215px;" required/>/<BR>
    <h3>Used for generating links related to UCM such as project files or invoices. Don't include the "http://" or "/" in the url. This is added automatically.</h3>
</ul>
<ul style="padding: 10px;">
    <strong>What is the url of your Client Portal (This Site)?</strong>
    <span style="color: #b60000;"> (Required)</span><BR>
    http://<input type="username" name="base-url" placeholder="www.example.com/SCP" style="width: 215px;" required/>/<BR>
    <h3>This is needed for many links to work properly even if they don't relate to UCM. Don't include the "http://" or "/" in the url. This is added automatically.</h3>