use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");if ( $C->{Object}{type} eq 'email' ) {$this->out("You can use the following tags inside the template:<br>\n<b>#{</b><b>title}</b> - title of the ad block<br>\n<b>#{</b><b>instructions}</b> - instructions for using this ad<br>\n<b>#{</b><b>subject}</b> - subject of the e-mail<br>\n<b>#{</b><b>message}</b> - e-mail message<br>\n");} elsif ( $C->{Object}{type} eq 'solo' ) {$this->out("You can use the following tags inside the template:<br>\n<b>#{</b><b>title}</b> - title of the ad block<br>\n<b>#{</b><b>instructions}</b> - instructions for using this ad<br>\n<b>#{</b><b>message}</b> - solo ad text<br>\n");} elsif ( $C->{Object}{type} eq 'link' ) {$this->out("You can use the following tags inside the template:<br>\n<b>#{</b><b>title}</b> - title of the ad block<br>\n<b>#{</b><b>instructions}</b> - instructions for using this ad<br>\n<b>#{</b><b>url}</b> - URL of the link<br>\n");} elsif ( $C->{Object}{type} eq 'banner' ) {$this->out("You can use the following tags inside the template:<br>\n<b>#{</b><b>title}</b> - title of the ad block<br>\n<b>#{</b><b>instructions}</b> - instructions for using this ad<br>\n<b>#{</b><b>imageUrl}</b> - URL of the banner image<br>\n<b>#{</b><b>url}</b> - target URL of the banner<br>\n");} elsif ( $C->{Object}{type} eq 'ebook' ) {$this->out("You can use the following tags inside the template:<br>\n<b>#{</b><b>title}</b> - title of the ad block<br>\n<b>#{</b><b>instructions}</b> - instructions for using this ad<br>\n<b>#{</b><b>description}</b> - description of the e-book<br>\n<b>#{</b><b>url}</b> - download URL<br>\n");} elsif ( $C->{Object}{type} eq 'keyword' ) {$this->out("You can use the following tags inside the template:<br>\n<b>#{</b><b>title}</b> - title of the ad block<br>\n<b>#{</b><b>instructions}</b> - instructions for using this ad<br>\n<b>#{</b><b>keywords}</b> - keywords<br>\n");} elsif ( $C->{Object}{type} eq 'separator' ) {$this->out("No tags are to use in this type of template\n");}$this->out("");}