JomSocial signup page


/ Published in: PHP
Save to your folder(s)

/public_html/components/com_community/templates/default/frontpage.guests.php


Copy this code and paste it in your HTML
  1. <?php
  2. /**
  3.  * @package JomSocial
  4.  * @subpackage Template
  5.  * @copyright (C) 2008 by Slashes & Dots Sdn Bhd - All rights reserved!
  6.  * @license GNU/GPL, see LICENSE.php
  7.  *
  8.  */
  9. defined('_JEXEC') or die();
  10. ?>
  11. <div class="greybox">
  12. <div>
  13. <div>
  14. <div id="SignUpBg" class="cFrontpageSignup">
  15.  
  16. <!-- Start the Intro text -->
  17. <div class="cFrontPageLeft">
  18. <div class="introduction">
  19. <?php if ($usersConfig->get('allowUserRegistration')) : ?>
  20. <div class="joinbutton">
  21. <a id="joinButton" href="<?php echo CRoute::_( 'index.php?option=com_community&view=register' , false ); ?>" title="<?php echo JText::_('COM_COMMUNITY_JOIN_US_NOW'); ?>">
  22. <?php echo JText::_('COM_COMMUNITY_JOIN_US_NOW'); ?>
  23. </a>
  24. </div>
  25. <?php endif; ?>
  26. </div>
  27. </div>
  28. <!-- End Intro text -->
  29.  
  30. <!-- Start the Login Form -->
  31. <div class="cFrontPageRight">
  32. <div class="loginform">
  33. <form action="<?php echo CRoute::getURI();?>" method="post" name="login" id="form-login" >
  34. <h2><?php echo JText::_('COM_COMMUNITY_MEMBER_LOGIN'); ?></h2>
  35. <label>
  36. <?php echo JText::_('COM_COMMUNITY_USERNAME'); ?><br />
  37. <input type="text" class="inputbox frontlogin" name="username" id="username" />
  38. </label>
  39.  
  40. <label>
  41. <?php echo JText::_('COM_COMMUNITY_PASSWORD'); ?><br />
  42. <input type="password" class="inputbox frontlogin" name="<?php echo COM_USER_PASSWORD_INPUT;?>" id="password" />
  43. </label>
  44.  
  45. <?php if(JPluginHelper::isEnabled('system', 'remember')) : ?>
  46. <label for="remember">
  47. <input type="checkbox" alt="<?php echo JText::_('COM_COMMUNITY_REMEMBER_MY_DETAILS'); ?>" value="yes" id="remember" name="remember"/>
  48. <?php echo JText::_('COM_COMMUNITY_REMEMBER_MY_DETAILS'); ?>
  49. </label>
  50. <?php endif; ?>
  51.  
  52. <div style="text-align: center; padding: 10px 0 5px;">
  53. <input type="submit" value="<?php echo JText::_('COM_COMMUNITY_LOGIN_BUTTON');?>" name="submit" id="submit" class="button" />
  54. <input type="hidden" name="option" value="<?php echo COM_USER_NAME;?>" />
  55. <input type="hidden" name="task" value="<?php echo COM_USER_TAKS_LOGIN;?>" />
  56. <input type="hidden" name="return" value="<?php echo $return; ?>" />
  57. <?php echo JHTML::_( 'form.token' ); ?>
  58. </div>
  59.  
  60. <span>
  61. <a href="<?php echo CRoute::_( 'index.php?option='.COM_USER_NAME.'&view=reset' ); ?>" class="login-forgot-password"><span><?php echo JText::_('COM_COMMUNITY_FORGOT_YOUR'). ' '. JText::_('COM_COMMUNITY_PASSWORD').'?'; ?></span></a><br />
  62. <a href="<?php echo CRoute::_( 'index.php?option='.COM_USER_NAME.'&view=remind' ); ?>" class="login-forgot-username"><span><?php echo JText::_('COM_COMMUNITY_FORGOT_YOUR'). ' '. JText::_('COM_COMMUNITY_USERNAME').'?'; ?></span></a>
  63. </span>
  64.  
  65. <?php if ($useractivation) { ?>
  66. <br />
  67. <a href="<?php echo CRoute::_( 'index.php?option=com_community&view=register&task=activation' ); ?>" class="login-forgot-username">
  68. <span><?php echo JText::_('COM_COMMUNITY_RESEND_ACTIVATION_CODE'); ?></span>
  69. </a>
  70. <?php } ?>
  71. </form>
  72.  
  73. <?php echo $fbHtml;?>
  74.  
  75. </div>
  76. </div>
  77. <!-- End the Login form -->
  78.  
  79. <div class="jsClr"></div>
  80. </div>
  81. </div>
  82. </div>
  83. </div>

URL: /public_html/components/com_community/templates/default/frontpage.guests.php

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.