Changeset 214048
- Timestamp:
- 03/06/2010 04:53:07 PM (16 years ago)
- Location:
- sidebartabs/trunk
- Files:
-
- 9 edited
-
langs/sidebarTabs-pt_BR.mo (modified) (previous)
-
langs/sidebarTabs-pt_BR.po (modified) (8 diffs)
-
readme.txt (modified) (3 diffs)
-
sidebarTabs.php (modified) (9 diffs)
-
sidebarTabs_admin.php (modified) (4 diffs)
-
sidebarTabs_fixed.php (modified) (4 diffs)
-
sidebarTabs_scrollable.php (modified) (4 diffs)
-
styleSidebar.php (modified) (5 diffs)
-
styleSidebar_admin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sidebartabs/trunk/langs/sidebarTabs-pt_BR.po
r189024 r214048 3 3 "Project-Id-Version: sidebarTabs version 1.1\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2010-0 1-02 17:27-0300\n"5 "POT-Creation-Date: 2010-03-06 13:12-0300\n" 6 6 "PO-Revision-Date: \n" 7 7 "Last-Translator: Newton de Góes Horta <nghorta@gmail.com>\n" … … 17 17 "X-Poedit-SearchPath-0: .\n" 18 18 19 #: sidebarTabs.php:2 3619 #: sidebarTabs.php:253 20 20 msgid "Put widgets into tabbed (scrollable) interface in sidebar" 21 21 msgstr "Colocar widgets em uma interface com abas na barra lateral (sidebar) do blog" 22 22 23 #: sidebarTabs.php:2 3723 #: sidebarTabs.php:254 24 24 msgid "sidebarTabs" 25 25 msgstr "sidebarTab" 26 26 27 #: sidebarTabs.php:2 6927 #: sidebarTabs.php:287 28 28 msgid "Instance 1" 29 29 msgstr "Instância 1" 30 30 31 #: sidebarTabs.php:2 7731 #: sidebarTabs.php:296 32 32 msgid "Title:" 33 33 msgstr "Título:" 34 34 35 #: sidebarTabs.php:2 8035 #: sidebarTabs.php:299 36 36 msgid "Exclude Title:" 37 37 msgstr "Excluir Título:" 38 38 39 #: sidebarTabs.php: 28339 #: sidebarTabs.php:302 40 40 msgid "Orders sidebarTabs:" 41 41 msgstr "sidebarTabs Ordens:" 42 42 43 #: sidebarTabs.php: 28443 #: sidebarTabs.php:303 44 44 msgid "Seperate mutiple sidebarTabs orders with commas. Leave blank for all." 45 45 msgstr "Separe múltiplas ordens de sidebarTabs com vírgula. Deixe em branco para todas." 46 46 47 #: sidebarTabs.php: 28647 #: sidebarTabs.php:305 48 48 msgid "Layout of Instance:" 49 49 msgstr "Layout da Instância:" 50 50 51 #: sidebarTabs.php: 28851 #: sidebarTabs.php:307 52 52 msgid "Horizontal" 53 53 msgstr "Horizontal" 54 54 55 #: sidebarTabs.php: 28955 #: sidebarTabs.php:308 56 56 msgid "Vertical" 57 57 msgstr "Vertical" 58 58 59 #: sidebarTabs.php: 29459 #: sidebarTabs.php:313 60 60 msgid "Effect (Only vertical instances):" 61 61 msgstr "Efeito (Somente instâncias verticais):" 62 62 63 #: sidebarTabs.php: 29663 #: sidebarTabs.php:315 64 64 msgid "default" 65 65 msgstr "default" 66 66 67 #: sidebarTabs.php: 29767 #: sidebarTabs.php:316 68 68 msgid "fade" 69 69 msgstr "fade" 70 70 71 #: sidebarTabs.php: 29871 #: sidebarTabs.php:317 72 72 msgid "slide" 73 73 msgstr "slide" 74 75 #: sidebarTabs.php:322 76 msgid "Display in Sidebar:" 77 msgstr "Exibe na Sidebar:" 78 79 #: sidebarTabs.php:324 80 msgid "Yes" 81 msgstr "Sim" 82 83 #: sidebarTabs.php:325 84 #: sidebarTabs_admin.php:202 85 msgid "No" 86 msgstr "Não" 74 87 75 88 #: sidebarTabs_admin.php:11 … … 98 111 99 112 #: sidebarTabs_admin.php:40 100 #: sidebarTabs_admin.php:46 1113 #: sidebarTabs_admin.php:465 101 114 msgid "Default args" 102 115 msgstr "Default args" … … 104 117 #: sidebarTabs_admin.php:43 105 118 #: sidebarTabs_admin.php:133 106 #: sidebarTabs_admin.php:31 1107 #: sidebarTabs_admin.php:34 5119 #: sidebarTabs_admin.php:315 120 #: sidebarTabs_admin.php:349 108 121 msgid "Back to Manage sidebarTabs" 109 122 msgstr "Voltar para Administrar sidebarTabs" … … 140 153 141 154 #: sidebarTabs_admin.php:114 142 #: sidebarTabs_admin.php:50 1155 #: sidebarTabs_admin.php:505 143 156 msgid "Edit" 144 157 msgstr "Editar" … … 169 182 170 183 #: sidebarTabs_admin.php:200 171 #: sidebarTabs_admin.php:47 5184 #: sidebarTabs_admin.php:479 172 185 msgid "Icon" 173 186 msgstr "Ícone" 174 175 #: sidebarTabs_admin.php:202176 msgid "No"177 msgstr "Não"178 187 179 188 #: sidebarTabs_admin.php:217 … … 181 190 msgstr "Gravar" 182 191 183 #: sidebarTabs_admin.php:3 08192 #: sidebarTabs_admin.php:312 184 193 msgid "Options" 185 194 msgstr "Opções" 186 195 187 #: sidebarTabs_admin.php:3 17196 #: sidebarTabs_admin.php:321 188 197 msgid "Attention: D'ont forget to Save the changes after you are done. Always save after upgrade of plugin version." 189 198 msgstr "Atenção: Não se esqueça de salvar após as alterações serem efetuadas. Sempre salve após a atualização de versão do plugin." 190 199 191 #: sidebarTabs_admin.php:3 19200 #: sidebarTabs_admin.php:323 192 201 msgid "Layout of Tabs" 193 202 msgstr "Layout das Abas" 194 203 195 #: sidebarTabs_admin.php:32 3204 #: sidebarTabs_admin.php:327 196 205 msgid "Select" 197 206 msgstr "Selecione" 198 207 199 #: sidebarTabs_admin.php:32 5200 #: sidebarTabs_admin.php:44 3208 #: sidebarTabs_admin.php:329 209 #: sidebarTabs_admin.php:447 201 210 msgid "Fixed without icons" 202 211 msgstr "Fixo sem ícones" 203 212 204 #: sidebarTabs_admin.php:3 26205 #: sidebarTabs_admin.php:44 4213 #: sidebarTabs_admin.php:330 214 #: sidebarTabs_admin.php:448 206 215 msgid "Fixed with icons" 207 216 msgstr "Fixo com ícones" 208 217 209 #: sidebarTabs_admin.php:3 27210 #: sidebarTabs_admin.php:44 5218 #: sidebarTabs_admin.php:331 219 #: sidebarTabs_admin.php:449 211 220 msgid "Scrollable without icons" 212 221 msgstr "Rolável sem ícones" 213 222 214 #: sidebarTabs_admin.php:3 28215 #: sidebarTabs_admin.php:4 46223 #: sidebarTabs_admin.php:332 224 #: sidebarTabs_admin.php:450 216 225 msgid "Scrollable with icons" 217 226 msgstr "Rolável com ícones" 218 227 219 #: sidebarTabs_admin.php:34 0228 #: sidebarTabs_admin.php:344 220 229 msgid "Loading. Wait..." 221 230 msgstr "Carregando. Aguarde..." 222 231 223 #: sidebarTabs_admin.php:3 86232 #: sidebarTabs_admin.php:390 224 233 #, php-format 225 234 msgid "The tab number was set to %s." 226 235 msgstr "O número da aba foi setado para %s." 227 236 228 #: sidebarTabs_admin.php: 397237 #: sidebarTabs_admin.php:401 229 238 msgid "The tab number should be at least 1 and so was changed to 1." 230 239 msgstr "O número da aba deve ser pelo menos 1." 231 240 232 #: sidebarTabs_admin.php:40 1241 #: sidebarTabs_admin.php:405 233 242 msgid "The tab number was changed to be only one higher than the previous total number of tabs." 234 243 msgstr "O número da aba foi alterado para um número maior que o total de abas anteriores" 235 244 236 #: sidebarTabs_admin.php:45 3245 #: sidebarTabs_admin.php:457 237 246 msgid "Manage sidebarTabs" 238 247 msgstr "Administrar sidebarTabs" 239 248 240 #: sidebarTabs_admin.php:4 58249 #: sidebarTabs_admin.php:462 241 250 msgid "Delete" 242 251 msgstr "Excluir" 243 252 244 #: sidebarTabs_admin.php:4 59253 #: sidebarTabs_admin.php:463 245 254 msgid "Create New sidebarTab" 246 255 msgstr "Criar nova sidebarTab" 247 256 248 #: sidebarTabs_admin.php:46 0257 #: sidebarTabs_admin.php:464 249 258 msgid "sidebarTabs Options" 250 259 msgstr "Opções sidebarTabs" 251 260 252 #: sidebarTabs_admin.php:46 2261 #: sidebarTabs_admin.php:466 253 262 msgid "Reset ?" 254 263 msgstr "Reset ?" 255 264 256 #: sidebarTabs_admin.php:46 2265 #: sidebarTabs_admin.php:466 257 266 msgid "Reset" 258 267 msgstr "Reset" 259 268 260 #: sidebarTabs_admin.php:47 1269 #: sidebarTabs_admin.php:475 261 270 msgid "Order" 262 271 msgstr "Ordem" 263 272 264 #: sidebarTabs_admin.php:47 2273 #: sidebarTabs_admin.php:476 265 274 msgid "Widget" 266 275 msgstr "Widget" 267 276 268 #: sidebarTabs_admin.php:47 3277 #: sidebarTabs_admin.php:477 269 278 msgid "Tab Name" 270 279 msgstr "Nome da Aba" 271 280 272 #: sidebarTabs_admin.php:47 4281 #: sidebarTabs_admin.php:478 273 282 msgid "Description" 274 283 msgstr "Descrição" 275 284 276 #: sidebarTabs_admin.php:4 76285 #: sidebarTabs_admin.php:480 277 286 msgid "Callback" 278 287 msgstr "Callback" 279 288 280 #: sidebarTabs_admin.php:4 77289 #: sidebarTabs_admin.php:481 281 290 msgid "Unregister" 282 291 msgstr "Unregister" 283 292 284 #: sidebarTabs_admin.php:4 78293 #: sidebarTabs_admin.php:482 285 294 msgid "Action" 286 295 msgstr "Ação" 287 296 288 #: sidebarTabs_admin.php:48 5297 #: sidebarTabs_admin.php:489 289 298 msgid "yes" 290 299 msgstr "sim" 291 300 292 #: sidebarTabs_admin.php:4 86301 #: sidebarTabs_admin.php:490 293 302 msgid "no" 294 303 msgstr "não" 295 304 296 #: sidebarTabs_admin.php:5 09305 #: sidebarTabs_admin.php:513 297 306 msgid "Preview (without style) - Layout: " 298 307 msgstr "Preview (sem estilo) - Layout: " 299 308 300 #: sidebarTabs_admin.php:53 0309 #: sidebarTabs_admin.php:534 301 310 msgid "No instance created. Go to Design > Widget after create the sidebarTabs." 302 311 msgstr "Nenhuma instância criada. Vá para Aparência > Widgets após criar as sidebarTabs." 303 312 304 #: sidebarTabs_fixed.php:1 5313 #: sidebarTabs_fixed.php:17 305 314 msgid "Preview" 306 315 msgstr "Preview" 307 316 308 #: sidebarTabs_fixed.php: 18309 #: sidebarTabs_fixed.php:11 2317 #: sidebarTabs_fixed.php:20 318 #: sidebarTabs_fixed.php:114 310 319 msgid "Active Tab" 311 320 msgstr "Aba Ativa" 312 321 313 #: sidebarTabs_fixed.php: 19314 #: sidebarTabs_fixed.php:13 0322 #: sidebarTabs_fixed.php:21 323 #: sidebarTabs_fixed.php:132 315 324 msgid "Inactive Tab" 316 325 msgstr "Aba Inativa" 317 326 318 #: sidebarTabs_fixed.php:2 0327 #: sidebarTabs_fixed.php:22 319 328 msgid "Mouse Over" 320 329 msgstr "Mouse Over" 321 330 322 #: sidebarTabs_fixed.php:3 0331 #: sidebarTabs_fixed.php:32 323 332 msgid "Width Corner" 324 333 msgstr "Tamanho do Canto" 325 334 326 #: sidebarTabs_fixed.php:3 2335 #: sidebarTabs_fixed.php:34 327 336 msgid "(recommended value: 5)" 328 337 msgstr "(valor recomendado: 5)" 329 338 330 #: sidebarTabs_fixed.php:3 6339 #: sidebarTabs_fixed.php:38 331 340 msgid "Select the corner of tabs" 332 341 msgstr "Selecione o canto das abas" 333 342 334 #: sidebarTabs_fixed.php:9 7335 #: sidebarTabs_scrollable.php:1 4343 #: sidebarTabs_fixed.php:99 344 #: sidebarTabs_scrollable.php:16 336 345 msgid "Colors" 337 346 msgstr "Cores" 338 347 339 #: sidebarTabs_fixed.php:10 1340 #: sidebarTabs_scrollable.php: 18348 #: sidebarTabs_fixed.php:103 349 #: sidebarTabs_scrollable.php:20 341 350 msgid "Enter the color in the fields bellow, or use the buttons to pick it." 342 351 msgstr "Entre com as cores nos campos abaixo ou use os botões para selecioná-las." 343 352 344 #: sidebarTabs_fixed.php:10 5353 #: sidebarTabs_fixed.php:107 345 354 msgid "Line Color" 346 355 msgstr "Cor da Linha" 347 348 #: sidebarTabs_fixed.php:114349 #: sidebarTabs_fixed.php:123350 #: sidebarTabs_fixed.php:132351 msgid "Text color:"352 msgstr "Cor do Texto:"353 356 354 357 #: sidebarTabs_fixed.php:116 355 358 #: sidebarTabs_fixed.php:125 356 359 #: sidebarTabs_fixed.php:134 360 msgid "Text color:" 361 msgstr "Cor do Texto:" 362 363 #: sidebarTabs_fixed.php:118 364 #: sidebarTabs_fixed.php:127 365 #: sidebarTabs_fixed.php:136 357 366 msgid "Background color:" 358 367 msgstr "Cor de fundo" 359 368 360 #: sidebarTabs_fixed.php:12 1369 #: sidebarTabs_fixed.php:123 361 370 msgid "Mouse Over Tab" 362 371 msgstr "Mouse Over Tab" 363 372 364 #: sidebarTabs_fixed.php:14 0365 #: sidebarTabs_scrollable.php: 29373 #: sidebarTabs_fixed.php:142 374 #: sidebarTabs_scrollable.php:31 366 375 msgid "Background color of the panes" 367 376 msgstr "Cor de fundo dos painéis" 368 377 369 #: sidebarTabs_fixed.php:14 7370 #: sidebarTabs_scrollable.php:3 6378 #: sidebarTabs_fixed.php:149 379 #: sidebarTabs_scrollable.php:38 371 380 msgid "Link color in the panes" 372 381 msgstr "Cor do link nos painéis" 373 382 374 #: sidebarTabs_fixed.php:15 0375 #: sidebarTabs_fixed.php:15 7376 #: sidebarTabs_fixed.php:16 4377 #: sidebarTabs_scrollable.php: 39378 #: sidebarTabs_scrollable.php:4 6379 #: sidebarTabs_scrollable.php:5 3383 #: sidebarTabs_fixed.php:152 384 #: sidebarTabs_fixed.php:159 385 #: sidebarTabs_fixed.php:166 386 #: sidebarTabs_scrollable.php:41 387 #: sidebarTabs_scrollable.php:48 388 #: sidebarTabs_scrollable.php:55 380 389 msgid "blank assumes the theme color" 381 390 msgstr "branco assume a cor do tema" 382 391 383 #: sidebarTabs_fixed.php:15 4384 #: sidebarTabs_scrollable.php:4 3392 #: sidebarTabs_fixed.php:156 393 #: sidebarTabs_scrollable.php:45 385 394 msgid "Hover link color in the panes" 386 395 msgstr "Cor do hover link nos painéis" 387 396 388 #: sidebarTabs_fixed.php:16 1389 #: sidebarTabs_scrollable.php:5 0397 #: sidebarTabs_fixed.php:163 398 #: sidebarTabs_scrollable.php:52 390 399 msgid "Text color in the panes" 391 400 msgstr "Cor do texto nos painéis" 392 401 393 #: sidebarTabs_fixed.php:1 68402 #: sidebarTabs_fixed.php:170 394 403 msgid "Background of vertical tabs " 395 msgstr " Cor de fundo das abas verticais"396 397 #: sidebarTabs_fixed.php:17 1404 msgstr "Fundo das abas verticais" 405 406 #: sidebarTabs_fixed.php:173 398 407 msgid "standard" 399 408 msgstr "padrão" 400 409 401 #: sidebarTabs_fixed.php:174 402 msgid "colors of tabs" 403 msgstr "cor das abas" 404 405 #: sidebarTabs_fixed.php:182 406 msgid "Dimensions / Font of Tabs" 407 msgstr "Dimensões / Font das Abas" 408 409 #: sidebarTabs_fixed.php:186 410 #: sidebarTabs_fixed.php:176 411 #: sidebarTabs_fixed.php:187 412 msgid "gradient" 413 msgstr "gradiente" 414 415 #: sidebarTabs_fixed.php:179 416 #: sidebarTabs_fixed.php:190 417 #: sidebarTabs_fixed.php:205 418 msgid "normal" 419 msgstr "normal" 420 421 #: sidebarTabs_fixed.php:184 422 msgid "Background of horizontal tabs " 423 msgstr "Fundo das abas horizontais" 424 425 #: sidebarTabs_fixed.php:198 426 msgid "Dimensions / Font of Tabs / CSS Margin Instance" 427 msgstr "Dimensões / Fonte das Abas / CSS das Margens da Instância" 428 429 #: sidebarTabs_fixed.php:202 410 430 msgid "Font Weight of Tabs" 411 431 msgstr "Peso das Abas" 412 432 413 #: sidebarTabs_fixed.php: 188433 #: sidebarTabs_fixed.php:204 414 434 msgid "bold" 415 435 msgstr "bold" 416 436 417 #: sidebarTabs_fixed.php:189 418 msgid "normal" 419 msgstr "normal" 420 421 #: sidebarTabs_fixed.php:193 437 #: sidebarTabs_fixed.php:209 422 438 msgid "Font Size of Tabs" 423 439 msgstr "Tamanho da Fonte das Abas" 424 440 425 #: sidebarTabs_fixed.php: 199441 #: sidebarTabs_fixed.php:215 426 442 msgid "Font Family of Tabs" 427 443 msgstr "Família de Fontes das Abas" 428 444 429 #: sidebarTabs_fixed.php:2 01445 #: sidebarTabs_fixed.php:217 430 446 msgid "Example: verdana, arial, sans-serif. Blank assumes the theme." 431 447 msgstr "Exemplo: verdana, arial, sans-serif. Branco assume a do tema." 432 448 433 #: sidebarTabs_fixed.php:2 05449 #: sidebarTabs_fixed.php:221 434 450 msgid "Height Tabs" 435 451 msgstr "Altura das Abas" 436 452 437 #: sidebarTabs_fixed.php:2 07453 #: sidebarTabs_fixed.php:223 438 454 msgid "(recommended value: 26)" 439 455 msgstr "(valor recomendado: 26)" 440 456 441 #: sidebarTabs_fixed.php:2 11442 #: sidebarTabs_scrollable.php:8 1457 #: sidebarTabs_fixed.php:227 458 #: sidebarTabs_scrollable.php:83 443 459 msgid "Width sidebar of your theme" 444 460 msgstr "Largura da sidebar de seu tema" 445 461 446 #: sidebarTabs_fixed.php:2 14447 #: sidebarTabs_scrollable.php:8 4462 #: sidebarTabs_fixed.php:230 463 #: sidebarTabs_scrollable.php:86 448 464 msgid "(fixed sidebar)" 449 465 msgstr "(sidebar fixa)" 450 466 451 #: sidebarTabs_fixed.php:2 15452 #: sidebarTabs_scrollable.php:8 5467 #: sidebarTabs_fixed.php:231 468 #: sidebarTabs_scrollable.php:87 453 469 msgid "(fluid sidebar)" 454 470 msgstr "(sidebar fluída)" 455 471 456 #: sidebarTabs_fixed.php:225 457 #: sidebarTabs_scrollable.php:105 472 #: sidebarTabs_fixed.php:235 473 #: sidebarTabs_scrollable.php:91 474 msgid "CSS Margin Instance" 475 msgstr "CSS Margens da Instância" 476 477 #: sidebarTabs_fixed.php:237 478 #: sidebarTabs_scrollable.php:93 479 msgid "blank assumes the default margin of plugin" 480 msgstr "branco assume as margens default do plugin" 481 482 #: sidebarTabs_fixed.php:247 483 #: sidebarTabs_scrollable.php:114 458 484 msgid "Update Settings" 459 485 msgstr "Alterar Opções" 460 486 461 #: sidebarTabs_scrollable.php:2 2487 #: sidebarTabs_scrollable.php:24 462 488 msgid "Line color of the panes" 463 489 msgstr "Cor das linhas dos painéis" 464 490 465 #: sidebarTabs_scrollable.php:6 0466 msgid "Dimensions "467 msgstr "Dimensões "468 469 #: sidebarTabs_scrollable.php:6 5491 #: sidebarTabs_scrollable.php:62 492 msgid "Dimensions / CSS Margin Instance" 493 msgstr "Dimensões / CSS das Margens da Instância" 494 495 #: sidebarTabs_scrollable.php:67 470 496 msgid "<strong>Note:</strong> Set the height (32) and width (39) if you want to use the icons provided with the plugin" 471 497 msgstr "<strong>Observação:</strong> Defina a altura (32) e a largura (39) se desejar utilizar os ícones fornecidos com o plugin" 472 498 473 #: sidebarTabs_scrollable.php: 69499 #: sidebarTabs_scrollable.php:71 474 500 msgid "Height Icons" 475 501 msgstr "Altura dos Ícones" 476 502 477 #: sidebarTabs_scrollable.php:7 5503 #: sidebarTabs_scrollable.php:77 478 504 msgid "Width Icons" 479 505 msgstr "Largura dos Ícones" 480 506 507 #~ msgid "colors of tabs" 508 #~ msgstr "cor das abas" 509 #~ msgid "Dimensions" 510 #~ msgstr "Dimensões" 481 511 #~ msgid "Layout:" 482 512 #~ msgstr "Layout:" … … 485 515 #~ msgid "Loads" 486 516 #~ msgstr "Carrega" 487 #~ msgid "Yes"488 #~ msgstr "Sim"489 517 #~ msgid "Layout" 490 518 #~ msgstr "Layout" -
sidebartabs/trunk/readme.txt
r200225 r214048 5 5 Requires at least: 2.8 6 6 Tested up to: 2.9 7 Stable tag: 2. 0.37 Stable tag: 2.1 8 8 9 9 Put widgets into tabbed interface in sidebar … … 25 25 = Languages = 26 26 27 Just upload the .mo file in the sidebartabs/langs folder. WordPress will automatically load the language file from this directory, where "locale"is the value you defined in your wp-config.php file in the root of your WordPress installation.27 Just upload the .mo file in the sidebartabs/langs folder. WordPress will automatically load the language file from this directory, where locale is the value you defined in your wp-config.php file in the root of your WordPress installation. 28 28 29 29 **Russian [ru_RU]** … … 72 72 73 73 == ChangeLog == 74 = 2.1 = 75 * Added the option "Display in sidebar" in the instance of the plugin; 76 * Implemented new uses of the plugin. See [further details](http://www.blogviche.com.br/new_version.php/) and an [example](http://www.blogviche.com.br/world-cup-2010/); 77 * Added in the parameter "Background of vertical tabs" in "sidebarTabs Options" the option "Normal"; 78 * Added the parameter "Background of horizontal tabs" in "sidebarTabs Options" with values "gradient" and "normal"; 79 * Added a field in the "sidebarTabs Options" to include the margin (CSS) of the instances of plugin. 80 74 81 = 2.0.3 = 75 82 * Fixed bug concerning the parameter "Exclude Title" of the plugin instance; -
sidebartabs/trunk/sidebarTabs.php
r200183 r214048 5 5 Description: sidebarTabs allows you to easily widgets into Tabs 6 6 Author: Newton Horta 7 Version: 2. 0.37 Version: 2.1 8 8 Author URI: http://www.blogviche.com.br 9 9 … … 41 41 $options["fw"] = "normal"; 42 42 $options["bvt"] = "0"; 43 $options["bht"] = "0"; 44 $options["margin_c"] = 'margin: 10px 0 10px 0'; 43 45 update_option("sidebarTabs", $options); 44 46 … … 60 62 } 61 63 62 function get_sidebarTabs($args) { 64 function getSidebarTabs($atts) { 65 extract(shortcode_atts(array( 66 "instance" => '', 67 "before_title" => '', 68 "after_title" => '' 69 ), $atts)); 70 $args = array('widget_id' => 'sidebartabs-'.$instance,'before_title' => $before_title,'after_title' => $after_title); 71 return get_sidebarTabs($args,1,1); 72 } 73 add_shortcode('sidebartabs', 'getSidebarTabs'); 74 75 function get_sidebarTabs($args, $dsb=0, $short_code=0) { 63 76 global $wp_registered_widgets, $wp_registered_sidebars, $sidebars_widgets, $i_widget; 64 77 $op = ''; 65 78 $stab = get_option("sidebartabs_widget"); 79 if (!is_array($stab)) return; 66 80 $options = get_option("sidebarTabs"); 67 81 $widget_options = get_option("widget_sidebarTabs"); 68 82 $widget_id = split('-',$args['widget_id']); 69 83 $widget_id = $widget_id[1]; 84 if (!$widget_options[$widget_id]['display_sb'] && isset($widget_options[$widget_id]['display_sb']) && !$dsb) return; 70 85 $abas = $widget_options[$widget_id]['orderSelect']; 71 86 $layout_instance = $widget_options[$widget_id]['layout_instance']; 72 87 $effect = $widget_options[$widget_id]['effects']; 88 $exclude = $widget_options[$widget_id]['exclude']; 89 if (!$exclude && !is_admin()) $op .= $args['before_title'] . $widget_options[$widget_id]['title'] . $args['after_title']; 73 90 74 91 if (is_admin()) { 75 92 $class = 'title_sidebarTabs_admin'; 76 $op .= '<h2 class="'.$class.'">' . $widget_options[$widget_id]['title'] . ' </h2>';93 $op .= '<h2 class="'.$class.'">' . $widget_options[$widget_id]['title'] . ' (Id => ' . $widget_id . ')</h2>'; 77 94 } 78 95 … … 105 122 $title_icons = ''; 106 123 if ($options['layout'] == 2 || $options['layout'] == 4) $title_icons = ' title="'.$widget['sidebartabname'].'"'; 107 $op .= ' <li><a href="#tab'.$ i.'" class="sb'.$i.'" id="sb'.$i.'"'. $title_icons.'>'.$widget['sidebartabname']."</a></li>\n";124 $op .= ' <li><a href="#tab'.$aba.'" class="sb'.$aba.'" id="sb'.$aba.'"'. $title_icons.'>'.$widget['sidebartabname']."</a></li>\n"; 108 125 } 109 126 } … … 177 194 $op .= " </div>\n"; 178 195 } 179 echo $op;180 181 196 if ($effect == '') $effect = 'fade'; 182 183 get_scripts_sidebarTabs($widget_id,$layout_instance,$effect); 197 $op .= get_scripts_sidebarTabs($widget_id,$layout_instance,$effect); 198 if ($short_code) return $op; 199 else echo $op; 184 200 } 185 201 … … 247 263 $layout_instance = esc_attr($instance['layout_instance']); 248 264 $effects = esc_attr($instance['effects']); 249 if (!$exclude) echo $before_title . $title . $after_title;265 $display_sb = esc_attr($instance['display_sb']); 250 266 get_sidebarTabs($args); 251 267 } … … 262 278 $instance['layout_instance'] = strip_tags($new_instance['layout_instance']); 263 279 $instance['effects'] = strip_tags($new_instance['effects']); 280 $instance['display_sb'] = strip_tags($new_instance['display_sb']); 264 281 return $instance; 265 282 } … … 274 291 $layout_instance = esc_attr($instance['layout_instance']); 275 292 $effects = esc_attr($instance['effects']); 293 $display_sb = esc_attr($instance['display_sb']); 276 294 ?> 277 295 <p> … … 298 316 <option value="fade"<?php selected('fade', $effects); ?>><?php _e('fade', 'sidebartabs'); ?></option> 299 317 <option value="slide"<?php selected('slide', $effects); ?>><?php _e('slide', 'sidebartabs'); ?></option> 318 </select> 319 </label> 320 </p> 321 <p> 322 <label for="<?php echo $this->get_field_id('display_sb'); ?>"><?php _e('Display in Sidebar:', 'sidebartabs'); ?> 323 <select name="<?php echo $this->get_field_name('display_sb'); ?>" id="<?php echo $this->get_field_id('display_sb'); ?>" class="widefat"> 324 <option value="1"<?php selected('1', $display_sb); ?>><?php _e('Yes', 'sidebartabs'); ?></option> 325 <option value="0"<?php selected('0', $display_sb); ?>><?php _e('No', 'sidebartabs'); ?></option> 300 326 </select> 301 327 </label> -
sidebartabs/trunk/sidebarTabs_admin.php
r189024 r214048 227 227 228 228 case 'options': 229 if (isset($_POST['submit_sidebarTab'])) { 229 if (isset($_POST['submit_sidebarTab'])) { 230 230 $options["active_font"] = $_POST['active_font']; 231 231 $options["active_bg"] = $_POST['active_bg']; … … 250 250 $options["fs"] = $_POST['fs']; 251 251 $options["ff"] = str_replace('"',"'",$_POST['ff']); 252 $options["bvt"] = str_replace('"',"'",$_POST['bvt']); 252 $options["bvt"] = $_POST['bvt']; 253 $options["bht"] = $_POST['bht']; 254 $options["margin_c"] = $_POST['margin_c']; 253 255 update_option("sidebarTabs", $options); 254 256 $message_options = $save_options; … … 256 258 } 257 259 $options=get_option("sidebarTabs"); 260 if (!$options["margin_c"]) $margin_c = 'margin: 10px 0 10px 0'; 261 else $margin_c = $options["margin_c"]; 258 262 write_css_icons(); 259 263 ?> … … 522 526 $sidebarTabs_status = is_active_widget( $widget['callback'], $widget['id']) ? '1' : '0'; 523 527 if ($sidebarTabs_status) { 524 get_sidebarTabs($args );528 get_sidebarTabs($args,'1'); 525 529 $count_widgets++; 526 530 } -
sidebartabs/trunk/sidebarTabs_fixed.php
r169703 r214048 9 9 } 10 10 $options=get_option("sidebarTabs"); 11 if (!$options["margin_c"]) $margin_c = 'margin: 10px 0 10px 0'; 12 else $margin_c = $options["margin_c"]; 11 13 12 14 ?> … … 172 174 </div> 173 175 <div class="bvtd"> 174 <input type="radio" value="1" name="bvt" class="align" <?php if ("1" == $options["bvt"]) echo "checked=\"checked\""; ?> /> <?php _e('colors of tabs','sidebartabs'); ?> 176 <input type="radio" value="1" name="bvt" class="align" <?php if ("1" == $options["bvt"]) echo "checked=\"checked\""; ?> /> <?php _e('gradient','sidebartabs'); ?> 177 </div> 178 <div class="bvtn"> 179 <input type="radio" value="2" name="bvt" class="align" <?php if ("2" == $options["bvt"]) echo "checked=\"checked\""; ?> /> <?php _e('normal','sidebartabs'); ?> 180 </div> 181 </td> 182 </tr> 183 <tr valign="top"> 184 <th scope="row"><?php _e('Background of horizontal tabs ','sidebartabs'); ?></th> 185 <td scope="row"> 186 <div class="bvtd"> 187 <input type="radio" value="0" name="bht" class="align" <?php if ("0" == $options["bht"]) echo "checked=\"checked\""; ?> /> <?php _e('gradient','sidebartabs'); ?> 188 </div> 189 <div class="bvtn"> 190 <input type="radio" value="1" name="bht" class="align" <?php if ("1" == $options["bht"]) echo "checked=\"checked\""; ?> /> <?php _e('normal','sidebartabs'); ?> 175 191 </div> 176 192 </td> … … 180 196 </div> 181 197 <div class="stuffbox metabox-holder" style="padding-top:0;"> 182 <h3><?php _e('Dimensions / Font of Tabs ','sidebartabs'); ?></h3>198 <h3><?php _e('Dimensions / Font of Tabs / CSS Margin Instance','sidebartabs'); ?></h3> 183 199 <br class="clear" /> 184 200 <table class="form-table"> … … 214 230 <input type="radio" value="px" name="unit" <?php if ("px" == $options["unit"]) echo "checked=\"checked\""; ?> /> px <small><?php _e('(fixed sidebar)','sidebartabs'); ?></small> 215 231 <input type="radio" value="p" name="unit" <?php if ("p" == $options["unit"]) echo "checked=\"checked\""; ?> /> % <small><?php _e('(fluid sidebar)','sidebartabs'); ?></small> 232 </td> 233 </tr> 234 <tr valign="top"> 235 <th scope="row"><?php _e('CSS Margin Instance','sidebartabs'); ?></th> 236 <td scope="row"> 237 <input type="text" id="margin_c" name="margin_c" size="40" value="<?php echo $margin_c ?>" /><br /> <small>(<?php echo _e('blank assumes the default margin of plugin','sidebartabs'); ?>)</small> 216 238 </td> 217 239 </tr> -
sidebartabs/trunk/sidebarTabs_scrollable.php
r189024 r214048 9 9 } 10 10 $options=get_option("sidebarTabs"); 11 if (!$options["margin_c"]) $margin_c = 'margin: 10px 0 10px 0'; 12 else $margin_c = $options["margin_c"]; 11 13 ?> 12 14 <div id="with_icons"> … … 58 60 </div> 59 61 <div class="stuffbox metabox-holder" style="padding-top:0;"> 60 <h3><?php _e('Dimensions ','sidebartabs'); ?></h3>62 <h3><?php _e('Dimensions / CSS Margin Instance','sidebartabs'); ?></h3> 61 63 <br class="clear" /> 62 64 <table class="form-table"> … … 86 88 </td> 87 89 </tr> 90 <tr valign="top"> 91 <th scope="row"><?php _e('CSS Margin Instance','sidebartabs'); ?></th> 92 <td scope="row"> 93 <input type="text" id="margin_c" name="margin_c" size="40" value="<?php echo $margin_c ?>" /><br /> <small>(<?php echo _e('blank assumes the default margin of plugin','sidebartabs'); ?>)</small> 94 </td> 95 </tr> 88 96 </table> 89 97 <br /> … … 101 109 <input type="hidden" name="ff" value="<?php echo stripslashes($options["ff"]) ?>" /> 102 110 <input type="hidden" name="bvt" value="<?php echo $options["bvt"] ?>" /> 111 <input type="hidden" name="bht" value="<?php echo $options["bht"] ?>" /> 103 112 </div> 104 113 <div class="submit" style="clear:both;"> -
sidebartabs/trunk/styleSidebar.php
r199929 r214048 31 31 32 32 div.sb_container { 33 /* margin: 10px 0 !important; */ 34 width: <?php echo $opsbt["width_sidebar"].$unit; ?> 33 width: <?php echo $opsbt["width_sidebar"].$unit; ?>; 34 <?php if ($opsbt['margin_c'] != '') { 35 $margin_c = str_replace(';','',$opsbt['margin_c']); 36 echo $margin_c . ' !important;'; 37 } 38 ?> 35 39 } 36 40 div.sidebarTabs_panes { … … 103 107 color:<?php echo $opsbt["inactive_font"]; ?> !important; 104 108 margin-right: 2px !important; 109 <?php if ($opsbt["bht"]) { ?> 110 background: <?php echo $opsbt["inactive_bg"]; ?>; 111 <?php } else { ?> 105 112 background: <?php echo $opsbt["inactive_bg"]; ?> url('images/h30.png') repeat-x 0 0; 113 <?php } ?> 106 114 position:relative; 107 115 outline: none; … … 109 117 height: <?php echo $opsbt["height_tabs"]; ?>px !important; 110 118 line-height: <?php echo $opsbt["height_tabs"]; ?>px !important; 111 border: 1px solid <?php echo $opsbt["line"]; ?> 119 border: 1px solid <?php echo $opsbt["line"]; ?>; 112 120 <?php } else { ?> 113 121 height: <?php echo $opsbt["height_icons"]; ?>px !important; … … 227 235 div.sb_container a.next { 228 236 margin-left: 3px; 237 background: none !important; 229 238 } 230 239 <?php } ?> … … 247 256 border:1px solid <?php echo $opsbt["line"]; ?>; 248 257 <?php } ?> 249 margin-bottom: 10px !important;250 258 <?php if ($theme_sb == "default") { ?> 251 259 float: left; 252 260 <?php } ?> 261 <?php if ($opsbt['margin_c'] != '') { 262 $margin_c = str_replace(';','',$opsbt['margin_c']); 263 echo $margin_c . ' !important;'; 264 } else { ?> 265 margin-bottom: 10px; 266 <?php 267 } 268 ?> 253 269 } 254 270 255 271 /* accordion header */ 256 272 .accordion h4.accordion_h4 { 257 <?php if ($opsbt['bvt'] ) { ?>273 <?php if ($opsbt['bvt'] == 1) { ?> 258 274 background: <?php echo $opsbt["inactive_bg"]; ?> url('images/h30.png') repeat-x 0 0 !important; 275 <?php } else if ($opsbt['bvt'] == 0) { ?> 276 background: #ddd url('images/vertical_bg.png') repeat-x left top !important; 259 277 <?php } else { ?> 260 background: #ddd url('images/vertical_bg.png') repeat-x left top!important;261 <?php } ?> 278 background: <?php echo $opsbt["inactive_bg"]; ?> !important; 279 <?php } ?> 262 280 margin:0 !important; 263 281 padding: 0 0 0 10px !important; -
sidebartabs/trunk/styleSidebar_admin.php
r189024 r214048 138 138 div.bvtp { float: left; width: 100px; height: 30px; margin: 0 0.7em 0.7em 0; background: url(images/vertical_bg.png) repeat-x; } 139 139 div.bvtd { float: left; width: 100px; height: 30px; margin: 0 0.7em 0.7em 0; background: <?php echo $opsbt["active_bg"]; ?> url(images/h30.png) repeat-x; color: <?php echo $opsbt["active_font"]; ?> ;} 140 div.bvtn { float: left; width: 100px; height: 30px; margin: 0 0.7em 0.7em 0; background-color: <?php echo $opsbt["active_bg"]; ?>; color: <?php echo $opsbt["active_font"]; ?>;} 140 141 .icon-sidebarTabs { 141 142 background: transparent url(images/sidebarTabs.png) no-repeat;
Note: See TracChangeset
for help on using the changeset viewer.