コード例 #1
0
ファイル: edit_report.php プロジェクト: rohcehlam/rflow
 </td></tr>
 <tr><td colspan="2">
  <input type="submit" value="<?php 
etranslate("Save");
?>
" />
<?php 
if (!$adding_report) {
    ?>
  &nbsp;&nbsp;<input type="submit" name="action" 
  value="<?php 
    etranslate("Delete");
    ?>
"
  onclick="return confirm('<?php 
    etranslate("Are you sure you want to delete this report?");
    ?>
');" />
<?php 
}
?>
 </td></tr>
</table>
</form>

<?php 
print_trailer();
?>
</body>
</html>
コード例 #2
0
    }
    echo "</UL><P>\n";
    if ($count == 0) {
        user_load_variables($user, "temp_");
        echo translate("No unapproved events for") . " " . $temp_fullname . ".";
    } else {
        echo $eventinfo;
    }
}
?>

<H2><FONT COLOR="<?php 
echo $H2COLOR;
?>
"><?php 
etranslate("Unapproved Events");
?>
</FONT></H2>

<?php 
// List unapproved events for this user.
list_unapproved($login);
// Admin users can also approve Public Access events
if ($is_admin && $public_access == "Y") {
    echo "<P><H3>" . translate("Public Access") . "</H3>\n";
    list_unapproved("__public__");
}
?>

<?php 
include "includes/trailer.php";
コード例 #3
0
if (!empty($error)) {
    print_header('', '', '', true);
    ?>

<h2><?php 
    etranslate("Error");
    ?>
</h2>

<blockquote>
<?php 
    echo $error;
    //if ( $sql != "" )
    //  echo "<br /><br /><b>SQL:</b> $sql";
    //
    ?>
</blockquote>
</body>
</html>
<?php 
} else {
    if (empty($error)) {
        ?>
<html><head></head><body onload="alert('<?php 
        etranslate("Changes successfully saved");
        ?>
'); window.parent.location.href='users.php';">
</body></html>
<?php 
    }
}
コード例 #4
0
}
if ($format == "ical") {
    transmit_header('text/ical', "webcalendar-{$id}.ics");
    export_ical($id);
} elseif ($format == "vcal") {
    transmit_header('text/vcal', "webcalendar-{$id}.vcs");
    export_vcal($id);
} elseif ($format == "pilot-csv") {
    transmit_header('text/csv', "webcalendar-{$id}.csv");
    export_pilot_csv($id);
} elseif ($format == "pilot-text") {
    transmit_header('text/plain', "webcalendar-{$id}.txt");
    export_install_datebook($id);
} else {
    //exit;
    print_header();
    echo "<h2>";
    etranslate("Export");
    echo " ";
    etranslate("Error");
    echo "</h2>\n";
    echo "<span style=\"font-weight:bold;\">";
    etranslate("Error");
    echo ":</span> ";
    echo translate("export format not defined or incorrect") . ".";
    echo "<br />\n";
    print_trailer();
    echo " </body>\n";
    echo "</html>";
}
//end if ($format == "ical")
コード例 #5
0
    ?>
		</td></tr>
	</table>
<?php 
}
?>

<?php 
if ($allow_color_customization == 'Y') {
    ?>
	<h3><?php 
    etranslate("Colors");
    ?>
</h3>
	<?php 
    etranslate("colors-help");
    ?>
	<br /><br />


<?php 
}
// if $allow_color_customization
?>

<?php 
include_once "includes/help_trailer.php";
?>

</body>
</html>
コード例 #6
0
ファイル: help_import.php プロジェクト: neymanna/fusionforge
?>
</li>
		<li><?php 
etranslate("Lotus Organizer 6");
?>
</li>
		<li><?php 
etranslate("Microsoft Outlook 2002");
?>
</li>
	</ul>

<h3><?php 
etranslate("iCalendar");
?>
</h3>
	<p><?php 
etranslate("This form will import iCalendar (.ics) events");
?>
.
	<?php 
etranslate("Enabling <b>Overwrite Prior Import</b> will cause events imported previously that used the same UID as an event from the new import file to be marked as deleted.  This should allow an updated iCalendar file to be imported without creating duplicates.");
?>
</p>

