Changeset 535
- Timestamp:
- 03/03/06 12:57:50 (3 years ago)
- Files:
-
- trunk/src/lyceum/js/tinymce/themes/advanced/image.htm (modified) (1 diff)
- trunk/src/lyceum/js/tinymce/themes/advanced/link.htm (modified) (1 diff)
- trunk/src/lyceum/js/tinymce/themes/advanced/source_editor.htm (modified) (1 diff)
- trunk/src/lyceum/portal.php (modified) (3 diffs)
- trunk/src/lyceum/system-admin/blog-management.php (modified) (4 diffs)
- trunk/src/lyceum/system-admin/settings.php (modified) (10 diffs)
- trunk/src/lyceum/system-admin/user-management.php (modified) (4 diffs)
- trunk/src/lyceum/wp-admin/admin-footer.php (modified) (1 diff)
- trunk/src/lyceum/wp-admin/admin-header.php (modified) (2 diffs)
- trunk/src/lyceum/wp-admin/categories.php (modified) (2 diffs)
- trunk/src/lyceum/wp-admin/edit-comments.php (modified) (3 diffs)
- trunk/src/lyceum/wp-admin/edit-form-advanced.php (modified) (1 diff)
- trunk/src/lyceum/wp-admin/edit-form-comment.php (modified) (1 diff)
- trunk/src/lyceum/wp-admin/edit-form.php (modified) (1 diff)
- trunk/src/lyceum/wp-admin/edit-page-form.php (modified) (1 diff)
- trunk/src/lyceum/wp-admin/edit.php (modified) (2 diffs)
- trunk/src/lyceum/wp-admin/import/blogger.php (modified) (1 diff)
- trunk/src/lyceum/wp-admin/import/mt.php (modified) (1 diff)
- trunk/src/lyceum/wp-admin/inline-uploading.php (modified) (3 diffs)
- trunk/src/lyceum/wp-admin/install.php (modified) (1 diff)
- trunk/src/lyceum/wp-admin/link-categories.php (modified) (3 diffs)
- trunk/src/lyceum/wp-admin/link-import.php (modified) (1 diff)
- trunk/src/lyceum/wp-admin/link-manager.php (modified) (1 diff)
- trunk/src/lyceum/wp-admin/moderation.php (modified) (1 diff)
- trunk/src/lyceum/wp-admin/options-discussion.php (modified) (2 diffs)
- trunk/src/lyceum/wp-admin/options-general.php (modified) (2 diffs)
- trunk/src/lyceum/wp-admin/options-misc.php (modified) (2 diffs)
- trunk/src/lyceum/wp-admin/options-reading.php (modified) (2 diffs)
- trunk/src/lyceum/wp-admin/options-writing.php (modified) (2 diffs)
- trunk/src/lyceum/wp-admin/profile.php (modified) (1 diff)
- trunk/src/lyceum/wp-admin/sidebar.php (modified) (1 diff)
- trunk/src/lyceum/wp-admin/templates.php (modified) (2 diffs)
- trunk/src/lyceum/wp-admin/theme-editor.php (modified) (2 diffs)
- trunk/src/lyceum/wp-admin/user-edit.php (modified) (1 diff)
- trunk/src/lyceum/wp-admin/users.php (modified) (3 diffs)
- trunk/src/lyceum/wp-content/themes/default/comments.php (modified) (1 diff)
- trunk/src/lyceum/wp-content/themes/default/comments-popup.php (modified) (1 diff)
- trunk/src/lyceum/wp-content/themes/default/searchform.php (modified) (1 diff)
- trunk/src/lyceum/wp-content/themes/default/sidebar.php (modified) (1 diff)
- trunk/src/lyceum/wp-register.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/lyceum/js/tinymce/themes/advanced/image.htm
r291 r535 29 29 </head> 30 30 <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;"> 32 32 <table border="0" cellpadding="0" cellspacing="0" width="200"> 33 33 <tr> trunk/src/lyceum/js/tinymce/themes/advanced/link.htm
r291 r535 29 29 </head> 30 30 <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;"> 32 32 <table border="0" cellpadding="0" cellspacing="0" width="100"> 33 33 <tr> trunk/src/lyceum/js/tinymce/themes/advanced/source_editor.htm
r291 r535 29 29 </head> 30 30 <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="#"> 32 32 <div style="float: left" class="title">{$lang_theme_code_title}</div> 33 33 trunk/src/lyceum/portal.php
r534 r535 16 16 <title>Lyceum</title> 17 17 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" /> 19 19 20 20 <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;} 25 25 26 26 #header { margin: 0 !important; margin: 0 0 0 1px; padding: 1px; height: 198px; width: 758px; } … … 28 28 29 29 /* 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;} 31 31 */ 32 32 </style> … … 40 40 <div id="headerimg"> 41 41 <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> 43 43 </div> 44 44 </div> trunk/src/lyceum/system-admin/blog-management.php
r461 r535 25 25 assert('deleted'==$type || 'active'==$type); ?> 26 26 <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?>" /> 29 29 <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> 32 32 <select name="whichblog"> 33 33 <?php … … 50 50 </fieldset> 51 51 </form> 52 <? 52 <?php 53 53 } 54 54 … … 57 57 <hr/> 58 58 <form method="post" action="createblog.php"> 59 <? =bloginput()?>59 <?php echo bloginput()?> 60 60 <fieldset> 61 61 <legend><strong>Create a Blog</strong></legend> … … 65 65 </form> 66 66 67 <? 67 <?php 68 68 generate_blog_select( 69 69 'active', trunk/src/lyceum/system-admin/settings.php
r529 r535 32 32 <legend>Base Url</legend> 33 33 <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') ?>" /> 35 35 <input type="submit" value="Submit" name="submit" /></p> 36 36 </fieldset> … … 41 41 <legend>wp-content_file_path: The file path where individual blog uploads and cache are kept.</legend> 42 42 <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') ?>" /> 44 44 <input type="submit" value="Submit" name="submit" /></p> 45 45 </fieldset> … … 50 50 <legend>File upload base url. This needs to work with wp-content_file_path above.</legend> 51 51 <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') ?>" /> 53 53 <input type="submit" value="Submit" name="submit" /></p> 54 54 </fieldset> … … 59 59 <legend>Regular expression against which new email addresses must match (example: <strong>/.*@example.tld/</strong>)</legend> 60 60 <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') ?>" /> 62 62 <input type="submit" value="Submit" name="submit" /></p> 63 63 </fieldset> … … 68 68 <legend>Error message (example: <strong>You must have a example.tld email address in order to make an account.</strong>)</legend> 69 69 <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') ?>" /> 71 71 <input type="submit" value="Submit" name="submit" /></p> 72 72 </fieldset> … … 77 77 <legend>Permalink structure <em><a href="http://codex.wordpress.org/Using_Permalinks">documentation</a></a></em></legend> 78 78 <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') ?>" /> 80 80 <input type="submit" value="Submit" name="submit" /></p> 81 81 </fieldset> … … 87 87 <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> 88 88 <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') ?>" /> 90 90 <input type="submit" value="Submit" name="submit" /></p> 91 91 </fieldset> … … 98 98 <p> 99 99 <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> 102 102 </select> 103 103 <input type="submit" value="Submit" name="submit" /></p> … … 111 111 <p> 112 112 <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> 115 115 </select> 116 116 <input type="submit" value="Submit" name="submit" /></p> … … 119 119 120 120 <form method="post" action="adminip.php"> 121 <? =bloginput()?>121 <?php echo bloginput()?> 122 122 <fieldset> 123 123 <legend>Insert an IP address from which an administrator may log in.</legend> trunk/src/lyceum/system-admin/user-management.php
r403 r535 24 24 function lockunlockform($value, $name){ ?> 25 25 <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" /> 28 28 <fieldset> 29 <legend><strong><? =$name?> an account</strong></legend>29 <legend><strong><?php echo $name?> an account</strong></legend> 30 30 <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> 32 32 </fieldset> 33 33 </form> 34 <? }34 <?php } 35 35 36 36 ?> … … 41 41 <hr/> 42 42 <form enctype="multipart/form-data" action="createusers.php" method="post"> 43 <? =bloginput()?>43 <?php echo bloginput()?> 44 44 <fieldset> 45 45 <legend><strong>Batch User/Blog Creation</strong></legend> … … 54 54 55 55 <form enctype="multipart/form-data" action="registrationlist.php" method="post"> 56 <? =bloginput()?>56 <?php echo bloginput()?> 57 57 <fieldset> 58 58 <legend><strong>Registration List</strong></legend> … … 65 65 <hr/> 66 66 67 <? 67 <?php 68 68 lockunlockform(1, 'Lock'); 69 69 lockunlockform(0, 'Unlock'); trunk/src/lyceum/wp-admin/admin-footer.php
r512 r535 1 1 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> 3 3 <p> 4 4 <a href="http://codex.wordpress.org/"><?php _e('WordPress Documentation'); ?></a> <br /> trunk/src/lyceum/wp-admin/admin-header.php
r528 r535 53 53 <?php } ?> 54 54 <?php if ( $editing && user_can_richedit() ) { ?> 55 <script type="text/javascript" src="../../js/tinymce/tiny_mce_gzip.php?ver=20051211&b=<? =$blog?>"></script>55 <script type="text/javascript" src="../../js/tinymce/tiny_mce_gzip.php?ver=20051211&b=<?php echo $blog?>"></script> 56 56 <?php } ?> 57 57 <?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> 59 59 <?php } ?> 60 60 <?php if ( ($parent_file != 'link-manager.php') && ($parent_file != 'options-general.php') ) : ?> … … 90 90 </div> 91 91 92 <? 92 <?php 93 93 require(ABSPATH . '/wp-admin/menu-header.php'); 94 94 endif; trunk/src/lyceum/wp-admin/categories.php
r434 r535 88 88 </table> 89 89 <p class="submit"><input type="submit" name="submit" value="<?php _e('Edit category') ?> »" /></p> 90 <? =tokeninput('categories.php','editedcat', $category->cat_ID)?>90 <?php echo tokeninput('categories.php','editedcat', $category->cat_ID)?> 91 91 </form> 92 92 <p><a href="categories.php"><?php _e('« Return to category list'); ?></a></p> … … 161 161 <textarea name="category_description" rows="5" cols="50" style="width: 97%;"></textarea></p> 162 162 <p class="submit"><input type="hidden" name="action" value="addcat" /><input type="submit" name="submit" value="<?php _e('Add Category »') ?>" /></p> 163 <? =tokeninput('categories.php','addcat')?>163 <?php echo tokeninput('categories.php','addcat')?> 164 164 </form> 165 165 </div> trunk/src/lyceum/wp-admin/edit-comments.php
r434 r535 30 30 <h2><?php _e('Comments'); ?></h2> 31 31 <form name="searchform" action="" method="get"> 32 <? =bloginput()?>32 <?php echo bloginput()?> 33 33 <fieldset> 34 34 <legend><?php _e('Show Comments That Contain...') ?></legend> … … 108 108 $post_title = $wpdb->get_var("SELECT post_title FROM $wpdb->posts WHERE ID = '$comment->comment_post_ID'"); 109 109 $post_title = ('' == $post_title) ? "# $comment->comment_post_ID" : $post_title; 110 ?> <a href="post.php?token=<? =formtoken('post.php','edit',$comment->comment_post_ID)?>&action=edit&post=<?php echo $comment->comment_post_ID; ?>"><?php printf(__('Edit Post “%s”'), stripslashes($post_title)); ?></a>110 ?> <a href="post.php?token=<?php echo formtoken('post.php','edit',$comment->comment_post_ID)?>&action=edit&post=<?php echo $comment->comment_post_ID; ?>"><?php printf(__('Edit Post “%s”'), stripslashes($post_title)); ?></a> 111 111 <?php } ?> 112 112 | <a href="<?php echo get_permalink($comment->comment_post_ID); ?>"><?php _e('View Post') ?></a></p> … … 130 130 131 131 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()?> 133 133 <table width="100%" cellpadding="3" cellspacing="3"> 134 134 <tr> trunk/src/lyceum/wp-admin/edit-form-advanced.php
r512 r535 54 54 <input type="hidden" name="action" value="<?php echo $form_action ?>" /> 55 55 <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 59 59 $token = formtoken('post.php', 'delete', $post_ID); 60 60 echo "<input type=\"hidden\" name=\"deletetoken\" value=\"$token\" />"; trunk/src/lyceum/wp-admin/edit-form-comment.php
r434 r535 10 10 <input type="hidden" name="user_ID" value="<?php echo $user_ID ?>" /> 11 11 <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)?> 13 13 <script type="text/javascript"> 14 14 function focusit() { // focus on first input field trunk/src/lyceum/wp-admin/edit-form.php
r38 r535 2 2 <div class="wrap"> 3 3 <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()?> 5 5 6 6 <?php if (isset($mode) && 'bookmarklet' == $mode) : ?> trunk/src/lyceum/wp-admin/edit-page-form.php
r430 r535 219 219 <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) ) . "')\""; ?> /> 220 220 <?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)?> 222 222 </form> 223 223 trunk/src/lyceum/wp-admin/edit.php
r468 r535 90 90 91 91 <form name="viewarc" action="" method="get" style="float: left; width: 20em; margin-bottom: 1em;"> 92 <? =bloginput()?>92 <?php echo bloginput()?> 93 93 <fieldset> 94 94 <legend><?php _e('Browse Month…') ?></legend> … … 186 186 case 'comments': 187 187 ?> 188 <td><a href="edit.php?b=<? =$blogdata->id;?>&p=<?php echo $id ?>&c=1">188 <td><a href="edit.php?b=<?php echo $blogdata->id;?>&p=<?php echo $id ?>&c=1"> 189 189 <?php comments_number(__('0'), __('1'), __('%')) ?> 190 190 </a></td> trunk/src/lyceum/wp-admin/import/blogger.php
r373 r535 65 65 function login_form($text='') { 66 66 echo '<h1>' . __('Log in to Blogger') . "</h1>\n$text\n"; 67 echo '<form method="post" action="admin.php?import=blogger&noheader=true&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&noheader=true&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>'; 68 68 die; 69 69 } trunk/src/lyceum/wp-admin/import/mt.php
r356 r535 143 143 $authors = $this->get_mt_authors(); 144 144 echo '<ol id="authors">'; 145 echo '<form action="?import=mt&step=2&id=' . $this->id . '" method="post"><? =bloginput()?>';145 echo '<form action="?import=mt&step=2&id=' . $this->id . '" method="post"><?php echo bloginput()?>'; 146 146 $j = -1; 147 147 foreach ($authors as $author) { trunk/src/lyceum/wp-admin/inline-uploading.php
r468 r535 639 639 <body> 640 640 <ul id="upload-menu"> 641 <li<?php echo $current_1; ?>><a href="<?php echo basename(__FILE__); ?>?b=<? =$blogdata->id?>&action=upload&post=<?php echo $post; ?>&all=<?php echo $all; ?>&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?>&action=upload&post=<?php echo $post; ?>&all=<?php echo $all; ?>&start=<?php echo $start; ?>"><?php _e('Upload'); ?></a></li> 642 642 <?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?>&action=view&post=<?php echo $post; ?>&all=false"><?php _e('Browse'); ?></a></li>643 <li<?php echo $current_2; ?>><a href="<?php echo basename(__FILE__); ?>?b=<?php echo $blogdata->id?>&action=view&post=<?php echo $post; ?>&all=false"><?php _e('Browse'); ?></a></li> 644 644 <?php } ?> 645 645 <?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?>&action=view&post=<?php echo $post; ?>&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?>&action=view&post=<?php echo $post; ?>&all=true"><?php _e('Browse All'); ?></a></li> 647 647 <?php } ?> 648 648 <li> </li> 649 649 <?php if ( $action == 'view' ) { ?> 650 650 <?php if ( false !== $back ) : ?> 651 <li class="spacer"><a href="<?php echo basename(__FILE__); ?>?b=<? =$blogdata->id?>&action=<?php echo $action; ?>&post=<?php echo $post; ?>&all=<?php echo $all; ?>&start=0" title="<?php _e('First'); ?>">|«</a></li>652 <li><a href="<?php echo basename(__FILE__); ?>?b=<? =$blogdata->id?>&action=<?php echo $action; ?>&post=<?php echo $post; ?>&all=<?php echo $all; ?>&start=<?php echo $back; ?>"">« <?php _e('Back'); ?></a></li>651 <li class="spacer"><a href="<?php echo basename(__FILE__); ?>?b=<?php echo $blogdata->id?>&action=<?php echo $action; ?>&post=<?php echo $post; ?>&all=<?php echo $all; ?>&start=0" title="<?php _e('First'); ?>">|«</a></li> 652 <li><a href="<?php echo basename(__FILE__); ?>?b=<?php echo $blogdata->id?>&action=<?php echo $action; ?>&post=<?php echo $post; ?>&all=<?php echo $all; ?>&start=<?php echo $back; ?>"">« <?php _e('Back'); ?></a></li> 653 653 <?php else : ?> 654 654 <li class="inactive spacer">|«</li> … … 656 656 <?php endif; ?> 657 657 <?php if ( false !== $next ) : ?> 658 <li><a href="<?php echo basename(__FILE__); ?>?b=<? =$blogdata->id?>&action=<?php echo $action; ?>&post=<?php echo $post; ?>&all=<?php echo $all; ?>&start=<?php echo $next; ?>"><?php _e('Next'); ?> »</a></li>659 <li><a href="<?php echo basename(__FILE__); ?>?b=<? =$blogdata->id?>&action=<?php echo $action; ?>&post=<?php echo $post; ?>&all=<?php echo $all; ?>&last=true" title="<?php _e('Last'); ?>">»|</a></li>658 <li><a href="<?php echo basename(__FILE__); ?>?b=<?php echo $blogdata->id?>&action=<?php echo $action; ?>&post=<?php echo $post; ?>&all=<?php echo $all; ?>&start=<?php echo $next; ?>"><?php _e('Next'); ?> »</a></li> 659 <li><a href="<?php echo basename(__FILE__); ?>?b=<?php echo $blogdata->id?>&action=<?php echo $action; ?>&post=<?php echo $post; ?>&all=<?php echo $all; ?>&last=true" title="<?php _e('Last'); ?>">»|</a></li> 660 660 <?php else : ?> 661 661 <li class="inactive"><?php _e('Next'); ?> »</li> … … 675 675 <div class="tip"></div> 676 676 <form enctype="multipart/form-data" id="uploadForm" method="POST" action="<?php echo basename(__FILE__); ?>"> 677 <? =bloginput()?>677 <?php echo bloginput()?> 678 678 <table style="width:99%;"> 679 679 <tr> trunk/src/lyceum/wp-admin/install.php
r524 r535 127 127 <p><?php _e("Before we begin we need a little bit of information. Don't worry, you can always change these later."); ?></p> 128 128 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()?> 130 130 <table width="100%"> 131 131 <tr> 132 132 <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> 134 134 </tr> 135 135 <tr> 136 136 <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> 138 138 </tr> 139 139 <tr> 140 140 <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> 142 142 </tr> 143 143 </table> trunk/src/lyceum/wp-admin/link-categories.php
r438 r535 118 118 <input type="hidden" name="action" value="editedcat" /> 119 119 <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)?> 121 121 <fieldset class="options"> 122 122 <legend><?php _e('Category Options') ?></legend> … … 354 354 <td nowrap="nowrap"><?php echo htmlentities($row->text_after_all)?></td> 355 355 <td><?php echo $row->list_limit ?></td> 356 <td><a href="link-categories.php?token=<? =formtoken('link-categories.php','Edit',$row->cat_id)?>&cat_id=<?php echo $row->cat_id?>&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)?>&cat_id=<?php echo $row->cat_id?>&action=Delete" onclick="return deleteSomething( 'link category', <?=$blog?>, <?php echo $row->cat_id . ", '" . sprintf(__("You are about to delete the "%s" link category.\\n"Cancel" to stop, "OK" 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)?>&cat_id=<?php echo $row->cat_id?>&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)?>&cat_id=<?php echo $row->cat_id?>&action=Delete" onclick="return deleteSomething( 'link category', <?php echo $blog?>, <?php echo $row->cat_id . ", '" . sprintf(__("You are about to delete the "%s" link category.\\n"Cancel" to stop, "OK" to delete."), wp_specialchars($row->cat_name,1)); ?>' );" class="delete"><?php _e('Delete') ?></a></td> 358 358 </tr> 359 359 <?php … … 371 371 <form name="addcat" method="post"> 372 372 <input type="hidden" name="action" value="addcat" /> 373 <? =tokeninput("link-categories.php", "addcat")?>373 <?php echo tokeninput("link-categories.php", "addcat")?> 374 374 <h2><?php _e('Add a Link Category:') ?></h2> 375 375 <fieldset class="options"> trunk/src/lyceum/wp-admin/link-import.php
r441 r535 25 25 <h2><?php _e('Import your blogroll from another system') ?> </h2> 26 26 <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")?> 28 28 <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.'); ?> 29 29 <div style="width: 70%; margin: auto; height: 8em;"> trunk/src/lyceum/wp-admin/link-manager.php
r438 r535 332 332 333 333 <form name="links" id="links" method="post" action=""> 334 <? =tokeninput('link-manager.php')?>334 <?php echo tokeninput('link-manager.php')?> 335 335 <div class="wrap"> 336 336 trunk/src/lyceum/wp-admin/moderation.php
r434 r535 136 136 <form name="approval" action="moderation.php" method="post"> 137 137 <input type="hidden" name="action" value="update" /> 138 <? =tokeninput('moderation.php', 'update')?>138 <?php echo tokeninput('moderation.php', 'update')?> 139 139 <ol id="the-list" class="commentlist"> 140 140 <?php trunk/src/lyceum/wp-admin/options-discussion.php
r432 r535 21 21 <div class="wrap"> 22 22 <h2><?php _e('Discussion Options') ?></h2> 23 <form method="post" action="options.php"><? =bloginput()?>23 <form method="post" action="options.php"><?php echo bloginput()?> 24 24 <fieldset class="options"> 25 25 <legend><?php _e('Usual settings for an article:<br /><small><em>(These settings may be overridden for individual articles.)</em></small>') ?></legend> … … 96 96 <input type="submit" name="Submit" value="<?php _e('Update Options') ?>" /> 97 97 </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")?> 99 99 </form> 100 100 </div> trunk/src/lyceum/wp-admin/options-general.php
r501 r535 39 39 <select name="commentpolicy"> 40 40 <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> 43 43 </select> 44 44 </td> … … 91 91 <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" /> 92 92 </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")?> 94 94 </form> 95 95 trunk/src/lyceum/wp-admin/options-misc.php
r432 r535 12 12 <h2><?php _e('Miscellaneous Options') ?></h2> 13 13 <form method="post" action="options.php"> 14 <? =bloginput()?>14 <?php echo bloginput()?> 15 15 <fieldset class="options"> 16 16 <legend><?php _e('Uploading'); ?></legend> … … 46 46 <input type="submit" name="Submit" value="<?php _e('Update Options') ?> »" /> 47 47 </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")?> 49 49 </form> 50 50 </div> trunk/src/lyceum/wp-admin/options-reading.php
r501 r535 10 10 <div class="wrap"> 11 11 <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()?> 13 13 <fieldset class="options"> 14 14 <legend><?php _e('Blog Pages') ?></legend> … … 55 55 <input type="submit" name="Submit" value="<?php _e('Update Options') ?> »" /> 56 56 </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")?> 58 58 </form> 59 59 </div> trunk/src/lyceum/wp-admin/options-writing.php
r432 r535 10 10 <div class="wrap"> 11 11 <h2><?php _e('Writing Options') ?></h2> 12 <form method="post" action="options.php"><? =bloginput()?>12 <form method="post" action="options.php"><?php echo bloginput()?> 13 13 <table width="100%" cellspacing="2" cellpadding="5" class="editform"> 14 14 <tr valign="top"> … … 94 94 <input type="submit" name="Submit" value="<?php _e('Update Options') ?> »" /> 95 95 </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")?> 97 97 </form> 98 98 </div> trunk/src/lyceum/wp-admin/profile.php
r519 r535 19 19 <h2><?php _e('Your Profile and Personal Options'); ?></h2> 20 20 <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)?> 23 23 <p> 24 24 <input type="hidden" name="from" value="profile" /> trunk/src/lyceum/wp-admin/sidebar.php
r438 r535 49 49 <body id="sidebar"> 50 50 <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()?> 52 52 <div><input type="hidden" name="action" value="post" /> 53 53 <input type="hidden" name="user_ID" value="<?php echo $user_ID ?>" /> trunk/src/lyceum/wp-admin/templates.php
r334 r535 126 126 </div> 127 127 <?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()?> 129 129 <div><textarea cols="70" rows="25" name="newcontent" id='newcontent' tabindex="1"><?php echo $content ?></textarea> 130 130 <input type="hidden" name="action" value="update" /> … … 152 152 153 153 <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()?> 155 155 <input type="text" name="file" /> 156 156 <input type="submit" name="submit" value="<?php _e('Edit file »') ?>" /> trunk/src/lyceum/wp-admin/theme-editor.php
r291 r535 88 88 <?php endif; ?> 89 89 <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()?> 91 91 <?php _e('Select theme to edit:') ?> 92 92 <select name="theme" id="theme"> … … 129 129 if (!$error) { 130 130 ?> 131 <form name="template" id="template" action="theme-editor.php" method="post"><? =bloginput()?>131 <form name="template" id="template" action="the
