Fixed invalid XHTML in a number of admin pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@1411 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
426d0b472a
commit
7f63343b31
@ -102,7 +102,7 @@ case 'edit':
|
|||||||
<p><?php _e('Category parent:') ?><br />
|
<p><?php _e('Category parent:') ?><br />
|
||||||
<select name='cat' class='postform'>
|
<select name='cat' class='postform'>
|
||||||
<option value='0'<?php if (!$category->category_parent) echo " selected='selected'"; ?>><?php _e('None') ?></option>
|
<option value='0'<?php if (!$category->category_parent) echo " selected='selected'"; ?>><?php _e('None') ?></option>
|
||||||
<?php wp_dropdown_cats($category->cat_ID, $category->category_parent); ?></p>
|
<?php wp_dropdown_cats($category->cat_ID, $category->category_parent); ?>
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@ -183,8 +183,8 @@ set them back to the default category <strong>%s</strong>.'), get_catname(1)) ?>
|
|||||||
<p><?php _e('Category parent:') ?><br />
|
<p><?php _e('Category parent:') ?><br />
|
||||||
<select name='cat' class='postform'>
|
<select name='cat' class='postform'>
|
||||||
<option value='0'><?php _e('None') ?></option>
|
<option value='0'><?php _e('None') ?></option>
|
||||||
<?php wp_dropdown_cats(0); ?></p>
|
<?php wp_dropdown_cats(0); ?>
|
||||||
</select>
|
</select></p>
|
||||||
<p><?php _e('Description: (optional)') ?> <br />
|
<p><?php _e('Description: (optional)') ?> <br />
|
||||||
<textarea name="category_description" rows="5" cols="50" style="width: 97%;"></textarea></p>
|
<textarea name="category_description" rows="5" cols="50" style="width: 97%;"></textarea></p>
|
||||||
<p class="submit"><input type="hidden" name="action" value="addcat" /><input type="submit" name="submit" value="<?php _e('Add Category »') ?>" /></p>
|
<p class="submit"><input type="hidden" name="action" value="addcat" /><input type="submit" name="submit" value="<?php _e('Add Category »') ?>" /></p>
|
||||||
|
@ -97,7 +97,7 @@ edCanvas = document.getElementById('content');
|
|||||||
<?php if ('bookmarklet' != $mode) {
|
<?php if ('bookmarklet' != $mode) {
|
||||||
echo '<input name="advanced" type="submit" id="advancededit" tabindex="7" value="' . __('Advanced Editing »') . '" />';
|
echo '<input name="advanced" type="submit" id="advancededit" tabindex="7" value="' . __('Advanced Editing »') . '" />';
|
||||||
} ?>
|
} ?>
|
||||||
<input name="referredby" type="hidden" id="referredby" value="<?php if (isset($_SERVER['HTTP_REFERER'])) echo $_SERVER['HTTP_REFERER']; ?>" />
|
<input name="referredby" type="hidden" id="referredby" value="<?php if (isset($_SERVER['HTTP_REFERER'])) echo urlencode($_SERVER['HTTP_REFERER']); ?>" />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -104,7 +104,7 @@ $bgcolor = ('#eee' == $bgcolor) ? 'none' : '#eee';
|
|||||||
</a>
|
</a>
|
||||||
<?php if ('private' == $post->post_status) _e(' - <strong>Private</strong>'); ?></td>
|
<?php if ('private' == $post->post_status) _e(' - <strong>Private</strong>'); ?></td>
|
||||||
<td><?php the_category(','); ?></td>
|
<td><?php the_category(','); ?></td>
|
||||||
<td><a href="edit.php?p=<?php echo $id ?>&c=1">
|
<td><a href="edit.php?p=<?php echo $id ?>&c=1">
|
||||||
<?php comments_number(__('no comments'), __('1 comment'), __("% comments")) ?>
|
<?php comments_number(__('no comments'), __('1 comment'), __("% comments")) ?>
|
||||||
</a></td>
|
</a></td>
|
||||||
<td><?php the_author() ?></td>
|
<td><?php the_author() ?></td>
|
||||||
|
@ -83,7 +83,7 @@ th { text-align: right; }
|
|||||||
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
||||||
<tr>
|
<tr>
|
||||||
<th width="33%" scope="row"><?php _e('URI:') ?></th>
|
<th width="33%" scope="row"><?php _e('URI:') ?></th>
|
||||||
<td width="67%"><input type="text" name="linkurl" value="<?php echo $_GET['linkurl']; ?>" style="width: 95%; /"></td>
|
<td width="67%"><input type="text" name="linkurl" value="<?php echo $_GET['linkurl']; ?>" style="width: 95%;" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('Link Name:') ?></th>
|
<th scope="row"><?php _e('Link Name:') ?></th>
|
||||||
@ -107,7 +107,7 @@ th { text-align: right; }
|
|||||||
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
||||||
<tr>
|
<tr>
|
||||||
<th width="33%" scope="row"><?php _e('rel:') ?></th>
|
<th width="33%" scope="row"><?php _e('rel:') ?></th>
|
||||||
<td width="67%"><input type="text" name="rel" id="rel" size="50" value=""></td>
|
<td width="67%"><input type="text" name="rel" id="rel" size="50" value="" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('<a href="http://gmpg.org/xfn/">XFN</a> Creator:') ?></th>
|
<th scope="row"><?php _e('<a href="http://gmpg.org/xfn/">XFN</a> Creator:') ?></th>
|
||||||
@ -241,7 +241,7 @@ th { text-align: right; }
|
|||||||
<td><label>
|
<td><label>
|
||||||
<input type="radio" name="visible" checked="checked" value="Y" />
|
<input type="radio" name="visible" checked="checked" value="Y" />
|
||||||
<?php _e('Yes') ?></label><br />
|
<?php _e('Yes') ?></label><br />
|
||||||
<label><input type="radio" name="visible" value="N"> <input type="hidden" name="action" value="Add" />
|
<label><input type="radio" name="visible" value="N" /> <input type="hidden" name="action" value="Add" />
|
||||||
<?php _e('No') ?></label></td>
|
<?php _e('No') ?></label></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@ -254,7 +254,7 @@ th { text-align: right; }
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php printf(__('<p>You can drag <a href="%s" title="Link add bookmarklet">Link This</a> to your toolbar and when you click it a window will pop up that will allow you to add whatever site you’re on to your links! Right now this only works on Mozilla or Netscape, but we’re working on it.</p>'), "javascript:void(linkmanpopup=window.open('" . get_settings('siteurl') . "/wp-admin/link-add.php?action=popup&linkurl='+escape(location.href)+'&name='+escape(document.title),'LinkManager','scrollbars=yes,width=750,height=550,left=15,top=15,status=yes,resizable=yes'));linkmanpopup.focus();window.focus();linkmanpopup.focus();") ?>
|
<?php printf(__('<p>You can drag <a href="%s" title="Link add bookmarklet">Link This</a> to your toolbar and when you click it a window will pop up that will allow you to add whatever site you’re on to your links! Right now this only works on Mozilla or Netscape, but we’re working on it.</p>'), "javascript:void(linkmanpopup=window.open('" . get_settings('siteurl') . "/wp-admin/link-add.php?action=popup&linkurl='+escape(location.href)+'&name='+escape(document.title),'LinkManager','scrollbars=yes,width=750,height=550,left=15,top=15,status=yes,resizable=yes'));linkmanpopup.focus();window.focus();linkmanpopup.focus();") ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
@ -156,7 +156,7 @@ switch ($action) {
|
|||||||
<th scope="row"><?php _e('Sort order:') ?></th>
|
<th scope="row"><?php _e('Sort order:') ?></th>
|
||||||
<td>
|
<td>
|
||||||
<select name="sort_order" size="1">
|
<select name="sort_order" size="1">
|
||||||
<option value="name" <?php echo ($row->sort_order == 'name') ? 'selected' : ''?>><?php _e('Name') ?></option>
|
<option value="name" <?php echo ($row->sort_order == 'name') ? 'selected="selected"' : ''?>><?php _e('Name') ?></option>
|
||||||
<option value="id" <?php echo ($row->sort_order == 'id') ? 'selected' : ''?>><?php _e('Id') ?></option>
|
<option value="id" <?php echo ($row->sort_order == 'id') ? 'selected' : ''?>><?php _e('Id') ?></option>
|
||||||
<option value="url" <?php echo ($row->sort_order == 'url') ? 'selected' : ''?>><?php _e('URL') ?></option>
|
<option value="url" <?php echo ($row->sort_order == 'url') ? 'selected' : ''?>><?php _e('URL') ?></option>
|
||||||
<option value="rating" <?php echo ($row->sort_order == 'rating') ? 'selected' : ''?>><?php _e('Rating') ?></option>
|
<option value="rating" <?php echo ($row->sort_order == 'rating') ? 'selected' : ''?>><?php _e('Rating') ?></option>
|
||||||
@ -190,15 +190,15 @@ switch ($action) {
|
|||||||
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
||||||
<tr>
|
<tr>
|
||||||
<th width="33%" scope="row"><?php _e('Before Link:') ?></th>
|
<th width="33%" scope="row"><?php _e('Before Link:') ?></th>
|
||||||
<td width="67%"><input type="text" name="text_before_link" size="45" value="<?php echo stripslashes($row->text_before_link)?>" /></td>
|
<td width="67%"><input type="text" name="text_before_link" size="45" value="<?php echo htmlspecialchars(stripslashes($row->text_before_link))?>" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('Between Link and Description:') ?></th>
|
<th scope="row"><?php _e('Between Link and Description:') ?></th>
|
||||||
<td><input type="text" name="text_after_link" size="45" value="<?php echo stripslashes($row->text_after_link)?>" /></td>
|
<td><input type="text" name="text_after_link" size="45" value="<?php echo htmlspecialchars(stripslashes($row->text_after_link))?>" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('After Link:') ?></th>
|
<th scope="row"><?php _e('After Link:') ?></th>
|
||||||
<td><input type="text" name="text_after_all" size="45" value="<?php echo stripslashes($row->text_after_all)?>"/></td>
|
<td><input type="text" name="text_after_all" size="45" value="<?php echo htmlspecialchars(stripslashes($row->text_after_all))?>"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
@ -137,11 +137,11 @@ switch ($step) {
|
|||||||
} // end else
|
} // end else
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
</div>
|
||||||
<?php
|
<?php
|
||||||
break;
|
break;
|
||||||
} // end case 1
|
} // end case 1
|
||||||
} // end switch
|
} // end switch
|
||||||
?>
|
?>
|
||||||
</div>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -343,7 +343,7 @@ th { text-align: right; }
|
|||||||
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
||||||
<tr>
|
<tr>
|
||||||
<th width="33%" scope="row"><?php _e('URI:') ?></th>
|
<th width="33%" scope="row"><?php _e('URI:') ?></th>
|
||||||
<td width="67%"><input type="text" name="linkurl" value="<?php echo $link_url; ?>" style="width: 95%; /"></td>
|
<td width="67%"><input type="text" name="linkurl" value="<?php echo $link_url; ?>" style="width: 95%;" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('Link Name:') ?></th>
|
<th scope="row"><?php _e('Link Name:') ?></th>
|
||||||
@ -367,7 +367,7 @@ th { text-align: right; }
|
|||||||
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
<table class="editform" width="100%" cellspacing="2" cellpadding="5">
|
||||||
<tr>
|
<tr>
|
||||||
<th width="33%" scope="row"><?php _e('rel:') ?></th>
|
<th width="33%" scope="row"><?php _e('rel:') ?></th>
|
||||||
<td width="67%"><input type="text" name="rel" id="rel" size="50" value="<?php echo $link_rel; ?>"></td>
|
<td width="67%"><input type="text" name="rel" id="rel" size="50" value="<?php echo $link_rel; ?>" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('<a href="http://gmpg.org/xfn/">XFN</a> Creator:') ?></th>
|
<th scope="row"><?php _e('<a href="http://gmpg.org/xfn/">XFN</a> Creator:') ?></th>
|
||||||
@ -655,9 +655,9 @@ function checkAll(form)
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<form name="links" id="links" method="post" action="">
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
|
|
||||||
<form name="links" id="links" method="post" action="">
|
|
||||||
<input type="hidden" name="link_id" value="" />
|
<input type="hidden" name="link_id" value="" />
|
||||||
<input type="hidden" name="action" value="" />
|
<input type="hidden" name="action" value="" />
|
||||||
<input type="hidden" name="order_by" value="<?php echo $order_by ?>" />
|
<input type="hidden" name="order_by" value="<?php echo $order_by ?>" />
|
||||||
@ -773,8 +773,8 @@ LINKS;
|
|||||||
<?php
|
<?php
|
||||||
} // end if !popup
|
} // end if !popup
|
||||||
?>
|
?>
|
||||||
</form>
|
|
||||||
</div>
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
@ -29,8 +29,8 @@ TEXTINPUT;
|
|||||||
//break;
|
//break;
|
||||||
|
|
||||||
case 2: // boolean
|
case 2: // boolean
|
||||||
$true_selected = ($option_result->option_value == '1') ? 'selected' : '';
|
$true_selected = ($option_result->option_value == '1') ? 'selected="selected"' : '';
|
||||||
$false_selected = ($option_result->option_value == '0') ? 'selected' : '';
|
$false_selected = ($option_result->option_value == '0') ? 'selected="selected"' : '';
|
||||||
return <<<BOOLSELECT
|
return <<<BOOLSELECT
|
||||||
<label for="$option_result->option_name">$option_result->option_name</label>$between
|
<label for="$option_result->option_name">$option_result->option_name</label>$between
|
||||||
<select name="$option_result->option_name" $disabled>
|
<select name="$option_result->option_name" $disabled>
|
||||||
@ -55,7 +55,7 @@ SELECT;
|
|||||||
$ret .= '<option value="'.$option->optionvalue.'"';
|
$ret .= '<option value="'.$option->optionvalue.'"';
|
||||||
//error_log("comparing [$option_result->option_value] == [$option->optionvalue]");
|
//error_log("comparing [$option_result->option_value] == [$option->optionvalue]");
|
||||||
if ($option_result->option_value == $option->optionvalue) {
|
if ($option_result->option_value == $option->optionvalue) {
|
||||||
$ret .=' selected';
|
$ret .=' selected="selected"';
|
||||||
}
|
}
|
||||||
$ret .= ">$option->optionvalue_desc</option>\n";
|
$ret .= ">$option->optionvalue_desc</option>\n";
|
||||||
}
|
}
|
||||||
@ -85,7 +85,7 @@ SELECT;
|
|||||||
$ret .= '<option value="'.$option->value.'"';
|
$ret .= '<option value="'.$option->value.'"';
|
||||||
//error_log("comparing [$option_result->option_value] == [$option->optionvalue]");
|
//error_log("comparing [$option_result->option_value] == [$option->optionvalue]");
|
||||||
if ($option_result->option_value == $option->value) {
|
if ($option_result->option_value == $option->value) {
|
||||||
$ret .=' selected';
|
$ret .=' selected="selected"';
|
||||||
}
|
}
|
||||||
$ret .= ">$option->label</option>\n";
|
$ret .= ">$option->label</option>\n";
|
||||||
}
|
}
|
||||||
|
@ -70,13 +70,13 @@ include('options-head.php');
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('Maximum size:') ?> </th>
|
<th scope="row"><?php _e('Maximum size:') ?> </th>
|
||||||
<td><input name="fileupload_maxk" type="text" id="fileupload_maxk" value="<?php echo get_settings('fileupload_maxk'); ?>" size="4">
|
<td><input name="fileupload_maxk" type="text" id="fileupload_maxk" value="<?php echo get_settings('fileupload_maxk'); ?>" size="4" />
|
||||||
<?php _e('Kilobytes (KB)') ?></td>
|
<?php _e('Kilobytes (KB)') ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th valign="top" scope="row"><?php _e('Allowed file extensions:') ?></th>
|
<th valign="top" scope="row"><?php _e('Allowed file extensions:') ?></th>
|
||||||
<td><input name="fileupload_allowedtypes" type="text" id="fileupload_allowedtypes" value="<?php echo get_settings('fileupload_allowedtypes'); ?>" size="40">
|
<td><input name="fileupload_allowedtypes" type="text" id="fileupload_allowedtypes" value="<?php echo get_settings('fileupload_allowedtypes'); ?>" size="40" />
|
||||||
<br>
|
<br />
|
||||||
<?php _e('Recommended: <code>jpg jpeg png gif </code>') ?></td>
|
<?php _e('Recommended: <code>jpg jpeg png gif </code>') ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -100,7 +100,7 @@ if (isset($_POST['submit'])) {
|
|||||||
<input name="category_base" type="text" style="width: 98%;" value="<?php echo $category_base; ?>" />
|
<input name="category_base" type="text" style="width: 98%;" value="<?php echo $category_base; ?>" />
|
||||||
</p>
|
</p>
|
||||||
<p class="submit">
|
<p class="submit">
|
||||||
<input type="submit" name="submit" value="<?php _e('Update Permalink Structure »') ?>">
|
<input type="submit" name="submit" value="<?php _e('Update Permalink Structure »') ?>" />
|
||||||
</p>
|
</p>
|
||||||
</form>
|
</form>
|
||||||
<?php
|
<?php
|
||||||
|
@ -74,7 +74,7 @@ include('options-head.php');
|
|||||||
<th scope="row"><?php _e('For each article, show:') ?> </th>
|
<th scope="row"><?php _e('For each article, show:') ?> </th>
|
||||||
<td><label>
|
<td><label>
|
||||||
<input name="rss_use_excerpt" type="radio" value="0" <?php checked(0, get_settings('rss_use_excerpt')); ?> />
|
<input name="rss_use_excerpt" type="radio" value="0" <?php checked(0, get_settings('rss_use_excerpt')); ?> />
|
||||||
full text</label> <br>
|
full text</label> <br />
|
||||||
<label>
|
<label>
|
||||||
<input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_settings('rss_use_excerpt')); ?> />
|
<input name="rss_use_excerpt" type="radio" value="1" <?php checked(1, get_settings('rss_use_excerpt')); ?> />
|
||||||
summary</label> </td>
|
summary</label> </td>
|
||||||
|
@ -747,7 +747,7 @@ default:
|
|||||||
?>
|
?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<?php _e('<h3>WordPress bookmarklet</h3>
|
<?php _e('<h3>WordPress bookmarklet</h3>
|
||||||
<p>You can drag the following link to your links bar or add it to your bookmarks and when you "Press it" it will open up a popup window with information and a link to the site you’re currently browsing so you can make a quick post about it. Try it out:</p>') ?>
|
<p>You can drag the following link to your links bar or add it to your bookmarks and when you "Press it" it will open up a popup window with information and a link to the site you’re currently browsing so you can make a quick post about it. Try it out:</p>') ?>
|
||||||
<p>
|
<p>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
@ -755,11 +755,11 @@ $bookmarklet_height= (get_settings('use_trackback')) ? 460 : 420;
|
|||||||
|
|
||||||
if ($is_NS4 || $is_gecko) {
|
if ($is_NS4 || $is_gecko) {
|
||||||
?>
|
?>
|
||||||
<a href="javascript:if(navigator.userAgent.indexOf('Safari') >= 0){Q=getSelection();}else{Q=document.selection?document.selection.createRange().text:document.getSelection();}void(window.open('<?php echo get_settings('siteurl') ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'<?php _e('WordPress bookmarklet') ?>','scrollbars=yes,width=600,height=460,left=100,top=150,status=yes'));"><?php printf(__('Press It - %s'), get_settings('blogname')); ?></a>
|
<a href="javascript:if(navigator.userAgent.indexOf('Safari') >= 0){Q=getSelection();}else{Q=document.selection?document.selection.createRange().text:document.getSelection();}void(window.open('<?php echo get_settings('siteurl') ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'<?php _e('WordPress bookmarklet') ?>','scrollbars=yes,width=600,height=460,left=100,top=150,status=yes'));"><?php printf(__('Press It - %s'), get_settings('blogname')); ?></a>
|
||||||
<?php
|
<?php
|
||||||
} else if ($is_winIE) {
|
} else if ($is_winIE) {
|
||||||
?>
|
?>
|
||||||
<a href="javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;void(btw=window.open('<?php echo get_settings('siteurl') ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'<?php echo $bookmarklet_tbpb ?>&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));btw.focus();"><?php printf(__('Press it - %s'), get_settings('blogname')); ?></a>
|
<a href="javascript:Q='';if(top.frames.length==0)Q=document.selection.createRange().text;void(btw=window.open('<?php echo get_settings('siteurl') ?>/wp-admin/bookmarklet.php?text='+escape(Q)+'<?php echo $bookmarklet_tbpb ?>&popupurl='+escape(location.href)+'&popuptitle='+escape(document.title),'bookmarklet','scrollbars=yes,width=600,height=<?php echo $bookmarklet_height ?>,left=100,top=150,status=yes'));btw.focus();"><?php printf(__('Press it - %s'), get_settings('blogname')); ?></a>
|
||||||
<script type="text/javascript" language="JavaScript">
|
<script type="text/javascript" language="JavaScript">
|
||||||
<!--
|
<!--
|
||||||
function oneclickbookmarklet(blah) {
|
function oneclickbookmarklet(blah) {
|
||||||
|
@ -303,40 +303,42 @@ default:
|
|||||||
<td><select name="newuser_idmode">
|
<td><select name="newuser_idmode">
|
||||||
<option value="nickname"<?php
|
<option value="nickname"<?php
|
||||||
if ($profiledata->user_idmode == 'nickname')
|
if ($profiledata->user_idmode == 'nickname')
|
||||||
echo " selected"; ?>><?php echo $profiledata->user_nickname ?></option>
|
echo ' selected="selected"'; ?>><?php echo $profiledata->user_nickname ?></option>
|
||||||
<option value="login"<?php
|
<option value="login"<?php
|
||||||
if ($profiledata->user_idmode=="login")
|
if ($profiledata->user_idmode=="login")
|
||||||
echo " selected"; ?>><?php echo $profiledata->user_login ?></option>
|
echo ' selected="selected"'; ?>><?php echo $profiledata->user_login ?></option>
|
||||||
<option value="firstname"<?php
|
<option value="firstname"<?php
|
||||||
if ($profiledata->user_idmode=="firstname")
|
if ($profiledata->user_idmode=="firstname")
|
||||||
echo " selected"; ?>><?php echo $profiledata->user_firstname ?></option>
|
echo ' selected="selected"'; ?>><?php echo $profiledata->user_firstname ?></option>
|
||||||
<option value="lastname"<?php
|
<option value="lastname"<?php
|
||||||
if ($profiledata->user_idmode=="lastname")
|
if ($profiledata->user_idmode=="lastname")
|
||||||
echo " selected"; ?>><?php echo $profiledata->user_lastname ?></option>
|
echo ' selected="selected"'; ?>><?php echo $profiledata->user_lastname ?></option>
|
||||||
<option value="namefl"<?php
|
<option value="namefl"<?php
|
||||||
if ($profiledata->user_idmode=="namefl")
|
if ($profiledata->user_idmode=="namefl")
|
||||||
echo " selected"; ?>><?php echo $profiledata->user_firstname." ".$profiledata->user_lastname ?></option>
|
echo ' selected="selected"'; ?>><?php echo $profiledata->user_firstname." ".$profiledata->user_lastname ?></option>
|
||||||
<option value="namelf"<?php
|
<option value="namelf"<?php
|
||||||
if ($profiledata->user_idmode=="namelf")
|
if ($profiledata->user_idmode=="namelf")
|
||||||
echo " selected"; ?>><?php echo $profiledata->user_lastname." ".$profiledata->user_firstname ?></option>
|
echo ' selected="selected"'; ?>><?php echo $profiledata->user_lastname." ".$profiledata->user_firstname ?></option>
|
||||||
</select> </td>
|
</select> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php _e('New <strong>Password</strong> (Leave blank to stay the same.)') ?></th>
|
<th scope="row"><?php _e('New <strong>Password</strong> (Leave blank to stay the same.)') ?></th>
|
||||||
<td><input type="password" name="pass1" size="16" value="" />
|
<td><input type="password" name="pass1" size="16" value="" />
|
||||||
<br>
|
<br />
|
||||||
<input type="password" name="pass2" size="16" value="" /></td>
|
<input type="password" name="pass2" size="16" value="" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<p class="submit">
|
<p class="submit">
|
||||||
<input type="submit" value="<?php _e('Update Profile »') ?>" name="submit" />
|
<input type="submit" value="<?php _e('Update Profile »') ?>" name="submit" />
|
||||||
</p>
|
</p>
|
||||||
</div>
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<?php if ($is_gecko && $profiledata->user_level != 0) { ?>
|
<?php if ($is_gecko && $profiledata->user_level != 0) { ?>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<script language="JavaScript" type="text/javascript">
|
<script language="JavaScript" type="text/javascript">
|
||||||
|
//<![CDATA[
|
||||||
function addPanel()
|
function addPanel()
|
||||||
{
|
{
|
||||||
if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function"))
|
if ((typeof window.sidebar == "object") && (typeof window.sidebar.addPanel == "function"))
|
||||||
@ -344,6 +346,7 @@ function addPanel()
|
|||||||
else
|
else
|
||||||
alert(<?php __("'No Sidebar found! You must use Mozilla 0.9.4 or later!'") ?>);
|
alert(<?php __("'No Sidebar found! You must use Mozilla 0.9.4 or later!'") ?>);
|
||||||
}
|
}
|
||||||
|
//]]>
|
||||||
</script>
|
</script>
|
||||||
<strong><?php _e('SideBar') ?></strong><br />
|
<strong><?php _e('SideBar') ?></strong><br />
|
||||||
<?php _e('Add the <a href="#" onClick="addPanel()">WordPress Sidebar</a>!') ?>
|
<?php _e('Add the <a href="#" onClick="addPanel()">WordPress Sidebar</a>!') ?>
|
||||||
@ -355,6 +358,7 @@ function addPanel()
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
@ -219,11 +219,11 @@ default:
|
|||||||
<td><a href='$url' title='website: $url'>$short_url</a></td>
|
<td><a href='$url' title='website: $url'>$short_url</a></td>
|
||||||
<td align='center'>";
|
<td align='center'>";
|
||||||
if (($user_level >= 2) and ($user_level > $user_data->user_level) and ($user_data->user_level > 0))
|
if (($user_level >= 2) and ($user_level > $user_data->user_level) and ($user_data->user_level > 0))
|
||||||
echo " <a href=\"users.php?action=promote&id=".$user_data->ID."&prom=down\">-</a> ";
|
echo " <a href=\"users.php?action=promote&id=".$user_data->ID."&prom=down\">-</a> ";
|
||||||
echo $user_data->user_level;
|
echo $user_data->user_level;
|
||||||
if (($user_level >= 2) and ($user_level > ($user_data->user_level + 1)))
|
if (($user_level >= 2) and ($user_level > ($user_data->user_level + 1)))
|
||||||
echo " <a href=\"users.php?action=promote&id=".$user_data->ID."&prom=up\">+</a> ";
|
echo " <a href=\"users.php?action=promote&id=".$user_data->ID."&prom=up\">+</a> ";
|
||||||
echo "<td align='right'>$numposts</td>";
|
echo "</td><td align='right'>$numposts</td>";
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -261,16 +261,16 @@ default:
|
|||||||
$style = ('class="alternate"' == $style) ? '' : 'class="alternate"';
|
$style = ('class="alternate"' == $style) ? '' : 'class="alternate"';
|
||||||
echo "\n<tr $style>
|
echo "\n<tr $style>
|
||||||
<td align='center'>$user_data->ID</td>
|
<td align='center'>$user_data->ID</td>
|
||||||
<td><strong>$user_data->user_nickname</td>
|
<td><strong>$user_data->user_nickname</strong></td>
|
||||||
<td>$user_data->user_firstname $user_data->user_lastname</td>
|
<td>$user_data->user_firstname $user_data->user_lastname</td>
|
||||||
<td><a href='mailto:$email' title='" . sprintf(__('e-mail: %s'), $email) . "'>$email</a></td>
|
<td><a href='mailto:$email' title='" . sprintf(__('e-mail: %s'), $email) . "'>$email</a></td>
|
||||||
<td><a href='$url' title='website: $url'>$short_url</a></td>
|
<td><a href='$url' title='website: $url'>$short_url</a></td>
|
||||||
<td align='center'>";
|
<td align='center'>";
|
||||||
if ($user_level >= 3)
|
if ($user_level >= 3)
|
||||||
echo " <a href=\"users.php?action=delete&id=".$user_data->ID."\" style=\"color:red;font-weight:bold;\">X</a> ";
|
echo " <a href=\"users.php?action=delete&id=".$user_data->ID."\" style=\"color:red;font-weight:bold;\">X</a> ";
|
||||||
echo $user_data->user_level;
|
echo $user_data->user_level;
|
||||||
if ($user_level >= 2)
|
if ($user_level >= 2)
|
||||||
echo " <a href=\"users.php?action=promote&id=".$user_data->ID."&prom=up\">+</a> ";
|
echo " <a href=\"users.php?action=promote&id=".$user_data->ID."&prom=up\">+</a> ";
|
||||||
echo "</td>\n</tr>\n";
|
echo "</td>\n</tr>\n";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@ -316,7 +316,7 @@ echo "\n<tr $style>
|
|||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
<p class="submit">
|
<p class="submit">
|
||||||
<input name="adduser" type="submit" id="adduser" value="<?php _e('Add User') ?> »">
|
<input name="adduser" type="submit" id="adduser" value="<?php _e('Add User') ?> »" />
|
||||||
</p>
|
</p>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user