mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
new quicktags, completely replaced b2quicktags.js, modified b2quicktags.php and added a JS var to b2edit.form.php
git-svn-id: https://develop.svn.wordpress.org/trunk@312 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -165,10 +165,11 @@ if ($action != 'editcomment') {
|
||||
?>
|
||||
</td>
|
||||
<td align="right">
|
||||
<?php if ($use_quicktags) {
|
||||
<?php
|
||||
if ($use_quicktags) {
|
||||
echo '<a href="http://wordpress.org/docs/reference/post/#quicktags" title="Help with quicktags">Quicktags</a>: ';
|
||||
include('b2quicktags.php');
|
||||
}
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -181,13 +182,22 @@ if ($action != 'editcomment') {
|
||||
?>
|
||||
<textarea rows="<?php echo $rows; ?>" cols="40" style="width:100%" name="content" tabindex="4" wrap="virtual" id="content"><?php echo $content ?></textarea><br />
|
||||
<?php
|
||||
if (get_settings('use_geo_positions')) {
|
||||
if ($use_quicktags) {
|
||||
?>
|
||||
<script language="JavaScript">
|
||||
<!--
|
||||
edCanvas = document.getElementById('content');
|
||||
//-->
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
if (get_settings('use_geo_positions')) {
|
||||
?>
|
||||
<label for="post_latf">Latitude:</label><input size="8" type="text" value="<?php echo $edited_lat; ?>" name="post_latf">
|
||||
<label for="post_lonf">Longitude:</label><input size="8" type="text" value="<?php echo $edited_lon; ?>" name="post_lonf"> <A href="http://www.geourl.org/resources.html" target="_blank" >click for Geo Info</A>
|
||||
<br>
|
||||
<?
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<?php echo $form_pingback ?>
|
||||
|
||||
Reference in New Issue
Block a user