summaryrefslogtreecommitdiffstats
path: root/silpa/silpa.py
diff options
context:
space:
mode:
authorSanthosh Thottingal <santhosh.thottingal@gmail.com>2009-03-24 22:58:13 +0530
committerSanthosh Thottingal <santhosh.thottingal@gmail.com>2009-03-24 22:58:13 +0530
commit8ce8904c7366944801f426af20dec665a2f410cf (patch)
treeabaf461423ec91606173fa4d5c968e072ae69ac7 /silpa/silpa.py
parent8de2fcccd538d72730a4b34cf75f1b44294f8435 (diff)
downloadRachana.git-8ce8904c7366944801f426af20dec665a2f410cf.tar.gz
Rachana.git-8ce8904c7366944801f426af20dec665a2f410cf.tar.xz
Rachana.git-8ce8904c7366944801f426af20dec665a2f410cf.zip
Hyphenator module-adding to base template
Diffstat (limited to 'silpa/silpa.py')
-rwxr-xr-x[-rw-r--r--]silpa/silpa.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/silpa/silpa.py b/silpa/silpa.py
index a658877..377f1bc 100644..100755
--- a/silpa/silpa.py
+++ b/silpa/silpa.py
@@ -21,6 +21,10 @@ def index(form):
response.setBreadcrumb(action)
ldetector=LangDetect()
response. setContent(ldetector.process(form))
+ if(action=="Hyphenate"):
+ response.setBreadcrumb(action)
+ hyphenator=Hyphenate()
+ response. setContent(hyphenator.process(form))
response.setBreadcrumb("Coming Soon")
response.setContent("Not implemented in current version...!")
return response.toString();