Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
robbat2 committed May 29, 2003
1 parent ce1eeac commit 9836056
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 0 additions & 2 deletions main.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
$frames = TRUE;
include 'header.inc.php';
?>

<frameset cols="160px,*" rows="*">
<frame src="leftframe.php" name="nav" frameborder="0" />
<frame src="rightframe.php" name="main" />
</frameset>

<?php
include 'footer.inc.php';
?>
7 changes: 4 additions & 3 deletions view.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
/* $Id: view.php,v 1.5 2003/05/07 20:48:10 robbat2 Exp $ */
/* $Id: view.php,v 1.6 2003/05/29 04:03:27 robbat2 Exp $ */
/* $Source: /code/convert/cvsroot/infrastructure/rats/view.php,v $ */

include './header.inc.php';
Expand All @@ -13,8 +13,9 @@ function drawTable_top($head) {
echo html_thead_open();
echo html_tr_open();
foreach($head as $h) {
if($h != '')
if($h != '') {
echo html_th_wrap($h);
}
}
echo html_tr_close();
echo html_thead_close();
Expand Down Expand Up @@ -104,7 +105,7 @@ function drawTableTopSQL($table,$oldwhere='',$tablename='') {
echo selectinput('orderbycol',$keylist);
echo html_form_label('wherecol','Search:');
echo selectinput('wherecol',$keylist);
$searchtypes = array(''=>'','substring'=>'Substring','sqlregex'=>'SQL Regex','gnuregex'=>'GNU Regex');
$searchtypes = array('substring'=>'Substring','sqlregex'=>'SQL Regex','gnuregex'=>'GNU Regex');
echo selectinput('wherefunc',$searchtypes);
echo textinput('wheredata','',16);
echo hiddeninput('wherecurrent',$oldwhere);
Expand Down

0 comments on commit 9836056

Please sign in to comment.