« auto/share/dist/Nes/cgi-bin/plugin/debug_info.pl
↑ Summary
auto/share/dist/Nes/cgi-bin/plugin/forms.pl »
| 1 | #!/usr/bin/perl | ||
| 2 | |||
| 3 | # ------------------------------------------------------------------------------ | ||
| 4 | # | ||
| 5 | # NES by - Skriptke | ||
| 6 | # Copyright 2009 - 2010 Enrique F. Castañón | ||
| 7 | # Licensed under the GNU GPL. | ||
| 8 | # http://sourceforge.net/projects/nes/ | ||
| 9 | # | ||
| 10 | # Version 0.8 beta | ||
| 11 | # | ||
| 12 | # filter_demo.pl | ||
| 13 | # | ||
| 14 | # ------------------------------------------------------------------------------ | ||
| 15 | |||
| 16 | use strict; | ||
| 17 | use Nes; | ||
| 18 | |||
| 19 | my $nes = Nes::Singleton->new(); | ||
| 20 | my $container = $nes->{'container'}; | ||
| 21 | my $out = $container->get_out_content(); | ||
| 22 | |||
| 23 | $out =~ s/ Nes / <b><blink>Nes<\/blink><\/b> /g; | ||
| 24 | |||
| 25 | |||
| 26 | #$container->set_out_content( "-BeGiN-".$out."-eND-" ); | ||
| 27 | $container->set_out_content( $out ); | ||
| 28 | |||
| 29 | |||
| 30 | # don't forget to return a true value from the file | ||
| 31 | 1; | ||
| 32 |