summaryrefslogtreecommitdiff
path: root/themes/default/views/form.html.php
AgeCommit message (Collapse)Author
2008-12-07Move form.html.php from themes/default/views to core/viewsTim Almdal
2008-12-07Changed how drawForms handles hidden fields. I make the assumption that ↵Tim Almdal
hidden fields will never have an error or label so rather then recursing to draw the hidden fields, we just render them. Also moved the hidden fields outside the <ul>.
2008-12-071) Revert the changes to Form_Upload and Form_Textarea, so we don't have to ↵Tim Almdal
change third party code. 2) Change drawForm to check for a non empty $input->class in order to determime if the element should be wrapped in <li>...</li>. If $input->class is empty then treat as a hidden field.
2008-11-28Move the form drawing code back into form.html.php -- I'm going toBharat Mediratta
take a shot at fixing it up in the view file so that it's mostly HTML, not mostly PHP. If that fails, I'll move it back into a helper.
2008-11-27Create a form_helper class containing the function Draw_Form so we don't ↵Tim Almdal
have to always check to see if the DrawForm method is already defined in pages that could have multiple forms.
2008-11-271) Create a Theme_View class that combines the functionality of the Theme ↵Tim Almdal
class with the View class. 2) Only define the form.html.php::DrawForm method once if there are multiple forms on the page (i.e. comments and add tags)
2008-11-27Don't wrap hidden elements in list itemsBharat Mediratta
2008-11-16prevent direct access. take 2Felix Rabinovich
2008-11-16prevent direct accessFelix Rabinovich
2008-11-15Initial add comment implementation.Jozef Selesi
2008-11-15Show per-field error messages inline againBharat Mediratta
2008-11-15Revise the user login code.Bharat Mediratta
* Remove user registration link and popup from the theme; this shouldn't be done in a popup. Use ajaxform to simplify the way that we load the login popup. * Create form.html.php, this is a template for Forge based forms. * Move user validation rules into User_Model and let forms populate the rules into their forms as useful. * Undo r18688's changes regarding the REST code. We should never accept a null resource, this breaks the REST abstraction. * Change login and user controllers to use Forge which lets us delete login.html.php and user.html.php since those now are generated by the theme-owned form template