David Rees wrote:
On Dec 7, 2007 11:33 AM, Kyle Johnson <[EMAIL PROTECTED]> wrote:
I've completed Feature Request #000022.
Should I send in a patch, or do I apply to CVS, or what?

I would recommend sending a patch to the list for review.

-Dave
Attached is my .patch file. I've never made a patch before, so let me know if I did it wrong (probably something with paths).

--Kyle Johnson
diff -r dspam/webui/cgi-bin/admin.cgi webui/cgi-bin/admin.cgi
97a98,102
> # Display Dspam Version
> #
> $DATA{'DSPAMVERSION'} = "Version " . `$CONFIG{'DSPAM'} --version | grep Suite | cut -d " " -f4`;
> 
> #
Only in dspam/webui/cgi-bin: .cvsignore
diff -r dspam/webui/cgi-bin/dspam.cgi webui/cgi-bin/dspam.cgi
124a125,129
> # Display Dspam Version
> #
> $DATA{'DSPAMVERSION'} = "Version " . `$CONFIG{'DSPAM'} --version | grep Suite | cut -d " " -f4`;
> 
> #
Only in dspam/webui/cgi-bin/templates: .cvsignore
diff -r dspam/webui/cgi-bin/templates/nav_admin_error.html webui/cgi-bin/templates/nav_admin_error.html
34,36c34
< <p>
< <a href="http://dspam.nuclearelephant.com";>DSPAM</a> is a registered trademark of <a href="http://www.nuclearelephant.com";>Jonathan A. Zdziarski</a> Copyright &copy; 2005, Jonathan A. Zdziarski
< </p>
---
> $DSPAMVERSION$
diff -r dspam/webui/cgi-bin/templates/nav_admin_preferences.html webui/cgi-bin/templates/nav_admin_preferences.html
121,123c121
< <p>
< <a href="http://dspam.nuclearelephant.com";>DSPAM</a> is a registered trademark of <a href="http://www.nuclearelephant.com";>Jonathan A. Zdziarski</a> Copyright &copy; 2005, Jonathan A. Zdziarski
< </p>
---
> $DSPAMVERSION$
diff -r dspam/webui/cgi-bin/templates/nav_admin_status.html webui/cgi-bin/templates/nav_admin_status.html
114,116c114
< <p>
< <a href="http://dspam.nuclearelephant.com";>DSPAM</a> is a registered trademark of <a href="http://www.nuclearelephant.com";>Jonathan A. Zdziarski</a> Copyright &copy; 2005, Jonathan A. Zdziarski
< </p>
---
> $DSPAMVERSION$
diff -r dspam/webui/cgi-bin/templates/nav_admin_user.html webui/cgi-bin/templates/nav_admin_user.html
55,57c55
< <p>
< <a href="http://dspam.nuclearelephant.com";>DSPAM</a> is a registered trademark of <a href="http://www.nuclearelephant.com";>Jonathan A. Zdziarski</a> Copyright &copy; 2005, Jonathan A. Zdziarski
< </p>
---
> $DSPAMVERSION$
diff -r dspam/webui/cgi-bin/templates/nav_alerts.html webui/cgi-bin/templates/nav_alerts.html
49,51c49
< <p>
< <a href="http://dspam.nuclearelephant.com";>DSPAM</a> is a registered trademark of <a href="http://www.nuclearelephant.com";>Jonathan A. Zdziarski</a> Copyright &copy; 2005, Jonathan A. Zdziarski
< </p>
---
> $DSPAMVERSION$
diff -r dspam/webui/cgi-bin/templates/nav_analysis.html webui/cgi-bin/templates/nav_analysis.html
49,51c49
< <p>
< <a href="http://dspam.nuclearelephant.com";>DSPAM</a> is a registered trademark of <a href="http://www.nuclearelephant.com";>Jonathan A. Zdziarski</a>. Copyright &copy; 2002-2006, Jonathan A. Zdziarski
< </p>
---
> $DSPAMVERSION$
diff -r dspam/webui/cgi-bin/templates/nav_error.html webui/cgi-bin/templates/nav_error.html
37,39c37
< <p>
< <a href="http://dspam.nuclearelephant.com";>DSPAM</a> is a registered trademark of <a href="http://www.nuclearelephant.com";>Jonathan A. Zdziarski</a>. Copyright &copy; 2005, Jonathan A. Zdziarski
< </p>
---
> $DSPAMVERSION$
diff -r dspam/webui/cgi-bin/templates/nav_history.html webui/cgi-bin/templates/nav_history.html
62,64c62
< <p>
< <a href="http://dspam.nuclearelephant.com";>DSPAM</a> is a registered trademark of <a href="http://www.nuclearelephant.com";>Jonathan A. Zdziarski</a> Copyright &copy; 2005, Jonathan A. Zdziarski
< </p>
---
> $DSPAMVERSION$
diff -r dspam/webui/cgi-bin/templates/nav_performance.html webui/cgi-bin/templates/nav_performance.html
106,108c106
< <p>
< <a href="http://dspam.nuclearelephant.com";>DSPAM</a> is a registered trademark of <a href="http://www.nuclearelephant.com";>Jonathan A. Zdziarski</a>. Copyright &copy; 2005, Jonathan A. Zdziarski
< </p>
---
> $DSPAMVERSION$
diff -r dspam/webui/cgi-bin/templates/nav_preferences.html webui/cgi-bin/templates/nav_preferences.html
115,117c115
< <p>
< <a href="http://dspam.nuclearelephant.com";>DSPAM</a> is a registered trademark of <a href="http://www.nuclearelephant.com";>Jonathan A. Zdziarski</a> Copyright &copy; 2005, Jonathan A. Zdziarski
< </p>
---
> $DSPAMVERSION$
diff -r dspam/webui/cgi-bin/templates/nav_quarantine.html webui/cgi-bin/templates/nav_quarantine.html
81,83c81
< <p>
< <a href="http://dspam.nuclearelephant.com";>DSPAM</a> is a registered trademark of <a href="http://www.nuclearelephant.com";>Jonathan A. Zdziarski</a>. Copyright &copy; 2005, Jonathan A. Zdziarski
< </p>
---
> $DSPAMVERSION$
diff -r dspam/webui/cgi-bin/templates/nav_viewmessage.html webui/cgi-bin/templates/nav_viewmessage.html
51,53c51
< <p>
< <a href="http://dspam.nuclearelephant.com";>DSPAM</a> is a registered trademark of <a href="http://www.nuclearelephant.com";>Jonathan A. Zdziarski</a> Copyright &copy; 2005, Jonathan A. Zdziarski
< </p>
---
> $DSPAMVERSION$
Only in dspam/webui/: .cvsignore
diff -r dspam/webui/htdocs/base.css webui/htdocs/base.css
149,153c149,150
< 	color: #666666;
< }
< #footer p {
< 	color: #666666;
< 	padding: 8px;
---
> 	text-align;center;
> 	font-size:80%;
Only in dspam/webui/htdocs: .cvsignore

Reply via email to