libhtml.py: rename hmtl.py to libhtml.py and move to plugins/lib
svn: r12381
This commit is contained in:
		@@ -9,7 +9,8 @@ pkgdata_PYTHON = \
 | 
			
		||||
	libcairodoc.py\
 | 
			
		||||
	libgrampsxml.py\
 | 
			
		||||
	libholiday.py\
 | 
			
		||||
	libmapservice.py
 | 
			
		||||
	libmapservice.py \
 | 
			
		||||
    libhtml.py
 | 
			
		||||
 | 
			
		||||
pkgpyexecdir = @pkgpyexecdir@/plugins/lib
 | 
			
		||||
pkgpythondir = @pkgpythondir@/plugins/lib
 | 
			
		||||
 
 | 
			
		||||
@@ -35,6 +35,14 @@ This module exports one class and one function.
 | 
			
		||||
 | 
			
		||||
__all__ = ['Html','newpage']
 | 
			
		||||
 | 
			
		||||
#------------------------------------------------------------------------
 | 
			
		||||
#
 | 
			
		||||
# GRAMPS modules
 | 
			
		||||
#
 | 
			
		||||
#------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
from gen.plug import PluginManager, Plugin
 | 
			
		||||
 | 
			
		||||
#------------------------------------------------------------------------
 | 
			
		||||
#
 | 
			
		||||
# Constants
 | 
			
		||||
@@ -343,3 +351,16 @@ class Html(list):
 | 
			
		||||
        else:
 | 
			
		||||
            self.insert(0, doctype)
 | 
			
		||||
 | 
			
		||||
# ------------------------------------------
 | 
			
		||||
#
 | 
			
		||||
#            Register Plugin
 | 
			
		||||
#
 | 
			
		||||
# -------------------------------------------
 | 
			
		||||
PluginManager.get_instance().register_plugin( 
 | 
			
		||||
Plugin(
 | 
			
		||||
    name = __name__,
 | 
			
		||||
    description = _("Manages an HTML DOM tree."),
 | 
			
		||||
    module_name = __name__ 
 | 
			
		||||
      )
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
@@ -7,8 +7,7 @@ pkgdatadir = $(datadir)/@PACKAGE@/plugins/webreport
 | 
			
		||||
 | 
			
		||||
pkgdata_PYTHON = \
 | 
			
		||||
	NarrativeWeb.py \
 | 
			
		||||
	WebCal.py \
 | 
			
		||||
    html.py
 | 
			
		||||
	WebCal.py
 | 
			
		||||
 | 
			
		||||
pkgpyexecdir = @pkgpyexecdir@/plugins/webreport
 | 
			
		||||
pkgpythondir = @pkgpythondir@/plugins/webreport
 | 
			
		||||
 
 | 
			
		||||
@@ -68,7 +68,7 @@ from DateHandler import displayer as _dd
 | 
			
		||||
from DateHandler import parser as _dp
 | 
			
		||||
 | 
			
		||||
import libholiday
 | 
			
		||||
from html import Html, newpage
 | 
			
		||||
from libhtml import Html, newpage
 | 
			
		||||
 | 
			
		||||
#------------------------------------------------------------------------
 | 
			
		||||
#
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user