File: standard_err.inc

package info (click to toggle)
psp 0.5.5-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 4,820 kB
  • ctags: 2,333
  • sloc: perl: 21,074; ansic: 4,553; sh: 2,407; makefile: 461; php: 11; pascal: 6
file content (34 lines) | stat: -rw-r--r-- 572 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<psp:if test="$fs->errors_p()">

<psp:script>my $field_errors;</psp:script>

<table width="100%" border="0">
 <tr><td>

  <font color="#ff0000"><b>Errors Were Encountered</b></font>

 </td></tr>

  <psp:errorreport>

   <tr><td>
    <psp:script>
     $error_obj->isa('field') and $field_errors++;
     $out->put( $error_obj->as_bullets() );
    </psp:script>
   </td></tr>

  </psp:errorreport>

  <psp:if test="$field_errors">

   <tr><td>
     Red asterisks (<font color="#ff0000">*</font>) indicate fields in error.
   </td></tr>

  </psp:if>

</table>
<br>

</psp:if>