Changeset 2830556
- Timestamp:
- 12/08/2022 10:37:10 AM (3 years ago)
- Location:
- contact-form-123/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
contact-form-123/trunk/README.txt
r2647600 r2830556 2 2 Contributors: aleksandrposs 3 3 Tags: form 4 Requires at least: 5.8.2 5 Tested up to: 5.8.2 6 Stable tag: 1.6 4 Requires at least: 6.1.1 5 Tested up to: 6.1.1 6 7 Stable tag: 1.7 7 8 License: GPLv2 or later 8 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 21 22 22 23 == Changelog == 24 25 = 1.7 = 26 * Added two styles: red and yellow for this contact form 23 27 24 28 = 1.6 = -
contact-form-123/trunk/index.php
r2636429 r2830556 133 133 <p><input type="submit" value="Send Message" name="commit" id="message_submit_blue"/> 134 134 <?php 135 } else if ($color_scheme == "red") { 136 ?> 137 138 <p><label for="email">Your email</label><br><input type="text" name="form_msg_email" id="form_email_red" /></p> 139 <p><label for="body">Message</label><br><textarea name="form_msg_body" id="form_body_red" cols="35"></textarea></p> 140 141 <p><input type="submit" value="Send Message" name="commit" id="message_submit_red"/> 142 <?php 143 } else if ($color_scheme == "yellow") { 144 ?> 145 146 <p><label for="email">Your email</label><br><input type="text" name="form_msg_email" id="form_email_yellow" /></p> 147 <p><label for="body">Message</label><br><textarea name="form_msg_body" id="form_body_yellow" cols="35"></textarea></p> 148 149 <p><input type="submit" value="Send Message" name="commit" id="message_submit_yellow"/> 150 <?php 135 151 } else if ($color_scheme == NULL) { 136 152 ?> … … 194 210 <input type="radio" name="answer_color" value="green">Green<Br> 195 211 <input type="radio" name="answer_color" value="blue">Blue<Br> 212 <input type="radio" name="answer_color" value="red">Red<Br> 213 <input type="radio" name="answer_color" value="yellow">Yellow<Br> 196 214 <input style="cursor:pointer;" type="submit" value="change"> 197 215 </form> -
contact-form-123/trunk/style.css
r2475206 r2830556 133 133 } 134 134 135 /* red color scheme */ 136 #form_email_red{ 137 border:1px solid #FF2D2D; 138 height:40px; 139 width:80%; 140 } 141 #form_body_red{ 142 border:1px solid #FF2D2D; 143 height:120px; width:80%; 144 } 135 145 146 #message_submit_red{ 147 width:80%; height: 40px; 148 color: black; 149 background-color: #FF2D2D; 150 border-radius: 15px; 151 } 152 153 /* yellow color scheme */ 154 #form_email_yellow{ 155 border:1px solid #B7AA1B; 156 height:40px; 157 width:80%; 158 } 159 #form_body_yellow{ 160 border:1px solid #B7AA1B; 161 height:120px; width:80%; 162 } 163 164 #message_submit_yellow{ 165 width:80%; height: 40px; 166 color: black; 167 background-color: #B7AA1B; 168 border-radius: 15px; 169 } 170
Note: See TracChangeset
for help on using the changeset viewer.