Log in with username/password: lyceum/lyceum

Changeset 1216

Show
Ignore:
Timestamp:
10/11/07 03:15:40 (1 year ago)
Author:
jjb
Message:

#834

making blog creation screen sane. still needs work. that whole file is a mess. Thanks Ken Wolcott http://kenwolcott.net/

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0/src/lyceum/wp-register.php

    r1182 r1216  
    101101   <body> 
    102102   <div id="login"> 
    103    <h1><a href="http://lyceum.ibiblio.org/">Lyceum</a></h1> 
    104    <h2><?php _e('Create New Blog') ?></h2> 
    105    You are logged in as: <strong><?php echo $user_login ?></strong> (<a href="login?action=logout">logout</a>)<br/><br/> 
    106    </div> 
    107    <?php if ( isset($errors) ) : ?> 
    108    <div class="error"> 
    109       <ul> 
    110       <?php 
    111       foreach($errors as $error) echo "<li>$error</li>"; 
    112       ?> 
    113       </ul> 
    114    </div> 
    115    <?php endif; ?> 
    116    <form method="post" action="<?php echo WEBROOT ?>/register" id="registerform"> 
    117       <div> 
    118          <input type="hidden" name="action" value="registerNewBlog" /> 
    119          <input type="hidden" name="user_login" id="user_login" value="<?php echo $user_login; ?>" /> 
    120          <input type="hidden" name="user_email" id="user_email" value="<?php echo $user_email; ?>" /> 
     103      <h1><a href="http://lyceum.ibiblio.org/">Lyceum</a></h1> 
     104      <h2><?php _e('Create New Blog') ?></h2> 
     105      You are logged in as: <strong><?php echo $user_login ?></strong> (<a href="login?action=logout">logout</a>)<br/><br/> 
     106      <?php if ( isset($errors) ) : ?> 
     107      <div class="error"> 
     108         <ul> 
     109         <?php 
     110         foreach($errors as $error) echo "<li>$error</li>"; 
     111         ?> 
     112         </ul> 
    121113      </div> 
    122       <div id="blog_name_span"><label for="blog_name"><?php _e('New Blog Name:') ?></label><br /> 
    123          <input type="text" name="blog_name" id="blog_name" size="20" maxlength="100" value="<?php echo $blog_name; ?>" <?php echo SUBDOMAINS ? 'style="text-align: center;"' : ''?>/><br/> 
    124          <div id="blognameMsg" style="float:right"></div> 
    125          <label for="password"><?php _e('Verify your current password:') ?></label><br /> 
    126          <input type="password" name="user_password" id="user_password" size="20" maxlength="30" /> 
    127       </div><br/> 
    128       <p class="submit"><input type="submit" value="<?php _e('Register') ?> &raquo;" id="submit" name="submit" /></p> 
    129    </form> 
     114      <?php endif; ?> 
     115      <form method="post" action="<?php echo WEBROOT ?>/register" id="registerform"> 
     116         <div> 
     117            <input type="hidden" name="action" value="registerNewBlog" /> 
     118            <input type="hidden" name="user_login" id="user_login" value="<?php echo $user_login; ?>" /> 
     119            <input type="hidden" name="user_email" id="user_email" value="<?php echo $user_email; ?>" /> 
     120         </div> 
     121         <div id="blog_name_span"><label for="blog_name"><?php _e('New Blog Name:') ?></label><br /> 
     122            <input type="text" name="blog_name" id="blog_name" size="20" maxlength="100" value="<?php echo $blog_name; ?>" <?php echo SUBDOMAINS ? 'style="text-align: center;"' : ''?>/><br/> 
     123            <div id="blognameMsg" style="float:right"></div> 
     124            <label for="password"><?php _e('Verify your current password:') ?></label><br /> 
     125            <input type="password" name="user_password" id="user_password" size="20" maxlength="30" /> 
     126         </div><br/> 
     127         <p class="submit"><input type="submit" value="<?php _e('Register') ?> &raquo;" id="submit" name="submit" /></p> 
     128      </form> 
    130129 
    131130   <script type="text/javascript"> 
     
    161160   --> 
    162161   </script> 
    163    <ul> 
    164       <li><a href="<?php echo LURL; ?>/" title="<?php _e('Are you lost?') ?>">&laquo; <?php _e('Back to front page') ?></a></li> 
    165       <li><a href="profile"><?php _e('View Profile'); ?></a></li> 
    166    </ul> 
     162      <ul> 
     163         <li><a href="<?php echo LURL; ?>/" title="<?php _e('Are you lost?') ?>">&laquo; <?php _e('Back to front page') ?></a></li> 
     164         <li><a href="profile"><?php _e('View Profile'); ?></a></li> 
     165      </ul> 
     166   </div> 
    167167 
    168168   </body> 
Log in with username/password: lyceum/lyceum