Commit 6bad9c7ed4aed5aaa0ffcdcf50a933b1fdd60ecf
1 parent
3f19ef6f
KTS-2348
"upgrade.php is totally broken" More fixed. This was a short tags issue. Committed By: Kevin Fourie Reviewed By: Conrad Vermeulen git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7192 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
18 additions
and
18 deletions
setup/upgrade.php
| ... | ... | @@ -506,7 +506,7 @@ Your mysql installation has been resolved. Manually, you would do the following: |
| 506 | 506 | <table bgcolor="lightgrey"> |
| 507 | 507 | <tr> |
| 508 | 508 | <td> |
| 509 | -<nobr>cd "<?php=$dir?>"</nobr> | |
| 509 | +<nobr>cd "<?php echo $dir;?>"</nobr> | |
| 510 | 510 | <br> |
| 511 | 511 | <?php |
| 512 | 512 | } |
| ... | ... | @@ -524,7 +524,7 @@ You can continue to do the backup manually using the following process: |
| 524 | 524 | |
| 525 | 525 | } |
| 526 | 526 | ?> |
| 527 | -<nobr><?php=$stmt['display']?> | |
| 527 | +<nobr><?php echo $stmt['display'];?> | |
| 528 | 528 | </table> |
| 529 | 529 | <P> |
| 530 | 530 | |
| ... | ... | @@ -565,7 +565,7 @@ function restoreSelect() |
| 565 | 565 | if (count($files) == 0) |
| 566 | 566 | { |
| 567 | 567 | ?> |
| 568 | - There don't seem to be any backups to restore from the <i>"<?php=$dir?>"</i> directory. | |
| 568 | + There don't seem to be any backups to restore from the <i>"<?php echo $dir;?>"</i> directory. | |
| 569 | 569 | <?php |
| 570 | 570 | } |
| 571 | 571 | else |
| ... | ... | @@ -591,10 +591,10 @@ function restoreSelect() |
| 591 | 591 | { |
| 592 | 592 | $color=((($i++)%2)==0)?'white':'lightgrey'; |
| 593 | 593 | ?> |
| 594 | - <tr bgcolor="<?php=$color?>"> | |
| 595 | - <td><?php=$file?> | |
| 596 | - <td><?php=filesize($dir . '/'.$file)?> | |
| 597 | - <td><input type=button value="restore" onclick="javascript:selectRestore('<?php=$file?>')"> | |
| 594 | + <tr bgcolor="<?php echo $color;?>"> | |
| 595 | + <td><?php echo $file;?> | |
| 596 | + <td><?php echo filesize($dir . '/'.$file);?> | |
| 597 | + <td><input type=button value="restore" onclick="javascript:selectRestore('<?php echo $file;?>')"> | |
| 598 | 598 | <?php |
| 599 | 599 | } |
| 600 | 600 | ?> |
| ... | ... | @@ -647,7 +647,7 @@ Manually, you would do the following to restore the backup: |
| 647 | 647 | <table bgcolor="lightgrey"> |
| 648 | 648 | <tr> |
| 649 | 649 | <td> |
| 650 | -<nobr>cd "<?php=$dir?>"</nobr> | |
| 650 | +<nobr>cd "<?php echo $dir;?>"</nobr> | |
| 651 | 651 | <br> |
| 652 | 652 | <?php |
| 653 | 653 | } |
| ... | ... | @@ -665,7 +665,7 @@ You can continue to do the restore manually using the following command(s): |
| 665 | 665 | |
| 666 | 666 | } |
| 667 | 667 | ?> |
| 668 | -<nobr><?php=$stmt['display']?> | |
| 668 | +<nobr><?php echo $stmt['display'];?> | |
| 669 | 669 | </table> |
| 670 | 670 | <P> |
| 671 | 671 | <?php |
| ... | ... | @@ -715,7 +715,7 @@ function backupDone() |
| 715 | 715 | { |
| 716 | 716 | $stmt=create_restore_stmt($filename); |
| 717 | 717 | ?> |
| 718 | - The backup file <nobr><I>"<?php=$filename?>"</i></nobr> has been created. | |
| 718 | + The backup file <nobr><I>"<?php echo $filename;?>"</i></nobr> has been created. | |
| 719 | 719 | <P> It appears as though the <font color=green>backup has been successful</font>. |
| 720 | 720 | <P> |
| 721 | 721 | <?php |
| ... | ... | @@ -727,7 +727,7 @@ function backupDone() |
| 727 | 727 | <table bgcolor="lightgrey"> |
| 728 | 728 | <tr> |
| 729 | 729 | <td> |
| 730 | - <nobr>cd <?php=$stmt['dir']?></nobr> | |
| 730 | + <nobr>cd <?php echo $stmt['dir'];?></nobr> | |
| 731 | 731 | <br> |
| 732 | 732 | <?php |
| 733 | 733 | } |
| ... | ... | @@ -744,7 +744,7 @@ function backupDone() |
| 744 | 744 | <?php |
| 745 | 745 | } |
| 746 | 746 | ?> |
| 747 | - <nobr><?php=$stmt['display']?> | |
| 747 | + <nobr><?php echo $stmt['display'];?> | |
| 748 | 748 | </table> |
| 749 | 749 | |
| 750 | 750 | <?php |
| ... | ... | @@ -760,7 +760,7 @@ We appologise for the inconvenience. |
| 760 | 760 | <table bgcolor="lightgrey"> |
| 761 | 761 | <tr> |
| 762 | 762 | <td> |
| 763 | -<?php=$_SESSION['backupOutput']?> | |
| 763 | +<?php echo $_SESSION['backupOutput'];?> | |
| 764 | 764 | </table> |
| 765 | 765 | <?php |
| 766 | 766 | |
| ... | ... | @@ -790,7 +790,7 @@ function restoreDone() |
| 790 | 790 | { |
| 791 | 791 | |
| 792 | 792 | ?> |
| 793 | - The restore of <nobr><I>"<?php=$filename?>"</i></nobr> has been completed. | |
| 793 | + The restore of <nobr><I>"<?php echo $filename;?>"</i></nobr> has been completed. | |
| 794 | 794 | <P> |
| 795 | 795 | It appears as though the <font color=green>restore has been successful</font>. |
| 796 | 796 | <P> |
| ... | ... | @@ -811,7 +811,7 @@ We appologise for the inconvenience. |
| 811 | 811 | <table bgcolor="lightgrey"> |
| 812 | 812 | <tr> |
| 813 | 813 | <td> |
| 814 | -<?php=$_SESSION['restoreOutput']?> | |
| 814 | +<?php echo $_SESSION['restoreOutput'];?> | |
| 815 | 815 | </table> |
| 816 | 816 | <?php |
| 817 | 817 | |
| ... | ... | @@ -836,7 +836,7 @@ function check_state($value, $state='Home') |
| 836 | 836 | { |
| 837 | 837 | ?> |
| 838 | 838 | <script> |
| 839 | - document.location="?go=<?php=$state?>"; | |
| 839 | + document.location="?go=<?php echo $state;?>"; | |
| 840 | 840 | </script> |
| 841 | 841 | <?php |
| 842 | 842 | exit; |
| ... | ... | @@ -903,7 +903,7 @@ function backup() |
| 903 | 903 | { |
| 904 | 904 | ?> |
| 905 | 905 | <P> |
| 906 | - The <i>mysqldump</i> utility was not found in the <?php=$dir?> subdirectory. | |
| 906 | + The <i>mysqldump</i> utility was not found in the <?php echo $dir;?> subdirectory. | |
| 907 | 907 | |
| 908 | 908 | <input type=button value="back" onclick="javascript:do_start('welcome')"> |
| 909 | 909 | <?php |
| ... | ... | @@ -975,7 +975,7 @@ function restore() |
| 975 | 975 | { |
| 976 | 976 | ?> |
| 977 | 977 | <P> |
| 978 | - The <i>mysql</i> utility was not found in the <?php=$dir?> subdirectory. | |
| 978 | + The <i>mysql</i> utility was not found in the <?php echo $dir;?> subdirectory. | |
| 979 | 979 | |
| 980 | 980 | <input type=button value="back" onclick="javascript:do_start('welcome')"> |
| 981 | 981 | <?php | ... | ... |