Skip to content

Commit

Permalink
modified: changelog.txt
Browse files Browse the repository at this point in the history
	modified:   functions.php
	modified:   lib/hooks.php
	modified:   lib/option-panel.php
	modified:   style.css
  • Loading branch information
tenman committed Oct 28, 2013
1 parent f0c27e2 commit e99f5f2
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 58 deletions.
10 changes: 10 additions & 0 deletions changelog.txt
@@ -1,4 +1,14 @@
Changelog -----------------------------------
version:1.142
Fixed function name improperly, not prefixed
Change
from custom_remove_aria_required1()
to raindrops_custom_remove_aria_required1
Change
from custom_remove_aria_required1()
to raindrops_custom_remove_aria_required1
----------------------------------------------
Changelog -----------------------------------
version:1.141
Remove currently not using functions , vars and PHP5.4 strict errors

Expand Down
8 changes: 4 additions & 4 deletions functions.php
Expand Up @@ -1525,9 +1525,9 @@ function raindrops_comment_form( $form ) {
*
*
*/
if ( ! function_exists( "custom_remove_aria_required1" ) ) {
if ( ! function_exists( "raindrops_custom_remove_aria_required1" ) ) {

function custom_remove_aria_required1( $arg ) {
function raindrops_custom_remove_aria_required1( $arg ) {

global $raindrops_document_type;

Expand All @@ -1544,9 +1544,9 @@ function custom_remove_aria_required1( $arg ) {
*
*
*/
if ( ! function_exists( "custom_remove_aria_required2" ) ) {
if ( ! function_exists( "raindrops_custom_remove_aria_required2" ) ) {

function custom_remove_aria_required2( $args ) {
function raindrops_custom_remove_aria_required2( $args ) {

global $raindrops_document_type;

Expand Down
4 changes: 2 additions & 2 deletions lib/hooks.php
Expand Up @@ -80,15 +80,15 @@ function raindrops_theme_setup(){
*
*
*/
add_filter('comment_form_field_comment','custom_remove_aria_required1');
add_filter('comment_form_field_comment','raindrops_custom_remove_aria_required1');
/**
*
*
*
*
*
*/
add_filter('comment_form_default_fields', 'custom_remove_aria_required2');
add_filter('comment_form_default_fields', 'raindrops_custom_remove_aria_required2');
/**
*
*
Expand Down
102 changes: 51 additions & 51 deletions lib/option-panel.php
Expand Up @@ -974,57 +974,57 @@ function raindrops_color_selector($name,$current_val,$i){
*
*
*/
function raindrops_upload_form(){
global $max_upload_size;
global $dirlist;
$deliv = htmlspecialchars($_SERVER['REQUEST_URI']);
$result= '<div class="postbox raindrops" id="raindrops_upload_form">
<h3 id="raindrops-style-type" title="raindrops style type">
<div id="icon-upload" class="icon32"></div>
<span style="position:relative;top:10px;">'.
esc_html__('Image Upload','Raindrops').
'</span></h3>
<fieldset ><legend>'.__('Upload','Raindrops').'</legend>
<form enctype="multipart/form-data" action="'.$deliv.'" method="POST">'.wp_nonce_field('update-options2').'<p>
<input name="uploadfile" type="file"></p><p>'.
esc_html__('Purpose:','Raindrops').'<label>
<input type="radio" name="purpose" value="header" checked="checked" />'.
'<strong>'.
esc_html__('Header Image', 'Raindrops').
'</strong></label>
&nbsp;&nbsp;&nbsp;<label><input type="radio" name="purpose" value="footer" />'.
'<strong>'.
esc_html__('Footer Image','Raindrops').
'</strong></label></p><p>'.
esc_html__('Style:','Raindrops').'<label>
<input type="radio" name="style" value="norepeat" checked="checked" />'.
esc_html__('no-repeat','Raindrops').
'</label>&nbsp;&nbsp;&nbsp;<label>
<input type="radio" name="style" value="repeatx" />'.
esc_html__('repeat-x','Raindrops').'</label></p>
<p>'.__('position:','Raindrops').'<label>'.
esc_html__('top:','Raindrops').'<input type="text" name="position-top" value="0" style="text-align:right;" />'.
esc_html__('px','Raindrops').'</label>&nbsp;&nbsp;&nbsp;'.
esc_html__('left:','Raindrops').
'<label><input type="text" name="position-left" value="0" style="text-align:right;" />'.
esc_html__('px','Raindrops').'</label></p><p>'.
esc_html__('box height:','Raindrops').'<label>
<input type="text" name="height" value="0" style="text-align:right;" />'.
esc_html__('px','Raindrops').'</label></p><p>
<input type="submit" value="upload" name="raindrops_upload" class="button-primary"></p>
</form>
</fieldset>'.
'<div class="raindrops_navigation_list">
<ul>
<li><a href="#raindrops-header-image">'.
esc_html__('Go to current header image','Raindrops').
'</a></li>
<li><a href="#raindrops-footer-image">'.
esc_html__('Go to current footer image','Raindrops').
'</a></li></ul></div>'.
'</div>';
return $result;
}
function raindrops_upload_form(){
global $max_upload_size;
global $dirlist;
$deliv = htmlspecialchars($_SERVER['REQUEST_URI']);
$result= '<div class="postbox raindrops" id="raindrops_upload_form">
<h3 id="raindrops-style-type" title="raindrops style type">
<div id="icon-upload" class="icon32"></div>
<span style="position:relative;top:10px;">'.
esc_html__('Image Upload','Raindrops').
'</span></h3>
<fieldset ><legend>'.__('Upload','Raindrops').'</legend>
<form enctype="multipart/form-data" action="'.$deliv.'" method="POST">'.wp_nonce_field('update-options2').'<p>
<input name="uploadfile" type="file"></p><p>'.
esc_html__('Purpose:','Raindrops').'<label>
<input type="radio" name="purpose" value="header" checked="checked" />'.
'<strong>'.
esc_html__('Header Image', 'Raindrops').
'</strong></label>
&nbsp;&nbsp;&nbsp;<label><input type="radio" name="purpose" value="footer" />'.
'<strong>'.
esc_html__('Footer Image','Raindrops').
'</strong></label></p><p>'.
esc_html__('Style:','Raindrops').'<label>
<input type="radio" name="style" value="norepeat" checked="checked" />'.
esc_html__('no-repeat','Raindrops').
'</label>&nbsp;&nbsp;&nbsp;<label>
<input type="radio" name="style" value="repeatx" />'.
esc_html__('repeat-x','Raindrops').'</label></p>
<p>'.__('position:','Raindrops').'<label>'.
esc_html__('top:','Raindrops').'<input type="text" name="position-top" value="0" style="text-align:right;" />'.
esc_html__('px','Raindrops').'</label>&nbsp;&nbsp;&nbsp;'.
esc_html__('left:','Raindrops').
'<label><input type="text" name="position-left" value="0" style="text-align:right;" />'.
esc_html__('px','Raindrops').'</label></p><p>'.
esc_html__('box height:','Raindrops').'<label>
<input type="text" name="height" value="0" style="text-align:right;" />'.
esc_html__('px','Raindrops').'</label></p><p>
<input type="submit" value="upload" name="raindrops_upload" class="button-primary"></p>
</form>
</fieldset>'.
'<div class="raindrops_navigation_list">
<ul>
<li><a href="#raindrops-header-image">'.
esc_html__('Go to current header image','Raindrops').
'</a></li>
<li><a href="#raindrops-footer-image">'.
esc_html__('Go to current footer image','Raindrops').
'</a></li></ul></div>'.
'</div>';
return $result;
}
/**
* Raindrops upload image check and save
*
Expand Down
2 changes: 1 addition & 1 deletion style.css
Expand Up @@ -4,7 +4,7 @@ Theme URI: http://www.tenman.info/wp3/raindrops/
Description: This theme file has the automatic arrangement of color function in specifying the layout customizing function and the reference color by Yahoo User Interface. The color can specify the tradition color and the American tradition color of Japan by the name. An automatic arrangement of color and the layout can be changed to the expression who you further seem by your instruction. ver1.111 Retina support and support Post Formats all types.
Author: Tenman
Author URI: http://www.tenman.info/wp3/
Version: 1.141
Version: 1.142
Tags:black, blue, gray, brown, green, orange, pink, purple, red, silver, tan, white, yellow,dark,light,one-column,two-columns,three-columns,four-columns,left-sidebar,right-sidebar ,fixed-width ,flexible-width, custom-colors, custom-header, custom-background, custom-menu, editor-style, theme-options, threaded-comments, sticky-post, translation-ready, post-formats, featured-images, full-width-template
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down

0 comments on commit e99f5f2

Please sign in to comment.