WP Htaccess Editor - Version 1.3.0

Version Description

  • Added Spanish translation (Thanks to Andrew Kurtis from WebHostingHub.com)
  • Updated design
  • Updated info links
Download this release

Release Info

Developer Lukenzi
Plugin Icon 128x128 WP Htaccess Editor
Version 1.3.0
Comparing to
See all releases

Code changes from version 1.2.0 to 1.3.0

index.php CHANGED
File without changes
lang/cs_CZ.mo CHANGED
File without changes
lang/cs_CZ.po CHANGED
File without changes
lang/default.po CHANGED
File without changes
lang/es_ES.mo ADDED
Binary file
lang/es_ES.po ADDED
@@ -0,0 +1,417 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: WP Htaccess editor\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2012-08-23 21:43+0100\n"
6
+ "PO-Revision-Date: 2014-02-06 14:30+0100\n"
7
+ "Last-Translator: jelena kovacevic <jecajeca260@gmail.com>\n"
8
+ "Language-Team: Lukenzi <lukenzi@gmail.com>\n"
9
+ "Language: cs_CZ\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: _e;__\n"
14
+ "X-Poedit-Basepath: /opt/lampp/htdocs/wordpress/wp-content/plugins/wp-"
15
+ "htaccess-editor/\n"
16
+ "X-Poedit-SourceCharset: utf-8\n"
17
+ "X-Generator: Poedit 1.5.5\n"
18
+ "X-Poedit-SearchPath-0: .\n"
19
+
20
+ #: wp-htaccess-editor.php:77 wp-htaccess-editor.php:81
21
+ #: wp-htaccess-editor.php:85 wp-htaccess-editor.php:90 lib/lib.pages.php:31
22
+ #: lib/lib.pages.php:38 lib/lib.pages.php:45
23
+ msgid "Fatal error: Plugin <strong>WP Htaccess Editor</strong> is corrupted"
24
+ msgstr "Error Fatal: Plugin <strong> WP htaccess Editor </strong> está dañado"
25
+
26
+ #: pages/wphe-backup.php:7 lib/lib.pages.php:11
27
+ msgid "Backup"
28
+ msgstr "Copia de seguridad"
29
+
30
+ #: pages/wphe-backup.php:16
31
+ msgid ""
32
+ "Unable to restore backup! Probably the wrong setting write permissions to "
33
+ "the files."
34
+ msgstr ""
35
+ "¡No se puede restaurar copia de seguridad! Probablemente el ajuste "
36
+ "incorrecto de permisos de escritura a los archivos."
37
+
38
+ #: pages/wphe-backup.php:18 pages/wphe-backup.php:38
39
+ msgid "The backup file is located in the <code>wp-content</code> folder."
40
+ msgstr ""
41
+ "El archivo de copia de seguridad se encuentra en la carpeta <code> wp-"
42
+ "content </code>."
43
+
44
+ #: pages/wphe-backup.php:22
45
+ msgid "Backup was restored successfully"
46
+ msgstr "La copia de seguridad se restauró con éxito"
47
+
48
+ #: pages/wphe-backup.php:23
49
+ msgid "Old backup file was deleted successfully"
50
+ msgstr "Archivo de copia de seguridad viejo se ha eliminado correctamente"
51
+
52
+ #: pages/wphe-backup.php:26
53
+ msgid "Unable to restore backup!"
54
+ msgstr "¡No se puede restaurar copia de seguridad!"
55
+
56
+ #: pages/wphe-backup.php:28
57
+ msgid "This is contents of the original file, put it into a file manually"
58
+ msgstr ""
59
+ "Este es el contenido del archivo original, póngalo en un archivo de forma "
60
+ "manual"
61
+
62
+ #: pages/wphe-backup.php:36
63
+ msgid "Backup file was created successfully"
64
+ msgstr "Archivo de Copia de seguridad fue creado con éxito"
65
+
66
+ #: pages/wphe-backup.php:41
67
+ msgid ""
68
+ "Unable to create backup! <code>wp-content</code> folder is not writeable! "
69
+ "Change the permissions this folder manually!"
70
+ msgstr ""
71
+ "¡No se puede crear la copia de seguridad! <code> wp-content </code> ¡La "
72
+ "carpeta no se puede escribir! ¡Cambie los permisos de esta carpeta "
73
+ "manualmente!"
74
+
75
+ #: pages/wphe-backup.php:42 pages/wphe-backup.php:52
76
+ #: pages/wphe-dashboard.php:31 pages/wphe-dashboard.php:43
77
+ msgid ""
78
+ "Due to server configuration can not change permissions on files or create "
79
+ "new files"
80
+ msgstr ""
81
+ "Debido a la configuración del servidor no se pueden cambiar los permisos de "
82
+ "los archivos o crear nuevos archivos"
83
+
84
+ #: pages/wphe-backup.php:49
85
+ msgid "Backup file was successfully removed"
86
+ msgstr "El archivo de copia de seguridad se ha eliminado correctamente"
87
+
88
+ #: pages/wphe-backup.php:51
89
+ msgid ""
90
+ "Backup file could not be removed! Probably the wrong setting write "
91
+ "permissions to the files."
92
+ msgstr ""
93
+ "¡El archivo de copia de seguridad no puede ser eliminado! Probablemente el "
94
+ "ajuste incorrecto de permisos de escritura a los archivos."
95
+
96
+ #: pages/wphe-backup.php:63
97
+ msgid "Do you want to restore the backup file?"
98
+ msgstr "¿Usted desea restaurar el archivo de copia de seguridad?"
99
+
100
+ #: pages/wphe-backup.php:63
101
+ msgid "Restore backup &raquo;"
102
+ msgstr "Restaurar copia de seguridad &raquo;"
103
+
104
+ #: pages/wphe-backup.php:72
105
+ msgid "Do you want to delete a backup file?"
106
+ msgstr "¿Quiere eliminar un archivo de copia de seguridad?"
107
+
108
+ #: pages/wphe-backup.php:72 pages/wphe-dashboard.php:25
109
+ msgid "Remove backup &raquo;"
110
+ msgstr "Eliminar copia de seguridad &raquo;"
111
+
112
+ #: pages/wphe-backup.php:78
113
+ msgid "Backup file not found..."
114
+ msgstr "El archivo de copia de seguridad no se encuentra ..."
115
+
116
+ #: pages/wphe-backup.php:86
117
+ msgid "Do you want to create a new backup file?"
118
+ msgstr "¿Quiere crear un nuevo archivo de copia de seguridad?"
119
+
120
+ #: pages/wphe-backup.php:86
121
+ msgid "Create new &raquo;"
122
+ msgstr "Crear nuevo &raquo;"
123
+
124
+ #: pages/wphe-backup.php:95 pages/wphe-dashboard.php:129
125
+ msgid "Information about this plugin"
126
+ msgstr "Información sobre este plugin"
127
+
128
+ #: pages/wphe-backup.php:97 pages/wphe-dashboard.php:131
129
+ msgid "Author"
130
+ msgstr "Autor"
131
+
132
+ #: pages/wphe-backup.php:101 pages/wphe-dashboard.php:135
133
+ msgid "Translators"
134
+ msgstr "Traductores"
135
+
136
+ #: pages/wphe-backup.php:108 pages/wphe-dashboard.php:142
137
+ msgid "Plugin"
138
+ msgstr "Plugin"
139
+
140
+ #: pages/wphe-backup.php:110 pages/wphe-dashboard.php:144
141
+ msgid "Version:"
142
+ msgstr "Versión:"
143
+
144
+ #: pages/wphe-backup.php:111 pages/wphe-dashboard.php:145
145
+ msgid "Plugin homepage:"
146
+ msgstr "Página de inicio Plugin:"
147
+
148
+ #: pages/wphe-backup.php:111 pages/wphe-dashboard.php:145
149
+ msgid "WordPress repository"
150
+ msgstr "Repositorio WordPress"
151
+
152
+ #: pages/wphe-backup.php:112 pages/wphe-dashboard.php:146
153
+ msgid "Support:"
154
+ msgstr "Apoyo:"
155
+
156
+ #: pages/wphe-backup.php:112 pages/wphe-dashboard.php:146
157
+ msgid "Forum"
158
+ msgstr "Foro"
159
+
160
+ #: pages/wphe-backup.php:113 pages/wphe-dashboard.php:147
161
+ msgid "Support for the development:"
162
+ msgstr "Apoyo para el desarrollo:"
163
+
164
+ #: pages/wphe-backup.php:113 pages/wphe-backup.php:124
165
+ #: pages/wphe-dashboard.php:147 pages/wphe-dashboard.php:158 lib/lib.ad.php:20
166
+ msgid "Donate"
167
+ msgstr "Donar"
168
+
169
+ #: pages/wphe-backup.php:117 pages/wphe-dashboard.php:151
170
+ msgid "Other plugins"
171
+ msgstr "Otros plugins"
172
+
173
+ #: pages/wphe-backup.php:119 pages/wphe-dashboard.php:153
174
+ msgid "System Files Editor"
175
+ msgstr "System Files Editor"
176
+
177
+ #: pages/wphe-backup.php:120 pages/wphe-dashboard.php:154
178
+ msgid "Czech support for WordPress"
179
+ msgstr "Soporte Checo para WordPress"
180
+
181
+ #: pages/wphe-backup.php:139 pages/wphe-dashboard.php:174
182
+ msgid "You do not have permission to view this page"
183
+ msgstr "No tienes permiso para ver esta página"
184
+
185
+ #: pages/wphe-dashboard.php:17
186
+ msgid "File has been successfully changed"
187
+ msgstr "El archivo ha cambiado correctamente"
188
+
189
+ #: pages/wphe-dashboard.php:19
190
+ msgid ""
191
+ "You have made changes to the htaccess file. The original file was "
192
+ "automatically backed up (in <code>wp-content</code> folder)"
193
+ msgstr ""
194
+ "Usted ha realizado cambios en el archivo htaccess. El archivo original se "
195
+ "copia automáticamente (en <code> wp-content </code>)"
196
+
197
+ #: pages/wphe-dashboard.php:20
198
+ msgid ""
199
+ "Check the functionality of your site (the links to the articles or "
200
+ "categories)."
201
+ msgstr ""
202
+ "Compruebe la funcionalidad de su sitio web (los enlaces a los artículos o "
203
+ "categorías)."
204
+
205
+ #: pages/wphe-dashboard.php:20
206
+ msgid ""
207
+ "If something is not working properly restore the original file from backup"
208
+ msgstr ""
209
+ "Si algo no está funcionando adecuadamente restaurar el archivo original "
210
+ "desde la copia de seguridad"
211
+
212
+ #: pages/wphe-dashboard.php:25
213
+ msgid "If everything works properly, you can delete the backup file:"
214
+ msgstr ""
215
+ "Si todo funciona correctamente, puede eliminar el archivo de copia de "
216
+ "seguridad:"
217
+
218
+ #: pages/wphe-dashboard.php:25 pages/wphe-dashboard.php:66
219
+ msgid "or"
220
+ msgstr "O"
221
+
222
+ #: pages/wphe-dashboard.php:25
223
+ msgid "restore the original file from backup"
224
+ msgstr "restaurar el archivo original desde la copia de seguridad"
225
+
226
+ #: pages/wphe-dashboard.php:30 pages/wphe-dashboard.php:34
227
+ msgid "The file could not be saved!"
228
+ msgstr "¡El archivo no se puede guardar!"
229
+
230
+ #: pages/wphe-dashboard.php:35
231
+ msgid ""
232
+ "Unable to create backup of the original file! <code>wp-content</code> folder "
233
+ "is not writeable! Change the permissions this folder!"
234
+ msgstr ""
235
+ "No se puede crear la copia de seguridad del archivo original <code> wp-"
236
+ "content </code> ¡La carpeta no se puede escribir! ¡Cambie los permisos de "
237
+ "esta carpeta!"
238
+
239
+ #: pages/wphe-dashboard.php:42
240
+ msgid "Htaccess file is not created."
241
+ msgstr "No se crea el archivo htaccess."
242
+
243
+ #: pages/wphe-dashboard.php:45
244
+ msgid "Htaccess file was successfully created."
245
+ msgstr "El archivo Htaccess sido creado con éxito."
246
+
247
+ #: pages/wphe-dashboard.php:46
248
+ msgid "View new Htaccess file"
249
+ msgstr "Ver nuevo archivo htaccess"
250
+
251
+ #: pages/wphe-dashboard.php:53
252
+ msgid ""
253
+ "Backup file could not be removed! <code>wp-content</code> folder is not "
254
+ "writeable! Change the permissions this folder!"
255
+ msgstr ""
256
+ "¡El archivo de copia de seguridad no puede ser eliminado! <code> wp-content "
257
+ "</code> ¡La carpeta no se puede escribir! ¡Cambie los permisos de esta "
258
+ "carpeta!"
259
+
260
+ #: pages/wphe-dashboard.php:55
261
+ msgid "Backup file has been successfully removed."
262
+ msgstr "El archivo de copia de seguridad se ha eliminado con éxito"
263
+
264
+ #: pages/wphe-dashboard.php:60
265
+ msgid ""
266
+ "Using this editor you can easily modify your htaccess file without having to "
267
+ "use an FTP client."
268
+ msgstr ""
269
+ "El uso de este editor puede modificar fácilmente su archivo htaccess sin "
270
+ "tener que utilizar un cliente de FTP."
271
+
272
+ #: pages/wphe-dashboard.php:61
273
+ msgid ""
274
+ "<strong>WARNING:</strong> Any error in this file may cause malfunction of "
275
+ "your site!"
276
+ msgstr ""
277
+ "<strong>ADVERTENCIA:</strong> ¡Cualquier error en este archivo podrían "
278
+ "causar un mal funcionamiento de su sitio!"
279
+
280
+ #: pages/wphe-dashboard.php:62
281
+ msgid ""
282
+ "Edit htaccess file should therefore be performed only by experienced users!"
283
+ msgstr ""
284
+ "Por lo tanto, ¡editar el archivo htaccess sólo debe ser efectuado por "
285
+ "usuarios experimentados!"
286
+
287
+ #: pages/wphe-dashboard.php:65
288
+ msgid "Information for editing htaccess file"
289
+ msgstr "Información para la edición del archivo htaccess"
290
+
291
+ #: pages/wphe-dashboard.php:66
292
+ msgid "For more information on possible adjustments to this file, please visit"
293
+ msgstr ""
294
+ "Para obtener más información sobre los posibles ajustes en el archivo, por "
295
+ "favor visite"
296
+
297
+ #: pages/wphe-dashboard.php:67
298
+ msgid "Interesting tips and guides can also be found on "
299
+ msgstr "Interesantes consejos y guías también se pueden encontrar en"
300
+
301
+ #: pages/wphe-dashboard.php:68
302
+ msgid "Or use the Google search."
303
+ msgstr "O utilizar la búsqueda de Google."
304
+
305
+ #: pages/wphe-dashboard.php:74
306
+ msgid "Htaccess file does not exists!"
307
+ msgstr "¡El archivo htaccess no existe!"
308
+
309
+ #: pages/wphe-dashboard.php:82 pages/wphe-dashboard.php:91
310
+ msgid "Htaccess file cannot read!"
311
+ msgstr "¡El archivo htaccess no se puede leer!"
312
+
313
+ #: pages/wphe-dashboard.php:106
314
+ msgid "Content of the Htaccess file"
315
+ msgstr "Contenido del archivo htaccess"
316
+
317
+ #: pages/wphe-dashboard.php:108
318
+ msgid "Save file &raquo;"
319
+ msgstr "Guardar archivo &raquo;"
320
+
321
+ #: pages/wphe-dashboard.php:119
322
+ msgid "Create new <code>.htaccess</code> file?"
323
+ msgstr "¿Crear nuevo archivo<code> htaccess </code>?"
324
+
325
+ #: pages/wphe-dashboard.php:119
326
+ msgid "Create &raquo;"
327
+ msgstr "Create &raquo;"
328
+
329
+ #: lib/lib.wp-files.php:10
330
+ msgid ""
331
+ "Plugin WP Htaccess Editor Error: File \"/wp-includes/pluggable.php\" does "
332
+ "not exists!"
333
+ msgstr ""
334
+ "Error del Plugin WP htaccess Editor: ¡El archivo \"/ wp-includes/pluggable."
335
+ "php\"no existe!"
336
+
337
+ #: lib/lib.wp-files.php:18
338
+ msgid ""
339
+ "Plugin WP Htaccess Editor Error: File \"/wp-includes/capabilities.php\" does "
340
+ "not exists!"
341
+ msgstr ""
342
+ "Error: del Plugin WP htaccess Editor: ¡El archivo \"/wp-includes/"
343
+ "capabilities.php\"no existe!"
344
+
345
+ #: lib/lib.ad.php:7
346
+ msgid "Plugin homepage"
347
+ msgstr "Página de inicio del Plugin"
348
+
349
+ #~ msgid "The backup file was found..."
350
+ #~ msgstr "Záložní soubor byl nalezen..."
351
+
352
+ #~ msgid "Unlimited hosting WEDOS"
353
+ #~ msgstr "Neomezený hosting WEDOS"
354
+
355
+ #~ msgid "WP Htaccess Editor"
356
+ #~ msgstr "WP Htaccess Editor"
357
+
358
+ #~ msgid "Htaccess"
359
+ #~ msgstr "Htaccess"
360
+
361
+ #~ msgid "Htaccess Editor"
362
+ #~ msgstr "Htaccess Editor"
363
+
364
+ #~ msgid "WP Htaccess Editor - Backup"
365
+ #~ msgstr "WP Htaccess Editor - Záloha"
366
+
367
+ #~ msgid "Download backup file"
368
+ #~ msgstr "Uložit záložní soubor do PC"
369
+
370
+ #~ msgid ""
371
+ #~ "Unable to create backup! Probably the wrong setting write permissions to "
372
+ #~ "the files."
373
+ #~ msgstr ""
374
+ #~ "Vytvoření zálohy nebylo úspěšné! Pravděpodobně jsou špatně nastavena "
375
+ #~ "práva k zápisu do souboru. "
376
+
377
+ #~ msgid "Access denied"
378
+ #~ msgstr "Přístup odepřen"
379
+
380
+ #~ msgid ""
381
+ #~ "The file could not be saved! Probably the wrong setting read permissions "
382
+ #~ "to the files"
383
+ #~ msgstr ""
384
+ #~ "Soubor nebyl uložen! Pravděpodobně jsou špatně nastavena práva k zápisu "
385
+ #~ "do souboru. "
386
+
387
+ #~ msgid ""
388
+ #~ "Htaccess file is not created. Probably the wrong setting read permissions "
389
+ #~ "to the files"
390
+ #~ msgstr ""
391
+ #~ "Soubor Htaccess nebyl vytvořen! Pravděpodobně jsou špatně nastavena práva "
392
+ #~ "k zápisu do souboru. "
393
+
394
+ #~ msgid ""
395
+ #~ "Backup file could not be removed! Probably the wrong setting read "
396
+ #~ "permissions to the files"
397
+ #~ msgstr ""
398
+ #~ "Záložní soubor se nepodařilo odstranit! Pravděpodobně jsou špatně "
399
+ #~ "nastavena práva k zápisu do souboru. "
400
+
401
+ #~ msgid "Htaccess file not found!"
402
+ #~ msgstr "Htaccess soubor nebyl nalezen!"
403
+
404
+ #~ msgid "Htaccess file found..."
405
+ #~ msgstr "Htaccess soubor byl nalezen..."
406
+
407
+ #~ msgid "Htaccess file is empty..."
408
+ #~ msgstr "Htaccess soubor je prázdný..."
409
+
410
+ #~ msgid "Htaccess file is not readable, probably does not exist"
411
+ #~ msgstr "Htaccess soubor nelze přečíst, pravděpodobně neexistuje"
412
+
413
+ #~ msgid "URL:"
414
+ #~ msgstr "Web pluginu:"
415
+
416
+ #~ msgid "Feedback:"
417
+ #~ msgstr "Hlášení chyb:"
lang/index.php CHANGED
File without changes
lib/index.php CHANGED
File without changes
lib/lib.ad.php CHANGED
@@ -4,7 +4,7 @@ if (!defined('ABSPATH')) die('You do not have sufficient permissions to access t
4
  /*** funkce pro zobrazení odkazu na domovskou stránku pluginu ***/
5
  function WPHE_PluginLink()
6
  {
7
- echo '<a class="plugin-link" href="http://wp-blog.cz/101-plugin-wp-htaccess-editor/" title="'.__('Plugin homepage','wphe').'" target="_blank">'.__('Plugin homepage','wphe').'</a>';
8
  }
9
 
10
  /*** funkce pro zobrazení odkazu na domovskou stránku autora ***/
@@ -17,5 +17,5 @@ function WPHE_AuthorLink()
17
  /*** funkce pro zobrazení odkazu na příspěvky autorovi ***/
18
  function WPHE_DonateLink()
19
  {
20
- echo '<a class="author-link" href="http://wp-blog.cz/projekty/" target="_blank">'.__('Donate', 'wphe').'</a>';
21
  }
4
  /*** funkce pro zobrazení odkazu na domovskou stránku pluginu ***/
5
  function WPHE_PluginLink()
6
  {
7
+ echo '<a class="plugin-link" href="http://wordpress.org/extend/plugins/wp-htaccess-editor/" title="'.__('Plugin homepage','wphe').'" target="_blank">'.__('Plugin homepage','wphe').'</a>';
8
  }
9
 
10
  /*** funkce pro zobrazení odkazu na domovskou stránku autora ***/
17
  /*** funkce pro zobrazení odkazu na příspěvky autorovi ***/
18
  function WPHE_DonateLink()
19
  {
20
+ echo '<a class="author-link" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NSKURYL8JEVU8" target="_blank">'.__('Donate', 'wphe').'</a>';
21
  }
lib/lib.functions.php CHANGED
File without changes
lib/lib.pages.php CHANGED
File without changes
lib/lib.wp-files.php CHANGED
File without changes
pages/index.php CHANGED
File without changes
pages/wphe-backup.php CHANGED
@@ -60,7 +60,7 @@ if(current_user_can('activate_plugins')){
60
  <form method="post" action="admin.php?page=<?php echo $WPHE_dirname; ?>_backup">
61
  <?php wp_nonce_field('wphe_restoreb','wphe_restoreb'); ?>
62
  <input type="hidden" name="restore_backup" value="restore" />
63
- <p class="submit"><?php _e('Do you want to restore the backup file?', 'wphe'); ?> <input type="submit" name="submit" value="<?php _e('Restore backup &raquo;', 'wphe'); ?>" /></p>
64
  </form>
65
  <?php
66
  echo '</div>';
@@ -69,7 +69,7 @@ if(current_user_can('activate_plugins')){
69
  <form method="post" action="admin.php?page=<?php echo $WPHE_dirname; ?>_backup">
70
  <?php wp_nonce_field('wphe_deleteb','wphe_deleteb'); ?>
71
  <input type="hidden" name="delete_backup" value="delete" />
72
- <p class="submit"><?php _e('Do you want to delete a backup file?', 'wphe'); ?> <input type="submit" name="submit" value="<?php _e('Remove backup &raquo;', 'wphe'); ?>" /></p>
73
  </form>
74
  <?php
75
  echo '</div>';
@@ -83,7 +83,7 @@ if(current_user_can('activate_plugins')){
83
  <form method="post" action="admin.php?page=<?php echo $WPHE_dirname; ?>_backup">
84
  <?php wp_nonce_field('wphe_createb','wphe_createb'); ?>
85
  <input type="hidden" name="create_backup" value="create" />
86
- <p class="submit"><?php _e('Do you want to create a new backup file?', 'wphe'); ?> <input type="submit" name="submit" value="<?php _e('Create new &raquo;', 'wphe'); ?>" /></p>
87
  </form>
88
  <?php
89
  echo '</div>';
@@ -102,6 +102,7 @@ if(current_user_can('activate_plugins')){
102
  <table class="wphe-translators">
103
  <tr><td><em>Lukenzi</em></td><td><img src="<?php echo $WPHE_dirurl.'style/img/flag-cz.jpg'; ?>" border="0" alt="Czech" width="12" height="9" /></td><td><?php WPHE_AuthorLink(); ?></td></tr>
104
  <tr><td><em>Andi Eko</em></td><td><img src="<?php echo $WPHE_dirurl.'style/img/flag-en.jpg'; ?>" border="0" alt="English" width="12" height="9" /></td><td><a href="http://andieko.info/" target="_blank">andieko.info</a></td></tr>
 
105
  </table>
106
  </div>
107
  <div class="wphe-infobox">
@@ -116,7 +117,9 @@ if(current_user_can('activate_plugins')){
116
  <div class="wphe-infobox">
117
  <h4><?php _e('Other plugins','wphe'); ?></h4>
118
  <table>
119
- <tr><td><em><a href="http://wordpress.org/extend/plugins/system-files-editor/" target="_blank"><?php _e('System Files Editor','wphe'); ?></a></em></td></tr>
 
 
120
  <tr><td><em><a href="http://wordpress.org/extend/plugins/ceska-podpora-wordpressu/" target="_blank"><?php _e('Czech support for WordPress','wphe'); ?></a></em></td></tr>
121
  </table>
122
  </div>
60
  <form method="post" action="admin.php?page=<?php echo $WPHE_dirname; ?>_backup">
61
  <?php wp_nonce_field('wphe_restoreb','wphe_restoreb'); ?>
62
  <input type="hidden" name="restore_backup" value="restore" />
63
+ <p class="submit"><?php _e('Do you want to restore the backup file?', 'wphe'); ?> <input type="submit" class="button button-primary" name="submit" value="<?php _e('Restore backup &raquo;', 'wphe'); ?>" /></p>
64
  </form>
65
  <?php
66
  echo '</div>';
69
  <form method="post" action="admin.php?page=<?php echo $WPHE_dirname; ?>_backup">
70
  <?php wp_nonce_field('wphe_deleteb','wphe_deleteb'); ?>
71
  <input type="hidden" name="delete_backup" value="delete" />
72
+ <p class="submit"><?php _e('Do you want to delete a backup file?', 'wphe'); ?> <input type="submit" class="button button-primary" name="submit" value="<?php _e('Remove backup &raquo;', 'wphe'); ?>" /></p>
73
  </form>
74
  <?php
75
  echo '</div>';
83
  <form method="post" action="admin.php?page=<?php echo $WPHE_dirname; ?>_backup">
84
  <?php wp_nonce_field('wphe_createb','wphe_createb'); ?>
85
  <input type="hidden" name="create_backup" value="create" />
86
+ <p class="submit"><?php _e('Do you want to create a new backup file?', 'wphe'); ?> <input type="submit" class="button button-primary" name="submit" value="<?php _e('Create new &raquo;', 'wphe'); ?>" /></p>
87
  </form>
88
  <?php
89
  echo '</div>';
102
  <table class="wphe-translators">
103
  <tr><td><em>Lukenzi</em></td><td><img src="<?php echo $WPHE_dirurl.'style/img/flag-cz.jpg'; ?>" border="0" alt="Czech" width="12" height="9" /></td><td><?php WPHE_AuthorLink(); ?></td></tr>
104
  <tr><td><em>Andi Eko</em></td><td><img src="<?php echo $WPHE_dirurl.'style/img/flag-en.jpg'; ?>" border="0" alt="English" width="12" height="9" /></td><td><a href="http://andieko.info/" target="_blank">andieko.info</a></td></tr>
105
+ <tr><td><em>Andrew Kurtis</em></td><td><img src="<?php echo $WPHE_dirurl.'style/img/flag-es.gif'; ?>" border="0" alt="Spanish" width="12" height="9" /></td><td><a href="http://www.webhostinghub.com" target="_blank">WebHostingHub.com</a></td></tr>
106
  </table>
107
  </div>
108
  <div class="wphe-infobox">
117
  <div class="wphe-infobox">
118
  <h4><?php _e('Other plugins','wphe'); ?></h4>
119
  <table>
120
+ <tr><td><em><a href="http://wordpress.org/plugins/wedos-news/" target="_blank">WEDOS News</a></em></td></tr>
121
+ <tr><td><em><a href="http://wp-blog.cz/wpb-file-manager-spravce-souboru-pro-wordpress/" target="_blank">WPB File Manager</a></em></td></tr>
122
+ <tr><td><em><a href="http://wp-blog.cz/system-files-editor/" target="_blank">System Files Editor</a></em></td></tr>
123
  <tr><td><em><a href="http://wordpress.org/extend/plugins/ceska-podpora-wordpressu/" target="_blank"><?php _e('Czech support for WordPress','wphe'); ?></a></em></td></tr>
124
  </table>
125
  </div>
pages/wphe-dashboard.php CHANGED
@@ -22,7 +22,7 @@ if(current_user_can('activate_plugins')){
22
  <form method="post" action="admin.php?page=<?php echo $WPHE_dirname; ?>">
23
  <?php wp_nonce_field('wphe_delete','wphe_delete'); ?>
24
  <input type="hidden" name="delete_backup" value="delete" />
25
- <p class="submit"><?php _e('If everything works properly, you can delete the backup file:', 'wphe');?> <input type="submit" name="submit" value="<?php _e('Remove backup &raquo;', 'wphe');?>" />&nbsp;<?php echo __('or','wphe'); ?>&nbsp;<a href="admin.php?page=<?php echo $WPHE_dirname; ?>_backup"><?php _e('restore the original file from backup','wphe');?></a></p>
26
  </form>
27
  </div>
28
  <?php
@@ -105,7 +105,7 @@ if(current_user_can('activate_plugins')){
105
  <?php wp_nonce_field('wphe_save','wphe_save'); ?>
106
  <h3 class="wphe-title"><?php _e('Content of the Htaccess file', 'wphe');?></h3>
107
  <textarea name="ht_content" class="wphe-textarea" wrap="off"><?php echo $WPHE_htaccess_content;?></textarea>
108
- <p class="submit"><input type="submit" name="submit" value="<?php _e('Save file &raquo;', 'wphe');?>" /></p>
109
  </form>
110
  </div>
111
  <?php
@@ -116,7 +116,7 @@ if(current_user_can('activate_plugins')){
116
  <form method="post" action="admin.php?page=<?php echo $WPHE_dirname; ?>">
117
  <input type="hidden" name="create_htaccess" value="create" />
118
  <?php wp_nonce_field('wphe_create','wphe_create'); ?>
119
- <p class="submit"><?php _e('Create new <code>.htaccess</code> file?', 'wphe');?> <input type="submit" name="submit" value="<?php _e('Create &raquo;', 'wphe');?>" /></p>
120
  </form>
121
  </div>
122
  <?php
@@ -136,6 +136,7 @@ if(current_user_can('activate_plugins')){
136
  <table class="wphe-translators">
137
  <tr><td><em>Lukenzi</em></td><td><img src="<?php echo $WPHE_dirurl.'style/img/flag-cz.jpg'; ?>" border="0" alt="Czech" width="12" height="9" /></td><td><?php WPHE_AuthorLink(); ?></td></tr>
138
  <tr><td><em>Andi Eko</em></td><td><img src="<?php echo $WPHE_dirurl.'style/img/flag-en.jpg'; ?>" border="0" alt="English" width="12" height="9" /></td><td><a href="http://andieko.info/" target="_blank">andieko.info</a></td></tr>
 
139
  </table>
140
  </div>
141
  <div class="wphe-infobox">
@@ -150,7 +151,9 @@ if(current_user_can('activate_plugins')){
150
  <div class="wphe-infobox">
151
  <h4><?php _e('Other plugins','wphe'); ?></h4>
152
  <table>
153
- <tr><td><em><a href="http://wordpress.org/extend/plugins/system-files-editor/" target="_blank"><?php _e('System Files Editor','wphe'); ?></a></em></td></tr>
 
 
154
  <tr><td><em><a href="http://wordpress.org/extend/plugins/ceska-podpora-wordpressu/" target="_blank"><?php _e('Czech support for WordPress','wphe'); ?></a></em></td></tr>
155
  </table>
156
  </div>
22
  <form method="post" action="admin.php?page=<?php echo $WPHE_dirname; ?>">
23
  <?php wp_nonce_field('wphe_delete','wphe_delete'); ?>
24
  <input type="hidden" name="delete_backup" value="delete" />
25
+ <p class="submit"><?php _e('If everything works properly, you can delete the backup file:', 'wphe');?> <input type="submit" class="button button-primary" name="submit" value="<?php _e('Remove backup &raquo;', 'wphe');?>" />&nbsp;<?php echo __('or','wphe'); ?>&nbsp;<a href="admin.php?page=<?php echo $WPHE_dirname; ?>_backup"><?php _e('restore the original file from backup','wphe');?></a></p>
26
  </form>
27
  </div>
28
  <?php
105
  <?php wp_nonce_field('wphe_save','wphe_save'); ?>
106
  <h3 class="wphe-title"><?php _e('Content of the Htaccess file', 'wphe');?></h3>
107
  <textarea name="ht_content" class="wphe-textarea" wrap="off"><?php echo $WPHE_htaccess_content;?></textarea>
108
+ <p class="submit"><input type="submit" class="button button-primary" name="submit" value="<?php _e('Save file &raquo;', 'wphe');?>" /></p>
109
  </form>
110
  </div>
111
  <?php
116
  <form method="post" action="admin.php?page=<?php echo $WPHE_dirname; ?>">
117
  <input type="hidden" name="create_htaccess" value="create" />
118
  <?php wp_nonce_field('wphe_create','wphe_create'); ?>
119
+ <p class="submit"><?php _e('Create new <code>.htaccess</code> file?', 'wphe');?> <input type="submit" class="button button-primary" name="submit" value="<?php _e('Create &raquo;', 'wphe');?>" /></p>
120
  </form>
121
  </div>
122
  <?php
136
  <table class="wphe-translators">
137
  <tr><td><em>Lukenzi</em></td><td><img src="<?php echo $WPHE_dirurl.'style/img/flag-cz.jpg'; ?>" border="0" alt="Czech" width="12" height="9" /></td><td><?php WPHE_AuthorLink(); ?></td></tr>
138
  <tr><td><em>Andi Eko</em></td><td><img src="<?php echo $WPHE_dirurl.'style/img/flag-en.jpg'; ?>" border="0" alt="English" width="12" height="9" /></td><td><a href="http://andieko.info/" target="_blank">andieko.info</a></td></tr>
139
+ <tr><td><em>Andrew Kurtis</em></td><td><img src="<?php echo $WPHE_dirurl.'style/img/flag-es.gif'; ?>" border="0" alt="Spanish" width="12" height="9" /></td><td><a href="http://www.webhostinghub.com" target="_blank">WebHostingHub.com</a></td></tr>
140
  </table>
141
  </div>
142
  <div class="wphe-infobox">
151
  <div class="wphe-infobox">
152
  <h4><?php _e('Other plugins','wphe'); ?></h4>
153
  <table>
154
+ <tr><td><em><a href="http://wordpress.org/plugins/wedos-news/" target="_blank">WEDOS News</a></em></td></tr>
155
+ <tr><td><em><a href="http://wp-blog.cz/wpb-file-manager-spravce-souboru-pro-wordpress/" target="_blank">WPB File Manager</a></em></td></tr>
156
+ <tr><td><em><a href="http://wp-blog.cz/system-files-editor/" target="_blank">System Files Editor</a></em></td></tr>
157
  <tr><td><em><a href="http://wordpress.org/extend/plugins/ceska-podpora-wordpressu/" target="_blank"><?php _e('Czech support for WordPress','wphe'); ?></a></em></td></tr>
158
  </table>
159
  </div>
readme.txt CHANGED
@@ -3,10 +3,10 @@ Contributors: Lukenzi
3
  Author URI: http://wp-blog.cz
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KM4GZAE9FVPSN
5
  Tags: simply,htaccess,file,editor,backup,admin
6
- Version: 1.2.0
7
  Requires at least: 3.0
8
- Tested up to: 3.4.1
9
- Stable tag: 1.2.0
10
  License: GPLv2 or later
11
 
12
  Simple editor htaccess file without using FTP client.
@@ -40,6 +40,11 @@ Try to restore the original backup file. If restoration is not possible with thi
40
 
41
  == Changelog ==
42
 
 
 
 
 
 
43
  = 1.2.0 =
44
  * Improved code
45
  * Improved design
3
  Author URI: http://wp-blog.cz
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KM4GZAE9FVPSN
5
  Tags: simply,htaccess,file,editor,backup,admin
6
+ Version: 1.3.0
7
  Requires at least: 3.0
8
+ Tested up to: 3.8.1
9
+ Stable tag: 1.3.0
10
  License: GPLv2 or later
11
 
12
  Simple editor htaccess file without using FTP client.
40
 
41
  == Changelog ==
42
 
43
+ = 1.3.0 =
44
+ * Added Spanish translation (Thanks to Andrew Kurtis from WebHostingHub.com)
45
+ * Updated design
46
+ * Updated info links
47
+
48
  = 1.2.0 =
49
  * Improved code
50
  * Improved design
screenshot-1.png CHANGED
File without changes
screenshot-2.png CHANGED
File without changes
screenshot-3.png CHANGED
File without changes
style/img/flag-cz.jpg CHANGED
File without changes
style/img/flag-en.jpg CHANGED
File without changes
style/img/flag-es.gif ADDED
Binary file
style/img/wphe-mini.png CHANGED
File without changes
style/img/wphe.png CHANGED
File without changes
style/index.php CHANGED
File without changes
style/wphe-style.css CHANGED
@@ -1,7 +1,5 @@
1
  h2.wphe-title{background: url('img/wphe.png') no-repeat left center;padding-left: 40px;}
2
  div.wrap div.wphe-box{float: left;width: 95%;padding: 10px;background: #DADADA;border: 1px solid #7F7F7F;box-shadow: 1px 1px 3px gray;}
3
- div.wrap div.wphe-box h3.wphe-title{background: transparent;border: none;cursor: default;}
4
  div.wrap div.wphe-box textarea.wphe-textarea{width: 100%;height: 400px;padding: 10px;color: #106AC2;border: 1px solid #9A9A9A;line-height: 1.25em;font-family: Monospace,Mono;background: #EDEDED;}
5
- .wphe-red{color: Red!important;}.wphe-green{color: Green!important;}
6
- div.wrap table.wphe-translators tr td{padding: 0 5px 0 5px;}
7
- div.wrap div.wphe-infobox{float: left;margin: 0 15px 15px 15px;}
1
  h2.wphe-title{background: url('img/wphe.png') no-repeat left center;padding-left: 40px;}
2
  div.wrap div.wphe-box{float: left;width: 95%;padding: 10px;background: #DADADA;border: 1px solid #7F7F7F;box-shadow: 1px 1px 3px gray;}
3
+ div.wrap div.wphe-box h3.wphe-title{background: transparent;border: none;cursor: default;text-shadow:0px 1px 0px white;}
4
  div.wrap div.wphe-box textarea.wphe-textarea{width: 100%;height: 400px;padding: 10px;color: #106AC2;border: 1px solid #9A9A9A;line-height: 1.25em;font-family: Monospace,Mono;background: #EDEDED;}
5
+ .wphe-red{color: Red!important;}.wphe-green{color: Green!important;}div.wrap table.wphe-translators tr td{padding: 0 5px 0 5px;}div.wrap div.wphe-infobox{float: left;margin: 0 15px 15px 15px;}
 
 
wp-htaccess-editor.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP Htaccess Editor
4
  Plugin URI: http://wp-blog.cz/101-plugin-wp-htaccess-editor/
5
  Description: Simple editor htaccess file without using FTP client.
6
- Version: 1.2.0
7
  Text Domain: wphe
8
  Domain Path: /lang/
9
  Author: Lukenzi
@@ -37,7 +37,7 @@ if (!defined('ABSPATH')) die('You do not have sufficient permissions to access t
37
  if(!is_admin()){
38
  return;
39
  }else{
40
- $WPHE_version = '1.2.0';
41
 
42
  if(!defined('WP_CONTENT_URL')){
43
  if(!defined('WP_SITEURL')){
3
  Plugin Name: WP Htaccess Editor
4
  Plugin URI: http://wp-blog.cz/101-plugin-wp-htaccess-editor/
5
  Description: Simple editor htaccess file without using FTP client.
6
+ Version: 1.3.0
7
  Text Domain: wphe
8
  Domain Path: /lang/
9
  Author: Lukenzi
37
  if(!is_admin()){
38
  return;
39
  }else{
40
+ $WPHE_version = '1.3.0';
41
 
42
  if(!defined('WP_CONTENT_URL')){
43
  if(!defined('WP_SITEURL')){