|
From: Benjamin C. <bc...@us...> - 2003-11-17 12:42:46
|
Update of /cvsroot/phpbt/phpbt/templates/default
In directory sc8-pr-cvs1:/tmp/cvs-serv23368/templates/default
Modified Files:
Tag: htmltemplates
wrap.html
Log Message:
css rework
Index: wrap.html
===================================================================
RCS file: /cvsroot/phpbt/phpbt/templates/default/wrap.html,v
retrieving revision 1.28.4.1
retrieving revision 1.28.4.2
diff -u -r1.28.4.1 -r1.28.4.2
--- wrap.html 30 Aug 2003 22:00:34 -0000 1.28.4.1
+++ wrap.html 17 Nov 2003 12:42:03 -0000 1.28.4.2
@@ -7,90 +7,60 @@
<META http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET ?>">
</head>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">
-<table width="100%" border="0" cellspacing="0" cellpadding="0" class="nav">
- <tr>
- <td class="nav" valign="middle"><img name="title" src="<?php echo $template_path ?>/images/title.gif" width="500" height="50" border="0" alt="" hspace="0" vspace="0"></td>
- <td align="right" valign="middle" class="nav">
- <form action="bug.php">
- <input type="hidden" name="op" value="show">
- <?php echo translate("Find Bug") ?>
- <input name="bugid" type="text" id="bugid" size="4">
-
- </form>
- </td>
- </tr>
- <tr>
- <td class="navtitlebar" height="4" colspan="2"><img src="<?php echo $template_path ?>/images/spacer.gif" height="1" width="1"></td>
- </tr>
- <tr>
- <td class="navtitlebar" colspan="2">
- <table border="0" cellspacing="0" cellpadding="4">
- <tr>
- <td><a href="index.php" class="navlink"><?php echo translate("Home"); ?></a></td>
- <td>|</td>
- <td><a href="bug.php?op=add" class="navlink"><?php echo translate("Add a new bug"); ?></a></td>
- <td>|</td>
- <td><a href="query.php?op=query" class="navlink"><?php echo translate("Query Bugs"); ?></a></td>
- <td>|</td>
- <td><a href="report.php" class="navlink"><?php echo translate("View Reports"); ?></a></td>
- <?php if (!NEW_ACCOUNTS_DISABLED && empty($_SESSION['uid'])) { ?>
- <td>|</td>
- <td><a href="newaccount.php" class="navlink"><?php echo translate("Create a New Account"); ?></a></td>
- <?php } ?>
- <td>|</td>
- <td><a href="docs/html/userguide.html" class="navlink"><?php echo translate("Read Documentation"); ?></a></td>
- <?php if (isset($perm) && $perm->have_perm('Administrator')) { ?>
- <td>|</td>
- <td><a href="admin/project.php" class="navlink"><?php echo translate("Administration Tools"); ?></a></td>
- <?php } ?>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td class="navtitlebar" height="4" colspan="2"><img src="<?php echo $template_path ?>/images/spacer.gif" height="1" width="1"></td>
- </tr>
- <tr>
- <td class="navborder" height="1" colspan="2"><img src="<?php echo $template_path ?>/images/spacer.gif" height="1" width="1"></td>
- </tr>
- <?php if (basename($_SERVER['SCRIPT_NAME']) != 'newaccount.php') { ?>
- <tr>
- <td colspan="2" height="20" class="bottomnav">
- <form method="post" action="<?php echo $_SERVER['SCRIPT_NAME'].($_SERVER['REQUEST_STRING'] ? '?'.$_SERVER['REQUEST_STRING'] : '') ?>">
-
- <?php if (!$_SESSION['uid']) { ?>
- <?php if (EMAIL_IS_LOGIN) $loginlabel = translate("Email");
- else $loginlabel = translate("Login");
- ?>
- <?php echo $loginerror ?>
- <?php echo $loginlabel ?>: <input type="text" name="username" class="bottomnavinput" value="<?php echo $_COOKIE['phpbt_user'] ?>">
- <?php echo translate("Password") ?>: <input type="password" name="password" class="bottomnavinput">
- <input type="hidden" name="dologin" value="1">
- <input type="submit" value="<?php echo translate("Login"); ?>" class="bottomnavinput">
- <input type="submit" name="sendpass" value="<?php echo translate("Email Password"); ?>" class="bottomnavinput" title="<?php echo translate("Forgot your password? Have it sent to you") ?>">
- <?php if (RECALL_LOGIN) { ?>
- <input type="checkbox" name="savecookie" value="1" <?php if (!empty($_COOKIE['phpbt_user'])) echo 'checked' ?> class="bottomnavinput" title="<?php printf(translate('Remember %s for next time'), $loginlabel) ?>"> <?php echo translate("Remember me"); ?>
- <?php } ?>
- <?php } else { ?>
- <?php echo translate("Bugs assigned to me"); ?>: <a href="query.php?op=mybugs&assignedto=1&open=1" title="Open"><?php echo $owner_open ?></a> / <a href="query.php?op=mybugs&assignedto=1&open=0" title="Closed"><?php echo $owner_closed ?></a>
- | <?php echo translate("Bugs reported by me"); ?>: <a href="query.php?op=mybugs&reportedby=1&open=1" title="Open"><?php echo $reporter_open ?></a> / <a href="query.php?op=mybugs&reportedby=1&open=0" title="Closed"><?php echo $reporter_closed ?></a>
- | <a href="user.php"><?php echo translate("Personal Page"); ?></a>
- | <a href="logout.php"><?php echo printf(translate('Logout %s'), $_SESSION['uname']); ?></a>
- <?php } ?>
-
- </form>
- </td>
- </tr>
- <tr>
- <td class="navborder" height="1" colspan="2"><img src="<?php echo $template_path ?>/images/spacer.gif" height="1" width="1"></td>
- </tr>
- <?php } ?>
- <tr>
- <td class="navbotspacer" height="20" colspan="2"><img src="<?php echo $template_path ?>/images/spacer.gif" height="1" width="1"></td>
- </tr>
-</table>
+<div class="nav">
+ <div class="header_image">
+ <img name="title" src="<?php echo $template_path ?>/images/title.gif" width="500" height="50" border="0" alt="" hspace="0" vspace="0">
+ </div>
+ <div class="header_search">
+ <form action="bug.php">
+ <input type="hidden" name="op" value="show">
+ <?php echo translate("Find Bug") ?>
+ <input name="bugid" type="text" id="bugid" size="4">
+
+ </form>
+ </div>
+ <ul id="tabnav">
+ <li><a href="index.php" style="border: none;"><?php echo translate("Home"); ?></a></li>
+ <li><a href="bug.php?op=add"><?php echo translate("Add a new bug"); ?></a></li>
+ <li><a href="query.php?op=query"><?php echo translate("Query Bugs"); ?></a></li>
+ <li><a href="report.php"><?php echo translate("View Reports"); ?></a></li>
+ <?php if (!NEW_ACCOUNTS_DISABLED && empty($_SESSION['uid'])) { ?><li><a href="newaccount.php"><?php echo translate("Create a New Account"); ?></a></li><?php } ?>
+ <li><a href="docs/html/userguide.html"><?php echo translate("Read Documentation"); ?></a></li>
+ <?php if (isset($perm) && $perm->have_perm('Administrator')) { ?><li><a href="admin/project.php"><?php echo translate("Administration Tools"); ?></a></li><?php } ?>
+ </ul>
+</div>
+
+<?php if (basename($_SERVER['SCRIPT_NAME']) != 'newaccount.php') { ?>
+<div class="personalarea">
+<form method="post" action="<?php echo $_SERVER['SCRIPT_NAME'].($_SERVER['REQUEST_STRING'] ? '?'.$_SERVER['REQUEST_STRING'] : '') ?>">
+
+<?php if (!$_SESSION['uid']) { ?>
+ <?php if (EMAIL_IS_LOGIN) $loginlabel = translate("Email");
+ else $loginlabel = translate("Login");
+ ?>
+ <?php echo $loginerror ?>
+ <?php echo $loginlabel ?>: <input type="text" name="username" class="bottomnavinput" value="<?php echo $_COOKIE['phpbt_user'] ?>">
+ <?php echo translate("Password") ?>: <input type="password" name="password" class="bottomnavinput">
+ <input type="hidden" name="dologin" value="1">
+ <input type="submit" value="<?php echo translate("Login"); ?>" class="bottomnavinput">
+ <input type="submit" name="sendpass" value="<?php echo translate("Email Password"); ?>" class="bottomnavinput" title="<?php echo translate("Forgot your password? Have it sent to you") ?>">
+ <?php if (RECALL_LOGIN) { ?>
+ <input type="checkbox" name="savecookie" value="1" <?php if (!empty($_COOKIE['phpbt_user'])) echo 'checked' ?> class="bottomnavinput" title="<?php printf(translate('Remember %s for next time'), $loginlabel) ?>"> <?php echo translate("Remember me"); ?>
+ <?php } ?>
+<?php } else { ?>
+ <?php echo translate("Bugs assigned to me"); ?>: <a href="query.php?op=mybugs&assignedto=1&open=1" title="Open"><?php echo $owner_open ?></a> / <a href="query.php?op=mybugs&assignedto=1&open=0" title="Closed"><?php echo $owner_closed ?></a>
+ | <?php echo translate("Bugs reported by me"); ?>: <a href="query.php?op=mybugs&reportedby=1&open=1" title="Open"><?php echo $reporter_open ?></a> / <a href="query.php?op=mybugs&reportedby=1&open=0" title="Closed"><?php echo $reporter_closed ?></a>
+ | <a href="user.php"><?php echo translate("Personal Page"); ?></a>
+ | <a href="logout.php"><?php echo printf(translate('Logout %s'), $_SESSION['uname']); ?></a>
+<?php } ?>
+
+</form>
+</div>
+<?php } ?>
+
<div style="padding: 0px 5px;">
-<?php include($content_template) ?>
+ <?php include($content_template) ?>
</div>
+
</body>
</html>
|