Changeset 1127167
- Timestamp:
- 04/03/2015 04:11:50 PM (11 years ago)
- Location:
- simple-voting/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (1 diff)
-
core/class-shortcode-processor-_-simple-voting.php (modified) (3 diffs)
-
core/css/voting-_-simple-voting.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
simple-voting/trunk/README.txt
r1126499 r1127167 14 14 15 15 You can see a demo examples at [Seoringer.com](http://seoringer.com/simple-voting-plugin-for-wordpress/ "simple voting plugin for WordPress"). 16 Plugin has a Russian translation. 16 17 Plugin will take traslation from your WordPress installation, based on the locale of your site. So, if you have 18 German-localized WordPress with de_DE site locale, plugin will show German labels, if your WordPress is 19 Russian-localized with ru_RU locale, plugin will show Russian labels, and so on. 17 20 18 21 Any questions and bug reports are welcomed at [email protected] -
simple-voting/trunk/core/class-shortcode-processor-_-simple-voting.php
r1120453 r1127167 125 125 $plugin_url = plugin_dir_url( dirname( __FILE__ ) ); 126 126 127 $userNameLabel = __("Your name:", "simple-voting"); 128 $userCommentLabel = __("Comments:", "simple-voting"); 129 $ratingLabel = __("Please rate:", "simple-voting"); 127 $userNameLabel = __("Please enter a username." ); 128 if( "Please enter a username." == $userNameLabel ) $userNameLabel = __("Your name:", "simple-voting"); 129 $userCommentLabel = __("Your Comment" ); 130 if( "Your Comment" == $userCommentLabel ) $userCommentLabel = __("Comments:", "simple-voting"); 131 //$ratingLabel = __("Please rate:", "simple-voting"); 132 $ratingLabel = " "; 130 133 131 134 $svNonce = wp_create_nonce( "simple-voting" ); … … 142 145 <div class="user-data-_-simple-voting"> 143 146 <DIV name="svUserNameGroup"> 144 <label class="text-label-_-simple-voting"><span class="mandatory">*</span>{$userNameLabel}</label>147 <label name="sv-user-name-label" class="text-label-_-simple-voting"><span class="mandatory">*</span>{$userNameLabel}</label> 145 148 <input name="svUserName" class="text-input-_-simple-voting" type="text"></input> 146 149 </DIV> 147 150 <DIV name="svUserEmailGroup"> 148 <label class="text-label-_-simple-voting"><span class="mandatory">*</span>Email:</label>151 <label name="sv-user-email-label" class="text-label-_-simple-voting"><span class="mandatory">*</span>Email:</label> 149 152 <input name="svUserEmail" class="text-input-_-simple-voting" type="email"></input> 150 153 </DIV> 151 154 <DIV> 152 <label class="text-label-_-simple-voting">{$userCommentLabel}</label>155 <label name="sv-user-comment-label" class="text-label-_-simple-voting">{$userCommentLabel}</label> 153 156 <textarea name="svUserComment" class="text-input-_-simple-voting user-comment-_-simple-voting"></textarea> 154 157 </DIV> … … 156 159 </form> 157 160 <div name="svVotingGroup"> 158 <div name='svVotingLabel'>{$ratingLabel}</div>161 <div class='voting-label-_-simple-voting'>{$ratingLabel}</div> 159 162 <div name="svVotingElements"> 160 163 svHtml_part1; -
simple-voting/trunk/core/css/voting-_-simple-voting.css
r1126495 r1127167 40 40 41 41 /* Minor adjustments */ 42 #svVotingLabel { padding-bottom: 5px; } 42 .voting-label-_-simple-voting:after { 43 content: '\A'; 44 white-space: pre-wrap; 45 padding-bottom: 5px; 46 } 47 .voting-label-_-simple-voting { 48 padding-bottom: 5px; 49 white-space: pre-wrap; 50 } 51 52 43 53 #svFinalRating { font-size: 14px; font-weight: bold; } 44 54
Note: See TracChangeset
for help on using the changeset viewer.