./PaxHeaders.12235/Petal-2.23 0000644 0001750 0000144 00000000132 12200721421 013573 x ustar 00 0000000 0000000 30 mtime=1375970065.691126052
30 atime=1375970065.562120485
30 ctime=1375970065.691126052
Petal-2.23/ 0000755 0001750 0000144 00000000000 12200721421 012644 5 ustar 00nine users 0000000 0000000 Petal-2.23/PaxHeaders.12235/t 0000644 0001750 0000144 00000000132 12200721421 013701 x ustar 00 0000000 0000000 30 mtime=1375970065.586121521
30 atime=1375970065.562120485
30 ctime=1375970065.586121521
Petal-2.23/t/ 0000755 0001750 0000144 00000000000 12200721421 013107 5 ustar 00nine users 0000000 0000000 Petal-2.23/t/PaxHeaders.12235/034_Plugin.t 0000644 0001750 0000144 00000000073 11714720667 016017 x ustar 00 0000000 0000000 29 atime=1353293025.99668529
30 ctime=1375970065.564120571
Petal-2.23/t/034_Plugin.t 0000644 0001750 0000144 00000000541 11714720667 015144 0 ustar 00nine users 0000000 0000000 #!/usr/bin/perl
use warnings;
use strict;
use lib ('lib');
use Test::More 'no_plan';
use Petal;
$|=1;
$Petal::DISK_CACHE = 0;
$Petal::MEMORY_CACHE = 0;
$Petal::TAINT = 1;
$Petal::BASE_DIR = './t/data';
$Petal::OUTPUT = "XML";
my $template = new Petal ('plugin.xml');
my $str = $template->process();
like($str, '/HELLO, WORLD/', "matches");
__END__
Petal-2.23/t/PaxHeaders.12235/data 0000644 0001750 0000144 00000000132 12200721421 014612 x ustar 00 0000000 0000000 30 mtime=1375970065.586121521
30 atime=1375970065.565120615
30 ctime=1375970065.586121521
Petal-2.23/t/data/ 0000755 0001750 0000144 00000000000 12200721421 014020 5 ustar 00nine users 0000000 0000000 Petal-2.23/t/data/PaxHeaders.12235/autoload.xml 0000644 0001750 0000144 00000000074 11714720667 017252 x ustar 00 0000000 0000000 30 atime=1353293026.560685304
30 ctime=1375970065.565120615
Petal-2.23/t/data/autoload.xml 0000644 0001750 0000144 00000000064 11714720667 016376 0 ustar 00nine users 0000000 0000000
Replace This!
Petal-2.23/t/data/PaxHeaders.12235/multiple_includes 0000644 0001750 0000144 00000000132 12200721421 020333 x ustar 00 0000000 0000000 30 mtime=1375970065.579121219 30 atime=1375970065.566120658 30 ctime=1375970065.579121219 Petal-2.23/t/data/multiple_includes/ 0000755 0001750 0000144 00000000000 12200721421 017541 5 ustar 00nine users 0000000 0000000 Petal-2.23/t/data/multiple_includes/PaxHeaders.12235/register_form.tmpl 0000644 0001750 0000144 00000000074 11714720667 024206 x ustar 00 0000000 0000000 30 atime=1353293027.116685316 30 ctime=1375970065.566120658 Petal-2.23/t/data/multiple_includes/register_form.tmpl 0000644 0001750 0000144 00000000651 11714720667 023334 0 ustar 00nine users 0000000 00000000. Inline variable with underscore: $last_name
$align - $align_opposite - Hello World
1. A tag within an html tag property doesn't work, in some
cases. Works if there is no include tag above it. Does not work if
there is an include tag above it.
">Email
2. Two tags in a row will only show the first, or nothing at
all. I'm not sure why this format isn't working at all in this test
template. It does work in another of my templates. Perhaps it is
due to the error in the above tag. Commenting out the above tag
doesn't seem to make any difference, though. Do tags inside of
comments get executed?
3. Includes don't always work. Try moving one of the tags to the
top and see the results. Rather curious... If you move the footer
to the top, you'll see that it gets shown twice if you have 2
footer includes statements following it; if you remove the last one
just above the /body tag, you'll see the one after header isn't
working, but further ones do. There is apparently something in the
header.tmpl document which is causing Petal to not perform the next
includes. In fact, you can keep adding footer includes and get more
and more results as expected.
This include won't get displayed
Titolo
Titolo
#. Hello, this is a test. #.
#: t/data/gettext/html/index.html msgid "hello-this-is-a-test" msgstr "Hello, this is a test." #. #. Skip Navigation #. #: t/data/gettext/html/menu-no-css.html msgid "menu-skip-nav" msgstr "Skip Navigation" #.#. You are user #. ${user} #.
#: t/data/gettext/html/index.html msgid "you-are-user" msgstr "You are user ${user}" Petal-2.23/t/data/gettext/po/PaxHeaders.12235/fr.po 0000644 0001750 0000144 00000000074 11714720667 017771 x ustar 00 0000000 0000000 30 atime=1353293027.092685317 30 ctime=1375970065.577121132 Petal-2.23/t/data/gettext/po/fr.po 0000644 0001750 0000144 00000005051 11714720667 017116 0 ustar 00nine users 0000000 0000000 # --- PLEASE EDIT THE LINES BELOW CORRECTLY --- # SOME DESCRIPTIVE TITLE. # FIRST AUTHOR#. Hello, this is a test. #.
#: t/data/gettext/html/index.html msgid "hello-this-is-a-test" msgstr "Bonjour, ceci est un test." #. #. Skip Navigation #. #: t/data/gettext/html/menu-no-css.html msgid "menu-skip-nav" msgstr "Ignorer Navigation" #.#. You are user #. ${user} #.
#: t/data/gettext/html/index.html msgid "you-are-user" msgstr "Vous êtes l'utilisateur ${user}" Petal-2.23/t/data/gettext/po/PaxHeaders.12235/index.pot 0000644 0001750 0000144 00000000074 11714720667 020655 x ustar 00 0000000 0000000 30 atime=1353293027.096685319 30 ctime=1375970065.584121434 Petal-2.23/t/data/gettext/po/index.pot 0000644 0001750 0000144 00000005202 11714720667 020000 0 ustar 00nine users 0000000 0000000 # --- PLEASE EDIT THE LINES BELOW CORRECTLY --- # SOME DESCRIPTIVE TITLE. # FIRST AUTHOR#. Hello, this is a test. #.
msgid "hello-this-is-a-test" msgstr "Hello, this is a test." #: t/data/gettext/html/menu-no-css.html #. #. Skip Navigation #. msgid "menu-skip-nav" msgstr "Skip Navigation" #: t/data/gettext/html/index.html #.#. You are user #. ${user} #.
msgid "you-are-user" msgstr "You are user ${user}" #- Removed msgids: # #- Added msgids: # hello-this-is-a-test you-are-user "a search engine" menu-skip-nav en # "Skip the navigation and jump straight to the page content [ Accesskey S ]" #- Added msgids by merging file None: # Petal-2.23/t/data/gettext/PaxHeaders.12235/mo 0000644 0001750 0000144 00000000130 12200721421 016707 x ustar 00 0000000 0000000 29 mtime=1375970065.57012083 30 atime=1375970065.568120744 29 ctime=1375970065.57012083 Petal-2.23/t/data/gettext/mo/ 0000755 0001750 0000144 00000000000 12200721421 016117 5 ustar 00nine users 0000000 0000000 Petal-2.23/t/data/gettext/mo/PaxHeaders.12235/fr.mo 0000644 0001750 0000144 00000000074 11714720667 017763 x ustar 00 0000000 0000000 30 atime=1353293027.076685318 30 ctime=1375970065.568120744 Petal-2.23/t/data/gettext/mo/fr.mo 0000644 0001750 0000144 00000001571 11714720667 017113 0 ustar 00nine users 0000000 0000000 Þ• L | ¨ I © ó ö ™ & a À " % @ % S Skip the navigation and jump straight to the page content [ Accesskey S ] en hello-this-is-a-test menu-skip-nav you-are-user Project-Id-Version: PACKAGE VERSION POT-Creation-Date: 2004-07-21 15:02+0000 PO-Revision-Date: YEAR-MO-DA HO:MI +ZONE Last-Translator: FULL NAMEHello, this is a test.
You are user Fred
Google Petal-2.23/t/data/PaxHeaders.12235/locale 0000644 0001750 0000144 00000000132 12200721421 016051 x ustar 00 0000000 0000000 30 mtime=1375970065.583121392 30 atime=1375970065.567120701 30 ctime=1375970065.583121392 Petal-2.23/t/data/locale/ 0000755 0001750 0000144 00000000000 12200721421 015257 5 ustar 00nine users 0000000 0000000 Petal-2.23/t/data/locale/PaxHeaders.12235/es 0000644 0001750 0000144 00000000132 12200721421 016460 x ustar 00 0000000 0000000 30 mtime=1375970065.567120701 30 atime=1375970065.567120701 30 ctime=1375970065.567120701 Petal-2.23/t/data/locale/es/ 0000755 0001750 0000144 00000000000 12200721421 015666 5 ustar 00nine users 0000000 0000000 Petal-2.23/t/data/locale/es/PaxHeaders.12235/LC_MESSAGES 0000644 0001750 0000144 00000000132 12200721421 020245 x ustar 00 0000000 0000000 30 mtime=1375970065.581121305 30 atime=1375970065.567120701 30 ctime=1375970065.581121305 Petal-2.23/t/data/locale/es/LC_MESSAGES/ 0000755 0001750 0000144 00000000000 12200721421 017453 5 ustar 00nine users 0000000 0000000 Petal-2.23/t/data/locale/es/LC_MESSAGES/PaxHeaders.12235/testdomain.po 0000644 0001750 0000144 00000000074 11714720667 023062 x ustar 00 0000000 0000000 30 atime=1353293027.112685318 30 ctime=1375970065.567120701 Petal-2.23/t/data/locale/es/LC_MESSAGES/testdomain.po 0000644 0001750 0000144 00000000500 11714720667 022201 0 ustar 00nine users 0000000 0000000 msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ASCII\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" msgid "hello, world" msgstr "Hola, Mundo" Petal-2.23/t/data/locale/es/LC_MESSAGES/PaxHeaders.12235/testdomain.mo 0000644 0001750 0000144 00000000074 11714720667 023057 x ustar 00 0000000 0000000 30 atime=1353293027.112685318 30 ctime=1375970065.581121305 Petal-2.23/t/data/locale/es/LC_MESSAGES/testdomain.mo 0000644 0001750 0000144 00000000521 11714720667 022201 0 ustar 00nine users 0000000 0000000 Þ• , <