Index: templates/all/www/phpt_edit.tpl.php =================================================================== RCS file: /repository/docweb/templates/all/www/phpt_edit.tpl.php,v retrieving revision 1.1 diff -u -r1.1 phpt_edit.tpl.php --- templates/all/www/phpt_edit.tpl.php 3 Oct 2006 23:22:29 -0000 1.1 +++ templates/all/www/phpt_edit.tpl.php 11 Jan 2007 23:14:39 -0000 @@ -1,11 +1,10 @@ Error: -$error; -

&docweb.phpt.return; -HTML; +'.$error.' +

&docweb.phpt.return;'; return; } @@ -16,29 +15,32 @@ echo '

&docweb.phpt.edit.ok;

'; } -echo <<&docweb.phpt.edit; -&docweb.phpt.return;
-&docweb.phpt.generate;
+&docweb.phpt.return;
+&docweb.phpt.generate;

&docweb.phpt.edit.title;

- +

&docweb.phpt.edit.skipif;

- +

&docweb.phpt.edit.test;

- +

&docweb.phpt.edit.expected;

- +

&docweb.phpt.edit.approve;

- - -
-HTML; + +'; +if(is_admin()) { + echo ' '; +} +echo ' + '; ?> Index: templates/all/www/phpt_list.tpl.php =================================================================== RCS file: /repository/docweb/templates/all/www/phpt_list.tpl.php,v retrieving revision 1.2 diff -u -r1.2 phpt_list.tpl.php --- templates/all/www/phpt_list.tpl.php 27 Nov 2006 18:50:21 -0000 1.2 +++ templates/all/www/phpt_list.tpl.php 11 Jan 2007 23:14:39 -0000 @@ -6,54 +6,63 @@ $limitError = ''; } -echo <<&docweb.phpt.list;'; -

&docweb.phpt.list;

+if(is_admin()) { + echo ' +&docweb.phpt.import;
'; +} -&docweb.phpt.import;
+echo ' &docweb.phpt.generateall;

- -HTML; + '; if (!empty($tests)) { - echo <<

-

- {$limitError}Stats: $ntotal examples, $napproved approved, $nfilled filled, $nimported imported.
+ '; + + if (is_admin()) { + echo ''; + } + + echo ' +

+ '.$limitError.'Stats: '.$ntotal.' examples, '.$napproved.' approved, '.$nfilled.' filled, '.$nimported.' imported.
- -HTML; + '; foreach ($tests as $test) { - echo << - - - - - -HTML; + echo ' + + + + + + '; } -echo << -
-HTML; +
'; + if (is_admin()) { + echo ''; + } } ?>
&docweb.phpt.list.id; &docweb.phpt.list.location; &docweb.phpt.list.title; &docweb.phpt.list.status;
{$test['id']}{$test['location']}{$test['title_limited']}{$test['status']}
'.$test['id'].''.$test['location'].''.$test['title_limited'].''.$test['status'].'