|
6 | 6 | ?>
|
7 | 7 |
|
8 | 8 | <h1>There has been an error processing your request</h1>
|
9 |
| -<?php if ($block->showSentMsg): ?> |
| 9 | +<?php if ($this->showSentMsg): ?> |
10 | 10 | <div class="message success">
|
11 | 11 | <div>Your message was submitted and will be responded as soon as possible. Thank you for reporting.</div>
|
12 | 12 | </div>
|
13 | 13 | <?php endif; ?>
|
14 |
| -<?php if ($block->showSendForm): ?> |
| 14 | +<?php if ($this->showSendForm): ?> |
15 | 15 | <div class="message info">
|
16 | 16 | <div>
|
17 | 17 | We are currently experiencing some technical issues. We apologize for the inconvenience and will contact you shortly to resolve the issue. To help us serve you please fill in the form below.
|
18 | 18 | </div>
|
19 | 19 | </div>
|
20 |
| - <?php if ($block->showErrorMsg): ?> |
| 20 | + <?php if ($this->showErrorMsg): ?> |
21 | 21 | <div class="message error">
|
22 | 22 | <div>
|
23 | 23 | Please fill all required fields with valid information
|
24 | 24 | </div>
|
25 | 25 | </div>
|
26 | 26 | <?php endif; ?>
|
27 |
| -<form action="<?php echo "{$block->getBaseUrl(true)}errors/report.php?id={$block->reportId}" ?>" method="post" id="form-validate" class="form"> |
| 27 | +<form action="<?php echo "{$this->getBaseUrl(true)}errors/report.php?id={$this->reportId}" ?>" method="post" id="form-validate" class="form"> |
28 | 28 | <fieldset class="fieldset" data-hasrequired="* Required Fields">
|
29 | 29 | <legend class="legend"><span>Personal Information</span></legend><br />
|
30 | 30 | <div class="field firstname required">
|
31 | 31 | <label for="firstname" class="label">First Name</label>
|
32 | 32 | <div class="control">
|
33 |
| - <input type="text" name="firstname" id="firstname" value="<?php echo $block->postData['firstName'] ?>" title="First Name" class="required-entry input-text" /> |
| 33 | + <input type="text" name="firstname" id="firstname" value="<?php echo $this->postData['firstName'] ?>" title="First Name" class="required-entry input-text" /> |
34 | 34 | </div>
|
35 | 35 | </div>
|
36 | 36 | <div class="field lastname required">
|
37 | 37 | <label for="lastname" class="label">Last Name</label>
|
38 | 38 | <div class=control">
|
39 |
| - <input type="text" name="lastname" id="lastname" value="<?php echo $block->postData['lastName'] ?>" title="Last Name" class="required-entry input-text" /> |
| 39 | + <input type="text" name="lastname" id="lastname" value="<?php echo $this->postData['lastName'] ?>" title="Last Name" class="required-entry input-text" /> |
40 | 40 | </div>
|
41 | 41 | </div>
|
42 | 42 | <div class="field email required">
|
43 | 43 | <label for="email_address" class="label">Email Address</label>
|
44 | 44 | <div class=control">
|
45 |
| - <input type="text" name="email" id="email_address" value="<?php echo $block->postData['email'] ?>" title="Email Address" class="validate-email required-entry input-text" /> |
| 45 | + <input type="text" name="email" id="email_address" value="<?php echo $this->postData['email'] ?>" title="Email Address" class="validate-email required-entry input-text" /> |
46 | 46 | </div>
|
47 | 47 | </div>
|
48 | 48 | <div class="field telephone">
|
49 | 49 | <label for="telephone" class="label">Telephone</label>
|
50 | 50 | <div class=control">
|
51 |
| - <input type="text" name="telephone" id="telephone" value="<?php echo $block->postData['telephone'] ?>" title="Telephone" class="input-text" /> |
| 51 | + <input type="text" name="telephone" id="telephone" value="<?php echo $this->postData['telephone'] ?>" title="Telephone" class="input-text" /> |
52 | 52 | </div>
|
53 | 53 | </div>
|
54 | 54 | <div class="field comment">
|
55 | 55 | <label for="comment" class="label">Comment</label>
|
56 | 56 | <div class=control">
|
57 |
| - <textarea name="comment" cols="5" rows="3" class="textarea"><?php echo $block->postData['comment'] ?></textarea> |
| 57 | + <textarea name="comment" cols="5" rows="3" class="textarea"><?php echo $this->postData['comment'] ?></textarea> |
58 | 58 | </div>
|
59 | 59 | </div>
|
60 | 60 | </fieldset>
|
61 | 61 | <div class="actions-toolbar">
|
62 | 62 | <button name="submit" class="action primary" type="submit"><span>Submit</span></button>
|
63 | 63 | </div>
|
64 | 64 | </form>
|
65 |
| -<?php elseif ('' == $block->reportAction): ?> |
| 65 | +<?php elseif ('' == $this->reportAction): ?> |
66 | 66 | <p><em>Exception printing is disabled by default for security reasons.</em></p>
|
67 | 67 | <?php endif; ?>
|
68 | 68 |
|
69 |
| -<?php if ($block->reportAction == 'print'): ?> |
| 69 | +<?php if ($this->reportAction == 'print'): ?> |
70 | 70 | <div class="trace-container">
|
71 | 71 | <div class="trace">
|
72 |
| - <pre><?php echo htmlspecialchars($block->reportData[0]) ?></pre> |
| 72 | + <pre><?php echo htmlspecialchars($this->reportData[0]) ?></pre> |
73 | 73 | </div>
|
74 | 74 | </div>
|
75 | 75 | <?php endif; ?>
|
76 |
| -<?php if ($block->reportId): ?> |
77 |
| - <p>Error log record number: <?php echo $block->reportId ?></p> |
| 76 | +<?php if ($this->reportId): ?> |
| 77 | + <p>Error log record number: <?php echo $this->reportId ?></p> |
78 | 78 | <?php endif; ?>
|
0 commit comments