Permalink
Browse files

removing remaining HTML::Template based templates as they were not us…

…ed any more
  • Loading branch information...
1 parent f9eacb7 commit 908664b02f22f249307935f6f7b81d8c95e712a4 @szabgab committed Jan 18, 2010
Showing with 1 addition and 161 deletions.
  1. +0 −1 Build.PL
  2. +1 −1 Changes
  3. +0 −42 templates/footer.tmpl
  4. +0 −16 templates/head.tmpl
  5. +0 −5 templates/link_to_dist.tmpl
  6. +0 −26 templates/listing.tmpl
  7. +0 −53 templates/navigation.tmpl
  8. +0 −16 templates/search_form.tmpl
  9. +0 −1 tt/pages/about.tt
View
@@ -34,7 +34,6 @@ my $builder = Module::Build->new(
'File::HomeDir' => '0',
'File::Path' => '0',
'File::Temp' => '0',
- 'HTML::Template' => 2.6,
'List::MoreUtils' => 0,
'LWP::Simple' => 0, # for populate
'Mail::Sendmail' => 0,
View
@@ -1,4 +1,4 @@
- Converting more pages to Template Toolkit
+ Converting all the pages to Template Toolkit
Removing all the log->debug calls
Changing the logging of warnings and errors to go to STDERR
View
@@ -1,42 +0,0 @@
-<TMPL_INCLUDE name="navigation.tmpl">
-
-<div class="left_footer">
- Service launched on 2nd of February 2005.<br />
- Comments, and other submissions on CPAN Forum are Copyright 2005-2010, their respective owners.<br />
- Site maintainer is not responsible for content.
- <a href="/privacy_policy">Privacy Policy</a>
-</div>
-<!--
-<p>
- <a href="http://validator.w3.org/check?uri=referer"><img
- src="http://www.w3.org/Icons/valid-xhtml10"
- alt="Valid XHTML 1.0!" height="31" width="88" /></a>
- <a href="http://jigsaw.w3.org/css-validator/"><img
- style="border:0;width:88px;height:31px"
- src="http://jigsaw.w3.org/css-validator/images/vcss"
- alt="Valid CSS!" /></a>
-</p>
--->
-<div class="right_footer">
-Maintained by <a href="http://szabgab.com/">Gabor Szabo</a> and hosted on the
-servers of <a href="http://m5hosting.com/">M5 hosting</a>.<br />
-<a href="http://pti.co.il/"><img src="/img/pti-round-80.jpg" alt="Perl Training Israel" /></a>
-See also <a href="http://perltraining.org/">World Wide Perl Training</a>
-</div>
-
-<TMPL_UNLESS dev_server>
-<!-- Google Analytics -->
-<script type="text/javascript">
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-</script>
-<script type="text/javascript">
-try {
-var pageTracker = _gat._getTracker("UA-12199211-5");
-pageTracker._trackPageview();
-} catch(err) {}</script>
-<!-- Google end -->
-</TMPL_UNLESS>
-
-</body>
-</html>
View
@@ -1,16 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
-<head>
- <title><TMPL_IF title><TMPL_VAR title><TMPL_ELSE>CPAN Forum</TMPL_IF></title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <link rel="stylesheet" href="/style.css" type="text/css" />
-</head>
-
-<body>
-<TMPL_IF test_site_warning>
-<p class="warning">Warning: this is a test site, the data here will be deleted.<br />
-For real use, please visit the <a href="http://cpanforum.com/">the live site</a>.</p>
-</TMPL_IF>
-
-<p id="pageHeader">CPAN::Forum</p>
-
@@ -1,5 +0,0 @@
-<div class="links">
- <b><a href="/dist/<TMPL_VAR group>"><TMPL_VAR group></a></b>
-</div>
-
-
@@ -1,26 +0,0 @@
-<TMPL_IF messages>
-<table class="posts">
- <tr class="posts_head">
- <TMPL_UNLESS hide_group><th class="col1">Module</th></TMPL_UNLESS>
- <th class="col2">Title</th>
- <th class="col3">Thread</th>
- <th class="col4">Date</th>
- <TMPL_UNLESS hide_username><th class="col5">Posted by</th></TMPL_UNLESS>
- </tr>
-<TMPL_LOOP messages>
- <tr class="<TMPL_IF NAME="__odd__">odd<TMPL_ELSE>even</TMPL_IF>">
- <TMPL_UNLESS hide_group><td class="col1"><a href="/dist/<TMPL_VAR group>"><TMPL_VAR group></a></td></TMPL_UNLESS>
- <td class="col2"><a href="/posts/<TMPL_VAR id>"><TMPL_VAR subject></a></td>
- <td class="col3"><TMPL_IF thread><a href="/threads/<TMPL_VAR thread_id>">(+<TMPL_VAR thread_count>)</a></TMPL_IF></td>
- <td class="col4"><TMPL_VAR date></td>
- <TMPL_UNLESS hide_username><td class="col5"><a href="/users/<TMPL_VAR postername>"><TMPL_VAR postername></a></td></TMPL_UNLESS>
- </tr>
-</TMPL_LOOP>
-</table>
-<TMPL_IF first_page> <a href="?page=<TMPL_VAR first_page>">first page</a> | </TMPL_IF>
-<TMPL_IF previous_page><a href="?page=<TMPL_VAR previous_page>">previous page</a> | </TMPL_IF>
-<TMPL_VAR first_entry> - <TMPL_VAR last_entry> messages in a total of <TMPL_VAR total>
-<TMPL_IF next_page> | <a href="?page=<TMPL_VAR next_page>">next page</a></TMPL_IF>
-<TMPL_IF last_page> | <a href="?page=<TMPL_VAR last_page>">last page</a></TMPL_IF>
-
-</TMPL_IF>
@@ -1,53 +0,0 @@
-<div class="navigation">
-[
- <a href="/">home</a>
- | <a href="/faq/">FAQ</a>
- | <a href="/about/">about</a>
- | <a href="/stats/">stats</a>
- | <a href="/new_post/<TMPL_VAR group>">new post</a>
- <TMPL_IF loggedin>
- | You are logged in as <a href="/users/<TMPL_VAR username>"><TMPL_VAR username></a>
- | <a href="/mypan/">mypan</a>
- | <a href="/tags/user/<TMPL_VAR username>">my tags</a>
- | <a href="/selfconfig/">selfconfig</a>
- | <a href="/logout/">logout</a>
- <TMPL_IF admin>
- | <a href="/admin/">admin</a>
- </TMPL_IF>
- <TMPL_ELSE>
- | <a href="/login/">login</a>
- | <a href="/register/">register</a>
- </TMPL_IF>
- | <a href="/tags/">tags</a>
-]
-
-<TMPL_UNLESS dev_server>
-<div class="perlads">
-<script type="text/javascript" src="http://adserver.szabgab.com/ads/direct_link_selflink.js?cnt=2"></script>
-</div>
-</TMPL_UNLESS>
-
-<div class="perlads">
-<a href="http://padre.perlide.org/">Download Padre, the Perl IDE</a>
-| <a href="http://m5hosting.com/"> Recommended web hosting by M5 hosting</a>
-| Ask for help on the Perl community IRC channel <a href="http://webchat.freenode.net/?channels=perl">#perl on irc.freenode.net</a>
-<!-- &nick=<TMPL_VAR mibbit> -->
-</div>
-
-<TMPL_UNLESS dev_server>
-<!-- Google AdSense starts -->
-<script type="text/javascript"><!--
-google_ad_client = "pub-7760157643054954";
-/* 468x60, created 12/30/09 */
-google_ad_slot = "1789338915";
-google_ad_width = 468;
-google_ad_height = 60;
-//-->
-</script>
-<script type="text/javascript"
-src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
-</script>
-<!-- Google AdSense ends -->
-</TMPL_UNLESS>
-
-</div>
@@ -1,16 +0,0 @@
-<form method="post" action="/search/">
-<p>
-<input type="hidden" name="rm" value="search" />
-<select name="what">
-<option value="module" <TMPL_IF module> selected="selected"</TMPL_IF>>Modules by name</option>
-<option value="pauseid" <TMPL_IF pauseid> selected="selected"</TMPL_IF>>Modules by PAUSEID</option>
-<option value="user" <TMPL_IF user> selected="selected"</TMPL_IF>>Users by name</option>
-<option value="subject" <TMPL_IF subject>selected="selected"</TMPL_IF>>Posts by text in subject</option>
-<option value="text" <TMPL_IF text> selected="selected"</TMPL_IF>>Posts by text in body</option>
-</select>
-<input name="name" value="<TMPL_VAR name>" />
-<input type="submit" value="Search" />
-</p>
-</form>
-
-
View
@@ -28,7 +28,6 @@
<li><a href="/dist/CGI-Application-Plugin-TT">CGI::Application::Plugin::TT</a></li>
<li><a href="/dist/Template">Template Toolkit</a></li>
<li><a href="/dist/CGI-Session">CGI::Session</a></li>
- <li><a href="/dist/HTML-Template">HTML::Template</a></li>
<li><a href="/dist/autodie">autodie</a></li>
<li><a href="/dist/DBI">DBI</a></li>
<li><a href="/dist/DBD-Pg">DBD::Pg</a> PostgreSQL</li>

0 comments on commit 908664b

Please sign in to comment.