forked from CarlosMC/OsTicket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.inc.php
29 lines (29 loc) · 1.54 KB
/
header.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
$title=($cfg && is_object($cfg))?$cfg->getTitle():'osTicket :: Support Ticket System';
$trl->sendHeader();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "https://www.w3.org/TR/html4/strict.dtd">
<html lang="<?php echo $trl->getLang(); ?>">
<head>
<meta http-equiv="content-type" content="text/html; charset=<?php echo $trl->getCharset(); ?>">
<title><?php echo Format::htmlchars($title)?></title>
<link rel="stylesheet" href="./styles/main.css" media="screen">
<link rel="stylesheet" href="./styles/colors.css" media="screen">
</head>
<body dir="<?php echo $dir; ?>">
<div id="container">
<div id="header">
<a id="logo" href="index.php" title="<?php echo $trl->translate('TEXT_SUPPORT_CENTER'); ?>"><img src="./images/logo2.jpg" border=0 alt="Support Center"></a>
<p><?php echo $trl->translate('TEXT_SUPPORT_TICKET_SISTEM'); ?></p>
</div>
<ul id="nav">
<?php
if($thisclient && is_object($thisclient) && $thisclient->isValid()) {?>
<li><a class="log_out" href="logout.php"><?php echo $trl->translate('TEXT_LOG_OUT'); ?></a></li>
<?php }else {?>
<li><a class="ticket_status" href="tickets.php"><?php echo $trl->translate('TEXT_TICKETS_STATUS'); ?></a></li>
<?php }?>
<li><a class="new_ticket" href="open.php"><?php echo $trl->translate('TEXT_NEW_TICKET'); ?></a></li>
<li><a class="home" href="index.php"><?php echo $trl->translate('TEXT_HOME'); ?></a></li>
</ul>
<div id="content">