Changeset 2
- Timestamp:
- 20/08/06 14:15:43 (7 years ago)
- Location:
- components
- Files:
-
- 3 modified
-
branding.php (modified) (2 diffs)
-
head.php (modified) (2 diffs)
-
search.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
components/branding.php
r1 r2 4 4 <div class="cornerTopRight"> 5 5 <div id="logo"> 6 <a href="/"><img src="images/sucslogo-halo.png" /></a>6 <a href="/"><img src="images/sucslogo-halo.png" width="170px" height="76px" alt="SUCS" /></a> 7 7 </div> 8 8 … … 12 12 13 13 <div id="loginForm"> 14 <form> 14 <form method="post" action="/"> 15 <div> 15 16 <label for="username">Username</label> <input type="text" name="username" id="username" style="width: 8em;" /><br /> 16 17 <label for="password">Password</label> <input type="password" name="password" id="password" style="width: 8em;" /><br /> 17 18 <input type="submit" name="submit" id="submit" value="Login" /> 19 </div> 18 20 </form> 19 21 </div> -
components/head.php
r1 r2 1 1 <?php 2 if (isset($_SERVER['HTTP_ACCEPT'])) { 2 3 if (ereg('application/xhtml\+xml', $_SERVER['HTTP_ACCEPT'])) { 3 4 header('Content-Type: application/xhtml+xml'); 5 echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; 4 6 } else { 5 7 header('Content-Type: text/html'); 6 8 } 7 echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; 9 } else { 10 header('Content-Type: application/xhtml+xml'); 11 echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"; 12 } 8 13 ?> 9 14 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> … … 30 35 <!--[if lt IE 7]> 31 36 <link rel="stylesheet" type="text/css" href="css/ielt7.css" /> 32 <script defer type="text/javascript" language="JavaScript" src="js/pngfix.js"></script>33 37 <link rel="stylesheet" type="text/css" href="css/boxie.css" /> 34 38 39 <script defer type="text/javascript" language="JavaScript" src="js/pngfix.js"></script> 40 35 41 <![endif]--> 42 36 43 37 44 -
components/search.php
r1 r2 2 2 <h3>Search SUCS</h3> 3 3 <form method="get" action="http://www.google.com/custom"> 4 <div> 4 5 <input type="text" name="q" size="16" maxlength="255" value="" /> 5 6 <input type="submit" name="sa" value="Search" /> … … 7 8 <input type="hidden" name="domains" value="sucs.org" /> 8 9 <input type="hidden" name="sitesearch" value="sucs.org" /><br /> <br /> 10 </div> 9 11 </form> 10 12 </div>
