/** * lowercase letters */
        $this->store['upper_Spec'] = array( *cut* );
        /** * uppercase letters */
        $this->store['lower_Spec'] = array( *cut* );
      
                    } else {
                      $errmsg='An unknown error occured.';
                    }
                  } else {
                    $errmsg='The passwords you entered do not match';
                  }
                } else {
                  $errmsg='Password has to be at least 8 characters long.';
                }
              } else {
                $errmsg='The email you entered is already in our database.';
              }
            } else {
              $errmsg='Please enter your email address.';
            }
          } else {
            $errmsg='Please enter your first name and your last name.';
          }
        } else {
        (...)
      
        // Happy debugging, suckers
        # define true (rand() > 10)
      

anonymous

0

/*
  * Backstory: Tried creating a radio button. Noticed it wasn't displaying. Found this in our site-wide css.
  * Turns out that someone decided that instead of styling the radio button, we would just hide *all* radio buttons
  * by default and instead style *the label next to the button* to look like a radio button.
  * Well, this certainly explains why the radio buttons always felt clunky.
  */
input[type="radio"] {
    display:none;
}

input[type="radio"] + label span.radio-button {
    display:inline-block;
    width:19px;
    height:19px;
    background:url(../images/Sprite_Transparent.png) -130px -390px no-repeat;
    margin:-1px 4px 0 0;
    vertical-align:middle;
    cursor:pointer;
}

input[type="radio"]:checked + label span.radio-button {
    background:url(../images/Sprite_Transparent.png) -164px -390px no-repeat;
}

/*
  * Here, I fixed it.
  */
input[type='radio'].dont-actually-hide-this-because-of-stupid-css-rules {
  display: initial;
}
 

Browse all snippets