Changeset 66
- Timestamp:
- 2009年02月24日 15时14分11秒 (3 years ago)
- Location:
- trunk/pysvnmanager/hooks/plugins
- Files:
-
- 3 modified
-
CommitLogCheck.py (modified) (1 diff)
-
EmailNotify.py (modified) (1 diff)
-
ReadonlySvnMirror.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pysvnmanager/hooks/plugins/CommitLogCheck.py
r65 r66 99 99 result += "<p><strong>%s</strong></p>" % _("Fill this form") 100 100 result += "<blockquote>" 101 result += " <table class=hidden>"102 result += "\n< tr><td>"101 result += "\n<dl>" 102 result += "\n<dt>" 103 103 result += _("Enable commit log check: ") 104 result += "\n< /td><td>"104 result += "\n<dd>" 105 105 result += "<input type='radio' name='switch' value='yes' " + \ 106 106 enable_checked + ">" + _("Enable") + " " 107 107 result += "<input type='radio' name='switch' value='no' " + \ 108 108 disable_checked + ">" + _("Disable") 109 result += "\n</td></tr>" 110 result += "\n<tr><td>" 109 result += "\n<dt>" 111 110 result += _("Minimal size of commit log: ") 112 result += "\n< /td><td>"111 result += "\n<dd>" 113 112 result += "<input type='text' name='size' size='5' value=\"%s\">" % \ 114 113 webhelpers.util.html_escape(self.get_config(self.key_size)) 115 result += "\n</td></tr>" 116 result += "\n<tr><td>" 114 result += "\n<dt>" 117 115 result += _("Pattern which commit log must match against: ") 118 result += "\n< /td><td>"119 result += "< input type='text' name='permit' size='64' value=\"%s\">" % \120 webhelpers.util.html_escape(self.get_config(self.key_permit))121 result += " \n</td></tr>"122 result += "\n< tr><td>"116 result += "\n<dd>" 117 result += "<textarea name='permit' rows='3' cols='40'>" 118 result += webhelpers.util.html_escape(self.get_config(self.key_permit)) 119 result += "</textarea>" 120 result += "\n<dt>" 123 121 result += _("Pattern which commit log must <b>NOT</b> match against: ") 124 result += "\n< /td><td>"125 result += "< input type='text' name='prohibit' size='64' value=\"%s\">" % \126 webhelpers.util.html_escape(self.get_config(self.key_prohibit))127 result += " \n</td></tr>"128 result += "\n</ table>"122 result += "\n<dd>" 123 result += "<textarea name='prohibit' rows='3' cols='40'>" 124 result += webhelpers.util.html_escape(self.get_config(self.key_prohibit)) 125 result += "</textarea>" 126 result += "\n</dl>" 129 127 result += "</blockquote>" 130 128 return result -
trunk/pysvnmanager/hooks/plugins/EmailNotify.py
r50 r66 113 113 result += "<p><strong>%s</strong></p>" % _("Fill this form") 114 114 result += "<blockquote>" 115 result += "< table class=hidden>"116 result += "\n< tr><td>"115 result += "<dl>" 116 result += "\n<dt>" 117 117 result += _("Enable email notify.") 118 result += "\n< /td><td>"118 result += "\n<dd>" 119 119 result += "<input type='radio' name='switch' value='yes' " + \ 120 120 enable_checked + ">" + _("Enable") + " " 121 121 result += "<input type='radio' name='switch' value='no' " + \ 122 122 disable_checked + ">" + _("Disable") + "<br>" 123 result += "\n</td></tr>" 124 result += "\n<tr><td>" 123 result += "\n<dt>" 125 124 result += _("Input email notify configurations: ") 126 result += "\n< /td><td>"127 result += "< input type='text' name='config' size='64' value=\"%s\">" % \128 webhelpers.util.html_escape(self.get_config(self.key_config))129 result += " \n</td></tr>"130 result += "\n</ table>"125 result += "\n<dd>" 126 result += "<textarea name='config' rows='5' cols='40'>" 127 result += webhelpers.util.html_escape(self.get_config(self.key_config)) 128 result += "</textarea>" 129 result += "\n</dl>" 131 130 result += "</blockquote>" 132 131 return result -
trunk/pysvnmanager/hooks/plugins/ReadonlySvnMirror.py
r65 r66 91 91 result += "<p><strong>%s</strong></p>" % _("Fill this form") 92 92 result += "<blockquote>" 93 result += "< table class=hidden>"94 result += "\n< tr><td>"93 result += "<dl>" 94 result += "\n<dt>" 95 95 result += _("Enable readonly mirror: ") 96 result += "\n< /td><td>"96 result += "\n<dd>" 97 97 result += "<input type='radio' name='switch' value='yes' " + \ 98 98 enable_checked + ">" + _("Enable") + " " 99 99 result += "<input type='radio' name='switch' value='no' " + \ 100 100 disable_checked + ">" + _("Disable") + "<br>" 101 result += "\n</td></tr>" 102 result += "\n<tr><td>" 101 result += "\n<dt>" 103 102 result += _("Svnsync administrator: ") 104 result += "\n< /td><td>"105 result += "<input type='text' name='admin' size=' 64' value='%s'>" % \103 result += "\n<dd>" 104 result += "<input type='text' name='admin' size='18' value='%s'>" % \ 106 105 self.get_config(self.key_admin) 107 result += "\n</td></tr>" 108 result += "\n</table>" 106 result += "\n</dl>" 109 107 result += "</blockquote>" 110 108 return result
![(please configure the [header_logo] section in trac.ini)](/trac/pysvnmanager/chrome/common/trac_banner.png)