<?php 
include_once "includes/help_trailer.php";
?>
</body>
</html>
コード例 #7
0
ファイル: day.php プロジェクト: noikiy/owaspbwa
if (!empty($eventinfo)) {
    echo $eventinfo;
}
display_unapproved_events($is_assistant || $is_nonuser_admin ? $user : $login);
?>
<br />
<a title="<?php 
etranslate("Generate printer-friendly version");
?>
" class="printer" href="day.php?<?php 
echo $u_url;
if ($thisyear) {
    echo "year={$thisyear}&amp;month={$thismonth}&amp;day={$thisday}&amp;";
}
if (!empty($cat_id)) {
    echo "cat_id={$cat_id}&amp;";
}
?>
friendly=1" target="cal_printer_friendly" onmouseover="window.status = '<?php 
etranslate("Generate printer-friendly version");
?>
'">[<?php 
etranslate("Printer Friendly");
?>
]</a>

<?php 
print_trailer();
?>
</body>
</html>
コード例 #8
0
ファイル: edit_layer.php プロジェクト: noikiy/owaspbwa
    ?>
<tr><td>
	<br /><a title="<?php 
    etranslate("Delete layer");
    ?>
" href="del_layer.php?id=<?php 
    echo $id;
    if ($updating_public) {
        echo "&amp;public=1";
    }
    ?>
" onclick="return confirm('<?php 
    etranslate("Are you sure you want to delete this layer?");
    ?>
');"><?php 
    etranslate("Delete layer");
    ?>
</a><br />
</td></tr>
<?php 
}
// end 'Delete Layer' link
?>
</table>

<?php 
if (!empty($layers[$id]['cal_layeruser'])) {
    echo "<input type=\"hidden\" name=\"id\" value=\"{$id}\" />\n";
}
?>
</form>
コード例 #9
0
ファイル: trailer.php プロジェクト: neymanna/fusionforge
}
if ($login != '__public__') {
    /*
      $goto_link[] = "<a title=\"" . 
    translate("Help") . "\" href=\"#\" onclick=\"window.open " .
    "( 'help_index.php', 'cal_help', 'dependent,menubar,scrollbars, " .
    "height=400,width=400,innerHeight=420,outerWidth=420' );\"  " .
    "onmouseover=\"window.status='" . 
    translate("Help") . "'\">" . 
    translate("Help") . "</a>";
    */
}
if (count($goto_link) > 0) {
    ?>
<span class="prefix"><?php 
    etranslate("Go to");
    ?>
:</span> <?php 
    for ($i = 0; $i < count($goto_link); $i++) {
        if ($i > 0) {
            echo " | ";
        }
        echo $goto_link[$i];
    }
}
?>

<!-- VIEWS -->
<?php 
if (($is_admin || $allow_view_other != "N") && count($views) > 0) {
    for ($i = 0; $i < count($views); $i++) {
コード例 #10
0
ファイル: category.php プロジェクト: neymanna/fusionforge
  <?php 
    }
    ?>
  <br /><br />
  <input type="submit" name="action" value="<?php 
    echo $button;
    ?>
" />
  <?php 
    if (!empty($id)) {
        ?>
	<input type="submit" name="action" value="<?php 
        etranslate("Delete");
        ?>
" onclick="return confirm('<?php 
        etranslate("Are you sure you want to delete this entry?");
        ?>
')" />
  <?php 
    }
    ?>
  </form>
  <?php 
} else {
    if (empty($error)) {
        // Displaying Categories
        $global_found = false;
        if (!empty($categories)) {
            echo "<ul>";
            foreach ($categories as $K => $V) {
                echo "<li>";
コード例 #11
0
                    etranslate("Event approved");
                } else {
                    if ($row[2] == $LOG_REJECT) {
                        etranslate("Event rejected");
                    } else {
                        if ($row[2] == $LOG_UPDATE) {
                            etranslate("Event updated");
                        } else {
                            if ($row[2] == $LOG_DELETE) {
                                etranslate("Event deleted");
                            } else {
                                if ($row[2] == $LOG_NOTIFICATION) {
                                    etranslate("Notification sent");
                                } else {
                                    if ($row[2] == $LOG_REMINDER) {
                                        etranslate("Reminder sent");
                                    } else {
                                        echo "???";
                                    }
                                }
                            }
                        }
                    }
                }
            }
            echo "\n</td></tr>\n";
        }
    }
    dbi_free_result($res);
} else {
    echo translate("Database error") . ": " . dbi_error();
コード例 #12
0
ファイル: layers.php プロジェクト: noikiy/owaspbwa
                ?>
;">
		<?php 
                echo $layer['cal_color'];
                ?>
	</td></tr>
	<tr><td style="font-weight:bold;">
		<?php 
                etranslate("Duplicates");
                ?>
:</td><td>
		<?php 
                if ($layer['cal_dups'] == 'N') {
                    etranslate("No");
                } else {
                    etranslate("Yes");
                }
                ?>
	</td></tr>
</table>
<?php 
                $layer_count++;
            }
        }
    }
}
?>

