Changeset 1418519
- Timestamp:
- 05/17/2016 09:10:49 AM (10 years ago)
- Location:
- webinfos/trunk
- Files:
-
- 7 edited
-
css/webinfos.css (modified) (1 diff)
-
js/webinfos.js (modified) (1 diff)
-
languages/webinfos-fr_FR.mo (modified) (previous)
-
languages/webinfos-fr_FR.po (modified) (6 diffs)
-
languages/webinfos.pot (modified) (27 diffs)
-
readme.txt (modified) (5 diffs)
-
webinfos.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
webinfos/trunk/css/webinfos.css
r1397910 r1418519 45 45 margin-top:0px; 46 46 } 47 .custommenu { 48 background-color:#23282d; 49 } 50 .custombutton { 51 color:#fff; 52 width:100px; 53 text-align:center; 54 display:table-cell; 55 cursor:pointer; 56 } 57 .custombuttonused { 58 background: #32373c none repeat scroll 0 0; 59 color: #00b9eb; 60 width:100px; 61 text-align:center; 62 display:table-cell; 63 cursor:pointer; 64 } 65 .custombutton:hover { 66 background: #32373c none repeat scroll 0 0; 67 color: #00b9eb; 68 } -
webinfos/trunk/js/webinfos.js
r1397910 r1418519 11 11 } 12 12 13 function toggleForm(id) { // Hide all forms and show the form number id 14 for (var i=1; i<4; i++) { 15 if (document.getElementById("form" + i) != null && document.getElementById("msgbutton" + i) != null) { 16 document.getElementById("form" + i).style.display = "none"; 17 document.getElementById("msgbutton" + i).className = "custombutton"; 18 } 19 } 20 if (document.getElementById("form" + id).style.display == "none") { 21 document.getElementById("form" + id).style.display = "inline-block"; 22 document.getElementById("msgbutton" + id).className = "custombuttonused"; 23 } 24 else { 25 document.getElementById("form" + id).style.display = "none"; 26 document.getElementById("msgbutton" + id).className = "custombutton"; 27 } 28 } 13 29 14 30 // check uploaded file format -
webinfos/trunk/languages/webinfos-fr_FR.po
r1397910 r1418519 6 6 "Project-Id-Version: \n" 7 7 "Report-Msgid-Bugs-To: Translator Name <translations@example.com>\n" 8 "POT-Creation-Date: 2016-0 4-14 18:03+0200\n"8 "POT-Creation-Date: 2016-05-17 10:34+0200\n" 9 9 "PO-Revision-Date: \n" 10 10 "Last-Translator: \n" … … 28 28 msgstr "Pièces jointes : " 29 29 30 #: custom_welcome.php:100 webinfos.php:10 3430 #: custom_welcome.php:100 webinfos.php:1058 31 31 msgid "Your browser does not support HTML5 video." 32 32 msgstr "Votre navigateur ne supporte pas les videos HTML5" … … 72 72 msgstr "Une erreur est survenue avec les fichiers de pièce jointes" 73 73 74 #: webinfos.php:199 74 #: webinfos.php:179 75 msgid "An error occurs with contact phone number" 76 msgstr "Une erreur s’est produite avec le numéro de téléphone de contact." 77 78 #: webinfos.php:203 75 79 msgid "An error occurs with contact email" 76 80 msgstr "Une erreur est survenue avec l’email de contact" 77 81 78 #: webinfos.php:2 0882 #: webinfos.php:212 79 83 msgid "An error occurs with contact checkbox" 80 84 msgstr "" 81 85 "Une erreur est survenue avec l’option d’affichage des informations de contact" 82 86 83 #: webinfos.php:25 087 #: webinfos.php:254 84 88 msgid "An error occurs with attachment file list" 85 89 msgstr "Une erreur est survenue avec la liste des fichiers de pièce jointes" 86 90 87 #: webinfos.php:2 6691 #: webinfos.php:270 88 92 msgid "An error occurs with uploaded logo" 89 93 msgstr "Une erreur est survenue avec le logo uploadé" 90 94 91 #: webinfos.php:28 195 #: webinfos.php:285 92 96 msgid "An error occurs with uploaded photo" 93 97 msgstr "Une erreur est survenue avec la photo uploadé" 94 98 95 #: webinfos.php: 29699 #: webinfos.php:300 96 100 msgid "An error occurs with uploaded video" 97 101 msgstr "Une erreur est survenue avec la vidéo uploadé" 98 102 99 #: webinfos.php:38 5103 #: webinfos.php:386 100 104 msgid "Modifications saved successfully" 101 105 msgstr "Modifications sauvegardées avec succès" 102 106 103 #: webinfos.php:39 2107 #: webinfos.php:395 104 108 msgid "Message added successfully" 105 109 msgstr "Le message a bien été enregistrer" 106 110 107 #: webinfos.php:41 3 webinfos.php:647111 #: webinfos.php:414 webinfos.php:671 108 112 msgid "An error occurs with message id" 109 113 msgstr "Une erreur est survenue avec l’identifiant du message" 110 114 111 #: webinfos.php:46 6115 #: webinfos.php:467 112 116 msgid "The message have been erased successfully" 113 117 msgstr "Le message a été effacer correctement" 114 118 115 #: webinfos.php:47 8119 #: webinfos.php:479 116 120 msgid "Webinfos plugin" 117 121 msgstr "Extension Webinfos" 118 122 119 #: webinfos.php:47 8123 #: webinfos.php:479 120 124 msgid "Webinfos Settings" 121 125 msgstr "Options Webinfos" 122 126 123 #: webinfos.php:51 8127 #: webinfos.php:519 124 128 #, php-format 125 129 msgid "The uploaded file must be in %s format" 126 130 msgstr "Le fichier uploadé doit être au format %s" 127 131 128 #: webinfos.php:51 8132 #: webinfos.php:519 129 133 msgid "character left." 130 134 msgstr "caractère restant." 131 135 132 #: webinfos.php:51 8136 #: webinfos.php:519 133 137 msgid "characters left." 134 138 msgstr "caractères restants." 135 139 136 #: webinfos.php:51 8140 #: webinfos.php:519 137 141 msgid "New attachments list : " 138 142 msgstr "Nouvelle liste de pièce jointe :" 139 143 140 #: webinfos.php:53 0144 #: webinfos.php:531 141 145 #, php-format 142 146 msgid "Version %s" 143 147 msgstr "Version %s" 144 148 145 #: webinfos.php:53 1149 #: webinfos.php:532 146 150 msgid "Welcome to the setting panel of Webinfos plugin" 147 151 msgstr "Bienvenue dans le panneau de configuration de l’extension Webinfos." 148 152 149 #: webinfos.php:540 153 #: webinfos.php:536 154 msgid "Message Selection" 155 msgstr "Sélection du Message" 156 157 #: webinfos.php:539 158 msgid "Message Options" 159 msgstr "Options de Message" 160 161 #: webinfos.php:546 162 msgid "New Message Content" 163 msgstr "Contenu du Message (Ajout)" 164 165 #: webinfos.php:549 166 msgid "Edit Message Content" 167 msgstr "Contenu du Message (Edition)" 168 169 #: webinfos.php:564 150 170 msgid "Activate message" 151 171 msgstr "Activer message" 152 172 153 #: webinfos.php:5 46173 #: webinfos.php:570 154 174 msgid "Choose action" 155 175 msgstr "Choisir action" 156 176 157 #: webinfos.php:5 56177 #: webinfos.php:580 158 178 msgid "Feedback" 159 179 msgstr "Réaction" 160 180 161 #: webinfos.php:5 57181 #: webinfos.php:581 162 182 msgid "Did you find a bug ?" 163 183 msgstr "Vous avez trouvé un bug ?" 164 184 165 #: webinfos.php:5 57185 #: webinfos.php:581 166 186 msgid "Do you have suggestions?" 167 187 msgstr "Vous avez des idées ?" 168 188 169 #: webinfos.php:5 58189 #: webinfos.php:582 170 190 msgid "" 171 191 "There are several ways to report bugs and/or give feedback about the " … … 175 195 "propos de l’extension Webinfos :" 176 196 177 #: webinfos.php:5 60197 #: webinfos.php:584 178 198 #, php-format 179 199 msgid "Use a GitHub ticket at this <a href=\"%s\">link</a>." 180 200 msgstr "Utiliser un ticket Github en cliquant <a href=\"%s\">ici</a>." 181 201 182 #: webinfos.php:5 61202 #: webinfos.php:585 183 203 #, php-format 184 204 msgid "Use a Wordpress ticket at this <a href=\"%s\">link</a>." 185 205 msgstr "Utiliser un ticket Wordpress en cliquant <a href=\"%s\">ici</a>." 186 206 187 #: webinfos.php:5 62207 #: webinfos.php:586 188 208 msgid "Use the form below to contact the plugin author." 189 209 msgstr "" 190 210 "Utiliser le formulaire ci-dessous pour contacter l’auteur de l’extension." 191 211 192 #: webinfos.php:5 69212 #: webinfos.php:593 193 213 msgid "Send feedback" 194 214 msgstr "Envoyer réaction" 195 215 196 #: webinfos.php:6 00216 #: webinfos.php:624 197 217 msgid "Choose the message that will be shown in the dashboard" 198 218 msgstr "Sélectionner le message qui sera afficher dans le tableau de bord" 199 219 200 #: webinfos.php:6 01220 #: webinfos.php:625 201 221 msgid "Activate message :" 202 222 msgstr "Activer message : " 203 223 204 #: webinfos.php:6 07224 #: webinfos.php:631 205 225 msgid "Change welcome message" 206 226 msgstr "Modifier le message d’accueil" 207 227 208 #: webinfos.php:6 08228 #: webinfos.php:632 209 229 msgid "Action :" 210 230 msgstr "Action : " 211 231 212 #: webinfos.php:6 21232 #: webinfos.php:645 213 233 msgid "Welcome message settings" 214 234 msgstr "Options du message d’accueil" 215 235 216 #: webinfos.php:6 22236 #: webinfos.php:646 217 237 msgid "Contact informations" 218 238 msgstr "Informations de contact" 219 239 220 #: webinfos.php:6 26240 #: webinfos.php:650 221 241 msgid "Message num:" 222 242 msgstr "Numéro du message : " 223 243 224 #: webinfos.php:6 30244 #: webinfos.php:654 225 245 msgid "Title :" 226 246 msgstr "Titre : " 227 247 228 #: webinfos.php:6 31248 #: webinfos.php:655 229 249 msgid "Website URL :" 230 250 msgstr "URL du site internet : " 231 251 232 #: webinfos.php:6 32252 #: webinfos.php:656 233 253 msgid "Upload logo :" 234 254 msgstr "Upload logo : " 235 255 236 #: webinfos.php:6 33256 #: webinfos.php:657 237 257 msgid "Logo alternate text :" 238 258 msgstr "Texte alternatif du logo : " 239 259 240 #: webinfos.php:6 34260 #: webinfos.php:658 241 261 msgid "Welcome message :" 242 262 msgstr "Message d’accueil : " 243 263 244 #: webinfos.php:6 35264 #: webinfos.php:659 245 265 msgid "Attachments :" 246 266 msgstr "Pièces jointes : " 247 267 248 #: webinfos.php:6 36268 #: webinfos.php:660 249 269 msgid "Upload video :" 250 270 msgstr "Upload video : " 251 271 252 #: webinfos.php:6 37272 #: webinfos.php:661 253 273 msgid "Show contact infos :" 254 274 msgstr "Afficher les informations de contact : " 255 275 256 #: webinfos.php:6 38276 #: webinfos.php:662 257 277 msgid "Upload photo :" 258 278 msgstr "Upload photo : " 259 279 260 #: webinfos.php:6 39280 #: webinfos.php:663 261 281 msgid "Photo alternate text :" 262 282 msgstr "Texte alternatif de la photo : " 263 283 264 #: webinfos.php:6 40284 #: webinfos.php:664 265 285 msgid "Phone :" 266 286 msgstr "Tel : " 267 287 268 #: webinfos.php:6 41288 #: webinfos.php:665 269 289 msgid "Email :" 270 290 msgstr "Mail : " 271 291 272 #: webinfos.php:6 75292 #: webinfos.php:699 273 293 msgid "Fill the form below to send your feedback directly to the author" 274 294 msgstr "" … … 276 296 "à l’auteur" 277 297 278 #: webinfos.php: 676298 #: webinfos.php:700 279 299 msgid "Feedback sender :" 280 300 msgstr "Expéditeur de la réaction :" 281 301 282 #: webinfos.php: 677302 #: webinfos.php:701 283 303 msgid "Feedback subject :" 284 304 msgstr "Sujet de la réaction :" 285 305 286 #: webinfos.php: 678306 #: webinfos.php:702 287 307 msgid "Feedback message :" 288 308 msgstr "Message de la réaction :" 289 309 290 #: webinfos.php:7 63310 #: webinfos.php:787 291 311 msgid "Add message" 292 312 msgstr "Ajouter message" 293 313 294 #: webinfos.php:7 69314 #: webinfos.php:793 295 315 msgid "Edit message " 296 316 msgstr "Editer message" 297 317 298 #: webinfos.php:7 70318 #: webinfos.php:794 299 319 msgid "Erase message " 300 320 msgstr "Effacer message" 301 321 302 #: webinfos.php:8 57 webinfos.php:961322 #: webinfos.php:881 webinfos.php:985 303 323 #, php-format 304 324 msgid "Uploaded file must be in %s or %s format." 305 325 msgstr "Le fichier uploadé doit être au format %s ou %s." 306 326 307 #: webinfos.php: 894327 #: webinfos.php:918 308 328 #, php-format 309 329 msgid "%d character left." … … 312 332 msgstr[1] "%d caractères restants." 313 333 314 #: webinfos.php: 898334 #: webinfos.php:922 315 335 msgid "HTML tags are supported." 316 336 msgstr "Les balises HTML sont supportés." 317 337 318 #: webinfos.php:10 42338 #: webinfos.php:1066 319 339 #, php-format 320 340 msgid "Uploaded file must be in %s format." 321 341 msgstr "Le fichier uploadé doit être au format %s." 322 342 323 #: webinfos.php:10 60343 #: webinfos.php:1084 324 344 msgid "The website URL will be applied on the logo." 325 345 msgstr "" 326 346 "L’URL du site internet sera appliqué sur le logo en tant que lien hypertexte." 327 347 328 #: webinfos.php:1 079348 #: webinfos.php:1103 329 349 msgid "Attachments list : " 330 350 msgstr "Liste de pièces jointes : " 331 351 332 #: webinfos.php:11 15352 #: webinfos.php:1139 333 353 msgid "Click or drop your files here" 334 354 msgstr "Cliquer ou glissez-déposez vos fichier ici" 335 355 336 #: webinfos.php:11 20356 #: webinfos.php:1144 337 357 msgid "You can upload several files as attachment." 338 358 msgstr "Plusieurs fichiers peuvent être uploadé en tant que pièce jointe." 339 359 340 #: webinfos.php:11 28360 #: webinfos.php:1152 341 361 msgid "Save changes" 342 362 msgstr "Enregistrer les modifications" 343 363 344 #: webinfos.php:11 40364 #: webinfos.php:1164 345 365 msgid "An error occurs with feedback form" 346 366 msgstr "Une erreur est survenue avec le formulaire de réaction" -
webinfos/trunk/languages/webinfos.pot
r1397910 r1418519 7 7 "Project-Id-Version: \n" 8 8 "POT-Creation-Date: " 9 "2016-0 4-14 18:03+0200\n"9 "2016-05-17 10:34+0200\n" 10 10 "PO-Revision-Date: \n" 11 11 "Last-Translator: Your " … … 53 53 54 54 #: custom_welcome.php:100 55 #: webinfos.php:10 3455 #: webinfos.php:1058 56 56 msgid "" 57 57 "Your browser does not " … … 109 109 msgstr "" 110 110 111 #: webinfos.php:199 111 #: webinfos.php:179 112 msgid "" 113 "An error occurs with " 114 "contact phone number" 115 msgstr "" 116 117 #: webinfos.php:203 112 118 msgid "" 113 119 "An error occurs with " … … 115 121 msgstr "" 116 122 117 #: webinfos.php:2 08123 #: webinfos.php:212 118 124 msgid "" 119 125 "An error occurs with " … … 121 127 msgstr "" 122 128 123 #: webinfos.php:25 0129 #: webinfos.php:254 124 130 msgid "" 125 131 "An error occurs with " … … 127 133 msgstr "" 128 134 129 #: webinfos.php:2 66135 #: webinfos.php:270 130 136 msgid "" 131 137 "An error occurs with " … … 133 139 msgstr "" 134 140 135 #: webinfos.php:28 1141 #: webinfos.php:285 136 142 msgid "" 137 143 "An error occurs with " … … 139 145 msgstr "" 140 146 141 #: webinfos.php: 296147 #: webinfos.php:300 142 148 msgid "" 143 149 "An error occurs with " … … 145 151 msgstr "" 146 152 147 #: webinfos.php:38 5153 #: webinfos.php:386 148 154 msgid "" 149 155 "Modifications saved " … … 151 157 msgstr "" 152 158 153 #: webinfos.php:39 2159 #: webinfos.php:395 154 160 msgid "" 155 161 "Message added " … … 157 163 msgstr "" 158 164 159 #: webinfos.php:41 3160 #: webinfos.php:6 47165 #: webinfos.php:414 166 #: webinfos.php:671 161 167 msgid "" 162 168 "An error occurs with " … … 164 170 msgstr "" 165 171 166 #: webinfos.php:46 6172 #: webinfos.php:467 167 173 msgid "" 168 174 "The message have been " … … 170 176 msgstr "" 171 177 172 #: webinfos.php:47 8178 #: webinfos.php:479 173 179 msgid "Webinfos plugin" 174 180 msgstr "" 175 181 176 #: webinfos.php:47 8182 #: webinfos.php:479 177 183 msgid "Webinfos Settings" 178 184 msgstr "" 179 185 180 #: webinfos.php:51 8186 #: webinfos.php:519 181 187 #, php-format 182 188 msgid "" … … 185 191 msgstr "" 186 192 187 #: webinfos.php:51 8193 #: webinfos.php:519 188 194 msgid "character left." 189 195 msgstr "" 190 196 191 #: webinfos.php:51 8197 #: webinfos.php:519 192 198 msgid "characters left." 193 199 msgstr "" 194 200 195 #: webinfos.php:51 8201 #: webinfos.php:519 196 202 msgid "" 197 203 "New attachments list : " 198 204 msgstr "" 199 205 200 #: webinfos.php:53 0206 #: webinfos.php:531 201 207 #, php-format 202 208 msgid "Version %s" 203 209 msgstr "" 204 210 205 #: webinfos.php:53 1211 #: webinfos.php:532 206 212 msgid "" 207 213 "Welcome to the setting " … … 209 215 msgstr "" 210 216 211 #: webinfos.php:540 217 #: webinfos.php:536 218 msgid "Message Selection" 219 msgstr "" 220 221 #: webinfos.php:539 222 msgid "Message Options" 223 msgstr "" 224 225 #: webinfos.php:546 226 msgid "" 227 "New Message Content" 228 msgstr "" 229 230 #: webinfos.php:549 231 msgid "" 232 "Edit Message Content" 233 msgstr "" 234 235 #: webinfos.php:564 212 236 msgid "Activate message" 213 237 msgstr "" 214 238 215 #: webinfos.php:5 46239 #: webinfos.php:570 216 240 msgid "Choose action" 217 241 msgstr "" 218 242 219 #: webinfos.php:5 56243 #: webinfos.php:580 220 244 msgid "Feedback" 221 245 msgstr "" 222 246 223 #: webinfos.php:5 57247 #: webinfos.php:581 224 248 msgid "" 225 249 "Did you find a bug ?" 226 250 msgstr "" 227 251 228 #: webinfos.php:5 57252 #: webinfos.php:581 229 253 msgid "" 230 254 "Do you have suggestions?" 231 255 msgstr "" 232 256 233 #: webinfos.php:5 58257 #: webinfos.php:582 234 258 msgid "" 235 259 "There are several ways " … … 239 263 msgstr "" 240 264 241 #: webinfos.php:5 60265 #: webinfos.php:584 242 266 #, php-format 243 267 msgid "" … … 247 271 msgstr "" 248 272 249 #: webinfos.php:5 61273 #: webinfos.php:585 250 274 #, php-format 251 275 msgid "" … … 255 279 msgstr "" 256 280 257 #: webinfos.php:5 62281 #: webinfos.php:586 258 282 msgid "" 259 283 "Use the form below to " … … 262 286 msgstr "" 263 287 264 #: webinfos.php:5 69288 #: webinfos.php:593 265 289 msgid "Send feedback" 266 290 msgstr "" 267 291 268 #: webinfos.php:6 00292 #: webinfos.php:624 269 293 msgid "" 270 294 "Choose the message that " … … 273 297 msgstr "" 274 298 275 #: webinfos.php:6 01299 #: webinfos.php:625 276 300 msgid "Activate message :" 277 301 msgstr "" 278 302 279 #: webinfos.php:6 07303 #: webinfos.php:631 280 304 msgid "" 281 305 "Change welcome message" 282 306 msgstr "" 283 307 284 #: webinfos.php:6 08308 #: webinfos.php:632 285 309 msgid "Action :" 286 310 msgstr "" 287 311 288 #: webinfos.php:6 21312 #: webinfos.php:645 289 313 msgid "" 290 314 "Welcome message settings" 291 315 msgstr "" 292 316 293 #: webinfos.php:6 22317 #: webinfos.php:646 294 318 msgid "" 295 319 "Contact informations" 296 320 msgstr "" 297 321 298 #: webinfos.php:6 26322 #: webinfos.php:650 299 323 msgid "Message num:" 300 324 msgstr "" 301 325 302 #: webinfos.php:6 30326 #: webinfos.php:654 303 327 msgid "Title :" 304 328 msgstr "" 305 329 306 #: webinfos.php:6 31330 #: webinfos.php:655 307 331 msgid "Website URL :" 308 332 msgstr "" 309 333 310 #: webinfos.php:6 32334 #: webinfos.php:656 311 335 msgid "Upload logo :" 312 336 msgstr "" 313 337 314 #: webinfos.php:6 33338 #: webinfos.php:657 315 339 msgid "" 316 340 "Logo alternate text :" 317 341 msgstr "" 318 342 319 #: webinfos.php:6 34343 #: webinfos.php:658 320 344 msgid "Welcome message :" 321 345 msgstr "" 322 346 323 #: webinfos.php:6 35347 #: webinfos.php:659 324 348 msgid "Attachments :" 325 349 msgstr "" 326 350 327 #: webinfos.php:6 36351 #: webinfos.php:660 328 352 msgid "Upload video :" 329 353 msgstr "" 330 354 331 #: webinfos.php:6 37355 #: webinfos.php:661 332 356 msgid "" 333 357 "Show contact infos :" 334 358 msgstr "" 335 359 336 #: webinfos.php:6 38360 #: webinfos.php:662 337 361 msgid "Upload photo :" 338 362 msgstr "" 339 363 340 #: webinfos.php:6 39364 #: webinfos.php:663 341 365 msgid "" 342 366 "Photo alternate text :" 343 367 msgstr "" 344 368 345 #: webinfos.php:6 40369 #: webinfos.php:664 346 370 msgid "Phone :" 347 371 msgstr "" 348 372 349 #: webinfos.php:6 41373 #: webinfos.php:665 350 374 msgid "Email :" 351 375 msgstr "" 352 376 353 #: webinfos.php:6 75377 #: webinfos.php:699 354 378 msgid "" 355 379 "Fill the form below to " … … 358 382 msgstr "" 359 383 360 #: webinfos.php: 676384 #: webinfos.php:700 361 385 msgid "Feedback sender :" 362 386 msgstr "" 363 387 364 #: webinfos.php: 677388 #: webinfos.php:701 365 389 msgid "Feedback subject :" 366 390 msgstr "" 367 391 368 #: webinfos.php: 678392 #: webinfos.php:702 369 393 msgid "Feedback message :" 370 394 msgstr "" 371 395 372 #: webinfos.php:7 63396 #: webinfos.php:787 373 397 msgid "Add message" 374 398 msgstr "" 375 399 376 #: webinfos.php:7 69400 #: webinfos.php:793 377 401 msgid "Edit message " 378 402 msgstr "" 379 403 380 #: webinfos.php:7 70404 #: webinfos.php:794 381 405 msgid "Erase message " 382 406 msgstr "" 383 407 384 #: webinfos.php:8 57385 #: webinfos.php:9 61408 #: webinfos.php:881 409 #: webinfos.php:985 386 410 #, php-format 387 411 msgid "" … … 390 414 msgstr "" 391 415 392 #: webinfos.php: 894416 #: webinfos.php:918 393 417 #, php-format 394 418 msgid "%d character left." … … 398 422 msgstr[1] "" 399 423 400 #: webinfos.php: 898424 #: webinfos.php:922 401 425 msgid "" 402 426 "HTML tags are supported." 403 427 msgstr "" 404 428 405 #: webinfos.php:10 42429 #: webinfos.php:1066 406 430 #, php-format 407 431 msgid "" … … 410 434 msgstr "" 411 435 412 #: webinfos.php:10 60436 #: webinfos.php:1084 413 437 msgid "" 414 438 "The website URL will be " … … 416 440 msgstr "" 417 441 418 #: webinfos.php:1 079442 #: webinfos.php:1103 419 443 msgid "" 420 444 "Attachments list : " 421 445 msgstr "" 422 446 423 #: webinfos.php:11 15447 #: webinfos.php:1139 424 448 msgid "" 425 449 "Click or drop your " … … 427 451 msgstr "" 428 452 429 #: webinfos.php:11 20453 #: webinfos.php:1144 430 454 msgid "" 431 455 "You can upload several " … … 433 457 msgstr "" 434 458 435 #: webinfos.php:11 28459 #: webinfos.php:1152 436 460 msgid "Save changes" 437 461 msgstr "" 438 462 439 #: webinfos.php:11 40463 #: webinfos.php:1164 440 464 msgid "" 441 465 "An error occurs with " -
webinfos/trunk/readme.txt
r1397915 r1418519 38 38 = How do i add a message ? = 39 39 40 Click on the "Message Options" button. 41 A form will appear. 40 42 Use the "Action" drop-down list, select "Add message" and click on the "Choose action" button. 43 Click on the "New Message Content" button. 41 44 A form will appear, fill it and click on the "Save changes" button. 42 45 The message is now created. … … 44 47 = How do i activate a message ? = 45 48 49 Click on the "Message Selection" button. 50 A form will appear. 46 51 Use the "Activate message" drop-down list, select "X" and click on the "Activate message" button. 47 52 … … 50 55 = How do i edit a message ? = 51 56 57 Click on the "Message Options" button. 58 A form will appear. 52 59 Use the "Action" drop-down list, select "Edit messageX" and click on the "Choose action" button. 60 Click on the "Edit Message Content" button. 53 61 A pre-filled form will appear with the options of the message editable. 54 62 Modify what you want and click on the "Save changes" button. … … 59 67 = How do i erase a message ? = 60 68 69 Click on the "Message Options" button. 70 A form will appear. 61 71 Use the "Action" drop-down list, select "Erase messageX" and click on the "Choose action" button. 62 72 The message is now erased. … … 75 85 76 86 == Upgrade Notice == 87 = 1.1 = 88 * Contact phone number is now saved properly. 89 * "Edit Message" and "Add Message" are now show properly. 90 * A menu have been added to show each form. 77 91 -
webinfos/trunk/webinfos.php
r1397910 r1418519 4 4 Plugin URI: 5 5 Description: A plugin showing a customisable welcome message in the dashboard. 6 Version: 1. 06 Version: 1.1 7 7 Author: ymjid 8 8 Author URI: … … 175 175 176 176 $safe_tel = is_numeric($_POST['webinfos_tel'] ); 177 if ( ! $safe_tel) {177 if ( $safe_tel== 0 ) { 178 178 $tel = ''; 179 $error= $error + __('An error occurs with contact phone number', 'webinfos') + "|"; 180 } 181 else { 182 $tel=$_POST['webinfos_tel']; 179 183 } 180 184 if ( strlen( $tel ) > 15 ) { … … 376 380 else { 377 381 add_action( 'admin_notices', 'webinfos_admin_notice__success' ); 378 379 function webinfos_admin_notice__success() { 380 ?> 381 <div class="notice notice-success is-dismissible"> 382 if ($edit_msg == "true") { 383 function webinfos_admin_notice__success() { 384 ?> 385 <div class="notice notice-success is-dismissible"> 386 <p><?php _e( 'Modifications saved successfully', 'webinfos' ); ?></p> 387 </div> 382 388 <?php 383 if ($edit_msg == "true") { 384 ?> 385 <p><?php _e( 'Modifications saved successfully', 'webinfos' ); ?></p> 386 <?php 387 } 388 ?> 389 } 390 } 391 if ($add_msg == "true") { 392 function webinfos_admin_notice__success() { 393 ?> 394 <div class="notice notice-success is-dismissible"> 395 <p><?php _e( 'Message added successfully', 'webinfos' ); ?></p> 396 </div> 389 397 <?php 390 if ($add_msg == "true") { 391 ?> 392 <p><?php _e( 'Message added successfully', 'webinfos' ); ?></p> 393 <?php 394 } 395 ?> 396 </div> 397 <?php 398 } 399 } 398 } 399 } 400 } 400 401 } 401 402 // if $_POST['test'] doesn't exist, message datas aren't fillable … … 530 531 <h2><?php echo sprintf(__('Version %s', 'webinfos'), $plugin_infos['Version']); ?></h2> 531 532 <p><?php _e('Welcome to the setting panel of Webinfos plugin', 'webinfos'); ?></p> 532 <form method="post" action="#"> 533 <!-- Custom menu to navigate easely through forms --> 534 <div class="custommenu"> 535 <div id="msgbutton2" class="custombutton" onClick="toggleForm('2');"> 536 <?php _e('Message Selection', 'webinfos'); ?> 537 </div> 538 <div id="msgbutton1" class="custombutton" onClick="toggleForm('1');"> 539 <?php _e('Message Options', 'webinfos'); ?> 540 </div> 541 <?php 542 if ($_POST['webinfos_nummsg'] >= '0') { 543 ?> 544 <div id="msgbutton3" class="custombuttonused" onClick="toggleForm('3');"> 545 <?php if ($_POST['webinfos_nummsg']== '0') { 546 _e('New Message Content', 'webinfos'); 547 } 548 else { 549 _e('Edit Message Content', 'webinfos'); 550 }?> 551 </div> 552 <?php 553 } 554 ?> 555 </div> 556 <form class="hide" method="post" id="form2" action="#"> 533 557 <?php 534 558 // we use only usable msg for activation … … 541 565 <?php } ?> 542 566 </form> 543 <form method="post" action="">567 <form class="hide" method="post" id="form1" action=""> 544 568 <?php settings_fields('webinfos_action'); ?> 545 569 <?php do_settings_sections('webinfos_action'); ?> 546 570 <?php submit_button(__('Choose action', 'webinfos')) ?> 547 571 </form> 548 <form method="post" action="#" id="message_content" enctype="multipart/form-data">572 <form id="form3" method="post" action="#" id="message_content" enctype="multipart/form-data"> 549 573 <?php settings_fields('webinfos_settings'); ?> 550 574 <?php do_settings_sections('webinfos_settings'); ?> … … 597 621 public function register_active_msg () { 598 622 register_setting('webinfos_active', 'active_msg'); 599 623 600 624 add_settings_section('webinfos_section', __('Choose the message that will be shown in the dashboard', 'webinfos'), array($this, 'section_html'), 'webinfos_active'); 601 625 add_settings_field('active_msg', __('Activate message :', 'webinfos'), array($this, 'activemsg_html'), 'webinfos_active', 'webinfos_section');
Note: See TracChangeset
for help on using the changeset viewer.