Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Файл - groups.css (Старый размер - 14703 | Новый - 0):
- 0. - #groups_css {
- 1. - display: none;
- 2. - }
- 3. -
- 4. - #group .narrow_column .module_body {
- 5. - border-left: 1px solid #F1F1F1;
- 6. - }
- 7. - #group .narrow_column .audios_module .module_body {
- 8. - padding: 8px 0px 8px 8px;
- 9. - }
- 10. - #group {
- 11. - padding: 10px 10px 0px;
- 12. - }
- 13. - #group h4.simple .top_header {
- 14. - width: 395px;
- 15. - height: 1.23em;
- 16. - white-space: nowrap;
- 17. - overflow: hidden;
- 18. - -o-text-overflow: ellipsis;
- 19. - text-overflow: ellipsis;
- 20. - text-overflow: ellipsis-word;
- 21. - }
- 22. -
- 23. - .group_info {
- 24. - padding: 7px 6px 10px;
- 25. - line-height: 150%;
- 26. - }
- 27. - .group_info_private {
- 28. - padding-top: 5px;
- 29. - color: #777;
- 30. - }
- 31. - .group_info .label {
- 32. - width: 120px;
- 33. - color: #777;
- 34. - padding: 3px 0px 0px;
- 35. - }
- 36. - .group_info .labeled {
- 37. - width: 265px;
- 38. - overflow: hidden;
- 39. - padding: 3px 0px 0px;
- 40. - }
- 41. - .group_row_labeled {
- 42. - padding: 0px 0px 2px;
- 43. - }
- 44. - #page_avatar.group_no_avatar {
- 45. - padding: 175px 10px 15px;
- 46. - text-align: center;
- 47. - background: #EEF2F6 url(/images/no_photo.png) no-repeat 45px 55px;
- 48. - }
- 49. -
- 50. - #group_photos .module_body {
- 51. - padding: 0px 0px 10px;
- 52. - }
- 53. - #group_photos.module.empty .module_body {
- 54. - border-bottom: none;
- 55. - padding: 0px;
- 56. - }
- 57. - #group_photos.module.empty .module_body .empty_wrap {
- 58. - padding: 20px 0px;
- 59. - }
- 60. - .group_photos_wrap {
- 61. - margin: 5px -1px 0px;
- 62. - }
- 63. - #group_photos .profile_sized_photos {
- 64. - margin: 0;
- 65. - }
- 66. - .group_photos_wrap .profile_wide_sized_photos,
- 67. - .page_wide_no_narrow .profile_sized_photos {
- 68. - display: none;
- 69. - }
- 70. - .page_wide_no_narrow .group_photos_wrap .profile_wide_sized_photos {
- 71. - display: block;
- 72. - }
- 73. - .group_photos_table, .group_photos_table a img {
- 74. - margin: 0px auto;
- 75. - }
- 76. - .profile_wide_sized_photos a.page_post_thumb_wrap {
- 77. - margin-right: 6px;
- 78. - }
- 79. - .group_photos_table a {
- 80. - display: block;
- 81. - width: 75px;
- 82. - height: 57px;
- 83. - background: #F1F1F1;
- 84. - text-align: center;
- 85. - overflow: hidden;
- 86. - margin: 0px 3px 0px 2px;
- 87. - }
- 88. - #group_photos_upload {
- 89. - background: #eff1f3;
- 90. - padding: 17px;
- 91. - text-align: center;
- 92. - color: #738392;
- 93. - line-height: 16px;
- 94. - display: block;
- 95. - }
- 96. - a#group_photos_upload:hover,
- 97. - #group_photos_upload.hover {
- 98. - background: #e9edf1;
- 99. - text-decoration: none;
- 100. - }
- 101. - .group_photos_upload_label {
- 102. - background: url('/images/camera.gif') left 1px no-repeat;
- 103. - padding: 4px 0px 4px 35px;
- 104. - }
- 105. -
- 106. - .group_wiki_wrap {
- 107. - padding-bottom: 10px;
- 108. - overflow: hidden;
- 109. - }
- 110. - .group_wiki_hider {
- 111. - padding: 8px 0 8px 125px;
- 112. - border-top: 1px solid #FFF;
- 113. - display: block;
- 114. - }
- 115. - .group_wiki_hider span {
- 116. - padding: 0px 8px;
- 117. - color: #2B587A;
- 118. - visibility: hidden;
- 119. - }
- 120. - .group_wiki_hider span:hover {
- 121. - text-decoration: underline;
- 122. - }
- 123. - .group_wiki_hider:hover {
- 124. - text-decoration: none;
- 125. - background: #E9EDF1;
- 126. - }
- 127. - .group_wiki_hider:hover span {
- 128. - visibility: visible;
- 129. - }
- 130. - #group .group_wiki_wrap .wk_text {
- 131. - display: none;
- 132. - padding: 10px 8px;
- 133. - width: 370px;
- 134. - word-wrap: break-word;
- 135. - line-height:150%;
- 136. - }
- 137. - .groups_edit_board_row {
- 138. - padding: 5px 0px;
- 139. - }
- 140. - .groups_edit_board_label {
- 141. - padding: 5px 10px 0px;
- 142. - width: 200px;
- 143. - color: #777;
- 144. - }
- 145. - .groups_edit_board_labeled {
- 146. - width: 160px;
- 147. - }
- 148. -
- 149. - #group_voting .module_body {
- 150. - padding-bottom: 11px;
- 151. - }
- 152. - #group_voting .header_bottom {
- 153. - padding: 3px 9px;
- 154. - }
- 155. - .group_voting_title {
- 156. - font-weight: bold;
- 157. - color: #45688E;
- 158. - padding: 0px 6px 3px;
- 159. - margin: 13px 8px 4px;
- 160. - border-bottom: 1px solid #E7EAED;
- 161. - }
- 162. - .group_voting_row_wrap {
- 163. - width: 100%;
- 164. - padding: 0px 5px;
- 165. - }
- 166. - .group_voting_row {
- 167. - background: #F1F1F1;
- 168. - width: 100%;
- 169. - }
- 170. - .group_voting_row_desc {
- 171. - padding: 1px 7px 3px;
- 172. - }
- 173. - .group_voting_text {
- 174. - padding: 6px 7px 4px;
- 175. - }
- 176. - .group_voting_percent {
- 177. - background: #E1E7ED;
- 178. - border: solid #D8DFE5;
- 179. - border-width: 1px 1px 0px 0px;
- 180. - height: 13px;
- 181. - }
- 182. - .group_voting_table {
- 183. - padding: 0px 8px;
- 184. - }
- 185. - .group_voting_table .radiobtn {
- 186. - padding: 12px 6px;
- 187. - border-top: 1px solid #E7EAED;
- 188. - }
- 189. - .group_voting_table .radiobtn.first {
- 190. - padding-top: 8px;
- 191. - border-top: 0px;
- 192. - }
- 193. - #group_voting_msg {
- 194. - margin: 10px 14px 0px;
- 195. - }
- 196. - .group_voting_actions {
- 197. - font-weight: normal;
- 198. - }
- 199. -
- 200. - #group_like_module, .group_block_module {
- 201. - margin: 0px 0px 10px;
- 202. - padding: 11px 10px 10px;
- 203. - background: #F1F1F1;
- 204. - line-height: 160%;
- 205. - }
- 206. - .group_block_module {
- 207. - margin: 10px 0px 0px;
- 208. - }
- 209. - .group_like_desc {
- 210. - padding-bottom: 10px;
- 211. - }
- 212. - .group_like_enter_desc {
- 213. - padding-top: 10px;
- 214. - text-align: center;
- 215. - color: #777;
- 216. - }
- 217. - .group_share_wrap {
- 218. - padding-top: 1px;
- 219. - }
- 220. - .group_button_wrap {
- 221. - padding-bottom: 10px;
- 222. - }
- 223. - .group_button_action {
- 224. - text-align: center;
- 225. - }
- 226. - .group_button_action .progress {
- 227. - margin: 0px auto;
- 228. - }
- 229. -
- 230. - #group_block_comment_wrap {
- 231. - padding-top: 10px;
- 232. - }
- 233. - #group_block_comment,
- 234. - #group_block_public_comment,
- 235. - #group_block_admin_comment {
- 236. - width: 396px;
- 237. - height: 40px;
- 238. - padding: 5px;
- 239. - vertical-align: top;
- 240. - }
- 241. - div.group_block_button,
- 242. - div.group_block_button.dark_box_btn {
- 243. - margin-top: 26px;
- 244. - }
- 245. - #group_block_reason_wrap,
- 246. - #group_block_duration_wrap {
- 247. - height: 30px;
- 248. - }
- 249. - .group_block_day,
- 250. - .group_block_month {
- 251. - padding-left: 5px;
- 252. - }
- 253. - .is_rtl1 .group_block_day,
- 254. - .is_rtl1 .group_block_month {
- 255. - padding-left: 0;
- 256. - padding-right: 5px;
- 257. - }
- 258. - #group_block_subreason_wrap {
- 259. - height: 30px;
- 260. - padding: 10px 0 0;
- 261. - }
- 262. - #group_block_warning,
- 263. - #group_block_public_preview,
- 264. - #group_block_admin_preview {
- 265. - padding-bottom: 10px;
- 266. - }
- 267. - #group_block_public_comment_preview,
- 268. - #group_block_admin_comment_preview {
- 269. - padding-bottom: 10px;
- 270. - display: none;
- 271. - }
- 272. -
- 273. -
- 274. - .page_actions a.group_block_mem {
- 275. - display: inline;
- 276. - padding: 0px;
- 277. - background: none;
- 278. - }
- 279. - .page_actions a.group_block_mem:hover {
- 280. - text-decoration: underline;
- 281. - background: none;
- 282. - }
- 283. -
- 284. - .group_abuse_made {
- 285. - padding: 4px 6px;
- 286. - color: #777;
- 287. - }
- 288. -
- 289. - .groups_donate {
- 290. - margin: 5px 0px;
- 291. - background: #F7F7F7;
- 292. - border: solid #DAE1E8;
- 293. - border-width: 1px 0px;
- 294. - padding: 7px;
- 295. - }
- 296. - #groups_donate_options {
- 297. - display: none;
- 298. - padding-bottom: 5px;
- 299. - }
- 300. - #groups_donate_options .radiobtn {
- 301. - padding: 3px 5px;
- 302. - }
- 303. - #groups_donate_button {
- 304. - display: none;
- 305. - }
- 306. - #groups_donate_other {
- 307. - display: none;
- 308. - padding: 0px 5px 7px;
- 309. - }
- 310. - #groups_donate_other_val {
- 311. - width: 70px;
- 312. - }
- 313. - #groups_donate_other_add {
- 314. - padding: 0px 5px;
- 315. - }
- 316. - .groups_no_donations {
- 317. - padding: 30px 10px;
- 318. - text-align: center;
- 319. - color: #777;
- 320. - }
- 321. - .summary_wrap.groups_donators_summary {
- 322. - padding: 0px;
- 323. - margin: 0px 5px 10px;
- 324. - }
- 325. - #groups_donators_wrap {
- 326. - padding: 7px 5px 0px;
- 327. - overflow: hidden;
- 328. - height: 360px;
- 329. - }
- 330. -
- 331. - div.gl_message {
- 332. - margin: 10px 10px 0px;
- 333. - }
- 334. - .groups_list_search {
- 335. - background: #F7F7F7;
- 336. - border-bottom: 1px solid #DAE1E8;
- 337. - padding: 10px;
- 338. - }
- 339. - #groups_list_search {
- 340. - padding: 5px 40px 6px 20px;
- 341. - background: url(/images/magglass.png) no-repeat scroll 5px 6px white;
- 342. - height: 13px;
- 343. - width: 320px;
- 344. - outline: none;
- 345. - }
- 346. - #groups_list_search::-ms-clear {
- 347. - display: none;
- 348. - }
- 349. -
- 350. - .groups_list {
- 351. - padding: 0px 10px;
- 352. - }
- 353. - .group_list_row {
- 354. - border-bottom: 1px solid #EDEDED;
- 355. - padding: 10px 0;
- 356. - background: #FFFFFF;
- 357. - }
- 358. - .group_list_row:last-child {
- 359. - border-bottom: 0px;
- 360. - }
- 361. - .group_row_blockinv {
- 362. - white-space: nowrap;
- 363. - overflow: hidden;
- 364. - -o-text-overflow: ellipsis;
- 365. - text-overflow: ellipsis;
- 366. - padding-top: 10px;
- 367. - }
- 368. - .group_row_photo {
- 369. - height: 100px;
- 370. - overflow: hidden;
- 371. - width: 100px;
- 372. - }
- 373. - .group_row_info {
- 374. - padding-left: 10px;
- 375. - width: 485px;
- 376. - overflow: hidden;
- 377. - color: #777777;
- 378. - }
- 379. - .group_inv_info {
- 380. - padding: 0px 0px 0px 15px;
- 381. - width: 480px;
- 382. - overflow: hidden;
- 383. - }
- 384. - .group_row_label {
- 385. - color: #777;
- 386. - width: 70px;
- 387. - padding: 0 10px;
- 388. - }
- 389. - .group_row_labeled, .group_row_status_wrap {
- 390. - margin-bottom: 3px;
- 391. - width: 405px;
- 392. - }
- 393. - .group_row_status_wrap {
- 394. - color: #777;
- 395. - padding: 5px 0;
- 396. - }
- 397. - .group_row_actions {
- 398. - padding: 0 5px;
- 399. - }
- 400. - .group_row_actions {
- 401. - padding: 0px;
- 402. - }
- 403. - .groups_no_list {
- 404. - border: 0;
- 405. - background: #FFF;
- 406. - color: #777;
- 407. - font-size: 1.18em;
- 408. - margin: 0 0 3px;
- 409. - padding: 80px 0;
- 410. - text-align: center;
- 411. - overflow: hidden;
- 412. - text-overflow: ellipsis;
- 413. - }
- 414. - .groups_more_link {
- 415. - display: block;
- 416. - padding: 10px 0px;
- 417. - margin: 0px 10px 10px;
- 418. - border-top: 1px solid #DAE1E8;
- 419. - text-align: center;
- 420. - }
- 421. - .groups_more_link:hover {
- 422. - background: #E1E7ED;
- 423. - text-decoration: none;
- 424. - }
- 425. - .group_friends_in_gr {
- 426. - padding-top: 6px;
- 427. - margin: 0px -2px;
- 428. - }
- 429. - .group_friend_in_gr {
- 430. - height: 32px;
- 431. - overflow: hidden;
- 432. - padding: 0px 2px;
- 433. - }
- 434. - .group_row_buttons {
- 435. - margin: 8px -3px 0px -2px;
- 436. - }
- 437. - .group_row_button {
- 438. - margin: 0px 3px 0px 2px;
- 439. - }
- 440. -
- 441. - .group_friend_in_img {
- 442. - width: 32px;
- 443. - }
- 444. - .groups_create_box {
- 445. - padding: 3px 0px 1px;
- 446. - width: 370px;
- 447. - }
- 448. - .groups_create_header {
- 449. - color: #36638E;
- 450. - font-size: 1.09em;
- 451. - font-weight: bold;
- 452. - margin: 11px 0px 5px;
- 453. - }
- 454. - .groups_create_section {
- 455. - padding: 9px 1px 2px;
- 456. - }
- 457. - .groups_create_section .radiobtn div {
- 458. - width: 18px;
- 459. - }
- 460. - .groups_create_about {
- 461. - color: #777;
- 462. - padding: 2px 23px 0px;
- 463. - }
- 464. - #group_create_title, #group_create_desc {
- 465. - width: 360px;
- 466. - }
- 467. - .groups_about_public {
- 468. - font-size: 0.9em;
- 469. - color: #777;
- 470. - padding-top: 10px;
- 471. - }
- 472. - .groups_search_focused .group_row_highlight {
- 473. - background: #E1E7ED;
- 474. - border-bottom: 1px solid #DAE1E8;
- 475. - padding: 0px 1px 0px;
- 476. - margin: 0px -1px;
- 477. - *padding: 0px;
- 478. - *margin: 0px;
- 479. - }
- 480. - .group_full_private {
- 481. - font-size: 1.09em;
- 482. - padding: 140px 20px 200px;
- 483. - text-align: center;
- 484. - width: 567px;
- 485. - }
- 486. -
- 487. - .public_contacts_list {
- 488. - padding: 7px 5px 5px;
- 489. - overflow-y: scroll;
- 490. - overflow-x: hidden;
- 491. - height: 298px;
- 492. - width: 455px;
- 493. - }
- 494. - .public_contacts_list_header {
- 495. - border-bottom: 1px solid rgb(218, 225, 232);
- 496. - margin: 0pt 5px 4px;
- 497. - padding: 5px 0pt 2px;
- 498. - width: 430px;
- 499. - }
- 500. - .public_contacts_list .row {
- 501. - padding: 6px;
- 502. - width: 50px;
- 503. - }
- 504. - .public_contacts_list .info {
- 505. - padding: 6px 5px;
- 506. - width: 240px;
- 507. - }
- 508. - .public_contacts_list .info_wide {
- 509. - padding: 6px 5px;
- 510. - width: 350px;
- 511. - }
- 512. - .public_contacts_list .actions {
- 513. - width: 120px;
- 514. - padding: 8px 0;
- 515. - }
- 516. - .public_contacts_list .edit_actions {
- 517. - width: 120px;
- 518. - }
- 519. - .public_contacts_list .name a {
- 520. - font-size: 1.09em;
- 521. - color: #2B587A;
- 522. - font-weight: bold;
- 523. - padding-bottom: 5px;
- 524. - }
- 525. - .public_contacts_list .name span {
- 526. - font-weight: bold;
- 527. - font-size: 1.09em;
- 528. - padding-bottom: 5px;
- 529. - color: #777777;
- 530. - }
- 531. - .public_contacts_list .image {
- 532. - height: 50px;
- 533. - width: 50px;
- 534. - overflow: hidden;
- 535. - }
- 536. - .public_contacts_list h2 {
- 537. - border: 0;
- 538. - }
- 539. - .public_contacts_list .cell {
- 540. - width: 435px;
- 541. - border-bottom: 1px solid #E6EAED;
- 542. - }
- 543. - .public_contacts_list .desc {
- 544. - padding: 4px 2px 0;
- 545. - }
- 546. - .public_contacts_list .extra_info {
- 547. - padding: 4px 2px 0;
- 548. - color: #777777;
- 549. - line-height: 150%;
- 550. - }
- 551. - .public_contacts_list .extra_info a {
- 552. - color: #777777;
- 553. - }
- 554. - .public_contacts_list .extra_info span {
- 555. - background: url(/images/icons/info_icons.gif) no-repeat 0 0;
- 556. - padding: 0 8px 0 13px;
- 557. - }
- 558. - .public_contacts_list .extra_info .info_phone {
- 559. - background-position: 0 -18px;
- 560. - padding-left: 9px;
- 561. - }
- 562. - .public_no_contacts {
- 563. - padding: 145px 5px 5px;
- 564. - height: 140px;
- 565. - text-align: center;
- 566. - font-size: 1.09em;
- 567. - color:gray;
- 568. - }
- 569. -
- 570. -
- 571. - #group_like_module .like_link_state {
- 572. - width: 180px;
- 573. - }
- 574. - #group_like_module #group_subscribe.like_link_state {
- 575. - padding: 6px 0px 8px;
- 576. - }
- 577. - #group_like_module .like_link_state .subscribe_button_wrap {
- 578. - padding: 3px 30px 14px;
- 579. - }
- 580. - #group_like_module .like_link_state .desc {
- 581. - padding-bottom: 13px;
- 582. - }
- 583. - #group_like_module .like_link_state .desc .share_event_link {
- 584. - padding-top: 1px;
- 585. - }
- 586. - #group_like_module .group_friends_count {
- 587. - text-align: center;
- 588. - }
- 589. - #group_decline_past_event, #group_restore_past_event {
- 590. - padding-top: 8px;
- 591. - }
- 592. - .group_event_took_place {
- 593. - padding-bottom: 5px;
- 594. - }
- 595. - .group_user_invited {
- 596. - padding: 2px 0 11px;
- 597. - text-align: center;
- 598. - }
- 599. -
- 600. -
- 601. - #public_contact_memlink_tip {
- 602. - color: #777;
- 603. - padding: 3px 0;
- 604. - font-size: 0.9em;
- 605. - }
- 606. - .public_edit_contact_info h2 {
- 607. - margin: 0 0 10px 10px;
- 608. - }
- 609. - .public_edit_contact_info .label {
- 610. - padding: 3px 10px 2px;
- 611. - width: 70px;
- 612. - clear: both;
- 613. - color: #777;
- 614. - }
- 615. - .public_edit_contact_info .labeled_text {
- 616. - padding: 3px 0px 10px;
- 617. - width: 190px;
- 618. - }
- 619. - .public_edit_contact_info .labeled {
- 620. - padding: 0px 0px 5px;
- 621. - width: 190px;
- 622. - overflow: hidden;
- 623. - }
- 624. - .public_edit_contact_info .labeled .text {
- 625. - width: 182px;
- 626. - }
- 627. -
- 628. - .gle_block {
- 629. - width: 190px;
- 630. - overflow: hidden;
- 631. - padding: 10px 0px;
- 632. - }
- 633. - .gle_table {
- 634. - width: 190px;
- 635. - }
- 636. - .gle_td {
- 637. - vertical-align: top;
- 638. - }
- 639. - .gle_thumb {
- 640. - display: block;
- 641. - width: 50px;
- 642. - height: 50px;
- 643. - overflow: hidden;
- 644. - }
- 645. - .gle_img {
- 646. - width: 50px;
- 647. - vertical-align: top;
- 648. - }
- 649. - .gle_row {
- 650. - padding: 1px 0px 2px;
- 651. - margin: 0px 8px;
- 652. - width: 124px;
- 653. - white-space: nowrap;
- 654. - height: 13px;
- 655. - overflow: hidden;
- 656. - -o-text-overflow: ellipsis;
- 657. - text-overflow: ellipsis;
- 658. - }
- 659. - .gle_date, .gle_place {
- 660. - color: #777;
- 661. - }
- 662. - .gl_events_msg_hide {
- 663. - padding: 15px 0px 3px;
- 664. - }
- 665. - div.gl_summary_short {
- 666. - padding: 13px 0px 0px;
- 667. - margin: 0px 10px;
- 668. - }
- 669. - .gle_list {
- 670. - padding: 0px 10px;
- 671. - }
- 672. - #gle_list_more_lnk {
- 673. - display: block;
- 674. - background: #EFF1F3;
- 675. - margin: 0px 10px 10px;
- 676. - padding: 10px;
- 677. - text-align: center;
- 678. - color: #738392;
- 679. - }
- 680. - #gle_list_more_lnk:hover {
- 681. - background: #E9EDF1;
- 682. - text-decoration: none;
- 683. - }
- 684. - #gle_list_more {
- 685. - display: none;
- 686. - }
- 687. -
- 688. - .group_share_club {
- 689. - text-decoration: none;
- 690. - width: 11px;
- 691. - height: 13px;
- 692. - background: url(/images/icons/mono_iconset.gif?8) no-repeat 0px -192px;
- 693. - cursor: pointer;
- 694. - margin: 3px 5px 0px;
- 695. - }
- 696. - #group_share_progress, #group_unshare_progress {
- 697. - height: 17px;
- 698. - }
- 699. - .groups_list_search_summary {
- 700. - padding: 8px 0px 0px;
- 701. - }
- 702. - .groups_list_last_row {
- 703. - border-bottom: none;
- 704. - }
- 705. - #groups_loading {
- 706. - background: url('/images/upload.gif') center center no-repeat;
- 707. - width: 32px;
- 708. - height: 9px;
- 709. - margin: 7px 0px 0px 342px;
- 710. - z-index: 95;
- 711. - position: absolute;
- 712. - display: none;
- 713. - }
- 714. - #groups_reset_search {
- 715. - margin: 1px 0px 0px 356px;
- 716. - display: none;
- 717. - cursor: pointer;
- 718. - background: transparent url(/images/icons/input_clear.gif) 6px 6px no-repeat;
- 719. - padding: 2px;
- 720. - width: 19px;
- 721. - height: 19px;
- 722. - opacity: 0.6;
- 723. - filter: alpha(opacity=60);
- 724. - position: absolute;
- 725. - z-index: 95;
- 726. - }
- 727. - #groups_list_search_cont {
- 728. - display: none;
- 729. - }
- 730. - .groups_row_type {
- 731. - color: #777;
- 732. - /*margin-left: 8px;*/
- 733. - display: block;
- 734. - padding-top: 4px;
- 735. - }
- 736. - .groups_inv_more {
- 737. - display: none;
- 738. - }
- 739. - .groups_inv_showmore {
- 740. - display: block;
- 741. - padding: 10px 0px;
- 742. - margin: 0px;
- 743. - border-top: 1px solid #DAE1E8;
- 744. - text-align: center;
- 745. - }
- 746. - .groups_inv_showmore:hover {
- 747. - background: #E1E7ED;
- 748. - text-decoration: none;
- 749. - }
- 750. - .gle_invites_list {
- 751. - padding: 0px 10px;
- 752. - }
- 753. - .groups_inv_last_row {
- 754. - border-bottom: none;
- 755. - padding-bottom: 0px;
- 756. - }
- 757. - .groups_inv_info {
- 758. - width: 540px;
- 759. - padding-left: 10px;
- 760. - }
- 761. - .groups_inv_info_l {
- 762. - color: #777777;
- 763. - margin-left: 8px;
- 764. - }
- 765. - .groups_inv_cont {
- 766. - background: #F7F7F7;
- 767. - padding: 10px;
- 768. - margin: 8px 0px 0px 0px;
- 769. - }
- 770. - .groups_row_inv_info {
- 771. - padding-left: 10px;
- 772. - width: 410px;
- 773. - }
- 774. - .group_inv_status {
- 775. - margin-top: 2px;
- 776. - color: #777777;
- 777. - }
- 778. - .groups_acted_text {
- 779. - padding: 0px 0px 4px;
- 780. - }
- 781. - .gle_summary_progress {
- 782. - display: none;
- 783. - }
- 784. - #gle_invites_more {
- 785. - display: none;
- 786. - }
- 787. - .group_inv_event_time {
- 788. - padding: 2px 0px 4px;
- 789. - }
- 790. - .groups_row_img {
- 791. - width: 100px;
- 792. - }
- 793. - .gle_invites_actions {
- 794. - margin: 0px 0px 14px;
- 795. - text-align: center;
- 796. - background: #F7F7F7;
- 797. - padding: 8px;
- 798. - }
- 799. -
- 800. - div.gtop_message {
- 801. - margin: 0 0 10px 0;
- 802. - padding: 8px 13px;
- 803. - border: none;
- 804. - background-color: #F0F2F5;
- 805. - }
- 806. - .gtop_mesage_buttons {
- 807. - padding: 10px 0px 3px;
- 808. - }
- 809. - .gtop_mesage_buttons a {
- 810. - margin: 6px 0 0 20px;
- 811. - }
- ------
- Файл - groups_list.js (Старый размер - 35578 | Новый - 0):
- 0. - var GroupsList = {
- 1. - rand: function() {
- 2. - return Math.floor(Math.random() * 10000);
- 3. - },
- 4. - enter: function(el, gid, hash, act, past) {
- 5. - if (cur.invSwitching) {
- 6. - setTimeout(GroupsList.enter.pbind(el, gid, hash, act, past), 100);
- 7. - return false;
- 8. - }
- 9. - var sp, hp, tab = cur.scrollList.tab;
- 10. -
- 11. - if (el.tagName.toLowerCase() != 'button') {
- 12. - if (!el.backhtml) {
- 13. - el.backhtml = el.innerHTML;
- 14. - }
- 15. - sp = function() {
- 16. - var w = getSize(el)[0];
- 17. - el.innerHTML = '<span class="progress_inline"></span>';
- 18. - setStyle(el, {width: w - 30});
- 19. - }
- 20. - hp = function() {
- 21. - el.innerHTML = el.backhtml;
- 22. - }
- 23. - } else {
- 24. - sp = lockButton.pbind(el);
- 25. - hp = unlockButton.pbind(el);
- 26. - }
- 27. -
- 28. - var key = GroupsList.rand(), value = GroupsList.rand();
- 29. - cur.scrollList[key] = value;
- 30. -
- 31. - var context = (cur.scrollList.tab == 'groups') ? '2' : '1';
- 32. -
- 33. - var shown = false;
- 34. - cur.invSwitching = true;
- 35. - if (GroupsList.switchInvite(gid, (act == 'decline' && !past))) {
- 36. - shown = true;
- 37. - sp = false;
- 38. - hp = false;
- 39. - }
- 40. -
- 41. - ajax.post('al_groups.php', {
- 42. - act: 'enter',
- 43. - gid: gid,
- 44. - hash: hash,
- 45. - context: context + (act ? '_' + act : ''),
- 46. - inv_shown: cur.scrollList.invShown
- 47. - }, {
- 48. - onDone: function(newRow, added) {
- 49. - cur.invSwitching = false;
- 50. - if (!cur.scrollList || cur.scrollList[key] != value) return;
- 51. -
- 52. - var list = cur.scrollList.lists[tab], newStatus = past ? 5 : 1;
- 53. - if (act == 'unsure') {
- 54. - newStatus = past ? 5 : 3;
- 55. - } else if (act == 'decline') {
- 56. - newStatus = past ? -3 : -1;
- 57. - } else if (act == 'undecided') {
- 58. - newStatus = 4;
- 59. - }
- 60. - if (!list || list == 'loading' || list == 'update') {
- 61. - cur.scrollList.processed[tab][gid] = newStatus;
- 62. - } else {
- 63. - for (var i = 0, count = list.length; i < count; ++i) {
- 64. - if (list[i][2] == gid) {
- 65. - list[i][1] = newStatus;
- 66. - }
- 67. - }
- 68. - }
- 69. -
- 70. - var row = ge('gl_' + tab + gid);
- 71. -
- 72. - GroupsList.addInvite(newRow, added, act);
- 73. -
- 74. - var rowEl = geByClass1('group_list_row', ge('groups_list_content'));
- 75. - if (rowEl && rowEl.id == 'gl_' + tab + gid) {
- 76. - setStyle(rowEl, {backgroundColor: '#FEFAE4'});
- 77. - animate(rowEl, {backgroundColor: '#FFF'}, 2000);
- 78. - }
- 79. -
- 80. - if (shown) {
- 81. - if (cur.switchedInvite && act == 'decline' && !past) {
- 82. - var switchedHtml = getLang('groups_event_left') + ' <a onclick="GroupsList.spam(this.parentNode, ' + gid + ', \'' + hash + '\', cur.switchedInvite)">' + getLang('its_spam') + '</a>';
- 83. - if (ge('clubinv' + gid)) switchedHtml += '<div class="group_row_blockinv"><a onclick="GroupsList.spam(domPN(domPN(this)), ' + gid + ', \'' + hash + '\', cur.switchedInvite, 1)">' + getLang('groups_block_clubinv').replace('{club}', '<b>' + val(domPS(ge('clubinv' + gid))) + '</b>') + '</a></div>';
- 84. - cur.switchedInvite.innerHTML = switchedHtml;
- 85. - }
- 86. - return;
- 87. - }
- 88. -
- 89. - if (!row) return;
- 90. -
- 91. - var status = geByClass1('group_row_status', row), actions = geByClass1('group_row_actions', row), old = status.basehtml;
- 92. - var actOld = actions.basehtml;
- 93. - status.basehtml = status.innerHTML;
- 94. - actions.basehtml = actions.innerHTML;
- 95. - if (act == 'undecided') {
- 96. - actions.innerHTML = actOld || '';
- 97. - status.innerHTML = old || '\
- 98. - <div class="group_row_buttons">\
- 99. - <div class="group_row_button button_blue fl_l">\
- 100. - <button onclick="GroupsList.enter(this, ' + gid + ', \'' + hash + '\', \'join\')">' + getLang('groups_event_go_btn') + '</button>\
- 101. - </div>\
- 102. - <div class="group_row_button button_blue fl_l">\
- 103. - <button onclick="GroupsList.enter(this, ' + gid + ', \'' + hash + '\', \'unsure\')">' + getLang('groups_event_maybe_btn') + '</button>\
- 104. - </div>\
- 105. - <div class="group_row_button button_cancel fl_l">\
- 106. - <div class="button" onclick="GroupsList.enter(this, ' + gid + ', \'' + hash + '\', \'decline\')">' + getLang('groups_event_cant_btn') + '</div>\
- 107. - </div>\
- 108. - </div>';
- 109. - } else if (act) {
- 110. - if (past) {
- 111. - var statHTML = getLang('groups_was_on_event');
- 112. - if (act == 'decline') {
- 113. - actions.innerHTML = '<a onclick="GroupsList.enter(this.parentNode, ' + gid + ', \'' + hash + '\', \'join\', true)">' + getLang('groups_return_event') + '</a>';
- 114. - } else {
- 115. - actions.innerHTML = '<a onclick="GroupsList.enter(this.parentNode, ' + gid + ', \'' + hash + '\', \'decline\', true)">' + getLang('groups_remove_event') + '</a>';
- 116. - }
- 117. - } else {
- 118. - var acts = '<a onclick="GroupsList.enter(this.parentNode, ' + gid + ', \'' + hash + '\', \'undecided\')">' + getLang('groups_event_change') + '</a>';
- 119. - if (act == 'unsure') {
- 120. - var statHTML = getLang('groups_unsure_event');
- 121. - } else if (act == 'decline') {
- 122. - var statHTML = getLang('groups_event_left');
- 123. - acts += '<span class="divider">|</span><a onclick="GroupsList.spam(this.parentNode, ' + gid + ', \'' + hash + '\')">' + getLang('its_spam') + '</a>';
- 124. - if (ge('clubinv' + gid)) acts += '<div class="group_row_blockinv"><a onclick="GroupsList.spam(domPN(domPN(this)), ' + gid + ', \'' + hash + '\', false, 1)">' + getLang('groups_block_clubinv').replace('{club}', '<b>' + val(domPS(ge('clubinv' + gid))) + '</b>') + '</a></div>';
- 125. - } else {
- 126. - var statHTML = getLang('groups_you_in_event');
- 127. - }
- 128. - actions.innerHTML = acts;
- 129. - }
- 130. - status.innerHTML = '<div class="groups_acted_text">'+statHTML+'</div>';
- 131. - cur.lst = status;
- 132. - } else {
- 133. - status.innerHTML = '<div class="groups_acted_text">'+getLang('groups_group_enter_message')+'</div>';
- 134. - actions.innerHTML = '<a onclick="GroupsList.cancel(this.parentNode, ' + gid + ', \'' + hash + '\')">' + getLang('global_cancel') + '</a>';
- 135. - }
- 136. -
- 137. - if (tab == 'inv') {
- 138. - var row = ge('gl_groups'+ gid);
- 139. - if (row) {
- 140. - var statusOne = geByClass1('group_row_status', row), actionsOne = geByClass1('group_row_actions', row);
- 141. - statusOne.innerHTML = status.innerHTML;
- 142. - actionsOne.innerHTML = actions.innerHTML;
- 143. - }
- 144. - }
- 145. - if (act == 'join' || act == 'unsure') {
- 146. - GroupsList.updateEventsList(gid);
- 147. - } else if (act == 'undecided') {
- 148. - GroupsList.updateEventsList(false);
- 149. - }
- 150. - /*var list = cur.scrollList.lists[tab];
- 151. - if (act == 'join' || act == 'unsure' || act == 'decline') {
- 152. - GroupsList.updateEventsList();
- 153. - for(var i in list) {
- 154. - if (list[i][2] == gid) {
- 155. - cur['gid_restore_el'+gid] = [list.splice(i, 1), i];
- 156. - }
- 157. - }
- 158. - } else if (act == 'undecided' && cur['gid_restore_el'+gid]) {
- 159. - list.splice(cur['gid_restore_el'+gid][1], 0, cur['gid_restore_el'+gid][0][0]);
- 160. - }*/
- 161. - },
- 162. - onFail: function(text) {
- 163. - if (text) {
- 164. - setTimeout(showFastBox(getLang('global_error'), text).hide, 3000);
- 165. - return true;
- 166. - }
- 167. - },
- 168. - showProgress: sp, hideProgress: hp
- 169. - });
- 170. - },
- 171. -
- 172. - addInvite: function(newRow, added, act) {
- 173. - if (newRow) {
- 174. - var moreCont = ge('gle_invites_more');
- 175. - moreCont.appendChild(se(newRow));
- 176. - cur.scrollList.invShown += 1;
- 177. - if (cur.scrollList.invSwitchGid) {
- 178. - GroupsList.switchInvite(cur.scrollList.invSwitchGid);
- 179. - cur.scrollList.invSwitchGid = false;
- 180. - }
- 181. - }
- 182. -
- 183. - if (added && cur.scrollList.lists.groups) {
- 184. - var l = cur.scrollList.lists.groups;
- 185. - if (act == 'join' || act == 'unsure') {;
- 186. - l.push(added);
- 187. - } else if (!act) {
- 188. - l.unshift(added); // add to the start
- 189. - } else if (act == 'undecided') {
- 190. - for (var i in l) {
- 191. - if (l[i][2] == added[2]) {
- 192. - l.splice(i, 1)
- 193. - }
- 194. - }
- 195. - }
- 196. - cur.scrollList.cache['groups'] = {all: []};
- 197. - var c = cur.scrollList.cache['groups'];
- 198. - for (var i in l) {
- 199. - c.all.push(i);
- 200. - }
- 201. - cur.scrollList.index['groups'] = new vkIndexer(c.all, function(obj) {
- 202. - return l[obj][0];
- 203. - });
- 204. - GroupsList.showMore(true);
- 205. - }
- 206. - },
- 207. -
- 208. - switchInvite: function(gid, prepareActs) {
- 209. - var tab = cur.scrollList.tab;
- 210. - if (tab != 'groups') {
- 211. - return false;
- 212. - }
- 213. -
- 214. - var row = ge('gl_' + tab + gid);
- 215. -
- 216. - var moreCont = ge('gle_invites_more');
- 217. - var newRows = moreCont.childNodes;
- 218. - if (!newRows.length) {
- 219. - if (cur.scrollList.invShown < cur.scrollList.invCount) {
- 220. - cur.scrollList.invSwitchGid = gid;
- 221. - return true;
- 222. - }
- 223. - return false;
- 224. - }
- 225. - var newRow = newRows[0];
- 226. -
- 227. - if (!newRow) {
- 228. - return false;
- 229. - }
- 230. -
- 231. - if (cur.switchedInvite) {
- 232. - slideUp(cur.switchedInvite);
- 233. - }
- 234. - if (prepareActs) {
- 235. - cur.switchedInvite = ce('div', {className: 'gle_invites_actions', innerHTML: '<div class="progress_inline"></div>'});
- 236. - newRow.insertBefore(cur.switchedInvite, newRow.firstChild)
- 237. - }
- 238. -
- 239. - cur.scrollList.invShown -= 1;
- 240. - cur.scrollList.invCount -= 1;
- 241. -
- 242. - var cont = row.parentNode;
- 243. - var size = getSize(cont);
- 244. - setStyle(newRow, {opacity: 0, overflow: 'hidden', height: 1, position: 'absolute'});
- 245. - cont.appendChild(newRow);
- 246. - animate(newRow, {marginTop: -size[1], opacity: 1, height: size[1]}, 200, function() {
- 247. - hide(row);
- 248. - setStyle(newRow, {marginTop: 0, position: 'static', height: 'auto'});
- 249. - });
- 250. -
- 251. - if (cur.scrollList.invCount) {
- 252. - ge('gle_inv_summary').innerHTML = langNumeric(cur.scrollList.invCount, cur.scrollList.summaries.inv);
- 253. - } else {
- 254. - ge('gle_inv_summary').innerHTML = cur.scrollList.summaries.invEmpty;
- 255. - }
- 256. - return true;
- 257. - },
- 258. -
- 259. - leave: function(el, gid, hash, pp) {
- 260. - if (cur.invSwitching) {
- 261. - setTimeout(GroupsList.leave.pbind(el, gid, hash, pp), 100);
- 262. - return false;
- 263. - }
- 264. - var sp, hp, tab = cur.scrollList.tab;
- 265. -
- 266. - if (el.firstChild && el.firstChild.className == 'progress_inline') return;
- 267. - sp = function() {
- 268. - var w = getSize(el)[0];
- 269. - el.oldhtml = el.innerHTML;
- 270. - el.innerHTML = '<span class="progress_inline"></span>';
- 271. - setStyle(el, {width: w - 30});
- 272. - }
- 273. - hp = function() {
- 274. - el.innerHTML = el.oldhtml;
- 275. - }
- 276. -
- 277. - var key = GroupsList.rand(), value = GroupsList.rand();
- 278. - cur.scrollList[key] = value;
- 279. -
- 280. - var shown = false;
- 281. - cur.invSwitching = true;
- 282. - if (GroupsList.switchInvite(gid, true)) {
- 283. - shown = true;
- 284. - sp = false;
- 285. - hp = false;
- 286. - }
- 287. -
- 288. - var context = (cur.scrollList.tab == 'groups') ? '2' : '1';
- 289. -
- 290. - ajax.post('al_groups.php', {
- 291. - act: 'leave',
- 292. - gid: gid,
- 293. - hash: hash,
- 294. - context: context,
- 295. - inv_shown: cur.scrollList.invShown
- 296. - }, {
- 297. - onDone: function(newRow) {
- 298. - cur.invSwitching = false;
- 299. - if (!cur.scrollList || cur.scrollList[key] != value) return;
- 300. -
- 301. - var list = cur.scrollList.lists[tab];
- 302. - if (!list || list == 'loading' || list == 'update') {
- 303. - cur.scrollList.processed[tab][gid] = -1;
- 304. - } else {
- 305. - for (var i = 0, count = list.length; i < count; ++i) {
- 306. - if (list[i][2] == gid) {
- 307. - list[i][1] = -1;
- 308. - }
- 309. - }
- 310. - }
- 311. -
- 312. - var row = ge('gl_' + tab + gid);
- 313. - if (!row) return;
- 314. -
- 315. - var acts = '<a onclick="GroupsList.cancel(this.parentNode, ' + gid + ', \'' + hash + '\')">' + getLang('global_cancel') + '</a><span class="divider">|</span><a onclick="GroupsList.spam(this.parentNode, ' + gid + ', \'' + hash + '\')">' + getLang('its_spam') + '</a>';
- 316. -
- 317. - var text = '';
- 318. - if (tab == 'groups') {
- 319. - text = getLang(pp ? 'public_you_unsubscribed' : 'groups_group_left');
- 320. - } else {
- 321. - text = getLang('groups_group_deny_message');
- 322. - }
- 323. -
- 324. - GroupsList.addInvite(newRow, false, false);
- 325. -
- 326. - if (shown) {
- 327. - if (cur.switchedInvite) {
- 328. - cur.switchedInvite.innerHTML = text+' <a onclick="GroupsList.spam(this.parentNode, ' + gid + ', \'' + hash + '\', cur.switchedInvite)">' + getLang('its_spam') + '</a>';
- 329. - }
- 330. - return;
- 331. - }
- 332. -
- 333. - var status = geByClass1('group_row_status', row), actions = geByClass1('group_row_actions', row);
- 334. - status.basehtml = status.innerHTML;
- 335. - actions.basehtml = actions.innerHTML;
- 336. - status.innerHTML = text;
- 337. - actions.innerHTML = acts;
- 338. - },
- 339. - showProgress: sp, hideProgress: hp
- 340. - });
- 341. - },
- 342. - rejectAll: function(el, hash) {
- 343. - var box = showFastBox(getLang('global_warning'), getLang('groups_sure_reject_all'), getLang('groups_members_application_decline'), function() {
- 344. - ajax.post('al_groups.php', {act: 'reject_all', hash: hash}, {progress: box.progress});
- 345. - }, getLang('global_cancel'));
- 346. - },
- 347. - spam: function(el, gid, hash, applyCont, block) {
- 348. - var sp, hp, tab = cur.scrollList.tab;
- 349. -
- 350. - if (el.firstChild && el.firstChild.className == 'progress_inline') return;
- 351. - sp = function() {
- 352. - el.oldhtml = el.innerHTML;
- 353. - el.innerHTML = '<span class="progress_inline"></span>';
- 354. - }
- 355. - hp = function() {
- 356. - el.innerHTML = el.oldhtml;
- 357. - }
- 358. -
- 359. - var key = GroupsList.rand(), value = GroupsList.rand();
- 360. - cur.scrollList[key] = value;
- 361. -
- 362. - ajax.post('al_groups.php', {act: 'spam', gid: gid, hash: hash, context: 1, block: block}, {
- 363. - onDone: function(respText) {
- 364. - if (!cur.scrollList || cur.scrollList[key] != value) return;
- 365. - if (block > 0) {
- 366. - respText = respText.replace('{club}', '<b>' + val(domPS(ge('clubinv' + gid))) + '</b>');
- 367. - }
- 368. - if (applyCont) {
- 369. - if (block < 0) {
- 370. - applyCont.innerHTML = applyCont.basehtml;
- 371. - } else {
- 372. - applyCont.basehtml = applyCont.innerHTML;
- 373. - var applyContText = respText;
- 374. - if (block > 0) {
- 375. - respText += '<div class="group_row_blockinv"><a onclick="GroupsList.spam(domPN(domPN(this)), ' + gid + ', \'' + hash + '\', cur.switchedInvite, -1)">' + getLang('global_cancel') + '</div>';
- 376. - } else if (ge('clubinv' + gid)) {
- 377. - respText += '<div class="group_row_blockinv"><a onclick="GroupsList.spam(domPN(domPN(this)), ' + gid + ', \'' + hash + '\', cur.switchedInvite, 1)">' + getLang('groups_block_clubinv').replace('{club}', '<b>' + val(domPS(ge('clubinv' + gid))) + '</b>') + '</a></div>'
- 378. - }
- 379. - applyCont.innerHTML = respText;
- 380. - }
- 381. - }
- 382. -
- 383. - if (!block) {
- 384. - var list = cur.scrollList.lists[tab];
- 385. - if (!list || list == 'loading' || list == 'update') {
- 386. - cur.scrollList.processed[tab][gid] = -2;
- 387. - } else {
- 388. - for (var i = 0, count = list.length; i < count; ++i) {
- 389. - if (list[i][2] == gid) {
- 390. - list[i][1] = -2;
- 391. - }
- 392. - }
- 393. - }
- 394. - }
- 395. -
- 396. - var row = ge('gl_' + tab + gid);
- 397. - if (!row) return;
- 398. -
- 399. - var status = geByClass1('group_row_status', row), actions = geByClass1('group_row_actions', row);
- 400. - if (block < 0) {
- 401. - status.innerHTML = status.blockhtml;
- 402. - actions.innerHTML = actions.blockhtml;
- 403. - } else {
- 404. - if (block) {
- 405. - status.blockhtml = status.innerHTML;
- 406. - actions.blockhtml = actions.innerHTML;
- 407. - status.innerHTML = '<div class="group_row_blockinv">' + respText + '</div>';
- 408. - actions.innerHTML = '<div class="group_row_blockinv"><a onclick="GroupsList.spam(domPN(domPN(this)), ' + gid + ', \'' + hash + '\', false, -1)">' + getLang('global_cancel') + '</a></div>';
- 409. - } else {
- 410. - status.basehtml = status.innerHTML;
- 411. - actions.basehtml = actions.innerHTML;
- 412. - status.innerHTML = getLang('groups_ajax_inv_declined_spam');
- 413. - actions.innerHTML = '';
- 414. - }
- 415. - }
- 416. - },
- 417. - showProgress: sp, hideProgress: hp
- 418. - });
- 419. - },
- 420. - cancel: function(el, gid, hash) {
- 421. - var sp, hp, tab = cur.scrollList.tab;
- 422. -
- 423. - if (el.firstChild && el.firstChild.className == 'progress_inline') return;
- 424. - sp = function() {
- 425. - el.oldhtml = el.innerHTML;
- 426. - el.innerHTML = '<span class="progress_inline"></span>';
- 427. - }
- 428. - hp = function() {
- 429. - el.innerHTML = el.oldhtml;
- 430. - }
- 431. -
- 432. - var key = GroupsList.rand(), value = GroupsList.rand();
- 433. - cur.scrollList[key] = value;
- 434. -
- 435. - ajax.post('al_groups.php', {act: 'cancel', gid: gid, hash: hash, context: 1}, {
- 436. - onDone: function() {
- 437. - if (!cur.scrollList || cur.scrollList[key] != value) return;
- 438. -
- 439. - var list = cur.scrollList.lists[tab], elem = false;
- 440. - if (!list || list == 'loading' || list == 'update') {
- 441. - cur.scrollList.processed[tab][gid] = 0;
- 442. - } else {
- 443. - for (var i in list) {
- 444. - if (list[i][2] == gid) {
- 445. - list.splice(i, 1)
- 446. - }
- 447. - }
- 448. - cur.scrollList.cache['groups'] = {all: []};
- 449. - var c = cur.scrollList.cache['groups'];
- 450. - for (var i in list) {
- 451. - c.all.push(i);
- 452. - }
- 453. - cur.scrollList.index[tab] = new vkIndexer(c.all, function(obj) {
- 454. - return list[obj][0];
- 455. - });
- 456. - }
- 457. - /*} else {
- 458. - for (var i = 0, count = list.length; i < count; ++i) {
- 459. - if (list[i][2] == gid) {
- 460. - list[i][1] = 0;
- 461. - elem = list[i];
- 462. - break;
- 463. - }
- 464. - }
- 465. - }*/
- 466. -
- 467. - var row = ge('gl_' + tab + gid);
- 468. - if (!row) return;
- 469. -
- 470. - if (elem) {
- 471. - var name = elem[0], q = trim(cur.scrollList.query.value);
- 472. - if (q) {
- 473. - var highlight = GroupsList.getHighlight(q);
- 474. - name = name.replace(highlight.re, highlight.val);
- 475. - }
- 476. - var newRow = (cur.scrollList.genRow(elem, name)) ? cur.scrollList.genInvRow(elem, name) : cur.scrollList.genRow(elem, name);
- 477. - row.parentNode.replaceChild(ce('div', {innerHTML: newRow}).firstChild, row);
- 478. - } else {
- 479. - var status = geByClass1('group_row_status', row), actions = geByClass1('group_row_actions', row);
- 480. - status.innerHTML = status.basehtml;
- 481. - actions.innerHTML = actions.basehtml;
- 482. - }
- 483. - },
- 484. - showProgress: sp, hideProgress: hp
- 485. - });
- 486. - },
- 487. -
- 488. - scrollCheck: function() {
- 489. - if (browser.mobile) return;
- 490. - var lnk = ge(cur.scrollList.prefix + cur.scrollList.tab + '_more');
- 491. - if (!isVisible(lnk)) {
- 492. - return;
- 493. - }
- 494. -
- 495. - var docEl = document.documentElement;
- 496. - var ch = window.innerHeight || docEl.clientHeight || bodyNode.clientHeight;
- 497. - var st = scrollGetY();
- 498. -
- 499. - if (st + ch > lnk.offsetTop || (cur.searchOffset && st + 2*ch > lnk.offsetTop)) {
- 500. - GroupsList.showMore();
- 501. - }
- 502. - },
- 503. - initScroll: function() {
- 504. - addEvent((browser.msie6 ? pageNode : window), 'scroll', GroupsList.scrollCheck);
- 505. - addEvent(window, 'resize', GroupsList.scrollCheck);
- 506. - },
- 507. -
- 508. - locNav: function(changed, oldLoc, newLoc) {
- 509. - var changedTab = changed.tab, tab = changedTab || 'groups';
- 510. - delete(changed.tab);
- 511. - if (!isEmpty(changed) || changedTab === undefined) return;
- 512. -
- 513. - ge('groups_tab_' + cur.scrollList.tab).className = '';
- 514. - hide('groups_list_tab_' + cur.scrollList.tab);
- 515. - cur.scrollList.tab = tab;
- 516. - show('groups_list_tab_' + tab);
- 517. - var tabEl = ge('groups_tab_' + tab);
- 518. - tabEl.className = 'active_link';
- 519. - show(tabEl);
- 520. -
- 521. - if (cur.scrollList.events) {
- 522. - toggle(cur.scrollList.events, tab == 'groups' && ge('gle_list_cont').innerHTML);
- 523. - cur.scrollList.eventsShow = false;
- 524. - if (isVisible(cur.scrollList.eventsMore)) {
- 525. - hide(cur.scrollList.eventsMore);
- 526. - show(cur.scrollList.eventsMoreLnk);
- 527. - }
- 528. - }
- 529. - if (cur.scrollList.invites) {
- 530. - toggle(cur.scrollList.invites, tab == 'groups');
- 531. - }
- 532. - if (cur.scrollList.invites || cur.scrollList.events && ge('gle_list_cont').innerHTML) {
- 533. - ((tab == 'groups') ? addClass : removeClass)(cur.scrollList.summary.parentNode, 'gl_summary_short');
- 534. - }
- 535. -
- 536. - toggle('gl_about_events', (tab == 'groups' || tab == 'inv'));
- 537. -
- 538. - nav.setLoc(newLoc);
- 539. - ge('groups_list_search').setValue('');
- 540. - setTimeout(elfocus.pbind('groups_list_search'), 0);
- 541. -
- 542. - cur.scrollList.summary.innerHTML = cur.scrollList.summaries[tab];
- 543. - cur.scrollList.offset = ge('groups_list_' + tab).childNodes.length;
- 544. -
- 545. - GroupsList.showMore(true);
- 546. -
- 547. - return false;
- 548. - },
- 549. -
- 550. - init: function(opts) {
- 551. - placeholderSetup('groups_list_search', {back: true});
- 552. - setTimeout(elfocus.pbind('groups_list_search'), 0);
- 553. - extend(cur, {
- 554. - module: 'groups_list',
- 555. - _back: {
- 556. - text: getLang('groups_back_to_list'),
- 557. - show: [GroupsList.initScroll],
- 558. - hide: [function() {
- 559. - removeEvent((browser.msie6 ? pageNode : window), 'scroll', GroupsList.scrollCheck);
- 560. - removeEvent(window, 'resize', GroupsList.scrollCheck);
- 561. - }]
- 562. - },
- 563. -
- 564. - scrollList: {
- 565. - tab: opts.tab,
- 566. -
- 567. - url: 'al_groups.php',
- 568. - params: {act: 'get_list', mid: opts.mid},
- 569. - prefix: 'groups_list_',
- 570. - query: ge('groups_list_search'),
- 571. - summary: ge('groups_list_summary'),
- 572. - events: ge('gle_list_wrap'),
- 573. - eventsMore: ge('gle_list_more'),
- 574. - eventsMoreLnk: ge('gle_list_more_lnk'),
- 575. - invites: ge('gle_invites_wrap'),
- 576. - searchCont: ge('groups_list_search_cont'),
- 577. -
- 578. - perpage: 20,
- 579. - offset: ge('groups_list_' + opts.tab).childNodes.length,
- 580. -
- 581. - lists: {},
- 582. - cache: {},
- 583. - index: {},
- 584. - processed: {'groups': {}, 'admin': {}, 'inv': {}},
- 585. - filtered: {},
- 586. - queries: {},
- 587. - summaries: opts.summaries,
- 588. -
- 589. - genEmpty: opts.genEmpty,
- 590. - genRow: opts.genRow,
- 591. - genEvent: opts.genEvent,
- 592. - genInvRow: opts.genInvRow,
- 593. - genSummary: opts.genSummary,
- 594. - genGroupsSummary: opts.genGroupsSummary,
- 595. - invShown: opts.invShown,
- 596. - invCount: opts.invCount
- 597. - },
- 598. - filter: opts.filter
- 599. - });
- 600. -
- 601. - cur.nav.push(GroupsList.locNav);
- 602. -
- 603. - setTimeout(GroupsList.load, 0);
- 604. - if (vk.version) {
- 605. - addEvent(window, 'load', GroupsList.initScroll);
- 606. - } else {
- 607. - GroupsList.initScroll();
- 608. - }
- 609. - },
- 610. - load: function(force, forceTab) {
- 611. - var tab = forceTab || cur.scrollList.tab;
- 612. - if (cur.scrollList.lists[tab]) return;
- 613. -
- 614. - var key = GroupsList.rand(), value = GroupsList.rand();
- 615. - cur.scrollList[key] = value;
- 616. -
- 617. - cur.scrollList.lists[tab] = 'loading';
- 618. - ajax.post(cur.scrollList.url, extend(cur.scrollList.params, {tab: tab}), {onDone: function(result) {
- 619. - if (!cur.scrollList || cur.scrollList[key] != value) return;
- 620. -
- 621. - var upd = (cur.scrollList.lists[tab] == 'update');
- 622. - if (!upd && cur.scrollList.lists[tab] != 'loading') return;
- 623. -
- 624. - cur.scrollList.cache[tab] = {all: []};
- 625. - var processed = cur.scrollList.processed[tab], gid;
- 626. - for (var i = 0, count = result.length; i < count; ++i) {
- 627. - res = processed[result[i][2]];
- 628. - if (res) {
- 629. - result[i][1] = res;
- 630. - }
- 631. - cur.scrollList.cache[tab].all.push(i);
- 632. - }
- 633. - cur.scrollList.lists[tab] = result;
- 634. -
- 635. - var callback = upd ? function() {
- 636. - if (cur.scrollList && cur.scrollList[key] == value && cur.scrollList.tab == tab) {
- 637. - GroupsList.showMore(force);
- 638. - }
- 639. - } : function() {};
- 640. -
- 641. - cur.scrollList.index[tab] = new vkIndexer(cur.scrollList.cache[tab].all, function(obj) {
- 642. - return cur.scrollList.lists[tab][obj][0];
- 643. - }, callback);
- 644. -
- 645. - if (cur.scrollList.eventsShow) {
- 646. - GroupsList.eventsMore();
- 647. - }
- 648. - }, local: 1});
- 649. - },
- 650. -
- 651. - htmlencode: function(str) {
- 652. - var res = [];
- 653. - for (var i = 0, l = str.length; i < l; ++i) {
- 654. - var c = str.charCodeAt(i);
- 655. - if (c == 33 || c == 39 || (c > 127 && c < 1040) || c > 1103) {
- 656. - res.push('&#' + c + ';');
- 657. - } else if (c == 36) {
- 658. - res.push('�' + c + ';');
- 659. - } else {
- 660. - c = str.charAt(i);
- 661. - switch (c) {
- 662. - case '>': res.push('>'); break;
- 663. - case '<': res.push('<'); break;
- 664. - case '"': res.push('"'); break;
- 665. - case '&': res.push('&'); break;
- 666. - default: res.push(c); break;
- 667. - }
- 668. - }
- 669. - }
- 670. - return res.join('');
- 671. - },
- 672. - getHighlight: function(q) {
- 673. - var indxr = cur.scrollList.index[cur.scrollList.tab], delimiter = indxr.delimiter, trimmer = indxr.trimmer;
- 674. -
- 675. - q += ' ' + (parseLatin(q) || '');
- 676. - q = escapeRE(q).replace(/&/g, '&');
- 677. - q = q.replace(trimmer, '').replace(delimiter, '|');
- 678. - return {
- 679. - re: new RegExp('(' + q + ')', 'gi'),
- 680. - val: '<span class="group_row_highlight">$1</span>'
- 681. - }
- 682. - },
- 683. - updateEvents: function() {
- 684. - if (!ge('gle_list_cont').innerHTML && !cur.scrollList.invites || cur.scrollList.tab != 'groups') return;
- 685. - toggle(cur.scrollList.events, !cur.scrollList.query.value && ge('gle_list_cont').innerHTML);
- 686. - cur.scrollList.eventsShow = false;
- 687. - if (isVisible(cur.scrollList.eventsMore)) {
- 688. - hide(cur.scrollList.eventsMore);
- 689. - show(cur.scrollList.eventsMoreLnk);
- 690. - }
- 691. - if (cur.scrollList.invites) {
- 692. - toggle(cur.scrollList.invites, !cur.scrollList.query.value);
- 693. - }
- 694. - (!cur.scrollList.query.value ? addClass : removeClass)(cur.scrollList.summary.parentNode, 'gl_summary_short');
- 695. - },
- 696. - updateEventsList: function(addedGid) {
- 697. - ajax.post('groups', {act: 'update_events'}, {
- 698. - onDone: function(html, more) {
- 699. - var gleCont = ge('gle_list_cont');
- 700. - val(gleCont, html);
- 701. - toggle(cur.scrollList.events, !!html);
- 702. - hide(cur.scrollList.eventsMore);
- 703. - val(cur.scrollList.eventsMore, '');
- 704. - val(cur.scrollList.eventsMoreLnk, more || '');
- 705. - toggle(cur.scrollList.eventsMoreLnk, !!more);
- 706. - cur.scrollList.eventsShow = false;
- 707. - if (addedGid) {
- 708. - var addedRow = ge('gle_block_'+addedGid);
- 709. - if (addedRow) {
- 710. - setStyle(addedRow, {backgroundColor: '#FEFAE4'});
- 711. - animate(addedRow, {backgroundColor: '#FFF'}, 2000);
- 712. - }
- 713. - }
- 714. - }
- 715. - })
- 716. - },
- 717. - eventsMore: function() {
- 718. - var list = cur.scrollList.lists['groups'];
- 719. - if (!list || list == 'loading' || list == 'update') {
- 720. - cur.scrollList.eventsShow = true;
- 721. - return;
- 722. - }
- 723. -
- 724. - hide(cur.scrollList.eventsMoreLnk);
- 725. - if (val(cur.scrollList.eventsMore)) {
- 726. - show(cur.scrollList.eventsMore);
- 727. - } else {
- 728. - var res = {}, shown = {}, dates = {}, list = [], html = [];
- 729. - each(ge('gle_list_cont').childNodes, function(k, v) {
- 730. - var id = intval(((v || {}).id || '').replace(/^gle_block_/, ''));
- 731. - if (id) shown[id] = true;
- 732. - });
- 733. - each(cur.scrollList.lists['groups'], function(k, v) {
- 734. - var gid = intval(v[2]);
- 735. - if (!v[11] || shown[gid]) return;
- 736. - list.push(gid);
- 737. - res[gid] = cur.scrollList.genEvent(v);
- 738. - dates[gid] = intval(v[11].split('<*>')[0]);
- 739. - });
- 740. - list.sort(function(gid1, gid2) {
- 741. - return (dates[gid1] < dates[gid2]) ? -1 : ((dates[gid2] < dates[gid1]) ? 1 : 0);
- 742. - });
- 743. - each(list, function(k, v) {
- 744. - html.push(res[v]);
- 745. - });
- 746. - if (html.length) {
- 747. - val(cur.scrollList.eventsMore, html.join(''));
- 748. - show(cur.scrollList.eventsMore);
- 749. - }
- 750. - }
- 751. - },
- 752. - showMore: function(force) {
- 753. - var tab = cur.scrollList.tab, list = cur.scrollList.lists[tab];
- 754. - if (!list || list == 'loading' || list == 'update') {
- 755. - if (!list) GroupsList.load(force);
- 756. - cur.scrollList.lists[tab] = 'update';
- 757. - return;
- 758. - }
- 759. -
- 760. - var tab = cur.scrollList.tab, list = cur.scrollList.cache[tab].all;
- 761. -
- 762. - var q = trim(cur.scrollList.query.value);
- 763. - cur.searchStr = q;
- 764. - if (!cur.loadingShown) {
- 765. - if (q) {
- 766. - show('groups_reset_search');
- 767. - } else {
- 768. - hide('groups_reset_search');
- 769. - }
- 770. - }
- 771. -
- 772. - if (cur.scrollList.queries[tab] === undefined) {
- 773. - cur.scrollList.queries[tab] = '';
- 774. - }
- 775. - var refresh = (force || q != cur.scrollList.queries[tab]);
- 776. - if (!refresh && force === false) return;
- 777. -
- 778. - cur.scrollList.queries[tab] = q;
- 779. -
- 780. - var highlight = false;
- 781. - if (q) {
- 782. - list = cur.scrollList.cache[tab]['_' + q];
- 783. - if (list === undefined) {
- 784. - var tmp = cur.scrollList.index[tab].search(q), mp = {};
- 785. - list = [];
- 786. - for (var i = 0, l = tmp.length; i < l; ++i) {
- 787. - if (!mp[tmp[i]]) {
- 788. - mp[tmp[i]] = true;
- 789. - list.push(tmp[i]);
- 790. - }
- 791. - }
- 792. - list.sort(function(a,b){return a-b;});
- 793. - cur.scrollList.cache[tab]['_' + q] = list;
- 794. - }
- 795. - highlight = GroupsList.getHighlight(q);
- 796. - }
- 797. -
- 798. - var len = list.length;
- 799. -
- 800. - var cont = ge(cur.scrollList.prefix + tab), more = ge(cur.scrollList.prefix + tab + '_more');
- 801. - if (!len) {
- 802. - if (q && tab == 'groups') {
- 803. - if (refresh) {
- 804. - GroupsList.serverSearch(cont, q, true);
- 805. - hide(more);
- 806. - } else if (cur.searchOffset) {
- 807. - GroupsList.serverSearchMore(cont, q);
- 808. - }
- 809. - } else {
- 810. - q = cur.scrollList.query.value;
- 811. - cont.innerHTML = cur.scrollList.genEmpty(q);
- 812. - cur.scrollList.summary.innerHTML = q ? cur.scrollList.genSummary(len) : cur.scrollList.summaries[tab];
- 813. - hide(more);
- 814. - hide(cur.scrollList.searchCont);
- 815. - cur.searchOffset = 0;
- 816. - }
- 817. - return;
- 818. - } else if (tab == 'groups' && cur.scrollList.params.mid == vk.id) {
- 819. - cur.scrollList.summary.innerHTML = cur.scrollList.genGroupsSummary(len);
- 820. - } else {
- 821. - cur.scrollList.summary.innerHTML = q ? cur.scrollList.genSummary(len) : cur.scrollList.summaries[tab];
- 822. - }
- 823. -
- 824. - var start = refresh ? 0 : cur.scrollList.offset, end = Math.min(len, start + cur.scrollList.perpage);
- 825. - var html = [];
- 826. -
- 827. - for (var i = start; i < end; ++i) {
- 828. - var row = cur.scrollList.lists[tab][list[i]];
- 829. - if (!row) continue;
- 830. - var name = row[0];
- 831. - if (highlight) {
- 832. - name = name.replace(highlight.re, highlight.val);
- 833. - }
- 834. - if (cur.scrollList.tab == 'inv') {
- 835. - html.push(cur.scrollList.genInvRow(row, name));
- 836. - } else {
- 837. - html.push(cur.scrollList.genRow(row, name));
- 838. - }
- 839. - }
- 840. -
- 841. - if (!q && (!start || refresh)) {
- 842. - hide(cur.scrollList.searchCont);
- 843. - cur.searchOffset = 0;
- 844. - }
- 845. -
- 846. - if (refresh) {
- 847. - cont.innerHTML = html.join('');
- 848. - cur.searchOffset = false;
- 849. - if (list.length < 10 && q && tab == 'groups') {
- 850. - var exclude = [];
- 851. - for (var i in list) {
- 852. - var el = cur.scrollList.lists[tab][list[i]];
- 853. - exclude.push(el[2]);
- 854. - }
- 855. - GroupsList.serverSearch(cont, q, false, exclude);
- 856. - } else {
- 857. - hide(cur.scrollList.searchCont);
- 858. - cur.searchOffset = 0;
- 859. - }
- 860. - } else {
- 861. - cont.innerHTML += html.join('');
- 862. - if (cur.searchOffset) {
- 863. - GroupsList.serverSearchMore(cont, q);
- 864. - }
- 865. - }
- 866. - cur.scrollList.offset = end;
- 867. -
- 868. - if (!cur.searchOffset) {
- 869. - (end < len ? show : hide)(more);
- 870. - }
- 871. - },
- 872. -
- 873. - serverSearchMore: function(cont, q) {
- 874. - if (cur.searchLoadingMore) return;
- 875. - cur.searchLoadingMore = 1;
- 876. - var more = ge(cur.scrollList.prefix + cur.scrollList.tab + '_more');
- 877. - var back = more.innerHTML;
- 878. - ajax.post('al_groups.php', {
- 879. - act: 'server_search',
- 880. - q: q,
- 881. - offset: cur.searchOffset,
- 882. - exclude: cur.searchExclude.join(',')
- 883. - }, {
- 884. - onDone: function(count, rows, finish) {
- 885. - cur.searchLoadingMore = 0;
- 886. - if (count) {
- 887. - cur.searchOffset += count;
- 888. - cur.scrollList.searchCont.appendChild(cf(rows));
- 889. - } else {
- 890. - cur.searchOffset = 0;
- 891. - }
- 892. - (finish ? hide : show)(cur.scrollList.prefix + cur.scrollList.tab + '_more');
- 893. - debugLog((finish ? 'hide' : 'show'));
- 894. - },
- 895. - onFail: function() {
- 896. - cur.searchLoadingMore = 0;
- 897. - },
- 898. - showProgress: function() {
- 899. - more.innerHTML = '<img src="/images/upload.gif" />';
- 900. - },
- 901. - hideProgress: function() {
- 902. - more.innerHTML = back;
- 903. - }
- 904. - })
- 905. - },
- 906. -
- 907. - serverSearch: function(cont, q, emptyLocal, exclude) {
- 908. - if (cur.scrollList.tab != 'groups') {
- 909. - return false;
- 910. - }
- 911. - clearTimeout(cur.searchTimeout);
- 912. - cur.searchTimeout = setTimeout(function() {
- 913. - if (cur.searchStr != q) return;
- 914. - cur.searchExclude = exclude || [];
- 915. - ajax.post('al_groups.php', {
- 916. - act: 'server_search',
- 917. - q: q,
- 918. - empty: emptyLocal ? 1 : 0,
- 919. - exclude: cur.searchExclude.join(',')
- 920. - }, {
- 921. - onDone: function(count, rows, summary, finish) {
- 922. - if (cur.searchStr != q) return;
- 923. - if (count) {
- 924. - var last = geByClass('group_list_row', cont).pop();
- 925. - if (last) {
- 926. - addClass(last, 'groups_list_last_row');
- 927. - }
- 928. - cur.scrollList.searchCont.innerHTML = rows;
- 929. - show(cur.scrollList.searchCont);
- 930. - if (emptyLocal) {
- 931. - cur.scrollList.summary.innerHTML = summary;
- 932. - cont.innerHTML = '';
- 933. - }
- 934. - if (!finish) {
- 935. - show(cur.scrollList.prefix + cur.scrollList.tab + '_more');
- 936. - }
- 937. - } else {
- 938. - cur.scrollList.searchCont.innerHTML = '';
- 939. - hide(cur.scrollList.searchCont);
- 940. - if (emptyLocal) {
- 941. - cont.innerHTML = cur.scrollList.genEmpty(q);
- 942. - cur.scrollList.summary.innerHTML = cur.scrollList.genSummary(0);
- 943. - }
- 944. - }
- 945. - cur.searchOffset = count;
- 946. - },
- 947. - showProgress: GroupsList.showLoading,
- 948. - hideProgress: GroupsList.hideLoading
- 949. - })
- 950. - }, 300);
- 951. - },
- 952. -
- 953. - resetSearch: function() {
- 954. - val(cur.scrollList.query, '');
- 955. - GroupsList.showMore(true);
- 956. - GroupsList.updateEvents();
- 957. - },
- 958. -
- 959. - showLoading: function() {
- 960. - cur.loadingShown = 1;
- 961. - show('groups_loading');
- 962. - hide('groups_reset_search');
- 963. - },
- 964. -
- 965. - hideLoading: function() {
- 966. - cur.loadingShown = 0;
- 967. - hide('groups_loading');
- 968. - if (cur.scrollList.query.value) {
- 969. - show('groups_reset_search');
- 970. - }
- 971. - },
- 972. -
- 973. - goToSearch: function() {
- 974. - var q = trim(cur.scrollList.query.value);
- 975. - nav.go('search?c%5Bq%5D='+encodeURIComponent(q)+'&c%5Bsection%5D=communities');
- 976. - },
- 977. -
- 978. - showInvites: function(obj) {
- 979. - removeClass(obj.previousSibling, 'groups_list_last_row');
- 980. - hide(obj);
- 981. - show(obj.nextSibling);
- 982. - },
- 983. -
- 984. - ttShow: function(obj, text) {
- 985. - var showsp = 200;
- 986. - if (cur.groupMemTT && cur.groupMemTT != obj && window.tooltips) {
- 987. - tooltips.hideAll();
- 988. - cur.groupMemTT = false;
- 989. - showsp = 0;
- 990. - }
- 991. - cur.groupMemTT = obj;
- 992. - return showTooltip(obj, {
- 993. - center: 1,
- 994. - black: 1,
- 995. - showsp: showsp,
- 996. - shift: [0, 2, 10],
- 997. - text: text
- 998. - });
- 999. - },
- 1000. -
- 1001. - showMapBox: function(place, zoom, link) {
- 1002. - if (window.showZeroZoneBox && showZeroZoneBox('places', function() {
- 1003. - GroupsList.showMapBox(place, zoom, link);
- 1004. - })) { return; }
- 1005. -
- 1006. - showTabbedBox('places.php', {act: 'a_get_place_box', id: place}, {stat: ['places.css', 'map.css', 'maps.js', 'ui_controls.css', 'ui_controls.js']});
- 1007. - },
- 1008. -
- 1009. - feedbanGroup: function(el, gid, hash) {
- 1010. - var oid = -gid;
- 1011. - ajax.post('al_fans.php', {act: 'feedtgl', oid: oid, hash: hash}, {
- 1012. - onDone: function(val, str) {
- 1013. - el.innerHTML = str;
- 1014. - if (!cur.scrollList.lists || !cur.scrollList.lists.groups) {
- 1015. - return;
- 1016. - }
- 1017. - var lst = cur.scrollList.lists.groups;
- 1018. - if (lst && lst.length) {
- 1019. - for (var i = 0, l = lst.length; i < l; ++i) {
- 1020. - if (lst[i][2] == gid) {
- 1021. - cur.scrollList.lists.groups[i][12] = val;
- 1022. - break;
- 1023. - }
- 1024. - }
- 1025. - }
- 1026. - },
- 1027. - showProgress: function() {
- 1028. - el.innerHTML = '<span class="progress_inline"></span>';
- 1029. - }
- 1030. - });
- 1031. - }
- 1032. - }
- 1033. -
- 1034. - try{stManager.done('groups_list.js');}catch(e){}
- ------
Advertisement
Add Comment
Please, Sign In to add comment