<?php 
print_trailer();
?>
コード例 #13
0
ファイル: admin_handler.php プロジェクト: rohcehlam/rflow
    if (empty($ovrd)) {
        do_redirect("admin.php");
    } else {
        do_redirect("admin.php?ovrd={$ovrd}");
    }
}
print_header();
?>

<h2><?php 
etranslate("Error");
?>
</h2>

<?php 
etranslate("The following error occurred");
?>
:
<blockquote>
<?php 
echo $error;
?>
</blockquote>

<?php 
print_trailer();
?>

</body>
</html>
コード例 #14
0
ファイル: users.php プロジェクト: noikiy/owaspbwa
    $userlist = user_get_users();
    for ($i = 0; $i < count($userlist); $i++) {
        if ($userlist[$i]['cal_login'] != '__public__') {
            echo "<li><a title=\"" . $userlist[$i]['cal_fullname'] . "\" href=\"edit_user.php?user="******"cal_login"] . "\" target=\"useriframe\" onclick=\"javascript:show('useriframe');\">";
            echo $userlist[$i]['cal_fullname'];
            echo "</a>";
            if ($userlist[$i]["cal_is_admin"] == 'Y') {
                echo "&nbsp;<abbr title=\"" . translate("denotes administrative user") . "\">*</abbr>";
            }
            echo "</li>\n";
        }
    }
    ?>
		</ul>
	*&nbsp;<?php 
    etranslate("denotes administrative user");
    ?>
<br />

		<?php 
    echo "<iframe " . " name=\"useriframe\" id=\"useriframe\" style=\"width:90%;border-width:0px; height:280px;\"></iframe>";
} else {
    ?>
<iframe src="edit_user.php" name="accountiframe" id="accountiframe" style="width:90%;border-width:0px; height:210px;\"></iframe>
<?php 
}
?>
</div>

