From 3efb4a540124992a297bdb296a4dc18e61c8ec6e Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 2 May 2013 16:59:54 -0700 Subject: [PATCH] Updated e107 Coding Standard (markdown) --- e107-Coding-Standard.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e107-Coding-Standard.md b/e107-Coding-Standard.md index 3f5019d..9aad155 100644 --- a/e107-Coding-Standard.md +++ b/e107-Coding-Standard.md @@ -73,10 +73,10 @@ Relative paths (e_XXX) to access files from within the code ### Forms Always use e107's form handler for form elements in the front-end. - $frm = e107::getForm(); - $frm->select($name,$value); - $frm->checkbox($name,$value,$checked); - $frm->selectbox($name,$array,$currentValue); // full SELECT tag with OPTIONs. + $frm = e107::getForm(); + $frm->checkbox($name,$value,$checked); + $frm->radio($name,$value,$checked); + $frm->select($name,$array,$currentValue); // full SELECT tag with OPTIONs. $frm->admin_button($name, $value, $action, $label); // $label needed only when different to $value $frm->admin_button('field_name', LAN_UPDATE, 'update');