Changeset 1854814
- Timestamp:
- 04/08/2018 03:56:53 PM (8 years ago)
- Location:
- gr-dashboard-notes
- Files:
-
- 6 added
- 3 edited
-
tags/1.0.2 (added)
-
tags/1.0.2/LICENSE.txt (added)
-
tags/1.0.2/gr-dashboard-notes.php (added)
-
tags/1.0.2/inc (added)
-
tags/1.0.2/inc/gr-admin-menu.php (added)
-
tags/1.0.2/readme.txt (added)
-
trunk/gr-dashboard-notes.php (modified) (1 diff)
-
trunk/inc/gr-admin-menu.php (modified) (15 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gr-dashboard-notes/trunk/gr-dashboard-notes.php
r1814893 r1854814 4 4 * Plugin URI: https://wordpress.org/plugins/gr-dashboard-notes/ 5 5 * Description: This plugin let you create notes on the dashboard for different roles of your choice. 6 * Version: 1.0. 16 * Version: 1.0.2 7 7 * Author: Achim T. 8 8 * Author URI: https://www.Game-Reset.de -
gr-dashboard-notes/trunk/inc/gr-admin-menu.php
r1814893 r1854814 25 25 { 26 26 echo '<center><b>'; 27 esc_html_e( 'Error. You have already 5/5 notes. When you want to post a new one you have to delete an existing one.', 'gr _dashboard_notes' );27 esc_html_e( 'Error. You have already 5/5 notes. When you want to post a new one you have to delete an existing one.', 'gr-dashboard-notes' ); 28 28 echo '</b></center>'; 29 29 } … … 73 73 update_option( $gr_dashboard_notes_setnewid_role, $gr_dashboard_notes_setnewroles); 74 74 echo '<center><b>'; 75 esc_html_e( 'Note created!', 'gr _dashboard_notes' );75 esc_html_e( 'Note created!', 'gr-dashboard-notes' ); 76 76 echo '</b></center>'; 77 77 } … … 80 80 { 81 81 echo '<center><b>'; 82 esc_html_e( 'Error. No note-text written or target-group selected. Please try it again.', 'gr _dashboard_notes' );82 esc_html_e( 'Error. No note-text written or target-group selected. Please try it again.', 'gr-dashboard-notes' ); 83 83 echo '</b></center>'; 84 84 } … … 139 139 update_option( $gr_dashboard_notes_setoldid_role, ''); 140 140 echo '<center><b>'; 141 esc_html_e( 'Note deleted!', 'gr _dashboard_notes' );141 esc_html_e( 'Note deleted!', 'gr-dashboard-notes' ); 142 142 echo '</b></center>'; 143 143 } … … 152 152 <h1>GR Dashboard Notes</h1> 153 153 <h2> 154 <?php esc_html_e( 'Manual', 'gr _dashboard_notes' );154 <?php esc_html_e( 'Manual', 'gr-dashboard-notes' ); 155 155 echo '</h2><b>'; 156 esc_html_e( 'Add a note:', 'gr _dashboard_notes' );156 esc_html_e( 'Add a note:', 'gr-dashboard-notes' ); 157 157 echo '</b><br>'; 158 esc_html_e( '1. Insert your desired text into the text-field below.', 'gr _dashboard_notes' );158 esc_html_e( '1. Insert your desired text into the text-field below.', 'gr-dashboard-notes' ); 159 159 echo '<br>'; 160 esc_html_e( '2. Select the usergroups who should see the notice.', 'gr _dashboard_notes' );160 esc_html_e( '2. Select the usergroups who should see the notice.', 'gr-dashboard-notes' ); 161 161 echo '<br>'; 162 esc_html_e( '3. Press the save-button.', 'gr _dashboard_notes' );162 esc_html_e( '3. Press the save-button.', 'gr-dashboard-notes' ); 163 163 echo '<br>'; 164 esc_html_e( '4. The new note will be shown at the dashboard.', 'gr _dashboard_notes' );164 esc_html_e( '4. The new note will be shown at the dashboard.', 'gr-dashboard-notes' ); 165 165 echo '<br><br><b>'; 166 esc_html_e( 'Delete a note:', 'gr _dashboard_notes' );166 esc_html_e( 'Delete a note:', 'gr-dashboard-notes' ); 167 167 echo '</b><br>'; 168 esc_html_e( 'Click on the delete button from the note who should be deleted.', 'gr _dashboard_notes' );168 esc_html_e( 'Click on the delete button from the note who should be deleted.', 'gr-dashboard-notes' ); 169 169 echo '<br><br>'; 170 170 /* Zählen der Note-Einträge und Ausgabe der Menge */ … … 174 174 echo $gr_dashboard_notes_optionscheck_count; 175 175 echo '/5 '; 176 esc_html_e( 'notes published', 'gr _dashboard_notes' );176 esc_html_e( 'notes published', 'gr-dashboard-notes' ); 177 177 echo '</b><br>'; 178 178 /* Bisherige Speicherungen abrufen */ … … 180 180 { 181 181 echo '<center><b>'; 182 esc_html_e( 'No Dashboard notes published.', 'gr _dashboard_notes' );182 esc_html_e( 'No Dashboard notes published.', 'gr-dashboard-notes' ); 183 183 echo '</b></center>'; 184 184 } … … 188 188 <tr> 189 189 <td width="10%">'; 190 esc_html_e ( 'ID', 'gr _dashboard_notes' );190 esc_html_e ( 'ID', 'gr-dashboard-notes' ); 191 191 echo '</td> 192 192 <td width="70%">'; 193 esc_html_e ( 'Text', 'gr _dashboard_notes' );193 esc_html_e ( 'Text', 'gr-dashboard-notes' ); 194 194 echo '</td> 195 195 <td>'; 196 esc_html_e ( 'Usergroups', 'gr _dashboard_notes' );196 esc_html_e ( 'Usergroups', 'gr-dashboard-notes' ); 197 197 echo'</td> 198 198 <td>'; 199 esc_html_e ( 'Delete', 'gr _dashboard_notes' );199 esc_html_e ( 'Delete', 'gr-dashboard-notes' ); 200 200 echo'</td> 201 201 </tr> … … 221 221 wp_nonce_field( 'gr_dashboard_notes_nonce', 'gr_dashboard_notes_nonce_field' ); 222 222 echo '<span class="submit" style="border: 0;"><input type="submit" name="delete1" value="'; 223 esc_html_e( 'Delete', 'gr _dashboard_notes' );223 esc_html_e( 'Delete', 'gr-dashboard-notes' ); 224 224 echo '" /></span></form></tr>'; 225 225 } … … 242 242 wp_nonce_field( 'gr_dashboard_notes_nonce', 'gr_dashboard_notes_nonce_field' ); 243 243 echo '<span class="submit" style="border: 0;"><input type="submit" name="delete2" value="'; 244 esc_html_e( 'Delete', 'gr _dashboard_notes' );244 esc_html_e( 'Delete', 'gr-dashboard-notes' ); 245 245 echo '" /></span></form></tr>'; 246 246 } … … 263 263 wp_nonce_field( 'gr_dashboard_notes_nonce', 'gr_dashboard_notes_nonce_field' ); 264 264 echo '<span class="submit" style="border: 0;"><input type="submit" name="delete3" value="'; 265 esc_html_e( 'Delete', 'gr _dashboard_notes' );265 esc_html_e( 'Delete', 'gr-dashboard-notes' ); 266 266 echo '" /></span></form></tr>'; 267 267 } … … 284 284 wp_nonce_field( 'gr_dashboard_notes_nonce', 'gr_dashboard_notes_nonce_field' ); 285 285 echo '<span class="submit" style="border: 0;"><input type="submit" name="delete4" value="'; 286 esc_html_e( 'Delete', 'gr _dashboard_notes' );286 esc_html_e( 'Delete', 'gr-dashboard-notes' ); 287 287 echo '" /></span></form></tr>'; 288 288 } … … 305 305 wp_nonce_field( 'gr_dashboard_notes_nonce', 'gr_dashboard_notes_nonce_field' ); 306 306 echo '<span class="submit" style="border: 0;"><input type="submit" name="delete5" value="'; 307 esc_html_e( 'Delete', 'gr _dashboard_notes' );307 esc_html_e( 'Delete', 'gr-dashboard-notes' ); 308 308 echo '" /></span></form></tr>'; 309 309 } … … 314 314 ?> 315 315 <br><h2> 316 <?php esc_html_e( 'Add a new note:', 'gr _dashboard_notes' );?>316 <?php esc_html_e( 'Add a new note:', 'gr-dashboard-notes' );?> 317 317 </h2><table border="2" width="80%" class="grdashboardnotes"> 318 318 <tr> 319 <td width="70%"><?php esc_html_e ( 'Text', 'gr _dashboard_notes' );?></td>320 <td><?php esc_html_e ( 'Usergroups', 'gr _dashboard_notes' );?></td>319 <td width="70%"><?php esc_html_e ( 'Text', 'gr-dashboard-notes' );?></td> 320 <td><?php esc_html_e ( 'Usergroups', 'gr-dashboard-notes' );?></td> 321 321 </tr> 322 322 <tr> … … 335 335 <?php /* Absendebutton für neue Dashboard Notiz */ 336 336 echo '<span class="submit" style="border: 0;"><input type="submit" name="submit" value="'; 337 esc_html_e( 'Save', 'gr _dashboard_notes' );337 esc_html_e( 'Save', 'gr-dashboard-notes' ); 338 338 echo '" /></span></form>';?> 339 339 </td> -
gr-dashboard-notes/trunk/readme.txt
r1854582 r1854814 4 4 Requires at least: 4.6 5 5 Tested up to: 4.9.5 6 Stable tag: 1.0. 16 Stable tag: 1.0.2 7 7 License: GPLv2 or later 8 8 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 32 32 == Changelog == 33 33 34 = 1.0.2 = 35 * Fixed translation-string errors 34 36 35 37 = 1.0.1 =
Note: See TracChangeset
for help on using the changeset viewer.