Make WordPress Core


Ignore:
Timestamp:
07/06/2006 02:45:17 AM (18 years ago)
Author:
ryan
Message:

Validation fixes from leftjustified. fixes #2909

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/default/functions.php

    r3928 r3998  
    136136<script type="text/javascript" src="../wp-includes/js/colorpicker.js"></script>
    137137<script type='text/javascript'>
     138// <![CDATA[
    138139    function pickColor(color) {
    139140        ColorPicker_targetInput.value = color;
     
    240241    }
    241242    addLoadEvent(kInit);
     243// ]]>
    242244</script>
    243245<style type='text/css'>
     
    352354        <br />
    353355        <div id="nonJsForm">
    354             <form method="POST">
     356            <form method="post" action="">
    355357                <div class="zerosize"><input type="submit" name="defaultsubmit" value="Save" /></div>
    356358                <label for="njfontcolor">Font Color:</label><input type="text" name="njfontcolor" id="njfontcolor" value="<?php echo kubrick_header_color(); ?>" /> Any CSS color (<code>red</code> or <code>#FF0000</code> or <code>rgb(255, 0, 0)</code>)<br />
     
    358360                <label for="njlowercolor">Lower Color:</label><input type="text" name="njlowercolor" id="njlowercolor" value="#<?php echo kubrick_lower_color(); ?>" /> HEX only (<code>#FF0000</code> or <code>#F00</code>)<br />
    359361                <input type="hidden" name="hi" id="hi" value="<?php echo kubrick_header_image(); ?>" />
    360                 <label> </label><input type="submit" name="toggledisplay" id="toggledisplay" value="Toggle Text" />
     362                <input type="submit" name="toggledisplay" id="toggledisplay" value="Toggle Text" />
    361363                <input type="submit" name="defaults" value="Use Defaults" />
    362364                <input type="submit" class="defbutton" name="submitform" value="&nbsp;&nbsp;Save&nbsp;&nbsp;" />
     
    382384            <div id="colorPickerDiv" style="z-index: 100;background:#eee;border:1px solid #ccc;position:absolute;visibility:hidden;"> </div>
    383385            <div id="advanced">
    384                 <form id="jsAdvanced" style="display:none;">
     386                <form id="jsAdvanced" style="display:none;" action="">
    385387                    <label for="advfontcolor">Font Color (CSS): </label><input type="text" id="advfontcolor" onchange="advUpdate(this.value, 'fontcolor')" value="<?php echo kubrick_header_color(); ?>" /><br />
    386388                    <label for="advuppercolor">Upper Color (HEX): </label><input type="text" id="advuppercolor" onchange="advUpdate(this.value, 'uppercolor')" value="#<?php echo kubrick_upper_color(); ?>" /><br />
Note: See TracChangeset for help on using the changeset viewer.