From 84c2d088d3eee490b04c8ed7ce6d2851e30e04c9 Mon Sep 17 00:00:00 2001 From: SjonHortensius Date: Sun, 29 Mar 2015 15:11:03 +0200 Subject: Added bulletpoint about changing backend-code fixes #33 --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 31a973b..b50abb7 100644 --- a/README.md +++ b/README.md @@ -3,13 +3,15 @@ pfSense on bootstrap (") +* use tabs (tabstop=4) for indenting (except the license-header which contains 3 lines that are indented with ```\t```) * no trailing whitespace * limited echoing of HTML from php, please use proper templating syntax instead (eg. foreach/endforeach) -* limited attributes on elements; _no style attributes_ +* limited attributes on elements; so _**no** style/align/width attributes_ * no inline javascript * html attributes should be using double-quoted attribute-values. This means your php-code should probably use single-quoted strings * we use icons for status-indication and buttons for actions +* **do not** refactor any of the 'backend' code that is on top of each file. Only changes necessary after updating are acceptable; any other changes will be rejected (including changes that were done upstream) +* we accepth both [K&R](https://en.wikipedia.org/wiki/Indent_style#K.26R_style) and [ZF](http://framework.zend.com/manual/1.12/en/coding-standard.html) styled code, the above guidelines have a higher precedence If you feel adventurous you can sometimes rewrite some PHP & javascript code as well; but try to keep this to a minimum. -- cgit v1.1