Skip to content

Commit

Permalink
translation patches from Dr. Bosman and his crew
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsetsystems committed Jan 20, 2007
1 parent bc26f29 commit 55e4b20
Show file tree
Hide file tree
Showing 53 changed files with 1,248 additions and 1,247 deletions.
14 changes: 7 additions & 7 deletions interface/forms/CAMOS/new.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
$textarea_cols = 55;
$debug = '';
$error = '';
$previous_encounter_data = '<hr><p>Previous Encounter CAMOS entries</p><hr>';
$previous_encounter_data = '<hr><p>'. xl('Previous Encounter CAMOS entries') .'</p><hr>';
//get data from previous encounter to show at bottom of form for reference
$query = "SELECT t1.category, t1.subcategory, t1.item, t1.content FROM form_CAMOS as t1 JOIN forms as t2 on (t1.id = t2.form_id) where t2.encounter=(select max(encounter) from forms where form_name like 'CAMOS%' and encounter < ".$_SESSION['encounter']." and pid=".$_SESSION['pid'].") and t1.pid=".$_SESSION['pid'];
$statement = sqlStatement($query);
Expand Down Expand Up @@ -500,16 +500,16 @@ function selectItem () {
<table border=1>
<tr>
<td>
Category
<?php xl('Category','e');?>
</td>
<td>
Subcategory
<?php xl('Subcategory','e');?>
</td>
<td>
Item
<?php xl('Item','e');?>
</td>
<td>
Content
<?php xl('Content','e');?>
</td>
</tr>

Expand Down Expand Up @@ -557,8 +557,8 @@ function selectItem () {
<input type=button name='submit form' value='submit all content' onClick="js_button('submit','submit')">
<input type=button name='submit form' value='submit selected content' onClick="js_button('submit','submit_selection')">
<?
echo "<a href='".$GLOBALS['webroot'] . "/interface/patient_file/encounter/$returnurl'>[do not save]</a>";
echo "<a href='".$GLOBALS['webroot'] . "/interface/forms/CAMOS/help.html' target='new'> | [help]</a>";
echo "<a href='".$GLOBALS['webroot'] . "/interface/patient_file/encounter/$returnurl'>[" .xl('do not save'). "]</a>";
echo "<a href='".$GLOBALS['webroot'] . "/interface/forms/CAMOS/help.html' target='new'> | [" .xl ('help'). "]</a>";
echo $previous_encounter_data;
?>

Expand Down
18 changes: 9 additions & 9 deletions interface/forms/CAMOS/print.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@
</head>
<body <?echo $top_bg_line;?> topmargin=0 rightmargin=0 leftmargin=2 bottommargin=0 marginwidth=2 marginheight=0>
<form method=post action="<?echo $rootdir;?>/forms/CAMOS/save.php?mode=new" name="my_form">
<h1> CAMOS </h1>
<h1><php xl ('CAMOS','e'); ?> </h1>
<hr>
<input type="submit" name="submit form" value="submit form" /><?
echo "<a href='".$GLOBALS['webroot'] . "/interface/patient_file/encounter/$returnurl'>[do not save]</a>";
<input type="submit" name="submit form" value="<?php xl('submit form','e'); ?>" /><?
echo "<a href='".$GLOBALS['webroot'] . "/interface/patient_file/encounter/$returnurl'>[" . xl('do not save') ."]</a>";
?>
<table></table><h3>Computer Aided Medical Ordering System</h3>
<table><tr><td>category</td> <td><input type="text" name="category" /></td></tr>
<tr><td>subcategory</td> <td><input type="text" name="subcategory" /></td></tr>
<tr><td>item</td> <td><input type="text" name="item" /></td></tr>
<tr><td>content</td> <td><input type="text" name="content" /></td></tr>
<table></table><h3><php xl ('Computer Aided Medical Ordering System','e'); ?></h3>
<table><tr><td><php xl ('category','e'); ?></td> <td><input type="text" name="category" /></td></tr>
<tr><td><php xl ('subcategory','e'); ?></td> <td><input type="text" name="subcategory" /></td></tr>
<tr><td><php xl ('item','e'); ?></td> <td><input type="text" name="item" /></td></tr>
<tr><td><php xl ('content','e'); ?></td> <td><input type="text" name="content" /></td></tr>
</table><input type="submit" name="submit form" value="submit form" /><?
echo "<a href='".$GLOBALS['webroot'] . "/interface/patient_file/encounter/$returnurl'>[do not save]</a>";
echo "<a href='".$GLOBALS['webroot'] . "/interface/patient_file/encounter/$returnurl'>[" .xl('do not save') ."]</a>";
?>

</form>
Expand Down
6 changes: 3 additions & 3 deletions interface/forms/CAMOS/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
</head>
<body <?echo $top_bg_line;?> topmargin=0 rightmargin=0 leftmargin=2 bottommargin=0 marginwidth=2 marginheight=0>
<form method=post action="<?echo $rootdir?>/forms/CAMOS/save.php?mode=delete&id=<?echo $_GET["id"];?>" name="my_form">
<h1> CAMOS </h1>
</table><input type="submit" name="submit form" value="Delete" /><?
echo "<a href='".$GLOBALS['webroot'] . "/interface/patient_file/encounter/$returnurl'>[do nothing]</a>";
<h1> <?php xl('CAMOS','e'); ?> </h1>
</table><input type="submit" name="submit form" value="<?php xl('Delete','e'); ?>" /><?
echo "<a href='".$GLOBALS['webroot'] . "/interface/patient_file/encounter/$returnurl'>[" .xl ('do nothing'). "]</a>";
?>
</form>
<?php
Expand Down
Loading

0 comments on commit 55e4b20

Please sign in to comment.