Add links to the relevant FAQs, in the same area as the poll creator.

        Patch by denise. 

diffs (29 lines):

diff -r 1b59c132cc37 -r 9765627f0b32 bin/upgrading/en_DW.dat
--- a/bin/upgrading/en_DW.dat   Mon Jun 14 23:28:17 2010 +0800
+++ b/bin/upgrading/en_DW.dat   Tue Jun 15 16:42:32 2010 +0800
@@ -1,4 +1,10 @@
 ;; -*- coding: utf-8 -*-
+
+entryform.htmlfaq=Supported HTML
+
+entryform.htmlfaq.detail=HTML examples
+
+entryform.htmlfaq.site=Site-specific markup tags
 
 entryform.pollcreator=Poll Creator
 
diff -r 1b59c132cc37 -r 9765627f0b32 cgi-bin/DW/Hooks/EntryForm.pm
--- a/cgi-bin/DW/Hooks/EntryForm.pm     Mon Jun 14 23:28:17 2010 +0800
+++ b/cgi-bin/DW/Hooks/EntryForm.pm     Tue Jun 15 16:42:32 2010 +0800
@@ -38,7 +38,10 @@ LJ::Hooks::register_hook( 'entryforminfo
 
     return $make_list->(
         # URL, link text, whether to show or not
-        [ "/poll/create$usejournal", LJ::Lang::ml( 'entryform.pollcreator' ), 
$can_make_poll ]
+        [ "/poll/create$usejournal", LJ::Lang::ml( 'entryform.pollcreator' ), 
$can_make_poll ],
+        [ "/support/faqbrowse?faqid=103", LJ::Lang::ml( 'entryform.htmlfaq' ), 
1 ],
+        [ "/support/faqbrowse?faqid=155", LJ::Lang::ml( 
'entryform.htmlfaq.detail' ), 1 ],
+        [ "/support/faqbrowse?faqid=82", LJ::Lang::ml( 
'entryform.htmlfaq.site' ), 1 ],
     );
     
 } );
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to