Sure. Below is the editprofile.tpl.php file. The original table based layout
is commented out in the first section, the new div based layout is below.
Thanks for taking a look!
<?php$this->includeTemplate($GLOBALS['top_include']);?><!--<form action="<?phpecho$formaction;?>" method="post"><input type="hidden" name="token" value="<?phpecho$token;?>"/><h3><?phpechoT_('General Account Details');?></h3><table class="profile"><tr> <th align="left"><?phpechoT_('Username');?></th> <td><?phpecho$user;?></td> <td></td></tr><tr> <th align="left"><?phpechoT_('First Name');?></th> <td><input type="text" name="firstName" size="75" value="<?phpechofilter($objectUser->getfirstName(),'xml');?>" /></td> <td>← <?phpechoT_('Required');?></td></tr><tr> <th align="left"><?phpechoT_('Last Name');?></th> <td><input type="text" name="lastName" size="75" value="<?phpechofilter($objectUser->getLastName(),'xml');?>" /></td> <td>← <?phpechoT_('Required');?></td></tr><tr> <th align="left"><?phpechoT_('Your City');?></th> <td><input type="text" name="city" size="75" value="<?phpechofilter($objectUser->getCity(),'xml');?>" /></td> <td>← <?phpechoT_('Required');?></td></tr><tr> <th align="left"><?phpechoT_('New Password');?></th> <td><input type="password" name="pPass" size="20" /></td> <td></td></tr><tr> <th align="left"><?phpechoT_('Confirm Password');?></th> <td><input type="password" name="pPassConf" size="20" /></td> <td></td></tr><tr> <th align="left"><?phpechoT_('E-mail');?></th> <td><input type="text" name="pMail" size="75" value="<?phpechofilter($objectUser->getEmail(),'xml');?>" /></td> <td>← <?phpechoT_('Required');?></td></tr></table><h3><?phpechoT_('Extended Details');?></h3><table class="profile"><tr> <th align="left"><?phpechoT_('Name');?></th> <td><input type="text" name="pName" size="75" value="<?phpechofilter($objectUser->getName(),'xml');?>" /></td></tr><tr> <th align="left"><?phpechoT_('Homepage');?></th> <td><input type="text" name="pPage" size="75" value="<?phpechofilter($objectUser->getHomepage());?>" /></td></tr><tr> <th align="left"><?phpechoT_('Description');?></th> <td><textarea name="pDesc" cols="75" rows="10"><?phpecho$objectUser->getContent();?></textarea></td></tr><tr> <th align="left"><?phpechoT_('Upload File');?></th> <td><input type="file" name="pPic" size="" value="<?phpechofilter($objectUser->getHomepage());?>" /></td></tr><tr> <th></th> <td><input type="submit" name="submitted" value="<?phpechoT_('Save Changes');?>" /></td></tr></table><?phpinclude'editprofile-sslclientcerts.tpl.php';?><h3><?phpechoT_('Actions');?></h3><table class="profile"><tr> <th align="left"><?phpechoT_('Export bookmarks');?></th> <td> <a href="../api/export_html.php"><?phpechoT_('HTML file (for browsers)')?></a> / <a href="../api/posts_all.php"><?phpechoT_('XML file (like del.icio.us)')?></a> / <a href="../api/export_csv.php"><?phpechoT_('CSV file (for spreadsheet tools)')?></a> </td></tr><tr><th> </th><td> </td></tr><tr><th> </th><td> </td></tr></table></form> --><!--This is what is giving me the error. The data is the "values" pulls for the db successfully, I only see the error on submit --><formaction="<?phpecho$formaction;?>"method="post"><inputtype="hidden"name="token"value="<?phpecho$token;?>"/><divclass="profile"><h3><?phpechoT_('General Account Details');?></h3><div><labelfor="user"><?phpechoT_('Username');?></label><inputtype="text"id="user"value="<?phpecho$user;?>"disabled="true"/></div><div><labelfor="firstName"><?phpechoT_('Your First Name');?></label><inputtype="text"id="firstName"value="<?phpechofilter($objectUser->getFirstName(),'xml');?>"/></div><div><labelfor="lastName"><?phpechoT_('Your Last Name');?></label><inputtype="text"id="lastName"value="<?phpechofilter($objectUser->getLastName(),'xml');?>"/></div><div><labelfor="city"><?phpechoT_('Your City');?></label><inputtype="text"id="city"value="<?phpechofilter($objectUser->getCity(),'xml');?>"/></div><div><labelfor="password"><?phpechoT_('New Password');?></label><inputtype="password"id="pPass"value=""/></div><div><labelfor="password"><?phpechoT_('Confirm Password');?></label><inputtype="password"id="pPassConf"value=""/></div><div><spanclass="label">email:</span><inputtype="text"id="pMail"size=""value="<?phpechofilter($objectUser->getEmail(),'xml');?>"/></div></div><!--This ends the main profile div --><divclass="extended profile"><h3><?phpechoT_('Extra details');?></h3><div><labelfor="welcomeMessage"><?phpechoT_('Welcome Message');?></label><textareaid="welcomeMessage"rows="2"cols="25"></textarea></div><div><labelfor="pFIle"><?phpechoT_('Upload ');?></label><inputtype="file"id="pFile"value=""/></div><div><labelfor="detailedInfo"><?phpechoT_('Detailed Information');?></label><textareaid="detailedInfo"rows="auto"cols="25"></textarea></div><div><labelfor="pPic"><?phpechoT_('Upload Photo Album Pics');?></label><inputtype="file"id="Album1"value=""/><inputtype="file"id="Album2"value=""/><inputtype="file"id="Album3"value=""/><inputtype="file"id="Album4"value=""/><inputtype="file"id="Album5"value=""/><inputtype="file"id="Album6"value=""/></div><div><labelfor="comments">Sex:</label>
Male: <inputtype="radio"name="sex"/> Female: <inputtype="radio"name="sex"/><br/></div><div><labelfor="comments">Hobbies:</label><inputtype="checkbox"name="hobby"/> Tennis<br/><inputtype="checkbox"name="hobby"class="threepxfix"/> Reading <br/><inputtype="checkbox"name="hobby"class="threepxfix"/> Basketball <br/></div><div><labelfor="comments">More options:</label><inputtype="checkbox"name="hobby"/> Tennis<br/><inputtype="checkbox"name="hobby"class="threepxfix"/> Reading <br/><inputtype="checkbox"name="hobby"class="threepxfix"/> Basketball <br/></div><div><labelfor="terms">Agree to Terms?</label><inputtype="checkbox"id="terms"class="boxes"/></div><div><inputtype="submit"name="submitted"value="<?phpechoT_('Save Changes');?>"/></div><h3><?phpechoT_('Actions');?></h3><div><ahref="../api/export_html.php"><?phpechoT_('HTML file (for browsers)')?></a> /
<?phpinclude'editprofile-sslclientcerts.tpl.php';?></div></div><!--End of the extended profile section --></form><?php$this->includeTemplate($GLOBALS['bottom_include']);?>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sure. Below is the editprofile.tpl.php file. The original table based layout
is commented out in the first section, the new div based layout is below.
Thanks for taking a look!