Log in with username/password: lyceum/lyceum

Changeset 535

Show
Ignore:
Timestamp:
03/03/06 12:57:50 (3 years ago)
Author:
jjb
Message:

Changing short open tags to full open tags.

Also removed some php that had somehow found itself into non-php files... hmm..

ticket:291

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/lyceum/js/tinymce/themes/advanced/image.htm

    r291 r535  
    2929</head> 
    3030<body onload="tinyMCEPopup.executeOnLoad('init();');document.getElementById('src').focus();" style="display: none"> 
    31 <form onsubmit="insertImage();return false;"><?=bloginput()?><!-- yeah so... this isn't going to work... jjb  --> 
     31<form onsubmit="insertImage();return false;"> 
    3232  <table border="0" cellpadding="0" cellspacing="0" width="200"> 
    3333    <tr> 
  • trunk/src/lyceum/js/tinymce/themes/advanced/link.htm

    r291 r535  
    2929</head> 
    3030<body onload="tinyMCEPopup.executeOnLoad('init();');document.getElementById('href').focus();" style="display: none"> 
    31 <form onsubmit="insertLink();return false;"><?=bloginput()?> 
     31<form onsubmit="insertLink();return false;"> 
    3232  <table border="0" cellpadding="0" cellspacing="0" width="100"> 
    3333    <tr> 
  • trunk/src/lyceum/js/tinymce/themes/advanced/source_editor.htm

    r291 r535  
    2929</head> 
    3030<body onload="tinyMCEPopup.executeOnLoad('onLoadInit();');document.getElementById('htmlSource').focus();" onresize="resizeInputs();" style="display: none"> 
    31    <form name="source" onsubmit="saveContent();" action="#"><?=bloginput()?> 
     31   <form name="source" onsubmit="saveContent();" action="#"> 
    3232      <div style="float: left" class="title">{$lang_theme_code_title}</div> 
    3333 
  • trunk/src/lyceum/portal.php

    r534 r535  
    1616<title>Lyceum</title> 
    1717 
    18 <link rel="stylesheet" href="<?=get_option('siteurl'); ?>/wp-content/themes/default/style.css" type="text/css" media="screen" /> 
     18<link rel="stylesheet" href="<?php echo get_option('siteurl'); ?>/wp-content/themes/default/style.css" type="text/css" media="screen" /> 
    1919 
    2020<style type="text/css" media="screen"> 
    21    body { background: url("<?=get_option('siteurl'); ?>/wp-content/themes/default/kubrickbgcolor.jpg"); }  
    22    #page { background: url("<?=get_option('siteurl'); ?>/wp-content/themes/default/images/kubrickbg.jpg") repeat-y top; border: none; } 
    23    #header { background: url("<?=get_option('siteurl'); ?>/wp-content/themes/default/images/kubrickheader.jpg") no-repeat bottom center; } 
    24    #footer { background: url("<?=get_option('siteurl'); ?>/wp-content/themes/default/images/kubrickfooter.jpg") no-repeat bottom; border: none;} 
     21   body { background: url("<?php echo get_option('siteurl'); ?>/wp-content/themes/default/kubrickbgcolor.jpg"); }   
     22   #page { background: url("<?php echo get_option('siteurl'); ?>/wp-content/themes/default/images/kubrickbg.jpg") repeat-y top; border: none; } 
     23   #header { background: url("<?php echo get_option('siteurl'); ?>/wp-content/themes/default/images/kubrickheader.jpg") no-repeat bottom center; } 
     24   #footer { background: url("<?php echo get_option('siteurl'); ?>/wp-content/themes/default/images/kubrickfooter.jpg") no-repeat bottom; border: none;} 
    2525 
    2626   #header  { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; } 
     
    2828 
    2929   /* 
    30    #headerimg { background: url('<?=get_option('siteurl'); ?>/wp-content/themes/default/personalheader.jpg') no-repeat top;} 
     30   #headerimg { background: url('<?php echo get_option('siteurl'); ?>/wp-content/themes/default/personalheader.jpg') no-repeat top;} 
    3131   */ 
    3232</style> 
     
    4040   <div id="headerimg"> 
    4141      <h1>Welcome to the Lyceum test installation!</h1> 
    42       <div class="description"><? echo $user_identity?"logged in as $user_identity":''?></div> 
     42      <div class="description"><?php echo $user_identity?"logged in as $user_identity":''?></div> 
    4343   </div> 
    4444</div> 
  • trunk/src/lyceum/system-admin/blog-management.php

    r461 r535  
    2525   assert('deleted'==$type || 'active'==$type); ?> 
    2626   <form method="post" action="blog-management.php"> 
    27       <?=bloginput()?> 
    28       <input type="hidden" name="action" value="<?=$action?>" /> 
     27      <?php echo bloginput()?> 
     28      <input type="hidden" name="action" value="<?php echo $action?>" /> 
    2929      <fieldset> 
    30          <legend align="left" accesskey=""><strong><?=$name?></strong></legend> 
    31          <p><?=$message?></p> 
     30         <legend align="left" accesskey=""><strong><?php echo $name?></strong></legend> 
     31         <p><?php echo $message?></p> 
    3232         <select name="whichblog"> 
    3333            <?php 
     
    5050      </fieldset> 
    5151   </form> 
    52 <?   
     52<?php  
    5353} 
    5454 
     
    5757<hr/> 
    5858<form method="post" action="createblog.php"> 
    59    <?=bloginput()?> 
     59   <?php echo bloginput()?> 
    6060   <fieldset> 
    6161      <legend><strong>Create a Blog</strong></legend> 
     
    6565</form> 
    6666 
    67 <? 
     67<?php  
    6868generate_blog_select( 
    6969   'active', 
  • trunk/src/lyceum/system-admin/settings.php

    r529 r535  
    3232      <legend>Base Url</legend> 
    3333      <input type="hidden" name="option" value="siteurl" /> 
    34       <p><input type="text" name="value" size="100" maxlength="100" value="<?= get_option('siteurl') ?>" /> 
     34      <p><input type="text" name="value" size="100" maxlength="100" value="<?php echo get_option('siteurl') ?>" /> 
    3535      <input type="submit" value="Submit" name="submit" /></p> 
    3636   </fieldset> 
     
    4141      <legend>wp-content_file_path: The file path where individual blog uploads and cache are kept.</legend> 
    4242      <input type="hidden" name="option" value="wp-content_file_path" /> 
    43       <p><input type="text" name="value" size="100" maxlength="100" value="<?= get_option('wp-content_file_path') ?>" /> 
     43      <p><input type="text" name="value" size="100" maxlength="100" value="<?php echo get_option('wp-content_file_path') ?>" /> 
    4444      <input type="submit" value="Submit" name="submit" /></p> 
    4545   </fieldset> 
     
    5050      <legend>File upload base url. This needs to work with wp-content_file_path above.</legend> 
    5151      <input type="hidden" name="option" value="fileupload_base_url" /> 
    52       <p><input type="text" name="value" size="100" maxlength="100" value="<?= get_option('fileupload_base_url') ?>" /> 
     52      <p><input type="text" name="value" size="100" maxlength="100" value="<?php echo get_option('fileupload_base_url') ?>" /> 
    5353      <input type="submit" value="Submit" name="submit" /></p> 
    5454   </fieldset> 
     
    5959      <legend>Regular expression against which new email addresses must match (example: <strong>/.*@example.tld/</strong>)</legend> 
    6060      <input type="hidden" name="option" value="email_structure" /> 
    61       <p><input type="text" name="value" size="100" maxlength="100" value="<?= get_option('email_structure') ?>" /> 
     61      <p><input type="text" name="value" size="100" maxlength="100" value="<?php echo get_option('email_structure') ?>" /> 
    6262      <input type="submit" value="Submit" name="submit" /></p> 
    6363   </fieldset> 
     
    6868      <legend>Error message (example: <strong>You must have a example.tld email address in order to make an account.</strong>)</legend> 
    6969      <input type="hidden" name="option" value="email_structure_error_message" /> 
    70       <p><input type="text" name="value" size="100" maxlength="100" value="<?= get_option('email_structure_error_message') ?>" /> 
     70      <p><input type="text" name="value" size="100" maxlength="100" value="<?php echo get_option('email_structure_error_message') ?>" /> 
    7171      <input type="submit" value="Submit" name="submit" /></p> 
    7272   </fieldset> 
     
    7777      <legend>Permalink structure <em><a href="http://codex.wordpress.org/Using_Permalinks">documentation</a></a></em></legend> 
    7878      <input type="hidden" name="option" value="permalink_structure" /> 
    79       <p><input type="text" name="value" size="100" maxlength="100" value="<?= get_option('permalink_structure') ?>" /> 
     79      <p><input type="text" name="value" size="100" maxlength="100" value="<?php echo get_option('permalink_structure') ?>" /> 
    8080      <input type="submit" value="Submit" name="submit" /></p> 
    8181   </fieldset> 
     
    8787      <p>If you like, you may enter a custom prefix for your category URIs here. For example, <code>/taxonomy/tags</code> would make your category links like <code>http://example.org/funblog/taxonomy/tags/uncategorized/</code>. If you leave this blank the default, <code>/category/</code>, will be used.</p> 
    8888      <input type="hidden" name="option" value="category_base" /> 
    89       <p><input type="text" name="value" size="100" maxlength="100" value="<?= get_option('category_base') ?>" /> 
     89      <p><input type="text" name="value" size="100" maxlength="100" value="<?php echo get_option('category_base') ?>" /> 
    9090      <input type="submit" value="Submit" name="submit" /></p> 
    9191   </fieldset> 
     
    9898      <p> 
    9999      <select name="value"> 
    100          <option value="1" <?= get_option('users_can_register')?'selected="selected"':"" ?>>Yes</option> 
    101          <option value="0" <?= !get_option('users_can_register')?'selected="selected"':"" ?>>No</option> 
     100         <option value="1" <?php echo get_option('users_can_register')?'selected="selected"':"" ?>>Yes</option> 
     101         <option value="0" <?php echo !get_option('users_can_register')?'selected="selected"':"" ?>>No</option> 
    102102      </select> 
    103103      <input type="submit" value="Submit" name="submit" /></p> 
     
    111111      <p> 
    112112      <select name="value"> 
    113          <option value="1" <?= get_option('gzipcompression')?'selected="selected"':"" ?>>Yes</option> 
    114          <option value="0" <?= !get_option('gzipcompression')?'selected="selected"':"" ?>>No</option> 
     113         <option value="1" <?php echo get_option('gzipcompression')?'selected="selected"':"" ?>>Yes</option> 
     114         <option value="0" <?php echo !get_option('gzipcompression')?'selected="selected"':"" ?>>No</option> 
    115115      </select> 
    116116      <input type="submit" value="Submit" name="submit" /></p> 
     
    119119 
    120120<form method="post" action="adminip.php"> 
    121    <?=bloginput()?> 
     121   <?php echo bloginput()?> 
    122122   <fieldset> 
    123123      <legend>Insert an IP address from which an administrator may log in.</legend> 
  • trunk/src/lyceum/system-admin/user-management.php

    r403 r535  
    2424function lockunlockform($value, $name){ ?> 
    2525<form method="post" action="user-management.php?b=system"> 
    26    <?=bloginput()?> 
    27    <input type="hidden" value="<?=$value?>" name="action" /> 
     26   <?php echo bloginput()?> 
     27   <input type="hidden" value="<?php echo $value?>" name="action" /> 
    2828   <fieldset> 
    29       <legend><strong><?=$name?> an account</strong></legend> 
     29      <legend><strong><?php echo $name?> an account</strong></legend> 
    3030      <p>Username: <input type="text" name="whichuser" size="20" maxlength="100" /> 
    31       <input type="submit" value="<?=$name?>" name="submit" /></p> 
     31      <input type="submit" value="<?php echo $name?>" name="submit" /></p> 
    3232   </fieldset> 
    3333</form>   
    34 <?
     34<?php
    3535 
    3636?> 
     
    4141<hr/> 
    4242<form enctype="multipart/form-data" action="createusers.php" method="post"> 
    43    <?=bloginput()?> 
     43   <?php echo bloginput()?> 
    4444   <fieldset> 
    4545      <legend><strong>Batch User/Blog Creation</strong></legend> 
     
    5454 
    5555<form enctype="multipart/form-data" action="registrationlist.php" method="post"> 
    56    <?=bloginput()?> 
     56   <?php echo bloginput()?> 
    5757   <fieldset> 
    5858      <legend><strong>Registration List</strong></legend> 
     
    6565<hr/> 
    6666 
    67 <? 
     67<?php  
    6868lockunlockform(1, 'Lock'); 
    6969lockunlockform(0, 'Unlock'); 
  • trunk/src/lyceum/wp-admin/admin-footer.php

    r512 r535  
    11 
    2 <div id="footer"><p><a href="http://lyceum.ibiblio.org/" id="wordpress-logo"><img src="<?=get_settings('siteurl')?>/wp-admin/images/wordpress-logo.png" alt="Lyceum" /></a></p> 
     2<div id="footer"><p><a href="http://lyceum.ibiblio.org/" id="wordpress-logo"><img src="<?php echo get_settings('siteurl')?>/wp-admin/images/wordpress-logo.png" alt="Lyceum" /></a></p> 
    33<p> 
    44<a href="http://codex.wordpress.org/"><?php _e('WordPress Documentation'); ?></a> <br /> 
  • trunk/src/lyceum/wp-admin/admin-header.php

    r528 r535  
    5353<?php } ?> 
    5454<?php if ( $editing && user_can_richedit() ) { ?> 
    55 <script type="text/javascript" src="../../js/tinymce/tiny_mce_gzip.php?ver=20051211&amp;b=<?=$blog?>"></script> 
     55<script type="text/javascript" src="../../js/tinymce/tiny_mce_gzip.php?ver=20051211&amp;b=<?php echo $blog?>"></script> 
    5656<?php } ?> 
    5757<?php if ( $cat_js ) { ?> 
    58 <script type="text/javascript" src="../../wp-admin/cat-js.php?b=<?=$blog?>"></script> 
     58<script type="text/javascript" src="../../wp-admin/cat-js.php?b=<?php echo $blog?>"></script> 
    5959<?php } ?> 
    6060<?php if ( ($parent_file != 'link-manager.php') && ($parent_file != 'options-general.php') ) : ?> 
     
    9090</div> 
    9191 
    92 <? 
     92<?php  
    9393require(ABSPATH . '/wp-admin/menu-header.php'); 
    9494endif; 
  • trunk/src/lyceum/wp-admin/categories.php

    r434 r535  
    8888      </table> 
    8989     <p class="submit"><input type="submit" name="submit" value="<?php _e('Edit category') ?> &raquo;" /></p> 
    90       <?=tokeninput('categories.php','editedcat', $category->cat_ID)?> 
     90      <?php echo tokeninput('categories.php','editedcat', $category->cat_ID)?> 
    9191 </form> 
    9292 <p><a href="categories.php"><?php _e('&laquo; Return to category list'); ?></a></p> 
     
    161161      <textarea name="category_description" rows="5" cols="50" style="width: 97%;"></textarea></p> 
    162162      <p class="submit"><input type="hidden" name="action" value="addcat" /><input type="submit" name="submit" value="<?php _e('Add Category &raquo;') ?>" /></p> 
    163       <?=tokeninput('categories.php','addcat')?> 
     163      <?php echo tokeninput('categories.php','addcat')?> 
    164164   </form> 
    165165</div> 
  • trunk/src/lyceum/wp-admin/edit-comments.php

    r434 r535  
    3030<h2><?php _e('Comments'); ?></h2> 
    3131<form name="searchform" action="" method="get"> 
    32    <?=bloginput()?> 
     32   <?php echo bloginput()?> 
    3333   <fieldset> 
    3434   <legend><?php _e('Show Comments That Contain...') ?></legend> 
     
    108108            $post_title = $wpdb->get_var("SELECT post_title FROM $wpdb->posts WHERE ID = '$comment->comment_post_ID'"); 
    109109            $post_title = ('' == $post_title) ? "# $comment->comment_post_ID" : $post_title; 
    110             ?> <a href="post.php?token=<?=formtoken('post.php','edit',$comment->comment_post_ID)?>&amp;action=edit&amp;post=<?php echo $comment->comment_post_ID; ?>"><?php printf(__('Edit Post &#8220;%s&#8221;'), stripslashes($post_title)); ?></a> 
     110            ?> <a href="post.php?token=<?php echo formtoken('post.php','edit',$comment->comment_post_ID)?>&amp;action=edit&amp;post=<?php echo $comment->comment_post_ID; ?>"><?php printf(__('Edit Post &#8220;%s&#8221;'), stripslashes($post_title)); ?></a> 
    111111            <?php } ?> 
    112112          | <a href="<?php echo get_permalink($comment->comment_post_ID); ?>"><?php _e('View Post') ?></a></p> 
     
    130130 
    131131   if ($comments) { 
    132       echo '<form name="deletecomments" id="deletecomments" action="" method="post"><?=bloginput()?>  
     132      echo '<form name="deletecomments" id="deletecomments" action="" method="post"><?php echo bloginput()?>  
    133133      <table width="100%" cellpadding="3" cellspacing="3"> 
    134134   <tr> 
  • trunk/src/lyceum/wp-admin/edit-form-advanced.php

    r512 r535  
    5454<input type="hidden" name="action" value="<?php echo $form_action ?>" /> 
    5555<input type="hidden" name="post_author" value="<?php echo $post->post_author ?>" /> 
    56 <?//trace('$form_action, $post_ID', "$form_action, $post_ID");?> 
    57 <?=tokeninput('post.php', $form_action, isset($post_ID) ? $post_ID : 0)?> 
    58 <? 
     56<?php //trace('$form_action, $post_ID', "$form_action, $post_ID");?> 
     57<?php echo tokeninput('post.php', $form_action, isset($post_ID) ? $post_ID : 0)?> 
     58<?php  
    5959$token = formtoken('post.php', 'delete', $post_ID); 
    6060echo "<input type=\"hidden\" name=\"deletetoken\" value=\"$token\" />"; 
  • trunk/src/lyceum/wp-admin/edit-form-comment.php

    r434 r535  
    1010<input type="hidden" name="user_ID" value="<?php echo $user_ID ?>" /> 
    1111<input type="hidden" name="action" value='<?php echo $form_action . $form_extra ?>' /> 
    12 <?=tokeninput('post.php', $form_action, $comment->comment_ID)?> 
     12<?php echo tokeninput('post.php', $form_action, $comment->comment_ID)?> 
    1313<script type="text/javascript"> 
    1414function focusit() { // focus on first input field 
  • trunk/src/lyceum/wp-admin/edit-form.php

    r38 r535  
    22<div class="wrap"> 
    33<h2><?php _e('Write Post'); ?></h2> 
    4 <form name="post" action="post.php" method="post" id="simple"><?=bloginput()?> 
     4<form name="post" action="post.php" method="post" id="simple"><?php echo bloginput()?> 
    55 
    66<?php if (isset($mode) && 'bookmarklet' == $mode) : ?> 
  • trunk/src/lyceum/wp-admin/edit-page-form.php

    r430 r535  
    219219      <input name="deletepost" class="delete" type="submit" id="deletepost" tabindex="10" value="<?php _e('Delete this page') ?>" <?php echo "onclick=\"return confirm('" . sprintf(__("You are about to delete this page \'%s\'\\n  \'Cancel\' to stop, \'OK\' to delete."), $wpdb->escape($post->post_title) ) . "')\""; ?> /> 
    220220<?php endif; ?> 
    221 <?=tokeninput('post.php', $form_action, isset($post_ID) ? $post_ID : 0)?> 
     221<?php echo tokeninput('post.php', $form_action, isset($post_ID) ? $post_ID : 0)?> 
    222222</form> 
    223223 
  • trunk/src/lyceum/wp-admin/edit.php

    r468 r535  
    9090 
    9191<form name="viewarc" action="" method="get" style="float: left; width: 20em; margin-bottom: 1em;"> 
    92 <?=bloginput()?> 
     92<?php echo bloginput()?> 
    9393   <fieldset> 
    9494   <legend><?php _e('Browse Month&hellip;') ?></legend> 
     
    186186   case 'comments': 
    187187      ?> 
    188       <td><a href="edit.php?b=<?=$blogdata->id;?>&amp;p=<?php echo $id ?>&amp;c=1">  
     188      <td><a href="edit.php?b=<?php echo $blogdata->id;?>&amp;p=<?php echo $id ?>&amp;c=1">  
    189189      <?php comments_number(__('0'), __('1'), __('%')) ?>  
    190190      </a></td> 
  • trunk/src/lyceum/wp-admin/import/blogger.php

    r373 r535  
    6565   function login_form($text='') { 
    6666      echo '<h1>' . __('Log in to Blogger') . "</h1>\n$text\n"; 
    67       echo '<form method="post" action="admin.php?import=blogger&amp;noheader=true&amp;step=0"><?=bloginput()?><table><tr><td>' . __('Username') . ':</td><td><input type="text" name="user" /></td></tr><tr><td>' . __('Password') . ':</td><td><input type="password" name="pass" /></td><td><input type="submit" value="' . __('Start') . '" /></td></tr></table></form>'; 
     67      echo '<form method="post" action="admin.php?import=blogger&amp;noheader=true&amp;step=0"><?php echo bloginput()?><table><tr><td>' . __('Username') . ':</td><td><input type="text" name="user" /></td></tr><tr><td>' . __('Password') . ':</td><td><input type="password" name="pass" /></td><td><input type="submit" value="' . __('Start') . '" /></td></tr></table></form>'; 
    6868      die; 
    6969   } 
  • trunk/src/lyceum/wp-admin/import/mt.php

    r356 r535  
    143143      $authors = $this->get_mt_authors(); 
    144144      echo '<ol id="authors">'; 
    145       echo '<form action="?import=mt&amp;step=2&amp;id=' . $this->id . '" method="post"><?=bloginput()?>'; 
     145      echo '<form action="?import=mt&amp;step=2&amp;id=' . $this->id . '" method="post"><?php echo bloginput()?>'; 
    146146      $j = -1; 
    147147      foreach ($authors as $author) { 
  • trunk/src/lyceum/wp-admin/inline-uploading.php

    r468 r535  
    639639<body> 
    640640<ul id="upload-menu"> 
    641 <li<?php echo $current_1; ?>><a href="<?php echo basename(__FILE__); ?>?b=<?=$blogdata->id?>&amp;action=upload&amp;post=<?php echo $post; ?>&amp;all=<?php echo $all; ?>&amp;start=<?php echo $start; ?>"><?php _e('Upload'); ?></a></li> 
     641<li<?php echo $current_1; ?>><a href="<?php echo basename(__FILE__); ?>?b=<?php echo $blogdata->id?>&amp;action=upload&amp;post=<?php echo $post; ?>&amp;all=<?php echo $all; ?>&amp;start=<?php echo $start; ?>"><?php _e('Upload'); ?></a></li> 
    642642<?php if ( $attachments = $wpdb->get_results("SELECT ID FROM $wpdb->posts WHERE post_parent = '$post'") ) { ?> 
    643 <li<?php echo $current_2; ?>><a href="<?php echo basename(__FILE__); ?>?b=<?=$blogdata->id?>&amp;action=view&amp;post=<?php echo $post; ?>&amp;all=false"><?php _e('Browse'); ?></a></li> 
     643<li<?php echo $current_2; ?>><a href="<?php echo basename(__FILE__); ?>?b=<?php echo $blogdata->id?>&amp;action=view&amp;post=<?php echo $post; ?>&amp;all=false"><?php _e('Browse'); ?></a></li> 
    644644<?php } ?> 
    645645<?php if ($wpdb->get_var("SELECT count(ID) FROM $wpdb->posts WHERE post_status = 'attachment'")) { ?> 
    646 <li<?php echo $current_3; ?>><a href="<?php echo basename(__FILE__); ?>?b=<?=$blogdata->id?>&amp;action=view&amp;post=<?php echo $post; ?>&amp;all=true"><?php _e('Browse All'); ?></a></li> 
     646<li<?php echo $current_3; ?>><a href="<?php echo basename(__FILE__); ?>?b=<?php echo $blogdata->id?>&amp;action=view&amp;post=<?php echo $post; ?>&amp;all=true"><?php _e('Browse All'); ?></a></li> 
    647647<?php } ?> 
    648648<li> </li> 
    649649<?php if ( $action == 'view' ) { ?> 
    650650<?php if ( false !== $back ) : ?> 
    651 <li class="spacer"><a href="<?php echo basename(__FILE__); ?>?b=<?=$blogdata->id?>&amp;action=<?php echo $action; ?>&amp;post=<?php echo $post; ?>&amp;all=<?php echo $all; ?>&amp;start=0" title="<?php _e('First'); ?>">|&laquo;</a></li> 
    652 <li><a href="<?php echo basename(__FILE__); ?>?b=<?=$blogdata->id?>&amp;action=<?php echo $action; ?>&amp;post=<?php echo $post; ?>&amp;all=<?php echo $all; ?>&amp;start=<?php echo $back; ?>"">&laquo; <?php _e('Back'); ?></a></li> 
     651<li class="spacer"><a href="<?php echo basename(__FILE__); ?>?b=<?php echo $blogdata->id?>&amp;action=<?php echo $action; ?>&amp;post=<?php echo $post; ?>&amp;all=<?php echo $all; ?>&amp;start=0" title="<?php _e('First'); ?>">|&laquo;</a></li> 
     652<li><a href="<?php echo basename(__FILE__); ?>?b=<?php echo $blogdata->id?>&amp;action=<?php echo $action; ?>&amp;post=<?php echo $post; ?>&amp;all=<?php echo $all; ?>&amp;start=<?php echo $back; ?>"">&laquo; <?php _e('Back'); ?></a></li> 
    653653<?php else : ?> 
    654654<li class="inactive spacer">|&laquo;</li> 
     
    656656<?php endif; ?> 
    657657<?php if ( false !== $next ) : ?> 
    658 <li><a href="<?php echo basename(__FILE__); ?>?b=<?=$blogdata->id?>&amp;action=<?php echo $action; ?>&amp;post=<?php echo $post; ?>&amp;all=<?php echo $all; ?>&amp;start=<?php echo $next; ?>"><?php _e('Next'); ?> &raquo;</a></li> 
    659 <li><a href="<?php echo basename(__FILE__); ?>?b=<?=$blogdata->id?>&amp;action=<?php echo $action; ?>&amp;post=<?php echo $post; ?>&amp;all=<?php echo $all; ?>&amp;last=true" title="<?php _e('Last'); ?>">&raquo;|</a></li> 
     658<li><a href="<?php echo basename(__FILE__); ?>?b=<?php echo $blogdata->id?>&amp;action=<?php echo $action; ?>&amp;post=<?php echo $post; ?>&amp;all=<?php echo $all; ?>&amp;start=<?php echo $next; ?>"><?php _e('Next'); ?> &raquo;</a></li> 
     659<li><a href="<?php echo basename(__FILE__); ?>?b=<?php echo $blogdata->id?>&amp;action=<?php echo $action; ?>&amp;post=<?php echo $post; ?>&amp;all=<?php echo $all; ?>&amp;last=true" title="<?php _e('Last'); ?>">&raquo;|</a></li> 
    660660<?php else : ?> 
    661661<li class="inactive"><?php _e('Next'); ?> &raquo;</li> 
     
    675675<div class="tip"></div> 
    676676<form enctype="multipart/form-data" id="uploadForm" method="POST" action="<?php echo basename(__FILE__); ?>"> 
    677 <?=bloginput()?> 
     677<?php echo bloginput()?> 
    678678<table style="width:99%;"> 
    679679<tr> 
  • trunk/src/lyceum/wp-admin/install.php

    r524 r535  
    127127<p><?php _e("Before we begin we need a little bit of information. Don't worry, you can always change these later."); ?></p> 
    128128 
    129 <form id="setup" method="post" action="install.php?step=2"><?=bloginput()?> 
     129<form id="setup" method="post" action="install.php?step=2"><?php echo bloginput()?> 
    130130<table width="100%"> 
    131131<tr> 
    132132<th width="33%"><?php _e('Blogsphere name:'); ?></th> 
    133 <td><input name="blogsphere_name" type="text" id="blogsphere_name" size="25"<?= defined('ADMINEMAIL') ? ' value="'.BLOGSPHERENAME.'"' : "" ?>/></td> 
     133<td><input name="blogsphere_name" type="text" id="blogsphere_name" size="25"<?php echo defined('ADMINEMAIL') ? ' value="'.BLOGSPHERENAME.'"' : "" ?>/></td> 
    134134</tr> 
    135135<tr> 
    136136<th><?php _e('Admin e-mail:'); ?></th> 
    137    <td><input name="admin_email" type="text" id="admin_email" size="25"<?= defined('ADMINEMAIL') ? ' value="'.ADMINEMAIL.'"' : "" ?>/></td> 
     137   <td><input name="admin_email" type="text" id="admin_email" size="25"<?php echo defined('ADMINEMAIL') ? ' value="'.ADMINEMAIL.'"' : "" ?>/></td> 
    138138</tr> 
    139139<tr> 
    140140<th><?php _e('Admin IP Address:'); ?></th> 
    141    <td><input name="admin_ipaddress" type="text" id="admin_ipaddress" size="25" value="<?=$_SERVER['REMOTE_ADDR'] ?>" /></td> 
     141   <td><input name="admin_ipaddress" type="text" id="admin_ipaddress" size="25" value="<?php echo $_SERVER['REMOTE_ADDR'] ?>" /></td> 
    142142</tr> 
    143143</table> 
  • trunk/src/lyceum/wp-admin/link-categories.php

    r438 r535  
    118118         <input type="hidden" name="action" value="editedcat" /> 
    119119         <input type="hidden" name="cat_id" value="<?php echo $row->cat_id ?>" /> 
    120          <?=tokeninput("link-categories.php", "editedcat", $row->cat_id)?> 
     120         <?php echo tokeninput("link-categories.php", "editedcat", $row->cat_id)?> 
    121121<fieldset class="options"> 
    122122<legend><?php _e('Category Options') ?></legend> 
     
    354354                        <td nowrap="nowrap"><?php echo htmlentities($row->text_after_all)?></td> 
    355355                        <td><?php echo $row->list_limit ?></td> 
    356                         <td><a href="link-categories.php?token=<?=formtoken('link-categories.php','Edit',$row->cat_id)?>&amp;cat_id=<?php echo $row->cat_id?>&amp;action=Edit" class="edit"><?php _e('Edit') ?></a></td> 
    357                         <td><a href="link-categories.php?token=<?=formtoken('link-categories.php','Delete',$row->cat_id)?>&amp;cat_id=<?php echo $row->cat_id?>&amp;action=Delete" onclick="return deleteSomething( 'link category', <?=$blog?>, <?php echo $row->cat_id . ", '" . sprintf(__("You are about to delete the &quot;%s&quot; link category.\\n&quot;Cancel&quot; to stop, &quot;OK&quot; to delete."), wp_specialchars($row->cat_name,1)); ?>' );" class="delete"><?php _e('Delete') ?></a></td> 
     356                        <td><a href="link-categories.php?token=<?php echo formtoken('link-categories.php','Edit',$row->cat_id)?>&amp;cat_id=<?php echo $row->cat_id?>&amp;action=Edit" class="edit"><?php _e('Edit') ?></a></td> 
     357                        <td><a href="link-categories.php?token=<?php echo formtoken('link-categories.php','Delete',$row->cat_id)?>&amp;cat_id=<?php echo $row->cat_id?>&amp;action=Delete" onclick="return deleteSomething( 'link category', <?php echo $blog?>, <?php echo $row->cat_id . ", '" . sprintf(__("You are about to delete the &quot;%s&quot; link category.\\n&quot;Cancel&quot; to stop, &quot;OK&quot; to delete."), wp_specialchars($row->cat_name,1)); ?>' );" class="delete"><?php _e('Delete') ?></a></td> 
    358358                     </tr> 
    359359<?php 
     
    371371      <form name="addcat" method="post"> 
    372372         <input type="hidden" name="action" value="addcat" /> 
    373          <?=tokeninput("link-categories.php", "addcat")?> 
     373         <?php echo tokeninput("link-categories.php", "addcat")?> 
    374374      <h2><?php _e('Add a Link Category:') ?></h2> 
    375375<fieldset class="options"> 
  • trunk/src/lyceum/wp-admin/link-import.php

    r441 r535  
    2525<h2><?php _e('Import your blogroll from another system') ?> </h2> 
    2626<form enctype="multipart/form-data" action="link-import.php" method="post" name="blogroll"> 
    27 <?=tokeninput("link-import.php")?> 
     27<?php echo tokeninput("link-import.php")?> 
    2828<p><?php _e('If a program or website you use allows you to export your links or subscriptions as OPML you may import them here.'); ?> 
    2929<div style="width: 70%; margin: auto; height: 8em;"> 
  • trunk/src/lyceum/wp-admin/link-manager.php

    r438 r535  
    332332 
    333333<form name="links" id="links" method="post" action=""> 
    334    <?=tokeninput('link-manager.php')?> 
     334   <?php echo tokeninput('link-manager.php')?> 
    335335<div class="wrap"> 
    336336 
  • trunk/src/lyceum/wp-admin/moderation.php

    r434 r535  
    136136   <form name="approval" action="moderation.php" method="post"> 
    137137      <input type="hidden" name="action" value="update" /> 
    138       <?=tokeninput('moderation.php', 'update')?> 
     138      <?php echo tokeninput('moderation.php', 'update')?> 
    139139      <ol id="the-list" class="commentlist"> 
    140140<?php 
  • trunk/src/lyceum/wp-admin/options-discussion.php

    r432 r535  
    2121<div class="wrap">  
    2222<h2><?php _e('Discussion Options') ?></h2>  
    23 <form method="post" action="options.php"><?=bloginput()?>  
     23<form method="post" action="options.php"><?php echo bloginput()?>  
    2424<fieldset class="options"> 
    2525<legend><?php _e('Usual settings for an article:<br /><small><em>(These settings may be overridden for individual articles.)</em></small>') ?></legend>  
     
    9696<input type="submit" name="Submit" value="<?php _e('Update Options') ?>" />  
    9797</p>  
    98 <?=tokeninput('options.php', 'update', "default_pingback_flag,default_ping_status,default_comment_status,comments_notify,moderation_notify,comment_moderation,require_name_email,comment_whitelist,comment_max_links,moderation_keys,blacklist_keys,open_proxy_check")?> 
     98<?php echo tokeninput('options.php', 'update', "default_pingback_flag,default_ping_status,default_comment_status,comments_notify,moderation_notify,comment_moderation,require_name_email,comment_whitelist,comment_max_links,moderation_keys,blacklist_keys,open_proxy_check")?> 
    9999</form>  
    100100</div> 
  • trunk/src/lyceum/wp-admin/options-general.php

    r501 r535  
    3939<select name="commentpolicy"> 
    4040   <option value="anonymous">Anyone may comment (recommended for most blogs)</option> 
    41    <option value="registered" <?= ($comment_registration && !$comment_priviliges) ? "selected='selected'" : " " ?> >Only users on this Lyceum may comment</option> 
    42    <option value="priviliges" <?= $comment_priviliges ? "selected='selected'" : " " ?> >Only users who have been given specific permissions on this blog may comment</option> 
     41   <option value="registered" <?php echo ($comment_registration && !$comment_priviliges) ? "selected='selected'" : " " ?> >Only users on this Lyceum may comment</option> 
     42   <option value="priviliges" <?php echo $comment_priviliges ? "selected='selected'" : " " ?> >Only users who have been given specific permissions on this blog may comment</option> 
    4343</select> 
    4444</td> 
     
    9191<input type="hidden" name="page_options" value="blogname,blogdescription,admin_email,users_can_register,gmt_offset,date_format,time_format,start_of_week,comment_registration,comment_priviliges,default_role" />  
    9292</p> 
    93 <?=tokeninput('options.php', 'update', "blogname,blogdescription,admin_email,users_can_register,gmt_offset,date_format,time_format,start_of_week,comment_registration,comment_priviliges,default_role")?> 
     93<?php echo tokeninput('options.php', 'update', "blogname,blogdescription,admin_email,users_can_register,gmt_offset,date_format,time_format,start_of_week,comment_registration,comment_priviliges,default_role")?> 
    9494</form> 
    9595 
  • trunk/src/lyceum/wp-admin/options-misc.php

    r432 r535  
    1212<h2><?php _e('Miscellaneous Options') ?></h2>  
    1313<form method="post" action="options.php"> 
    14 <?=bloginput()?> 
     14<?php echo bloginput()?> 
    1515<fieldset class="options"> 
    1616<legend><?php _e('Uploading'); ?></legend> 
     
    4646<input type="submit" name="Submit" value="<?php _e('Update Options') ?> &raquo;" /> 
    4747</p> 
    48 <?=tokeninput('options.php', 'update', "hack_file,use_linksupdate,uploads_use_yearmonth_folders,upload_path")?> 
     48<?php echo tokeninput('options.php', 'update', "hack_file,use_linksupdate,uploads_use_yearmonth_folders,upload_path")?> 
    4949</form>  
    5050</div> 
  • trunk/src/lyceum/wp-admin/options-reading.php

    r501 r535  
    1010<div class="wrap">  
    1111<h2><?php _e('Reading Options') ?></h2>  
    12 <form name="form1" method="post" action="options.php"><?=bloginput()?>  
     12<form name="form1" method="post" action="options.php"><?php echo bloginput()?>  
    1313<fieldset class="options">  
    1414<legend><?php _e('Blog Pages') ?></legend>  
     
    5555<input type="submit" name="Submit" value="<?php _e('Update Options') ?> &raquo;" />  
    5656</p>  
    57 <?=tokeninput('options.php', 'update', "posts_per_page,what_to_show,posts_per_rss,rss_use_excerpt,blog_charset")?> 
     57<?php echo tokeninput('options.php', 'update', "posts_per_page,what_to_show,posts_per_rss,rss_use_excerpt,blog_charset")?> 
    5858</form>  
    5959</div>  
  • trunk/src/lyceum/wp-admin/options-writing.php

    r432 r535  
    1010<div class="wrap">  
    1111<h2><?php _e('Writing Options') ?></h2>  
    12 <form method="post" action="options.php"><?=bloginput()?>  
     12<form method="post" action="options.php"><?php echo bloginput()?>  
    1313<table width="100%" cellspacing="2" cellpadding="5" class="editform">  
    1414<tr valign="top">  
     
    9494<input type="submit" name="Submit" value="<?php _e('Update Options') ?> &raquo;" />  
    9595</p> 
    96 <?=tokeninput('options.php', 'update', "default_post_edit_rows,use_smilies,rich_editing,ping_sites,mailserver_url,mailserver_port,mailserver_login,mailserver_pass,default_category,default_email_category,use_balanceTags")?> 
     96<?php echo tokeninput('options.php', 'update', "default_post_edit_rows,use_smilies,rich_editing,ping_sites,mailserver_url,mailserver_port,mailserver_login,mailserver_pass,default_category,default_email_category,use_balanceTags")?> 
    9797</form>  
    9898</div>  
  • trunk/src/lyceum/wp-admin/profile.php

    r519 r535  
    1919<h2><?php _e('Your Profile and Personal Options'); ?></h2> 
    2020<form name="profile" id="your-profile" action="wp-admin/profile-update.php" method="post"> 
    21 <?=bloginput()//not sure if this is needed?> 
    22 <?=tokeninput('profile-update.php', 'update', $user_ID)?> 
     21<?php echo bloginput()//not sure if this is needed?> 
     22<?php echo tokeninput('profile-update.php', 'update', $user_ID)?> 
    2323<p> 
    2424<input type="hidden" name="from" value="profile" /> 
  • trunk/src/lyceum/wp-admin/sidebar.php

    r438 r535  
    4949<body id="sidebar"> 
    5050<h1 id="wphead"><a href="http://wordpress.org/" rel="external">WordPress</a></h1> 
    51 <form name="post" action="post.php" method="POST"><?=bloginput()?> 
     51<form name="post" action="post.php" method="POST"><?php echo bloginput()?> 
    5252<div><input type="hidden" name="action" value="post" /> 
    5353<input type="hidden" name="user_ID" value="<?php echo $user_ID ?>" /> 
  • trunk/src/lyceum/wp-admin/templates.php

    r334 r535  
    126126</div> 
    127127<?php if (!$error) { ?> 
    128   <form name="template" id="template" action="templates.php" method="post"><?=bloginput()?>  
     128  <form name="template" id="template" action="templates.php" method="post"><?php echo bloginput()?>  
    129129     <div><textarea cols="70" rows="25" name="newcontent" id='newcontent' tabindex="1"><?php echo $content ?></textarea>  
    130130     <input type="hidden" name="action" value="update" />  
     
    152152 
    153153  <p><?php _e('To edit a file, type its name here. You can edit any file <a href="http://codex.wordpress.org/Changing_File_Permissions" title="Read more about making files writable">writable by the server</a>, e.g. CHMOD 666.') ?></p>  
    154   <form name="file" action="templates.php" method="get"><?=bloginput()?>  
     154  <form name="file" action="templates.php" method="get"><?php echo bloginput()?>  
    155155    <input type="text" name="file" />  
    156156    <input type="submit" name="submit"  value="<?php _e('Edit file &raquo;') ?>" />  
  • trunk/src/lyceum/wp-admin/theme-editor.php

    r291 r535  
    8888<?php endif; ?> 
    8989 <div class="wrap"> 
    90   <form name="theme" action="theme-editor.php" method="post"><?=bloginput()?>  
     90  <form name="theme" action="theme-editor.php" method="post"><?php echo bloginput()?>  
    9191      <?php _e('Select theme to edit:') ?> 
    9292      <select name="theme" id="theme"> 
     
    129129   if (!$error) { 
    130130   ?>  
    131   <form name="template" id="template" action="theme-editor.php" method="post"><?=bloginput()?> 
     131  <form name="template" id="template" action="the