<?php 
if ($groups_enabled == "Y" && $is_admin) {
コード例 #15
0
ファイル: edit_nonuser.php プロジェクト: rhertzog/lcs
    alert ( "<?php 
etranslate('Error', true);
?>
:\n\n" + "<?php 
etranslate('Calendar ID cannot be blank.', true);
?>
" );
    document.editnonuser.nid.focus ();
    return false;
  }
  if ( ! fname && ! lname ) {
    alert ( "<?php 
etranslate('Error', true);
?>
:\n\n" + "<?php 
etranslate('First and last names cannot both be blank.', true);
?>
" );
    document.editnonuser.nfirstname.focus ();
    return false;
  }

  check_name ();

  return validform;

}

function check_name () {
  var url = 'ajax.php';
  var params = 'page=edit_nonuser&name=' + $F('calid');
コード例 #16
0
ファイル: edit_user.php プロジェクト: neymanna/fusionforge
	<tr><td colspan="2">
		<?php 
    if ($demo_mode == "Y") {
        ?>
			<input type="button" value="<?php 
        etranslate("Set Password");
        ?>
" onclick="alert('<?php 
        etranslate("Disabled for demo");
        ?>
')" />
		<?php 
    } else {
        ?>
			<input type="submit" value="<?php 
        etranslate("Set Password");
        ?>
" />
		<?php 
    }
    ?>
	</td></tr>
</table>
</form>
<?php 
}
?>
</td></tr></table>

<?php 
print_trailer(false, true, true);
コード例 #17
0
    echo display_month(date('m'), date('Y'), true);
    ?>
</td></tr>
<tr><td>&nbsp;</td></tr>
</table>
<!-- END EXAMPLE MONTH -->
</td></tr></table>
</div>
<!-- END COLORS -->
<?php 
}
// if $ALLOW_COLOR_CUSTOMIZATION
?>
</div>

<!-- END TABS -->
<br /><br />
<div>
<input type="submit" value="<?php 
etranslate('Save Preferences');
?>
" name="" />
<br /><br />
</div>
</form>

<?php 
echo print_trailer();
?>

コード例 #18
0
#
#  This file is part of the OpenLink Software Virtuoso Open-Source (VOS)
#  project.
#
#  Copyright (C) 1998-2013 OpenLink Software
#
#  This project is free software; you can redistribute it and/or modify it
#  under the terms of the GNU General Public License as published by the
#  Free Software Foundation; only version 2 of the License, dated June 1991.
#
#  This program is distributed in the hope that it will be useful, but
#  WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
#  General Public License for more details.
#
#  You should have received a copy of the GNU General Public License along
#  with this program; if not, write to the Free Software Foundation, Inc.,
#  51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
?>
<HR>
<B><?php 
etranslate("Go to");
?>
:</B> <A HREF="help_index.php"><?php 
etranslate("Help Index");
?>
</A>
コード例 #19
0
ファイル: admin.php プロジェクト: neymanna/fusionforge
    ?>
;">
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td>
 <input type="button" onclick="selectColor('admin_POPUP_FG')" value="<?php 
    etranslate("Select");
    ?>
..." name="" />
</td></tr>
</table>
</div>
</div>

<br /><br />
<div style="border-width:0px;">
 <input type="submit" value="<?php 
    etranslate("Save");
    ?>
" name="" />
</div>
</form>

<?php 
}
// if $error
?>

<?php 
print_trailer();
?>
</body>
</html>
コード例 #20
0
?>
</TITLE>
<?php 
include "includes/styles.php";
?>
</HEAD>
<BODY BGCOLOR="<?php 
echo $BGCOLOR;
?>
" CLASS="defaulttext">

<H2><FONT COLOR="<?php 
echo $H2COLOR;
?>
"><?php 
etranslate("Groups");
?>
</FONT></H2>

<UL>
<?php 
$res = dbi_query("SELECT cal_group_id, cal_name FROM webcal_group " . "ORDER BY cal_name");
if ($res) {
    while ($row = dbi_fetch_row($res)) {
        echo "<LI><A HREF=\"group_edit.php?id=" . $row[0] . "\">" . $row[1] . "</A> ";
    }
    dbi_free_result($res);
}
?>
</UL>
<P>
コード例 #21
0
etranslate("Thu");
?>
</th>
<th><?php 
etranslate("Fri");
?>
</th>
<th class="weekend"><?php 
etranslate("Sat");
?>
</th>
<?php 
if ($WEEK_START == 1) {
    ?>
<th class="weekend"><?php 
    etranslate("Sun");
    ?>
</th>
<?php 
}
?>
</tr>
<?php 
// We add 2 hours on to the time so that the switch to DST doesn't
// throw us off.  So, all our dates are 2AM for that day.
//$sun = get_sunday_before ( $thisyear, $thismonth, 1 );
if ($WEEK_START == 1) {
    $wkstart = get_monday_before($thisyear, $thismonth, 1);
} else {
    $wkstart = get_sunday_before($thisyear, $thismonth, 1);
}
コード例 #22
0
ファイル: help_edit_entry.php プロジェクト: noikiy/owaspbwa
		</td></tr>
		<tr><td class="help">
			<?php 
    etranslate("Repeat Day");
    ?>
:</td><td>
			<?php 
    etranslate("repeat-day-help");
    ?>
		</td></tr>
		<tr><td class="help">
			<?php 
    etranslate("Frequency");
    ?>
:</td><td>
			<?php 
    etranslate("repeat-frequency-help");
    ?>
		</td></tr>
	<?php 
}
?>
</table>

<?php 
include_once "includes/help_trailer.php";
?>

