Skip to content

Commit

Permalink
Changed wording of some Print buttons and links to survive MU2 testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsetsystems committed Oct 9, 2015
1 parent 32a6743 commit 42ed543
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions interface/forms/note/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function PrintForm() {
<div style="margin: 10px;">
<input type="button" class="save" value=" <?php echo xla('Save'); ?> "> &nbsp;
<input type="button" class="dontsave" value="<?php echo xla('Don\'t Save'); ?>"> &nbsp;
<input type="button" class="printform" value="<?php echo xla('Print'); ?>"> &nbsp;
<input type="button" class="printform" value="<?php echo xla('View Printable Version'); ?>"> &nbsp;
</div>

<select name="note_type">
Expand Down Expand Up @@ -101,7 +101,7 @@ function PrintForm() {
<div style="margin: 10px;">
<input type="button" class="save" value=" <?php echo xla('Save'); ?> "> &nbsp;
<input type="button" class="dontsave" value="<?php echo xla('Don\'t Save'); ?>"> &nbsp;
<input type="button" class="printform" value="<?php echo xla('Print'); ?>"> &nbsp;
<input type="button" class="printform" value="<?php echo xla('View Printable Version'); ?>"> &nbsp;
</div>

</form>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@

<div id="viewPicker">
[-php-]
echo " <a href='#' type='button' id='printview' title='" .xl ("Print View"). "' class='css_button'/><span>".xl("Print")."</span></a>\n";
echo " <a href='#' type='button' id='printview' title='" .xl ("Print View"). "' class='css_button'/><span>" . xlt("View Printable Version") . "</span></a>\n";
echo " <a href='#' type='button' value='" .xl ("Refresh"). "' onclick='javascript:refreshme()' class='css_button'/><span>".xl("Refresh")."</span></a>\n";
echo " <a href='#' type='button' id='dayview' title='" .htmlspecialchars( xl('Day View'), ENT_QUOTES). "' class='css_button'/><span>".htmlspecialchars( xl('Day'), ENT_QUOTES)."</span></a>\n";
echo " <a href='#' type='button' id='weekview' title='" .htmlspecialchars( xl('Week View'), ENT_QUOTES). "' class='css_button'/><span>".htmlspecialchars( xl('Week'), ENT_QUOTES)."</span></a>\n";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
<input type='button' value='[-php-] echo xl("Add"); [-/php-]' onclick='newEvt(1, 9, 00, [-php-] echo $Date;[-/php-], 0, 0)' />
<input type='button' value='[-php-] echo xl("Search"); [-/php-]' onclick='top.restoreSession();location="index.php?module=PostCalendar&func=search"' />

<a href="[-pc_url action=$VIEW_TYPE print="true"-]">[-php-] echo xl("Print"); [-/php-]</a>
<a href="[-pc_url action=$VIEW_TYPE print="true"-]">[-php-] echo xlt("View Printable Version"); [-/php-]</a>

</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@

<div id="viewPicker">
[-php-]
echo " <a href='#' type='button' id='printview' title='" .xl ("Print View"). "' class='css_button'/><span>".xl("Print")."</span></a>\n";
echo " <a href='#' type='button' id='printview' title='" .xl ("Print View"). "' class='css_button'/><span>" . xlt("View Printable Version") . "</span></a>\n";
echo " <a href='#' type='button' value='" .xl ("Refresh"). "' onclick='javascript:refreshme()' class='css_button'/><span>".xl("Refresh")."</span></a>\n";
echo " <a href='#' type='button' id='dayview' title='" .htmlspecialchars( xl('Day View'), ENT_QUOTES). "' class='css_button'/><span>".htmlspecialchars( xl('Day'), ENT_QUOTES)."</span></a>\n";
echo " <a href='#' type='button' id='weekview' title='" .htmlspecialchars( xl('Week View'), ENT_QUOTES). "' class='css_button'/><span>".htmlspecialchars( xl('Week'), ENT_QUOTES)."</span></a>\n";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@

<div id="viewPicker">
[-php-]
echo " <a href='#' type='button' id='printview' title='" .xl ("Print View"). "' class='css_button'/><span>".xl("Print")."</span></a>\n";
echo " <a href='#' type='button' id='printview' title='" .xl ("Print View"). "' class='css_button'/><span>" . xlt("View Printable Version") . "</span></a>\n";
echo " <a href='#' type='button' value='" .xl ("Refresh"). "' onclick='javascript:refreshme()' class='css_button'/><span>".xl("Refresh")."</span></a>\n";
echo " <a href='#' type='button' id='dayview' title='" .htmlspecialchars( xl('Day View'), ENT_QUOTES). "' class='css_button'/><span>".htmlspecialchars( xl('Day'), ENT_QUOTES) ."</span></a>\n";
echo " <a href='#' type='button' id='weekview' title='" .htmlspecialchars( xl('Week View'), ENT_QUOTES). "' class='css_button'/><span>".htmlspecialchars( xl('Week'), ENT_QUOTES)."</span></a>\n";
Expand Down
4 changes: 2 additions & 2 deletions interface/patient_file/report/patient_report.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function show_date_fun(){
</table>
</div>
<br>
<input type="button" class="generateCCR" value="<?php xl('View/Print','e'); ?>" />
<input type="button" class="generateCCR" value="<?php echo xla('Generate Report'); ?>" />
<!-- <input type="button" class="generateCCR_download_h" value="<?php echo xl('Download')." (Hybrid)"; ?>" /> -->
<input type="button" class="generateCCR_download_p" value="<?php echo xl('Download'); ?>" />
<!-- <input type="button" class="generateCCR_raw" value="<?php xl('Raw Report','e'); ?>" /> -->
Expand Down Expand Up @@ -142,7 +142,7 @@ function show_date_fun(){
<span class='text'>(<?php xl('Pop ups need to be enabled to see these reports','e'); ?>)</span>
<br/>
<br/>
<input type="button" class="viewCCD" value="<?php xl('View/Print','e'); ?>" />
<input type="button" class="viewCCD" value="<?php echo xla('Generate Report'); ?>" />
<input type="button" class="viewCCD_download" value="<?php echo htmlspecialchars( xl('Download', ENT_QUOTES)); ?>" />
<!-- <input type="button" class="viewCCD_raw" value="<?php xl('Raw Report','e'); ?>" /> -->
<?php if ($GLOBALS['phimail_enable']==true && $GLOBALS['phimail_ccd_enable']==true) { ?>
Expand Down
2 changes: 1 addition & 1 deletion interface/patient_file/summary/labdata.php
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ function get_my_graph<?php echo attr($item_graph) ?>(){
foreach($_POST['value_code'] as $this_valuecode) {
echo "<input type='hidden' name='value_code[]' value='". attr($this_valuecode) . "'>";
}
echo "<input type='submit' name='print' value='" . xla('Print') . "' />";
echo "<input type='submit' name='print' value='" . xla('View Printable Version') . "' />";
echo "</form>";
echo "<br><a href='../summary/demographics.php' ";
if (!$GLOBALS['concurrent_layout']){ echo "target='Main'"; }
Expand Down
2 changes: 1 addition & 1 deletion interface/patient_file/summary/pnotes_full_add.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ function submitform(attr) {
<div>
<?php if ($noteid) { ?>
<!-- existing note -->
<a href="#" class="css_button" id="printnote"><span><?php echo htmlspecialchars( xl('Print'), ENT_NOQUOTES); ?></span></a>
<a href="#" class="css_button" id="printnote"><span><?php echo xlt('View Printable Version'); ?></span></a>
<?php } ?>
<a class="css_button large_button" id='cancel' href='javascript:;'>
<span class='css_button_span large_button_span'><?php echo htmlspecialchars( xl('Cancel'), ENT_NOQUOTES);?></span>
Expand Down
2 changes: 1 addition & 1 deletion interface/patient_file/transaction/transactions.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function toggle( target, div ) {
</td>
<td>
<a href="print_referral.php" <?php if (!$GLOBALS['concurrent_layout']) echo "target='Main'"; ?> onclick="top.restoreSession()" class="css_button" >
<span><?php echo htmlspecialchars( xl('Print Blank Referral Form'), ENT_NOQUOTES); ?></span></a>
<span><?php echo htmlspecialchars( xl('View Blank Referral Form'), ENT_NOQUOTES); ?></span></a>
</td>
</tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion interface/patient_file/transaction/transactions_full.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function imdeleted() {
echo "<a href='print_referral.php?transid=".
htmlspecialchars( $iter{"id"}, ENT_NOQUOTES).
"' onclick='top.restoreSession()' class='css_button_small'><span>".
htmlspecialchars( xl('Print'), ENT_NOQUOTES)."</span></a>";
htmlspecialchars( xl('View'), ENT_NOQUOTES)."</span></a>";
}
else {
echo "&nbsp;";
Expand Down
8 changes: 4 additions & 4 deletions templates/prescription/general_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,18 +122,18 @@
<table>
<tr>
<td>
<a id="multiprint" href="{$CONTROLLER}prescription&multiprint&id={$printm}" onclick="top.restoreSession()" class="css_button"><span>{xl t='Print'} ({xl t='PDF'})</span></a>
<a id="multiprint" href="{$CONTROLLER}prescription&multiprint&id={$printm}" onclick="top.restoreSession()" class="css_button"><span>{xl t='Download'} ({xl t='PDF'})</span></a>
</td>
<td>
<!-- TajEmo work by CB 2012/06/14 02:16:32 PM target="_script" opens better -->
<a target="_script" id="multiprintcss" href="{$CONTROLLER}prescription&multiprintcss&id={$printm}" onclick="top.restoreSession()" class="css_button"><span>{xl t='Print'} ({xl t='HTML'})</span></a>
<a target="_script" id="multiprintcss" href="{$CONTROLLER}prescription&multiprintcss&id={$printm}" onclick="top.restoreSession()" class="css_button"><span>{xl t='View Printable Version'} ({xl t='HTML'})</span></a>
</td>
<td style="border-style:none;">
<a id="multiprintToFax" href="{$CONTROLLER}prescription&multiprintfax&id={$printm}" onclick="top.restoreSession()" class="css_button"><span>{xl t='Print'} ({xl t='Fax'})</span></a>
<a id="multiprintToFax" href="{$CONTROLLER}prescription&multiprintfax&id={$printm}" onclick="top.restoreSession()" class="css_button"><span>{xl t='Download'} ({xl t='Fax'})</span></a>
</td>
{if $CAMOS_FORM == true}
<td>
<a id="four_panel_rx" href="{$WEBROOT}/interface/forms/CAMOS/rx_print.php?sigline=plain" onclick="top.restoreSession()" class="css_button"><span>{xl t='Print Four Panel'}</span></a>
<a id="four_panel_rx" href="{$WEBROOT}/interface/forms/CAMOS/rx_print.php?sigline=plain" onclick="top.restoreSession()" class="css_button"><span>{xl t='View Four Panel'}</span></a>
</td>
{/if}
</tr>
Expand Down
6 changes: 3 additions & 3 deletions templates/prescription/general_send.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@

<div style="float:left">
<form name="genform1" method="post" action="{$TOP_ACTION}send&id={$prescription->id}" target="_new" onsubmit="return top.restoreSession()">
<input type="submit" name="submit" value="{xl t='Print'} ({xl t='PDF'})" style="width:100;font-size:9pt;"/>
<input type="submit" name="submit" value="{xl t='Download'} ({xl t='PDF'})" style="width:100;font-size:9pt;"/>
<input type="hidden" name="process" value="{$PROCESS}" />
</form>
</div>

<div style="float:left">
<form name="send_prescription" method="post" action="{$TOP_ACTION}send&id={$prescription->id}" target="_new" onsubmit="return top.restoreSession()">
<input type="submit" name="submit" value="{xl t='Print'} ({xl t='HTML'})" style="width:100;font-size:9pt;"/>
<input type="submit" name="submit" value="{xl t='View Printable'} ({xl t='HTML'})" style="width:100;font-size:9pt;"/>
<input type="hidden" name="process" value="{$PROCESS}" />
</form>
</div>

<div style="float:none">
<form name="send_prescription" method="post" action="{$TOP_ACTION}send&id={$prescription->id}&print_to_fax=true" target="_new" onsubmit="return top.restoreSession()">
<input type="submit" name="submit" value="{xl t='Print To Fax'}" style="width:100;font-size:9pt;"/>
<input type="submit" name="submit" value="{xl t='Download Fax'}" style="width:100;font-size:9pt;"/>
<input type="hidden" name="process" value="{$PROCESS}" />
</form>
</div>
Expand Down

0 comments on commit 42ed543

Please sign in to comment.