Remove the validator button at the bottom of each generated page.

* src/plugins/NarrativeWeb.py
	* src/plugins/WebCal.py


svn: r11461
This commit is contained in:
Kees Bakker 2008-12-12 13:22:35 +00:00
parent ed67dab721
commit 992f0534bb
2 changed files with 2 additions and 11 deletions

View File

@ -310,10 +310,6 @@ class BasePage:
text = _CC[copy_nr] % {'gif_fname' : fname} text = _CC[copy_nr] % {'gif_fname' : fname}
of.write('\t<p id="copyright">%s</p>\n' % text) of.write('\t<p id="copyright">%s</p>\n' % text)
of.write('\t<p id="quality"><a href="http://validator.w3.org/check?uri=referer">')
of.write('<img src="http://www.w3.org/Icons/valid-xhtml10" ')
of.write('alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a></p>\n')
of.write('\t\t<div class="fullclear"></div>\n') of.write('\t\t<div class="fullclear"></div>\n')
of.write('</div>\n') of.write('</div>\n')
@ -3043,7 +3039,7 @@ class NavWebOptions(MenuReportOptions):
def add_menu_options(self, menu): def add_menu_options(self, menu):
""" """
Add options to the menu for the web calendar. Add options to the menu for the web site.
""" """
self.__add_report_options(menu) self.__add_report_options(menu)
self.__add_page_generation_options(menu) self.__add_page_generation_options(menu)
@ -3077,7 +3073,7 @@ class NavWebOptions(MenuReportOptions):
self.__filter = FilterOption(_("Filter"), 0) self.__filter = FilterOption(_("Filter"), 0)
self.__filter.set_help( self.__filter.set_help(
_("Select filter to restrict people that appear on calendar")) _("Select filter to restrict people that appear on web site"))
menu.add_option(category_name, "filter", self.__filter) menu.add_option(category_name, "filter", self.__filter)
self.__filter.connect('value-changed', self.__filter_changed) self.__filter.connect('value-changed', self.__filter_changed)

View File

@ -813,11 +813,6 @@ class WebCalReport(Report):
text = "&copy; %s %s" % (self.today.year, self.author) text = "&copy; %s %s" % (self.today.year, self.author)
of.write('\t<p id="copyright">%s</p>\n' % text) of.write('\t<p id="copyright">%s</p>\n' % text)
of.write('\t<p id="quality"><a href="http://validator.w3.org/check?uri=referer">')
of.write('<img src="http://www.w3.org/Icons/valid-xhtml10" ')
of.write('alt="Valid XHTML 1.0 Transitional" height="31" width="88" />')
of.write('</a></p>\n')
of.write('</div>\n') of.write('</div>\n')
of.write('</body>\n') of.write('</body>\n')
of.write('</html>\n') of.write('</html>\n')