Changeset 2100635
- Timestamp:
- 06/04/2019 07:55:33 PM (7 years ago)
- Location:
- post-thanks
- Files:
-
- 2 edited
-
tags/1.1/postthankyou.php (modified) (3 diffs)
-
trunk/postthankyou.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
post-thanks/tags/1.1/postthankyou.php
r2100587 r2100635 27 27 echo ' 28 28 <br> 29 <br>30 <br>31 29 <div class="container" style="border:solid; border-color:blue; padding:15px;"> 32 <h2>Post Thank You ---- Menu</h2> 30 <h2 style="font-weight: 900; 31 font-style: italic; 32 font-size: -webkit-xxx-large;">Post Thank You ---- Menu</h2> 33 33 <form action="' . $_SERVER['REQUEST_URI'] . '" method="post"> 34 <p>Display or Hide text:</p> 34 <p style ="font-weight: 900; 35 font-style: italic; 36 font-size: large;">Display or Hide text:</p> 35 37 <div class="radio"> 36 <label><input type="radio" name="displayhide" value="block" checked>Display text</label> 38 <label style="font-weight: 900; 39 font-style: italic; 40 font-size: inherit;"><input type="radio" name="displayhide" value="block" checked>Display text</label> 37 41 </div> 38 42 <div class="radio"> 39 <label><input type="radio" name="displayhide" value="none">Hide text</label> 43 <label style="font-weight: 900; 44 font-style: italic; 45 font-size: inherit;"><input type="radio" name="displayhide" value="none">Hide text</label> 40 46 </div> 41 47 <br> 48 <div> 49 <p style="font-weight: 900; 50 font-style: italic; 51 font-size: large;">Enter your text here:</p> 52 <textarea cols="21" rows="3" name="text">' . ( isset( $_POST['text']) ? $text : null ) . '</textarea> 53 <br> 54 </div> 42 55 <br> 43 56 <div> 44 <p>Enter your text here:</p> 45 <textarea cols="21" rows="4" name="text">' . ( isset( $_POST['text']) ? $text : null ) . '</textarea> 46 <br>( Eg. Thank you for reading! ) 47 </div> 48 <br> 49 <br> 50 <div> 51 <p>Select text color:</p> 57 <p style="font-weight: 900; 58 font-style: italic; 59 font-size: large;">Set text color:</p> 52 60 <input type ="text" name="textcolor">' . ( isset( $_POST['textcolor']) ? $textcolor : null ) . ' 53 <br> (Color name or Hex codes supported.)61 <br> 54 62 </div> 55 63 <br> 56 64 <br> 57 <br> 58 <input type="submit" name="submit" value="Submit"/> 65 <input type="submit" name="submit" value="Submit" style="font-weight: 900; 66 font-style: italic; 67 font-size: x-large;"/> 59 68 </form> 60 69 </div> … … 62 71 63 72 if (!isset($_POST['text'])) { 64 echo '<div style="border:solid; padding:15px;">Current text active is: <br><div style="color:'.get_option( 'post_thanks_text_color' ).'">'. 73 echo '<div style="border:solid; padding:15px;"><p style="font-weight: 900; 74 font-style: italic; 75 font-size: large;">Current text active is: </p><div style="color:'.get_option( 'post_thanks_text_color' ).'">'. 65 76 get_option( 'post_thanks_text' ).'</div></div>'; 66 77 exit; … … 78 89 add_option( 'post_thanks_text_displayhide', $showhide ); 79 90 update_option( 'post_thanks_text_displayhide', $showhide ); 80 echo '<div style="border:solid; padding:15px;">Following text added in end of all posts: <br><div style="color:'.get_option( 'post_thanks_text_color' ).'">'. 91 echo '<div style="border:solid; padding:15px;"><br><div style="font-weight: 900; 92 font-style: italic; 93 font-size: large;">Following text added in end of all posts: </div> <br><div style="color:'.get_option( 'post_thanks_text_color' ).'">'. 81 94 get_option( 'post_thanks_text' ).'</div></div>'; 82 95 } -
post-thanks/trunk/postthankyou.php
r2100587 r2100635 27 27 echo ' 28 28 <br> 29 <br>30 <br>31 29 <div class="container" style="border:solid; border-color:blue; padding:15px;"> 32 <h2>Post Thank You ---- Menu</h2> 30 <h2 style="font-weight: 900; 31 font-style: italic; 32 font-size: -webkit-xxx-large;">Post Thank You ---- Menu</h2> 33 33 <form action="' . $_SERVER['REQUEST_URI'] . '" method="post"> 34 <p>Display or Hide text:</p> 34 <p style ="font-weight: 900; 35 font-style: italic; 36 font-size: large;">Display or Hide text:</p> 35 37 <div class="radio"> 36 <label><input type="radio" name="displayhide" value="block" checked>Display text</label> 38 <label style="font-weight: 900; 39 font-style: italic; 40 font-size: inherit;"><input type="radio" name="displayhide" value="block" checked>Display text</label> 37 41 </div> 38 42 <div class="radio"> 39 <label><input type="radio" name="displayhide" value="none">Hide text</label> 43 <label style="font-weight: 900; 44 font-style: italic; 45 font-size: inherit;"><input type="radio" name="displayhide" value="none">Hide text</label> 40 46 </div> 41 47 <br> 48 <div> 49 <p style="font-weight: 900; 50 font-style: italic; 51 font-size: large;">Enter your text here:</p> 52 <textarea cols="21" rows="3" name="text">' . ( isset( $_POST['text']) ? $text : null ) . '</textarea> 53 <br> 54 </div> 42 55 <br> 43 56 <div> 44 <p>Enter your text here:</p> 45 <textarea cols="21" rows="4" name="text">' . ( isset( $_POST['text']) ? $text : null ) . '</textarea> 46 <br>( Eg. Thank you for reading! ) 47 </div> 48 <br> 49 <br> 50 <div> 51 <p>Select text color:</p> 57 <p style="font-weight: 900; 58 font-style: italic; 59 font-size: large;">Set text color:</p> 52 60 <input type ="text" name="textcolor">' . ( isset( $_POST['textcolor']) ? $textcolor : null ) . ' 53 <br> (Color name or Hex codes supported.)61 <br> 54 62 </div> 55 63 <br> 56 64 <br> 57 <br> 58 <input type="submit" name="submit" value="Submit"/> 65 <input type="submit" name="submit" value="Submit" style="font-weight: 900; 66 font-style: italic; 67 font-size: x-large;"/> 59 68 </form> 60 69 </div> … … 62 71 63 72 if (!isset($_POST['text'])) { 64 echo '<div style="border:solid; padding:15px;">Current text active is: <br><div style="color:'.get_option( 'post_thanks_text_color' ).'">'. 73 echo '<div style="border:solid; padding:15px;"><p style="font-weight: 900; 74 font-style: italic; 75 font-size: large;">Current text active is: </p><div style="color:'.get_option( 'post_thanks_text_color' ).'">'. 65 76 get_option( 'post_thanks_text' ).'</div></div>'; 66 77 exit; … … 78 89 add_option( 'post_thanks_text_displayhide', $showhide ); 79 90 update_option( 'post_thanks_text_displayhide', $showhide ); 80 echo '<div style="border:solid; padding:15px;">Following text added in end of all posts: <br><div style="color:'.get_option( 'post_thanks_text_color' ).'">'. 91 echo '<div style="border:solid; padding:15px;"><br><div style="font-weight: 900; 92 font-style: italic; 93 font-size: large;">Following text added in end of all posts: </div> <br><div style="color:'.get_option( 'post_thanks_text_color' ).'">'. 81 94 get_option( 'post_thanks_text' ).'</div></div>'; 82 95 }
Note: See TracChangeset
for help on using the changeset viewer.