</body>
</html>
コード例 #23
0
if (empty($PUBLISH_ENABLED) || $PUBLISH_ENABLED != 'Y') {
    header("Content-Type: text/plain");
    etranslate("You are not authorized");
    exit;
}
// Make sure they specified a username
if (empty($user)) {
    echo "<?xml version=\"1.0\" encoding=\"utf8\"?>\n<!DOCTYPE html\n    PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n    \"DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n\n <head>\n<title>" . translate("Error") . "</title>\n</head>\n" . "<body>\n<h2>" . translate("Error") . "</h2>\n" . "No user specified.\n</body>\n</html>";
}
// Load user preferences (to get the USER_PUBLISH_ENABLED and
// DISPLAY_UNAPPROVED setting for this user).
$login = $user;
load_user_preferences();
if (empty($USER_PUBLISH_ENABLED) || $USER_PUBLISH_ENABLED != 'Y') {
    header("Content-Type: text/plain");
    etranslate("You are not authorized");
    exit;
}
// Load user name, etc.
user_load_variables($user, "publish_");
function get_events_for_publish()
{
    global $user;
    global $DISPLAY_UNAPPROVED;
    // We exporting repeating events only with the pilot-datebook CSV format
    $sql = "SELECT webcal_entry.cal_id, webcal_entry.cal_name " . ", webcal_entry.cal_priority, webcal_entry.cal_date " . ", webcal_entry.cal_time " . ", webcal_entry_user.cal_status, webcal_entry.cal_create_by " . ", webcal_entry.cal_access, webcal_entry.cal_duration " . ", webcal_entry.cal_description " . ", webcal_entry_user.cal_category " . "FROM webcal_entry, webcal_entry_user ";
    $sql .= "WHERE webcal_entry.cal_id = webcal_entry_user.cal_id AND " . "webcal_entry_user.cal_login = '******'";
    // Include unapproved events if the user has asked to do so in
    // their preferences.
    if ($DISPLAY_UNAPPROVED == "N" || $user == "__public__") {
        $sql .= " AND webcal_entry_user.cal_status = 'A'";
コード例 #24
0
ファイル: search.php プロジェクト: noikiy/owaspbwa
:&nbsp;</label>
<input type="text" name="keywords" id="keywordsadv" size="30" />&nbsp;
<input type="submit" value="<?php 
etranslate("Search");
?>
" /><br />
<?php 
if ($login == "__public__" && $public_access_others != "Y" || !$is_admin) {
    echo "</form>";
} else {
    echo "<div id=\"advlink\"><a title=\"" . translate("Advanced Search") . "\" href=\"javascript:show('adv'); hide('advlink');\">" . translate("Advanced Search") . "</a></div>";
    ?>
<table id="adv" style="display:none;">
<tr><td style="vertical-align:top; text-align:right; font-weight:bold; width:60px;">
	<?php 
    etranslate("Users");
    ?>
:&nbsp;</td><td>
<?php 
    $users = get_my_users();
    // Get non-user calendars (if enabled)
    if (!empty($nonuser_enabled) && $nonuser_enabled == "Y") {
        $nonusers = get_nonuser_cals();
        if (!empty($nonuser_at_top) && $nonuser_at_top == "Y") {
            $users = array_merge($nonusers, $users);
        } else {
            $users = array_merge($users, $nonusers);
        }
    }
    $size = 0;
    $out = "";
コード例 #25
0
ファイル: select_user.php プロジェクト: noikiy/owaspbwa
        $url = "month.php";
    } else {
        $url = $STARTVIEW;
    }
    ?>
  <form action="<?php 
    echo $url;
    ?>
" method="get" name="SelectUser">
  <select name="user" onchange="document.SelectUser.submit()">
  <?php 
    for ($i = 0; $i < count($userlist); $i++) {
        echo "<option value=\"" . $userlist[$i]['cal_login'] . "\">" . $userlist[$i]['cal_fullname'] . "</option>\n";
    }
    ?>
  </select>
  <input type="submit" value="<?php 
    etranslate("Go");
    ?>
" /></form>
  <?php 
}
?>
<br /><br />

<?php 
print_trailer();
?>
</body>
</html>
コード例 #26
0
ファイル: purge.php プロジェクト: rhertzog/lcs
  <input type="checkbox" name="purge_deleted" value="Y" />
 </td></tr>
 <tr><td><label for="preview">
  <?php 
    etranslate('Preview delete');
    ?>
:</label></td>
  <td valign="bottom">
  <input type="checkbox" name="preview" value="Y" checked="checked" />
 </td></tr>
 <tr><td colspan="2">
  <input type="submit" name="delete" value="<?php 
    echo $deleteStr;
    ?>
" onclick="return confirm( '<?php 
    etranslate('Are you sure you want to delete events for', true);
    ?>
 ' + document.forms[0].username.value + '?' )" />
 </td></tr>
</table>
</form>

<?php 
}
?>
</td></tr></table>

<?php 
echo print_trailer();
function purge_events($ids)
{
コード例 #27
0
ファイル: view_v.php プロジェクト: noikiy/owaspbwa
?>
" /></a>

<a title="<?php 
etranslate("Next");
?>
" class="next" 
  href="view_v.php?id=<?php 
echo $id;
?>
&amp;date=<?php 
echo $nextdate;
?>
">
  <img src="rightarrow.gif" class="prevnext" alt="<?php 
etranslate("Next");
?>
" /></a>
<div class="title">
<span class="date"><?php 
echo date_to_str(date("Ymd", $wkstart), false) . "&nbsp;&nbsp;&nbsp; - &nbsp;&nbsp;&nbsp;" . date_to_str(date("Ymd", $wkend), false);
?>
</span><br />
<span class="viewname"><?php 
echo $view_name;
?>
</span>
</div></div><br />

<?php 
// The table has names across the top and dates for rows.  Since we need
コード例 #28
0
ファイル: login.php プロジェクト: rhertzog/lcs
    echo 'Demo login: user = "******", password = "******"<br />';
}
?>
<br /><br />
<?php 
if (!empty($ALLOW_SELF_REGISTRATION) && $ALLOW_SELF_REGISTRATION == 'Y') {
    // We can limit what domain is allowed to self register
    // $self_registration_domain should have this format  "192.168.220.0:255.255.240.0";
    $valid_ip = validate_domain();
    if (!empty($valid_ip)) {
        echo '<b><a href="register.php">' . translate('Not yet registered? Register here!') . '</a></b><br />';
    }
}
?>
<span class="cookies"><?php 
etranslate('cookies-note');
?>
</span><br />
<hr />
<br />
<a href="<?php 
echo $PROGRAM_URL;
?>
" id="programname"><?php 
echo $PROGRAM_NAME;
?>
</a>
<?php 
// Print custom trailer (since we do not call print_trailer function)
if (!empty($CUSTOM_TRAILER) && $CUSTOM_TRAILER == 'Y') {
    echo load_template($login, 'T');
コード例 #29
0
ファイル: edit_remotes.php プロジェクト: rhertzog/lcs
  if ( err.length > 0 ) {
    alert ( "<?php 
etranslate('Error', true);
?>
:\n\n" + err + "\n\n<?php 
etranslate('Color format should be RRGGBB.', true);
?>
" );
    return false;
  }
  if ( ! form.nurl.value ) {
    alert ( "<?php 
etranslate('Error', true);
?>
:\n\n" + "<?php 
etranslate('URL cannot be blank.', true);
?>
" );
    return false;
  }
  check_name ();

  return validform;

}

function toggle_layercolor () {
 if ( document.prefform.nlayer.checked == true) {
   makeVisible ( 'nlayercolor', true );
 } else {
   makeInvisible ( 'nlayercolor' );
コード例 #30
0
ファイル: edit_entry.php プロジェクト: rohcehlam/rflow
</td></tr>
</table>
<input type="hidden" name="participant_list" value="" />
</form>

<?php 
    if ($id > 0 && ($login == $create_by || $single_user == "Y" || $is_admin)) {
        ?>
 <a href="del_entry.php?id=<?php 
        echo $id;
        ?>
" onclick="return confirm('<?php 
        etranslate("Are you sure you want to delete this entry?");
        ?>
');"><?php 
        etranslate("Delete entry");
        ?>
</a><br />
<?php 
    }
    //end if clause for delete link
} else {
    echo translate("You are not authorized to edit this entry") . ".";
}
//end if ( $can_edit )
?>

<?php 
print_trailer();
?>
</body>