Development

Changeset 6012

You must first sign up to be able to contribute.

Changeset 6012

Show
Ignore:
Timestamp:
11/14/07 11:38:40 (1 year ago)
Author:
fabien
Message:

fixed templates of login & secure actions of default module are exchanged (closes #2536)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/data/modules/default/templates/loginSuccess.php

    r3313 r6012  
    22 
    33<div class="sfTMessageContainer sfTLock">  
    4   <?php echo image_tag('/sf/sf_default/images/icons/lock48.png', array('alt' => 'credentials required', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?> 
     4  <?php echo image_tag('/sf/sf_default/images/icons/lock48.png', array('alt' => 'login required', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?> 
    55  <div class="sfTMessageWrap"> 
    6     <h1>Credentials Required</h1> 
    7     <h5>This page is in a restricted area.</h5> 
     6    <h1>Login Required</h1> 
     7    <h5>This page is not public.</h5> 
    88  </div> 
    99</div> 
    1010<dl class="sfTMessageInfo"> 
    11   <dt>You do not have the proper credentials to access this page</dt> 
    12   <dd>Even though you are already logged in, this page requires special credentials that you currently don't have. </dd> 
     11  <dt>How to access this page</dt> 
     12  <dd>You must proceed to the login page and enter your id and password.</dd> 
    1313 
    14   <dt>How to access this page</dt> 
    15   <dd>You must ask a site administrator to grant you some special credentials.</dd> 
    16  
    17   <dt>What's next</dt> 
     14  <dt>What's Next</dt> 
    1815  <dd> 
    1916    <ul class="sfTIconList"> 
     17      <li class="sfTLinkMessage"><?php echo link_to('Proceed to login', sfConfig::get('sf_login_module').'/'.sfConfig::get('sf_login_action')) ?></li> 
    2018      <li class="sfTLinkMessage"><a href="javascript:history.go(-1)">Back to previous page</a></li> 
    2119    </ul> 
  • trunk/data/modules/default/templates/secureSuccess.php

    r3313 r6012  
    22 
    33<div class="sfTMessageContainer sfTLock">  
    4   <?php echo image_tag('/sf/sf_default/images/icons/lock48.png', array('alt' => 'login required', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?> 
     4  <?php echo image_tag('/sf/sf_default/images/icons/lock48.png', array('alt' => 'credentials required', 'class' => 'sfTMessageIcon', 'size' => '48x48')) ?> 
    55  <div class="sfTMessageWrap"> 
    6     <h1>Login Required</h1> 
    7     <h5>This page is not public.</h5> 
     6    <h1>Credentials Required</h1> 
     7    <h5>This page is in a restricted area.</h5> 
    88  </div> 
    99</div> 
    1010<dl class="sfTMessageInfo"> 
     11  <dt>You do not have the proper credentials to access this page</dt> 
     12  <dd>Even though you are already logged in, this page requires special credentials that you currently don't have. </dd> 
     13 
    1114  <dt>How to access this page</dt> 
    12   <dd>You must proceed to the login page and enter your id and password.</dd> 
     15  <dd>You must ask a site administrator to grant you some special credentials.</dd> 
    1316 
    14   <dt>What's Next</dt> 
     17  <dt>What's next</dt> 
    1518  <dd> 
    1619    <ul class="sfTIconList"> 
    17       <li class="sfTLinkMessage"><?php echo link_to('Proceed to login', sfConfig::get('sf_login_module').'/'.sfConfig::get('sf_login_action')) ?></li> 
    1820      <li class="sfTLinkMessage"><a href="javascript:history.go(-1)">Back to previous page</a></li> 
    1921    </ul>