Debian Codegraph @

eg/web/db/updateditem.mail

raw
1 Hi! [- $r = shift; $^W=0 -]
2
3 [$ if $r->{error} $]
4 There occured the following errors during item [+ $r->{is_update} ? 'update' : 'creation' +] by [+ $udat{user_email} || '[Unknown user]' +]:
5 [+ $r->{error} +]
6 [$ else $]
7 There's a [+ $r->{is_update} < 0 ? 'deleted' : $r->{is_update} ? 'updated' : 'new' +] item on your Embperl Website by [+ $udat{user_email} || '[Unknown user]' +].
8 [$ endif $]
9 For details see http://[+ $ENV{SERVER_NAME} +][#:[+ $ENV{SERVER_PORT} +]#][+ $r->{config}->{baseuri} +]db/add.epl?[+ $r->{category_set}{table_type} +]_id=[+ $fdat{item_id} +]&-edit_item=1&category_id=[+ $fdat{category_id} +]
10
11
12 ---- Category "[+ $r->{category_set}{category} +]" ----
13 [- $i = 0; -][$ while ($rec = $r->{item_set}[$i++]) $]
14 ===============================================================================
15 [+ $rec->{name} +]:
16 ===============================================================================
17 [$ foreach $type (@{$r->{category_fields}}) $][$ if $txt = $r -> {category_texts}{$type . '_text'} $]
18 * [+ $txt +]: [+ $rec->{$type} +]
19 [$ endif $][$ endforeach $][$ endwhile $]
20
21 [#
22 DEBUGGING:
23 [! use Data::Dumper; !]
24 [- $DBIx::Recordset::FetchsizeWarn = 0; -]
25 [+ Dumper $r->{error},\%fdat,[keys %$r],{%{$r->{category_texts}}},{%{$r->{category_set}}},[@{$r->{item_set}}] +]
26 #]
27
28 --
29 Regards, Your Embperl Website