Merge lp:~widelands-dev/widelands-website/new-design into lp:widelands-website

Proposed by Nasenbaer
Status: Merged
Merged at revision: 330
Proposed branch: lp:~widelands-dev/widelands-website/new-design
Merge into: lp:widelands-website
Diff against target: 12732 lines (+6274/-4358)
146 files modified
README.txt (+15/-0)
local_settings.py.sample (+1/-1)
media/css/base.css (+349/-354)
media/css/base_ielt8.css (+3/-0)
media/css/base_ielt9.css (+9/-0)
media/css/comments.css (+28/-23)
media/css/documentation.css (+85/-0)
media/css/forum.css (+86/-109)
media/css/help.css (+25/-0)
media/css/maps.css (+27/-26)
media/css/messages.css (+34/-72)
media/css/modal_windows.css (+0/-35)
media/css/navigation.css (+109/-58)
media/css/news.css (+0/-68)
media/css/notice.css (+29/-11)
media/css/old_xoops_remainings.css (+0/-318)
media/css/profile.css (+3/-11)
media/css/screens.css (+2/-17)
media/css/search.css (+0/-22)
media/css/wiki.css (+38/-77)
media/fancybox/helpers/jquery.fancybox-buttons.css (+85/-0)
media/fancybox/helpers/jquery.fancybox-buttons.js (+115/-0)
media/fancybox/helpers/jquery.fancybox-media.js (+85/-0)
media/fancybox/helpers/jquery.fancybox-thumbs.css (+54/-0)
media/fancybox/helpers/jquery.fancybox-thumbs.js (+157/-0)
media/fancybox/jquery.fancybox.css (+234/-0)
media/fancybox/jquery.fancybox.js (+1463/-0)
media/fancybox/jquery.fancybox.pack.js (+35/-0)
media/js/scripts.js (+15/-0)
online_help/templates/inlines/display_building.html (+0/-232)
online_help/templates/inlines/display_ware.html (+0/-10)
online_help/templates/inlines/display_worker.html (+0/-10)
pybb/forms.py (+6/-3)
pybb/templatetags/pybb_extras.py (+1/-1)
pybb/urls.py (+1/-1)
pybb/util.py (+2/-2)
pybb/views.py (+4/-14)
settings.py (+45/-12)
templates/404.html (+10/-6)
templates/500.html (+11/-6)
templates/base.html (+56/-119)
templates/django_messages/base.html (+20/-2)
templates/django_messages/compose.html (+16/-25)
templates/django_messages/inbox.html (+34/-22)
templates/django_messages/outbox.html (+30/-22)
templates/django_messages/trash.html (+39/-31)
templates/django_messages/view.html (+26/-46)
templates/footer.html (+5/-5)
templates/login_box.html (+68/-0)
templates/mainpage.html (+20/-46)
templates/mainpage/changelog.html (+5/-5)
templates/mainpage/developers.html (+5/-5)
templates/mainpage/online_users.html (+14/-8)
templates/navigation.html (+76/-72)
templates/news/base_news.html (+1/-5)
templates/news/inlines/post_detail.html (+19/-49)
templates/news/post_archive_month.html (+27/-25)
templates/news/post_archive_year.html (+29/-30)
templates/news/post_detail.html (+20/-20)
templates/news/post_list.html (+26/-26)
templates/notification/base.html (+5/-0)
templates/notification/messages_received/notice.html (+2/-1)
templates/notification/messages_replied/notice.html (+2/-1)
templates/notification/messages_reply_received/notice.html (+2/-1)
templates/notification/messages_sent/notice.html (+3/-2)
templates/notification/notices.html (+73/-102)
templates/notification/single.html (+30/-40)
templates/pybb/add_post.html (+79/-6)
templates/pybb/category.html (+19/-0)
templates/pybb/delete_post.html (+16/-17)
templates/pybb/edit_post.html (+53/-7)
templates/pybb/forum.html (+72/-75)
templates/pybb/index.html (+17/-9)
templates/pybb/inlines/add_post_form.html (+56/-51)
templates/pybb/inlines/display_category.html (+39/-18)
templates/pybb/last_posts.html (+15/-8)
templates/pybb/topic.html (+284/-76)
templates/registration/activate.html (+15/-3)
templates/registration/activation_complete.html (+12/-8)
templates/registration/login.html (+33/-46)
templates/registration/password_change_done.html (+8/-16)
templates/registration/password_change_form.html (+47/-59)
templates/registration/password_reset_complete.html (+8/-16)
templates/registration/password_reset_confirm.html (+39/-30)
templates/registration/password_reset_done.html (+8/-16)
templates/registration/password_reset_form.html (+20/-30)
templates/registration/registration_complete.html (+6/-14)
templates/registration/registration_form.html (+52/-80)
templates/right_boxes.html (+96/-126)
templates/sphinxdoc/app_list.html (+13/-9)
templates/sphinxdoc/base.html (+2/-1)
templates/sphinxdoc/documentation.html (+53/-58)
templates/threadedcomments/inlines/comments.html (+46/-58)
templates/threadedcomments/inlines/reply_to.js (+41/-33)
templates/threadedcomments/preview_comment.html (+20/-23)
templates/wiki/base.html (+2/-1)
templates/wiki/changeset.html (+21/-20)
templates/wiki/edit.html (+109/-124)
templates/wiki/history.html (+48/-52)
templates/wiki/index.html (+3/-4)
templates/wiki/view.html (+27/-26)
templates/wlggz/edit_ggz.html (+20/-38)
templates/wlhelp/base.html (+10/-0)
templates/wlhelp/building_details.html (+57/-11)
templates/wlhelp/buildings.html (+71/-68)
templates/wlhelp/index.html (+22/-0)
templates/wlhelp/inlines/display_buildings.html (+49/-0)
templates/wlhelp/tribe_details.html (+26/-0)
templates/wlhelp/ware_details.html (+21/-12)
templates/wlhelp/wares.html (+30/-14)
templates/wlhelp/worker_details.html (+18/-11)
templates/wlhelp/workers.html (+30/-14)
templates/wlmaps/base.html (+1/-1)
templates/wlmaps/index.html (+56/-164)
templates/wlmaps/map_detail.html (+78/-41)
templates/wlmaps/upload.html (+21/-0)
templates/wlpoll/base.html (+2/-0)
templates/wlpoll/poll_detail.html (+20/-38)
templates/wlpoll/poll_list.html (+18/-13)
templates/wlprofile/base.html (+1/-1)
templates/wlprofile/edit_profile.html (+50/-72)
templates/wlprofile/view_profile.html (+71/-71)
templates/wlscreens/base.html (+0/-1)
templates/wlscreens/index.html (+40/-158)
templates/wlsearch/search.html (+100/-94)
templates/wlwebchat/index.html (+19/-24)
urls.py (+5/-4)
widelandslib/tribe.py (+14/-14)
wiki/views.py (+3/-2)
wlggz/forms.py (+1/-1)
wlhelp/management/commands/update_help.py (+16/-4)
wlhelp/management/commands/update_help_pdf.py (+11/-1)
wlhelp/models.py (+8/-1)
wlhelp/urls.py (+11/-8)
wlhelp/views.py (+38/-14)
wlmaps/forms.py (+63/-5)
wlmaps/models.py (+12/-17)
wlmaps/templatetags/wlmaps_extra.py (+14/-0)
wlmaps/views.py (+24/-88)
wlprofile/fields.py (+11/-6)
wlprofile/forms.py (+3/-5)
wlprofile/models.py (+3/-3)
wlprofile/templatetags/custom_date.py (+4/-3)
wlprofile/views.py (+0/-3)
wlrecaptcha/forms.py (+3/-3)
wlsearch/views.py (+1/-1)
To merge this branch: bzr merge lp:~widelands-dev/widelands-website/new-design
Reviewer Review Type Date Requested Status
SirVer Approve
Review via email: mp+113444@code.launchpad.net

Description of the change

I guess this is kind of the wrong way, but I really wonder, what is missing for a backmerge and an update of the Widelands.org site.

I really liked the new design and the enhancements and I just can't wait to finally see it in full action.

To post a comment you must log in.
Revision history for this message
Nasenbaer (nasenbaer) wrote :

"I guess this is kind of the wrong way" = that I propose to merge, although I did not work on this branch.

Revision history for this message
Shevonar (shevonar) wrote :

What is missing IMHO (and I worked on that branch ;):
- Ware sorting in Encyclopedia: I can still do it later and it also requires changes on Widelands code.
- The documentation has changed, I think we should put the new documentation in a folder on the webserver and change the link (Sirver has to do this cause it requires some changes on the Apache server)
- Some cleanups (remove my local settings, remove old files)

Currently I have absolutely no time to work on Widelands or the website, so it might be best to merge it and do the ware sorting later. I can do the cleanups quickly next week maybe.

By the way you can now test this branch on wl.shevonar.com (some uploaded images are missing, because the harddisc of my "server" crashed and I had no backups).

Revision history for this message
Nasenbaer (nasenbaer) wrote :

Thanks for the fast answer Shevonar :)!

And please do not feel rushed by my post. Today is the first day since more than a month, that I find some time for Widelands, so... ;)

348. By Shevonar

Small fixes, removed old stuff

Revision history for this message
Shevonar (shevonar) wrote :

I did the cleanup stuff now. So I'd say this branch is ready for testing on alpha.widelands.com. The changes for the documentation is in the Apache configuration only. I have to discuss some things with Sirver for the final migration. Until now you can see the current state at http://wl.shevonar.com as well as on https://wl.shevonar.com. Maybe full SSL support might come to the Widelands website if the server can handle the load. Therefore I made everthing SSL ready (recaptcha, webchat) and this should be tested in different browsers and operating systems. The webchat certificate causes problems in some browsers (Firefox on Windows), but most browsers should be fine and show everything as secure.

Revision history for this message
SirVer (sirver) wrote :

This is in my ballbark now. I am in Munich for the forseeable future to look for flats and I have no idea how the internet is there. I hope to get around doing this still this week.

Thanks Matthias!

review: Approve
Revision history for this message
SirVer (sirver) wrote :

I finally merged this. I am currently struggling to get it on alpha.widelands.org. Thanks for your work again Shevonar. Please keep it up and I owe you any kind of beverage that you want to drink on the next wihack.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'README.txt'
2--- README.txt 2012-01-21 14:06:29 +0000
3+++ README.txt 2012-07-11 17:31:35 +0000
4@@ -101,6 +101,21 @@
5 See also http://docs.djangoproject.com/en/dev/ref/django-admin/#runserver-port-or-address-port
6 for further details.
7
8+Setting up the online help / encyclopedia
9+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
10+
11+You will need graphviz to generate the graphs for the online help. On Ubunutu run:
12+
13+ $ sudo apt-get install graphviz
14+
15+To generate the online help database switch to your local environment and run:
16+
17+ $ ./manage.py update_help
18+
19+After that you can create the overview pdf files with
20+
21+ $ ./manage.py update_help_pdf
22+
23 Contact
24 =======
25
26
27=== modified file 'local_settings.py.sample'
28--- local_settings.py.sample 2011-08-25 13:17:20 +0000
29+++ local_settings.py.sample 2012-07-11 17:31:35 +0000
30@@ -5,7 +5,7 @@
31 TEMPLATE_DIRS = bd + '/templates'
32 STATIC_MEDIA_PATH = bd + '/media'
33 MEDIA_ROOT = bd + '/media/'
34-WIDELANDS_SVN_DIR = "/Users/sirver/Desktop/Programming/cpp/widelands/svn_trunk/"
35+WIDELANDS_SVN_DIR = "/path/to/widelands/trunk/"
36
37 DATABASES = {
38 'default': {
39
40=== modified file 'media/css/base.css'
41--- media/css/base.css 2011-11-19 17:37:52 +0000
42+++ media/css/base.css 2012-07-11 17:31:35 +0000
43@@ -1,368 +1,363 @@
44-/* HEADER */
45-div#headerbanner {
46- background: url(../img/headback.jpg);
47- background-repeat: repeat-x;
48- color: #FFFFFF;
49- text-align: center;
50- height:110px;
51- border-bottom:2px solid #090909;
52-}
53-
54-/***************************************************************/
55-/* SIDECOLUMNS */
56-/***************************************************************/
57-#leftcolumn, #rightcolumn {
58- background-color: #555555;
59- background-image: url('../img/Menubackground.png');
60- border-left: 1px solid #151515;
61- border-right: 1px solid #090909;
62- border-bottom: 1px solid #090909;
63- padding-top: 4px; /* A small space */
64- vertical-align: top;
65-
66-}
67-/* The content is capsuled in divs, because
68- * Firefox is ignoring min-width arguments
69- * for tables
70- */
71-#leftcontent {
72- min-width: 175px;
73-}
74-#rightcontent {
75- min-width: 185px;
76-}
77-
78-
79-/*
80-* Mainmenu
81-*/
82-#mainmenu {
83- margin: 0px;
84- padding: 0px;
85-}
86-#mainmenu li {
87- list-style-image: url('../img/1.gif');
88- list-style-position: inside;
89- font-weight: bold;
90- padding: 4px;
91-}
92-#mainmenu .sub {
93- padding-left: 20px;
94- color: red;
95- font-weight: normal;
96-}
97-
98-
99-/******************/
100-/* CONTENT COLUMN */
101-/******************/
102-#content {
103- text-align: left;
104- vertical-align: top;
105- padding: 8px;
106- padding-top: 0px;
107- background-color: #000000;
108- background: url(../img/background.png);
109-
110- font-size: 12px;
111- color: #D0DFFF;
112- width: 100%;
113-}
114-
115-/****************/
116-/* BOTTOM TABLE */
117-/****************/
118-table#table_bottom {
119- background-color: #333333;
120- background: url(../img/background.png);
121-
122- width: 100%;
123-}
124-td#table_bottomleft {
125- background: url(../img/table_bottomleft.png);
126- background-repeat: no-repeat;
127- background-position: left;
128- height:8px;
129- width:8px;
130-}
131-
132-td#table_bottomright {
133- background: url(../img/table_bottomright.png);
134- background-repeat: no-repeat;
135- background-position: right;
136- height:8px;
137- width:8px;
138-}
139-
140-/**********/
141-/* FOOTER */
142-/**********/
143-#footer {
144- width: 100%;
145- height: 8px;
146- background: url(../img/background.png);
147-}
148-
149-/*
150- * Menu Blocks
151- */
152-h3.box_title {
153- color: #D0DFFF;
154- font-weight: bold;
155- font-size: 12px;
156- padding-left: 12px;
157- background-image: url('../img/Navbar.png');
158- background-repeat: repeat-x;
159- border-left: 0px solid #999999;
160- border-right: 0px solid #999999;
161- border-bottom: 0px solid #999999;
162- padding-top: 2px;
163- padding-bottom: 6px;
164- margin: 0px;
165-}
166-
167-div.box_content {
168- font-size:12px;
169- line-height: 120%;
170- border-left: 0px solid #999999;
171- border-right: 0px solid #999999;
172- padding: 6px;
173- padding-top: 0px;
174- padding-bottom: 20px;
175- background-color: #555555;
176- background-image: url('../img/Menubackground.png');
177-}
178-
179-div.box_content .sub_content {
180- margin-bottom: 15px;
181-}
182-
183-.box_content p {
184- margin: 0px;
185- padding: 0px;
186- padding-bottom: 4px;
187-}
188-
189-.box_content h4 {
190- margin: 0px;
191- padding: 0px;
192- padding-bottom: 4px;
193-}
194-
195-.block_center {
196- text-align: center;
197-}
198-
199-/***************************************************************/
200-/* GENERAL STYLE ELEMENTS */
201-/***************************************************************/
202+/* Common */
203+
204 body {
205- color: #D0DFFF;
206- font-family: Verdana, Arial, Helvetica, sans-serif;
207- font-size: 12px;
208- background-color: #000000;
209- margin: 0;
210- padding: 0;
211+ background-color: #e9c78a;
212+ background-image: url("../img/parchment.png");
213+ font-family: sans-serif;
214+ font-size: 14px;
215+ line-height: 20px;
216+ color: #ffffee;
217+ text-shadow: #000000 1px 1px 0px;
218 }
219
220-img {
221- border: 0px;
222+a img {
223+ border: none;
224 }
225
226 a {
227- color: #D0DFFF;
228- text-decoration: none;
229- font-weight: bold;
230- background-color: transparent;
231-}
232-a.external:before {
233- padding-right: 2px;
234- /* Must be an absolute reference, otherwise some browsers give errors */
235- content: url(/wlmedia/img/external_link.gif);
236-}
237-a.missing {
238- color: rgb(255, 85, 0);
239-}
240-
241+ text-decoration: none;
242+ color: #ffffee;
243+ font-weight: bold;
244+}
245
246 a:hover {
247- color: #A0AAFF;
248- text-decoration: underline;
249-}
250-
251-/*
252- * Default table layout
253- */
254-th {
255- font-weight: bold;
256- background-position: left;
257- text-align: left;
258- padding-left: 4px;
259- background-image: url('../img/Navbar.png');
260- background-repeat: repeat-x;
261- height: 20px;
262-}
263-
264-/*
265- * Odd Even Tags (mainly for tables)
266- */
267+ color: #181;
268+}
269+
270+a.invertedColor {
271+ color: #181;
272+}
273+
274+a.invertedColor:hover {
275+ color: #ffffee;
276+}
277+
278+form {
279+ display: inline;
280+}
281+
282+input, button, textarea {
283+ margin-bottom: 5px;
284+ padding: 2px 10px;
285+ border: 1px solid black;
286+ border-radius: 10px;
287+ background: none;
288+ background-image: url("../img/black50.png");
289+ outline: none;
290+ color: #ffffff;
291+ text-shadow: #000000 1px 1px 0px;
292+ vertical-align: middle;
293+ cursor: pointer;
294+ font-family: inherit;
295+ font-size: 12px;
296+ font-weight: bold;
297+}
298+
299+textarea {
300+ font-weight: normal;
301+ font-size: 14px;
302+}
303+
304+input:hover, button:hover, textarea:hover {
305+ background-image: url("../img/black20.png");
306+}
307+
308+input.radio {
309+ background: none;
310+ border: none;
311+ vertical-align: middle;
312+}
313+
314+h1, h2, h3, h4, h5, h6 {
315+ color: #181;
316+ margin-top: 0px;
317+ font-weight: normal;
318+}
319+
320+svg {
321+ text-shadow: none;
322+}
323+
324+td {
325+ vertical-align: top;
326+ line-height: 20px;
327+}
328+
329+.posLeft {
330+ float: left
331+}
332+
333+.posRight {
334+ float: right;
335+}
336+
337+.clear {
338+ clear: both;
339+}
340+
341+.center {
342+ text-align: center;
343+}
344+
345+.middle {
346+ vertical-align: middle;
347+}
348+
349+.grey {
350+ color: #998;
351+}
352+
353+.green {
354+ color: #181;
355+}
356+
357+.green a {
358+ color: #181;
359+}
360+
361+.green a:hover {
362+ color: #ffffee;
363+}
364+.small {
365+ font-size: 12px;
366+}
367+
368 .even {
369- background-color: #444444;
370- background: url(../img/background-444.png);
371- padding: 5px;
372+ background-image: url("../img/black20.png");
373 }
374
375 .odd {
376- background-color: #4f4f4f;
377- background: url(../img/background-4F4F4F.png);
378- padding: 5px;
379-}
380-
381-/*
382- * Error Handling
383- */
384+ background-image: url("../img/black50.png");
385+}
386+
387+.placeholder {
388+ color: #aaa !important;
389+}
390+
391 .errormessage {
392- color: #ff0000;
393- font-size: 13px;
394-}
395-
396-/*
397- * Search Box
398- */
399-#id_search {
400- width: 150px;
401-}
402-
403-/*
404- * Events
405- */
406-.event {
407- text-align: center;
408- width: 100%;
409- padding-bottom: 5px;
410-}
411-
412-.event .date {
413- font-size: 80%
414-}
415-
416-
417-/*
418- * Box Item Model
419- */
420-.box_item_model {
421-
422-}
423-
424-.border {
425- border: 1px solid rgb(9, 9, 9);
426-}
427-
428-.full_site {
429- width: 100%;
430-}
431-
432-.fixed_site {
433- width: 540px;
434-}
435-
436-.box_item_model img.news {
437- float: right;
438- padding: 0px;
439- width: 20px;
440-}
441-
442-.box_item_model .border_top {
443- border-top: 1px solid rgb(9, 9, 9);
444-}
445-
446-.box_item_model h3.title {
447- font-weight: bold;
448- font-size: 12px;
449- padding-left: 12px;
450- background-image: url('../img/Navbar.png');
451- background-repeat: repeat-x;
452- border-left: 0px solid #999999;
453- border-right: 0px solid #999999;
454- border-top: 0px solid #999999;
455- padding-top: 2px;
456- padding-bottom: 0px;
457- margin: 0px;
458-}
459-
460-.box_item_model .content {
461- line-height: 120%;
462- border: 0px;
463- padding: 2px;
464- padding-top: 5px;
465- padding-left: 15px;
466- background-color: #3F3F3F;
467- background: url('../img/background-3F3F3F.png');
468-}
469-
470-.box_item_model .info_line {
471- text-align: right;
472- padding: 3px;
473- margin: 0px;
474- background-color: #222222;
475- background: url('../img/background-222.png');
476-}
477-
478-.box_item_model .text {
479- vertical-align: baseline;
480- margin-top: 5px;
481- margin-bottom: 5px;
482- margin: 0px;
483- line-height: 130%;
484-}
485-
486-.box_item_model .text:first-letter {
487- color: #7070FF;
488- font-size: 180%;
489- font-family: Cretino, "Bitstream Vera Serif", serif;
490- font-weight: bold;
491-}
492-
493-.box_item_model .show_right {
494- text-align: right;
495- vertical-align: top;
496-}
497-
498-.box_item_model .show_left {
499- text-align: left;
500- vertical-align: top;
501-}
502-
503-.box_item_model .show_center {
504- text-align: center;
505- vertical-align: top;
506-}
507-
508-.show_center {
509- text-align: center;
510- vertical-align: top;
511-}
512-.button_send {
513- padding:0;
514- margin:0;
515- border:none;
516- color: #222222;
517- background: url(../forum/img/en/send.png) no-repeat center;
518- background-repeat: no-repeat;
519- font-size:12px;
520- width:100px;
521- height: 25px;
522- cursor: pointer;
523-}
524-.button_preview {
525- padding:0;
526- margin:0;
527- border:none;
528- color: #222222;
529- background: url(../forum/img/en/preview.png) no-repeat center;
530- background-repeat: no-repeat;
531- font-size:12px;
532- width:100px;
533- height: 25px;
534- cursor: pointer;
535+ color: #ff0000;
536+}
537+
538+.errormessage ul {
539+ margin: 0px;
540+}
541+
542+.noshadow {
543+ text-shadow: none;
544+}
545+
546+.italic {
547+ font-style: italic;
548+}
549+
550+/* Base */
551+
552+div#wrapper {
553+ min-width: 980px;
554+ margin: 0px 20px;
555+}
556+
557+div#header {
558+
559+}
560+
561+div #main {
562+ min-height: 500px;
563+}
564+
565+div#content {
566+ margin-right: 240px;
567+}
568+
569+div#footer {
570+ background-color: #695536;
571+ background-image: url("../img/wood.png");
572+ padding: 15px;
573+ margin-top: 20px;
574+ text-align: center;
575+ box-shadow: black 2px 2px 2px 2px;
576+ border: 1px solid #222222;
577+ -moz-border-radius-bottomleft: 15px;
578+ -moz-border-radius-bottomright: 15px;
579+ -khtml-border-radius-bottomleft: 15px;
580+ -khtml-border-radius-bottomright: 15px;
581+ -webkit-border-bottom-left-radius: 15px;
582+ -webkit-border-bottom-right-radius: 15px;
583+ border-bottom-left-radius: 15px;
584+ border-bottom-right-radius: 15px;
585+}
586+
587+/* Header */
588+
589+div#header img{
590+ position: relative;
591+ z-index: 10;
592+}
593+
594+div.loginBox {
595+ width: 320px;
596+ height: 90px;
597+ border: 1px solid black;
598+ background-color: #332f29;
599+ background-image: url("../img/but1.png");
600+ -moz-border-radius: 15px;
601+ -webkit-border-radius: 15px;
602+ -khtml-border-radius: 15px;
603+ border-radius: 15px;
604+ position: relative;
605+ z-index: 0;
606+ padding: 15px;
607+ box-shadow: black 2px 2px 2px 2px;
608+}
609+
610+div.loginBox div.right{
611+ width: 120px;
612+}
613+
614+div.loginBox ul {
615+ margin: 0px;
616+ padding: 0px;
617+ list-style-type: none;
618+ line-height: 18px;
619+}
620+
621+div.loginBox h4 {
622+ margin-bottom: 5px;
623+}
624+
625+div.loginBox input {
626+ width: 100px;
627+}
628+
629+div.loginBox button {
630+ margin: 0px;
631+ padding: 0px;
632+ border: 1px solid black;
633+ width: 60px;
634+ height: 20px;
635+ border-radius: 10px;
636+ background: none;
637+ background-image: url("../img/black50.png");
638+ outline: none;
639+ color: #ffffff;
640+}
641+
642+/* Right Column */
643+
644+div#rightColumn {
645+ width: 220px;
646+}
647+
648+div.columnModule {
649+ width: 220px;
650+}
651+
652+div.columnModule h3 {
653+ margin-bottom: 10px;
654+}
655+
656+div.columnModuleBox {
657+ width: 220px;
658+ margin-bottom: 20px;
659+ background-color: #695536;
660+ background-image: url("../img/wood.png");
661+ border: 1px solid black;
662+ box-shadow: black 2px 2px 2px 2px;
663+}
664+
665+div.columnModuleBox h4 {
666+ color: #ffffee;
667+ padding: 8px;
668+ padding-bottom: 0px;
669+ margin: 0px;
670+}
671+
672+div.columnModuleBox ul.poll {
673+ padding: 8px;
674+ list-style-type: disc;
675+ border: none;
676+}
677+
678+div.columnModuleBox ul.poll li {
679+ padding: 0px;
680+ border: none;
681+ height: 20px;
682+}
683+
684+div.columnModuleBox p {
685+ margin: 0px;
686+ padding: 8px;
687+}
688+
689+div.columnModuleBox ul {
690+ width: 220px;
691+ padding: 0px;
692+ margin: 0px;
693+ list-style-type: none;
694+}
695+
696+div.columnModuleBox ul.player {
697+ padding: 4px;
698+ list-style-type: disc;
699+}
700+
701+div.columnModuleBox ul.player li{
702+ padding: 4px;
703+ border: none;
704+}
705+
706+div.columnModuleBox ul li {
707+ display: block;
708+ padding: 8px;
709+ border-top: 1px solid black;
710+ font-size: 12px;
711+}
712+
713+div.columnModuleBox ul li:first-child {
714+ border-top: none;
715+}
716+
717+input.donate {
718+ border: none;
719+ background: none;
720+}
721+
722+/* News Posts */
723+
724+img.landing {
725+ margin-left: 20px;
726+ margin-bottom: 15px;
727+}
728+
729+div.blogEntry {
730+ background-color: #332f29;
731+ background-image: url("../img/but1.png");
732+ -moz-border-radius: 15px;
733+ -webkit-border-radius: 15px;
734+ -khtml-border-radius: 15px;
735+ border-radius: 15px;
736+ border: 1px solid black;
737+ padding: 15px;
738+ padding-bottom: 30px;
739+ margin-bottom: 20px;
740+ box-shadow: black 2px 2px 2px 2px;
741+}
742+
743+div.blogEntry img.title {
744+ width: 150px;
745+ margin-right: 20px;
746+ margin-bottom: 10px;
747+}
748+
749+div.blogEntry p {
750+ text-align: justify;
751+ margin: 0px;
752+ margin-bottom: 10px;
753+}
754+
755+div.blogEntry hr {
756+ height: 1px;
757+ background: #998;
758+ border: none;
759+ clear: left;
760 }
761
762=== added file 'media/css/base_ielt8.css'
763--- media/css/base_ielt8.css 1970-01-01 00:00:00 +0000
764+++ media/css/base_ielt8.css 2012-07-11 17:31:35 +0000
765@@ -0,0 +1,3 @@
766+ul.menu li ul {
767+ left: -41px;
768+}
769
770=== added file 'media/css/base_ielt9.css'
771--- media/css/base_ielt9.css 1970-01-01 00:00:00 +0000
772+++ media/css/base_ielt9.css 2012-07-11 17:31:35 +0000
773@@ -0,0 +1,9 @@
774+ul.menu li a:hover {
775+ background-image: url("../img/black50.png");
776+}
777+
778+div.loginBox button {
779+ margin: 1px 0px 5px 5px;
780+ vertical-align: top;
781+ height: 22px;
782+}
783\ No newline at end of file
784
785=== modified file 'media/css/comments.css'
786--- media/css/comments.css 2010-06-12 14:58:31 +0000
787+++ media/css/comments.css 2012-07-11 17:31:35 +0000
788@@ -2,28 +2,33 @@
789 * Comment
790 */
791 .comment {
792- margin: 0px;
793- padding-bottom: 2px;
794- /*
795- * border: 1px solid rgb(20%,20%,20%);
796- */
797- border-top: 0px;
798- width: 100%;
799-}
800-.comment p {
801- margin: 0px;
802- margin-bottom: 4px;
803-}
804-.comment .at {
805- text-align: right;
806- font-size: 90%;
807-}
808+ border: 1px solid black;
809+ padding: 8px;
810+ margin-bottom: 5px;
811+}
812+
813+.comment table {
814+ border-collapse: collapse;
815+ width: 100%;
816+}
817+
818 .comment .author {
819- font-size: 110%;
820- font-style: italic;
821- vertical-align: top;
822- margin-bottom: 5px;
823-}
824-.text textarea {
825- width: 100%;
826+ padding-right: 8px;
827+ text-align: center;
828+ border-right: 1px solid #998;
829+ height: 100%;
830+}
831+
832+.comment .text {
833+ padding-left: 8px;
834+ width: 100%;
835+}
836+
837+textarea {
838+ width: 97%;
839+}
840+
841+.comment .reply_link {
842+ vertical-align: bottom;
843+ text-align: right;
844 }
845
846=== added file 'media/css/documentation.css'
847--- media/css/documentation.css 1970-01-01 00:00:00 +0000
848+++ media/css/documentation.css 2012-07-11 17:31:35 +0000
849@@ -0,0 +1,85 @@
850+.sphinx a.headerlink {
851+ padding: 0 4px 0 4px;
852+ visibility: hidden;
853+}
854+
855+.sphinx *:hover > a.headerlink {
856+ visibility: visible;
857+}
858+
859+/*******************************/
860+/* Pygment Syntax Highlighting */
861+/*******************************/
862+pre {
863+ margin: 0px;
864+}
865+.highlight {
866+/* text-shadow: none;
867+/* color: #000000;*/
868+ padding: 4px;
869+ border: 1px solid black;
870+ background-image: url("../img/black20.png");
871+ margin: 4px 0px;
872+}
873+.highlight .hll { background-color: #ffffcc }
874+/*.highlight { background: #f0f0f0; }*/
875+.highlight .c { color: #60a0b0; font-style: italic } /* Comment */
876+.highlight .err { border: 1px solid #FF0000 } /* Error */
877+.highlight .k { color: #007020; font-weight: bold } /* Keyword */
878+.highlight .o { color: #998 } /* Operator */
879+.highlight .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */
880+.highlight .cp { color: #007020 } /* Comment.Preproc */
881+.highlight .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */
882+.highlight .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */
883+.highlight .gd { color: #A00000 } /* Generic.Deleted */
884+.highlight .ge { font-style: italic } /* Generic.Emph */
885+.highlight .gr { color: #FF0000 } /* Generic.Error */
886+.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
887+.highlight .gi { color: #00A000 } /* Generic.Inserted */
888+.highlight .go { color: #808080 } /* Generic.Output */
889+.highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
890+.highlight .gs { font-weight: bold } /* Generic.Strong */
891+.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
892+.highlight .gt { color: #0040D0 } /* Generic.Traceback */
893+.highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
894+.highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
895+.highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
896+.highlight .kp { color: #007020 } /* Keyword.Pseudo */
897+.highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
898+.highlight .kt { color: #902000 } /* Keyword.Type */
899+.highlight .m { color: #40a070 } /* Literal.Number */
900+.highlight .s { color: #4070a0 } /* Literal.String */
901+.highlight .na { color: #4070a0 } /* Name.Attribute */
902+.highlight .nb { color: #007020 } /* Name.Builtin */
903+.highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
904+.highlight .no { color: #60add5 } /* Name.Constant */
905+.highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */
906+.highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */
907+.highlight .ne { color: #007020 } /* Name.Exception */
908+.highlight .nf { color: #aaaa00 } /* Name.Function */
909+.highlight .nl { color: #002070; font-weight: bold } /* Name.Label */
910+.highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
911+.highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */
912+.highlight .nv { color: #bb60d5 } /* Name.Variable */
913+.highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */
914+.highlight .w { color: #bbbbbb } /* Text.Whitespace */
915+.highlight .mf { color: #40a070 } /* Literal.Number.Float */
916+.highlight .mh { color: #40a070 } /* Literal.Number.Hex */
917+.highlight .mi { color: #40a070 } /* Literal.Number.Integer */
918+.highlight .mo { color: #40a070 } /* Literal.Number.Oct */
919+.highlight .sb { color: #4070a0 } /* Literal.String.Backtick */
920+.highlight .sc { color: #4070a0 } /* Literal.String.Char */
921+.highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
922+.highlight .s2 { color: #4070a0 } /* Literal.String.Double */
923+.highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
924+.highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */
925+.highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
926+.highlight .sx { color: #c65d09 } /* Literal.String.Other */
927+.highlight .sr { color: #235388 } /* Literal.String.Regex */
928+.highlight .s1 { color: #4070a0 } /* Literal.String.Single */
929+.highlight .ss { color: #517918 } /* Literal.String.Symbol */
930+.highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */
931+.highlight .vc { color: #bb60d5 } /* Name.Variable.Class */
932+.highlight .vg { color: #bb60d5 } /* Name.Variable.Global */
933+.highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */
934+.highlight .il { color: #40a070 } /* Literal.Number.Integer.Long */
935\ No newline at end of file
936
937=== modified file 'media/css/forum.css'
938--- media/css/forum.css 2011-11-13 15:47:39 +0000
939+++ media/css/forum.css 2012-07-11 17:31:35 +0000
940@@ -1,108 +1,83 @@
941-
942-.index_category, .index_forum {
943- margin-bottom: 20px;
944- border-left: 0px;
945- border-right: 0px;
946-}
947-
948-.list_overview {
949- display: block;
950- font-weight: bold;
951- padding: 0px;
952- margin-top: 0px;
953- margin-bottom: 0px;
954- background: url('../img/background-444.png');
955-}
956-
957-.title {
958- display: block;
959- font-weight: bold;
960- padding: 5px;
961- margin-top: 5px;
962- margin-bottom: 1px;
963- background: url('../img/background-444.png');
964-}
965-
966-.author {
967- text-align: center;
968-}
969-
970-/*
971- * POSTS
972- */
973-.posts {
974- padding: 0px;
975- margin: 0px;
976-}
977-.posts th {
978- margin-top: 0px;
979- margin-bottom: 0px;
980- height: auto;
981-}
982-
983-/*
984- * Post
985- */
986-.post {
987- background-color: rgb(20%,20%,20%);
988- margin: 0px;
989- padding-bottom: 2px;
990-}
991+.forum {
992+ border: none;
993+ border-collapse: collapse;
994+ width: 100%;
995+}
996+
997+.forum tr {
998+ border: 1px solid black;
999+}
1000+
1001+.forum thead tr {
1002+ border: none;
1003+}
1004+
1005+.forum td {
1006+ vertical-align: middle;
1007+ padding: 8px;
1008+}
1009+
1010+.forumIcon {
1011+ width: 50px;
1012+}
1013+
1014+.forumTitle {
1015+ width: 40%;
1016+}
1017+
1018+.forumCount {
1019+ width: 120px;
1020+}
1021+
1022+.lastPost {
1023+ text-align: right;
1024+}
1025+
1026+.forum .author {
1027+ width: 140px;
1028+ text-align: center;
1029+ border-right: 1px solid black;
1030+ vertical-align: top;
1031+}
1032+
1033+.forum .post {
1034+ vertical-align: top;
1035+}
1036+
1037+.authorStats {
1038+ text-align: left;
1039+ font-size: 10px;
1040+ line-height: 12px;
1041+}
1042+
1043+tr.spacer {
1044+ height: 10px;
1045+ border: none;
1046+}
1047+
1048 .post p {
1049- margin: 8px 0px 8px;
1050- padding: 0px;
1051+ margin: 0px;
1052+ margin-bottom: 8px;
1053+ padding: 0px;
1054 }
1055
1056-.post .at {
1057- text-align: right;
1058- font-size: 90%;
1059-}
1060-.post .userinfo {
1061- font-size: 90%;
1062- vertical-align: top;
1063-}
1064-.post .odd {
1065- margin: 0px;
1066- padding: 0px;
1067-}
1068-.post table {
1069- border-collapse: collapse;
1070-}
1071-.post td {
1072- border: 1px solid rgb(20%,20%,20%);
1073-}
1074 .post blockquote {
1075- background: rgb(51, 51, 51);
1076- border: 0px inset rgb(0, 0, 128);
1077- font-family: 'Courier New', Courier, monospace;
1078- padding: 0px 6px 6px 6px;
1079- margin: 2px;
1080- margin-left: 10px;
1081-}
1082-.post .tools {
1083- vertical-align: bottom;
1084-}
1085-.first_post {
1086- padding-bottom: 20px;
1087- border: 1px solid rgb(100,100,100);
1088- margin-bottom: 20px;
1089-}
1090-.post .avatar {
1091- width: 100%;
1092- padding: 2px;
1093-}
1094-.post .top {
1095- vertical-align: top;
1096-}
1097-.post .top .signature .line {
1098- color: #D0DFFF;
1099- font-weight: bolder;
1100-}
1101-
1102-
1103-/*
1104- * Compose
1105- */
1106+ background-image: url("../forum/img/quote.png");
1107+ background-repeat: no-repeat;
1108+ background-position: 4px 4px;
1109+ border: 1px solid black;
1110+ padding: 4px;
1111+ padding-left: 28px;
1112+ margin: 4px;
1113+}
1114+
1115+.preview-box .content {
1116+ background-image: url("../img/black50.png");
1117+ border: 1px solid black;
1118+ padding: 4px;
1119+ width: 98%;
1120+}
1121+
1122 .post-form #id_subject {
1123 width: 40%;
1124 }
1125@@ -111,14 +86,16 @@
1126 }
1127 .post-form #id_body {
1128 width: 98%;
1129+ max-width: 98%;
1130 height: 150px;
1131 }
1132-.post .bold {
1133- font-weight: bold;
1134-}
1135-.post .underline {
1136- text-decoration: underline;
1137-}
1138-.post .italic {
1139- font-style: italic;
1140+
1141+a.permalink {
1142+ width: 16px;
1143+ height: 20px;
1144+ background-image: url("../forum/img/permalink.png");
1145+}
1146+
1147+a.permalink:hover {
1148+ background-image: url("../forum/img/permalink_hover.png");
1149 }
1150
1151=== added file 'media/css/help.css'
1152--- media/css/help.css 1970-01-01 00:00:00 +0000
1153+++ media/css/help.css 2012-07-11 17:31:35 +0000
1154@@ -0,0 +1,25 @@
1155+table.help {
1156+ width: 100%;
1157+ border-collapse: collapse;
1158+ margin-bottom: 20px;
1159+}
1160+
1161+table.help tr {
1162+
1163+}
1164+
1165+table.help th {
1166+ padding: 4px;
1167+ font-weight: normal;
1168+ font-size: 12px;
1169+ text-align: left;
1170+}
1171+
1172+table.help td {
1173+ padding: 4px;
1174+ border: 1px solid black;
1175+}
1176+
1177+img.icon {
1178+ margin: 0px 10px 10px 0px;
1179+}
1180\ No newline at end of file
1181
1182=== modified file 'media/css/maps.css'
1183--- media/css/maps.css 2009-04-11 15:21:15 +0000
1184+++ media/css/maps.css 2012-07-11 17:31:35 +0000
1185@@ -1,26 +1,27 @@
1186-
1187-#map_list {
1188- padding: 5px;
1189-}
1190-
1191-h1 {
1192- display: block;
1193- font-weight: bold;
1194- padding: 5px;
1195- margin-top: 5px;
1196- margin-bottom: 1px;
1197- background: url('../img/background-444.png');
1198-}
1199-
1200-.map_details .author {
1201- display: block;
1202-}
1203-.map_details .uploader {
1204- display: block;
1205- margin-bottom: 10px;
1206-}
1207-
1208-/* Modified css for jqModal */
1209-div.jqmDialog {
1210- width: 480px;
1211-}
1212+img.minimap {
1213+ max-height: 250px;
1214+}
1215+
1216+img.map {
1217+ margin: 0px 10px 10px 0px;
1218+}
1219+
1220+.forum table td {
1221+ padding: 2px;
1222+}
1223+
1224+.forum td {
1225+ vertical-align: top;
1226+}
1227+
1228+.forum .spacer {
1229+ width: 15px;
1230+}
1231+
1232+p {
1233+ vertical-align: top;
1234+}
1235+
1236+textarea {
1237+ width: 97%;
1238+}
1239\ No newline at end of file
1240
1241=== modified file 'media/css/messages.css'
1242--- media/css/messages.css 2011-04-10 18:50:34 +0000
1243+++ media/css/messages.css 2012-07-11 17:31:35 +0000
1244@@ -1,74 +1,36 @@
1245-
1246-
1247-h1 {
1248- display: block;
1249- font-weight: bold;
1250- padding: 5px;
1251- margin-top: 5px;
1252- margin-bottom: 1px;
1253- background: url('../img/background-444.png');
1254-}
1255-
1256-/*
1257- * MESSAGES
1258- */
1259-.messages {
1260- margin-bottom: 20px;
1261- width: 100%;
1262-}
1263-.messages {
1264- padding: 0px;
1265- margin: 0px;
1266-}
1267 .messages th {
1268- margin-top: 4px;
1269- margin-bottom: 2px;
1270-}
1271-
1272-/*
1273- * Post
1274- */
1275-.message {
1276- background-color: rgb(20%,20%,20%);
1277- margin: 0px;
1278- padding-bottom: 2px;
1279- border-top: 0px;
1280-}
1281-.message .odd {
1282- margin: 0px;
1283- padding: 0px;
1284-}
1285-.message_display {
1286- background: url('../img/background-3f3f3f.png');
1287- padding-bottom: 1px;
1288-}
1289-.message_display .content {
1290- background: url('../img/background-222.png');
1291- font-family: 'Courier New', Courier, monospace;
1292- padding: 10px;
1293- margin: 10px;
1294-}
1295-
1296-/*
1297- * Compose
1298- */
1299-#id_recipient {
1300- width: 40%;
1301-}
1302-#id_subject {
1303- width: 40%;
1304-}
1305-#id_body {
1306- width: 98%;
1307- height: 200px;
1308-}
1309-
1310-/*
1311- * MessageBox style
1312- */
1313-
1314-.message_image img {
1315- float: right;
1316- padding: 0px;
1317- margin-left: 20px;
1318+ border: 1px solid black;
1319+ font-size: 12px;
1320+ text-align: left;
1321+ font-weight: normal;
1322+ background-image: url("../img/black50.png");
1323+ padding: 4px;
1324+}
1325+
1326+.messages {
1327+ width: 100%;
1328+ border-collapse: collapse;
1329+}
1330+
1331+.messages td {
1332+ padding: 4px;
1333+}
1334+
1335+th.msg_menu {
1336+ width: 130px;
1337+ vertical-align: top;
1338+}
1339+
1340+td.msg_box {
1341+ padding-top: 0px;
1342+}
1343+
1344+.messages ul {
1345+ padding: 0px;
1346+ margin: 0px;
1347+ list-style-type: none;
1348+}
1349+
1350+.messages textarea {
1351+ width: 100%;
1352 }
1353
1354=== removed file 'media/css/modal_windows.css'
1355--- media/css/modal_windows.css 2009-04-11 15:21:15 +0000
1356+++ media/css/modal_windows.css 1970-01-01 00:00:00 +0000
1357@@ -1,35 +0,0 @@
1358-
1359-.modalOverlay {
1360- background: black;
1361-}
1362-
1363-div.jqmDialog {
1364- display: none;
1365- position: absolute;
1366-
1367- overflow: hidden;
1368- padding: 0px;
1369-
1370- top: 0px; /* Positions are calculated on show */
1371- left: 0px;
1372-
1373- border: 1px solid #000;
1374-}
1375-
1376-div.jqmDialog .jqmClose {
1377- position: absolute;
1378- cursor: pointer;
1379- right: 2px;
1380- top: 1px;
1381-}
1382-
1383-.jqmDialog .box_title h3 {
1384- padding-bottom: 3px;
1385-}
1386-div.jqDrag {cursor: move;}
1387-
1388-div.jqmDialog img.jqResize {position: absolute; right: 2px; bottom: 2px;}
1389-
1390-.jqmOverlay { background-color: #000; }
1391-
1392-
1393
1394=== modified file 'media/css/navigation.css'
1395--- media/css/navigation.css 2011-07-03 18:14:07 +0000
1396+++ media/css/navigation.css 2012-07-11 17:31:35 +0000
1397@@ -1,60 +1,111 @@
1398-div.dropdown {
1399- width: auto;
1400- min-width: 920px;
1401- height: 20px;
1402+/* Top Menu */
1403+
1404+div.searchBox {
1405+ height: 20px;
1406+ padding: 15px;
1407+}
1408+
1409+div.searchBoxInner {
1410+ border: 1px solid black;
1411+ width: 150px;
1412+ padding: 0px 10px 0px 10px;
1413+ height: 20px;
1414+ border-radius: 10px;
1415+ -moz-border-radius: 10px;
1416+ -webkit-border-radius: 10px;
1417+ -khtml-border-radius: 10px;
1418+ background-color: #332f29;
1419+ background-image: url("../img/but1.png");
1420+}
1421+
1422+input.searchField {
1423+ margin: 0px;
1424+ border: none;
1425+ background: none;
1426+ width: 150px;
1427+ outline: none;
1428+ color: #ffffff;
1429+ padding: 0px;
1430+}
1431+
1432+div#topmenu {
1433+ position: relative;
1434+ z-index: 5;
1435+ top: -30px;
1436+ clear: both;
1437+ height: 50px;
1438+ background-color: #695536;
1439+ background-image: url("../img/wood.png");
1440+ border: 1px solid #222222;
1441+ box-shadow: black 2px 2px 2px 2px;
1442+}
1443+
1444+ul.menu {
1445+ margin: 0px;
1446+ padding: 0px;
1447+}
1448+
1449+ul.menu li {
1450+ list-style-type: none;
1451+ float: left;
1452+ position: relative;
1453+}
1454+
1455+ul.menu li a {
1456+ display: block;
1457+ width: 120px;
1458+ height: 50px;
1459+ line-height: 50px;
1460+ float: left;
1461+ border-right: 1px solid #222222;
1462+ text-align: center;
1463+ vertical-align: middle;
1464+ color: #ffffff;
1465+ text-transform: uppercase;
1466+ font-weight: normal;
1467+}
1468+
1469+ul.menu li a:hover {
1470+ box-shadow: black 0px 0px 10px 0px inset;
1471+}
1472+
1473+ul.menu li a.active {
1474+ box-shadow: black 0px 0px 10px 0px inset;
1475+ background-image: url("../img/black50.png");
1476+}
1477+
1478+ul.menu li ul {
1479+ display: none;
1480+ position: absolute;
1481+ top: 50px;
1482+ left: -1px;
1483+ background-color: #695536;
1484+ background-image: url("../img/wood.png");
1485+ padding: 0px;
1486+ border: 1px solid #222222;
1487+ box-shadow: black 2px 2px 2px 2px;
1488+}
1489+
1490+ul.menu li:hover ul {
1491+ display: block;
1492+}
1493+
1494+ul.menu li ul li {
1495+ clear: both;
1496+ border-top: 1px solid #222222;
1497+}
1498+
1499+ul.menu li ul li a {
1500+ display: block;
1501+ width: 250px;
1502+ height: 20px;
1503+ line-height: 20px;
1504+ padding: 4px;
1505 text-align: left;
1506- position:relative;
1507- z-index:2;
1508-}
1509-
1510-div.dropdown ul {
1511- padding: 0;
1512- margin: 0;
1513- background-image: url(../img/Navbar.png);
1514- background-repeat: repeat-x;
1515-}
1516-
1517-div.dropdown li{
1518- list-style: none;
1519- position: relative;
1520- white-space: nowrap;
1521-}
1522-
1523-div.dropdown a {
1524- display: block;
1525- text-decoration: none;
1526- padding: 3px 20px;
1527-}
1528-
1529-div.dropdown > ul > li{
1530- display: inline-block;
1531-}
1532-
1533-div.dropdown li ul {
1534-/* Positions and hides submenus. */
1535- position: absolute;
1536- top: 19px;
1537- visibility: hidden;
1538- border: 1px solid rgb(12,12,12);
1539- background-image: url(../img/background-4A4A4A.png);
1540- background-repeat: repeat;
1541-}
1542-
1543-div.dropdown li li {
1544- border-bottom: 1px solid rgb(54,54,54);
1545-}
1546-
1547-div.dropdown li:hover > ul {
1548- visibility: visible;
1549-}
1550-
1551-div.arrow-down {
1552- position: relative;
1553- top: -12px;
1554- left: +20px;
1555- width: 0;
1556- height: 0;
1557- border-left: 5px solid transparent;
1558- border-right: 5px solid transparent;
1559- border-top: 5px solid #D0DFFF;
1560+ font-size: 12px;
1561+ border: none;
1562+}
1563+
1564+ul.menu li ul li:first-child {
1565+ border: none;
1566 }
1567
1568=== modified file 'media/css/news.css'
1569--- media/css/news.css 2010-10-30 18:33:48 +0000
1570+++ media/css/news.css 2012-07-11 17:31:35 +0000
1571@@ -1,68 +0,0 @@
1572-/**************************/
1573-/* General Style elements */
1574-/**************************/
1575-.text h1 {
1576- font-size: 2.5em;
1577- margin: 10px 0px;
1578-}
1579-.text h2 {
1580- font-size: 2em;
1581- margin: 25px 0px 10px;
1582- line-height: 70%;
1583-}
1584-.text h3 {
1585- font-size: 1.4em;
1586- margin: 5px 0px;
1587-}
1588-.text h4 {
1589- font-size: 1.30em;
1590- margin: 5px 0px;
1591- /*
1592- * text-decoration: underline;
1593- * */
1594-}
1595-.text h5 {
1596- font-size: 1.2em;
1597- margin: 5px 0px;
1598- /*
1599- * text-decoration: underline;
1600- * font-style: italic;
1601- * */
1602-}
1603-.text h6 {
1604- font-size: 1.1em;
1605- margin: 5px 0px;
1606- /*
1607- * font-style: italic;
1608- * */
1609-}
1610-
1611-.text h1:first-letter,.text h2:first-letter,.text h3:first-letter,.text h4:first-letter,.text h5:first-letter {
1612- vertical-align: baseline;
1613- color: #7070FF;
1614- font-size: 180%;
1615- font-family: Cretino, "Bitstream Vera Serif", serif;
1616- font-weight: bold;
1617-}
1618-.text h3:first-letter {
1619- color: rgb(156,156,86);
1620-}
1621-.text h4:first-letter {
1622- color: rgb(156,86,156);
1623- font-size: 150%;
1624-}
1625-.text h5:first-letter {
1626- color: rgb(86,156,156);
1627- font-size: 120%;
1628-}
1629-.news_poster {
1630- font-size: 90%;
1631-}
1632-.news_post_date {
1633- font-size: 90%;
1634-}
1635-.news_image img {
1636- float:right;
1637- margin-left:20px;
1638- padding:0;
1639-}
1640
1641=== modified file 'media/css/notice.css'
1642--- media/css/notice.css 2010-06-12 15:25:46 +0000
1643+++ media/css/notice.css 2012-07-11 17:31:35 +0000
1644@@ -1,12 +1,30 @@
1645-.notice_poster {
1646- font-size: 90%;
1647-}
1648-.notice_post_date {
1649- font-size: 90%;
1650-}
1651-.notice_unseen_notice {
1652- font-style: italic;
1653-}
1654-.notice_type {
1655- font-weight: bold;
1656+.notifications {
1657+ width: 100%;
1658+ border-collapse: collapse;
1659+}
1660+
1661+.notifications td {
1662+ border: 1px solid black;
1663+ padding: 4px;
1664+ vertical-align: middle;
1665+}
1666+
1667+.notifications th {
1668+ border: none;
1669+ padding: 4px;
1670+ padding-top: 20px;
1671+ text-align: left;
1672+ font-weight: normal;
1673+}
1674+
1675+.notifications .type {
1676+ width: 20%;
1677+}
1678+
1679+.notifications .text{
1680+ width: 60%;
1681+}
1682+
1683+.notifications .date {
1684+ width: 20%;
1685 }
1686
1687=== removed file 'media/css/old_xoops_remainings.css'
1688--- media/css/old_xoops_remainings.css 2011-03-17 16:26:02 +0000
1689+++ media/css/old_xoops_remainings.css 1970-01-01 00:00:00 +0000
1690@@ -1,318 +0,0 @@
1691-input.formButton {}
1692-
1693- .item { border: 0px solid #A0AAFF;}
1694-
1695- .itemHead {
1696- padding: 2px;
1697- background-color: #444444;
1698- background: url(../img/background-444.png);
1699- /*height: 20px; - don't know why i set this ;) */
1700- color: #A0AAFF;
1701- }
1702-
1703- .itemInfo {
1704- text-align: right;
1705- padding: 3px;
1706- background-color: #222222;
1707- background: url(../img/background-222.png);
1708- }
1709-
1710- .itemTitle a {
1711- font-size: 120%;
1712- font-weight: bold;
1713- background-color: transparent;
1714- }
1715-
1716- .itemPoster { font-size: 90%;}
1717- .itemPostDate { font-size: 90%;}
1718- .itemStats { font-size: 90%;}
1719-
1720- .itemBody {
1721- padding-left: 15px;
1722- background-color: #3F3F3F;
1723- background: url(../img/background-3F3F3F.png);
1724- }
1725-
1726- .itemText {
1727- margin-top: 5px;
1728- margin-bottom: 5px;
1729- line-height: 130%;
1730- }
1731-
1732- .itemText:first-letter {
1733- color: #7070FF;
1734- font-size: 180%;
1735- font-family: Cretino, "Bitstream Vera Serif", serif;
1736- font-weight: bold;
1737- }
1738-
1739- .itemFoot {
1740- text-align: right;
1741- padding: 3px;
1742- background-color: #222222;
1743- background: url(../img/background-222.png);
1744- }
1745-
1746- .itemAdminLink { font-size: 90%;}
1747- .itemPermaLink { font-size: 90%;}
1748-
1749-
1750-
1751-
1752-
1753- .outer {
1754- background-color: #4A4A4A;
1755- background: url(../img/background-4A4A4A.png);
1756- border-left: 1px solid #090909;
1757- border-top: 1px solid #090909;
1758- border-right: 1px solid #090909;
1759- border-bottom: 1px solid #090909;
1760- }
1761-
1762- .head {
1763- font-weight: bold;
1764- background-position: left;
1765- height: 24px;
1766- line-height: 22px;
1767- text-align: center;
1768- background-color: #444444;
1769- background: url(../img/background-444.png);
1770- height: 20px;
1771- }
1772-
1773- .foot {
1774- padding: 5px;
1775- font-weight: bold;
1776- background-color: #222222;
1777- background: url(../img/background-222.png);
1778- }
1779-
1780-
1781-
1782-
1783- tr.head {
1784- color: #A0AAFF;
1785- height: 20px;
1786- }
1787-
1788- tr.even td {
1789- background-color: transparent;
1790- padding: 5px;
1791- }
1792-
1793- tr.odd td {
1794- background-color: transparent;
1795- padding: 5px;
1796- }
1797-
1798-
1799-
1800-
1801- .footer {
1802- color: #D0DFFF;
1803- font-size: 12px;
1804- text-align: center;
1805- }
1806-
1807- .footer a { color: #A0AAFF;}
1808-
1809-
1810-
1811- div.errorMsg {
1812- background-color: #FFCCCC;
1813- text-align: center;
1814- border-top: 0px solid #222222;
1815- border-left: 0px solid #222222;
1816- border-right: 0px solid #444444;
1817- border-bottom: 0px solid #444444;
1818- font-weight: bold;
1819- padding: 12px;
1820- }
1821-
1822- div.confirmMsg {
1823- background-color: #333333;
1824- color: #D0DFFF;
1825- text-align: center;
1826- border-top: 0px solid #222222;
1827- border-left: 0px solid #222222;
1828- border-right: 0px solid #444444;
1829- border-bottom: 0px solid #444444;
1830- font-weight: bold;
1831- padding: 12px;
1832- }
1833-
1834- div.resultMsg {
1835- background-color: #CCCCCC;
1836- color: #FFFFFF;
1837- text-align: center;
1838- border-top: 0px solid silver;
1839- border-left: 0px solid silver;
1840- font-weight: bold;
1841- border-right: 0px solid #666666;
1842- border-bottom: 0px solid #666666;
1843- padding: 12px;
1844- }
1845-
1846- div.xoopsCode {
1847- background: #333333;
1848- border: 0px inset #000080;
1849- font-family: "Courier New",Courier,monospace;
1850- padding: 0px 6px 6px 6px;
1851- }
1852-
1853- div.xoopsQuote {
1854- background: #333333;
1855- border: 0px inset #000080;
1856- font-family: "Courier New",Courier,monospace;
1857- padding: 0px 6px 6px 6px;
1858- }
1859-
1860- .com_bl {
1861- padding: 2px;
1862- background-color: #3F3F3F;
1863- background: url(../img/background-3F3F3F.png);
1864- border-left: 1px solid #090909;
1865- border-top: 1px solid #090909;
1866- border-right: 1px solid #090909;
1867- border-bottom: 1px solid #090909;
1868- }
1869-
1870- .comTitle {
1871- font-size: 16px;
1872- font-weight: bold;
1873- text-align: left;
1874- padding: 3px;
1875- background-color: #222222;
1876- background: url(../img/background-222.png);
1877- border-bottom: 1px solid #090909;
1878- }
1879-
1880- .comText {
1881- background-color: #444444;
1882- background: url(../img/background-444.png);
1883- padding: 5px;
1884- border-top: 1px solid #333333;
1885- }
1886-
1887- .comUserStat {
1888- font-size: 12px;
1889- color: #A0AAFF;
1890- font-weight:bold;
1891- border: 0px solid silver;
1892- background-color: #333333;
1893- margin: 2px;
1894- padding: 2px;
1895- }
1896-
1897- .comUserStatCaption { font-weight: normal;}
1898-
1899- .comUserStatus {
1900- margin-left: 2px;
1901- margin-top: 12px;
1902- color: #A0AAFF;
1903- font-weight:bold;
1904- font-size: 12px;
1905- }
1906-
1907- .comUserRank { margin: 2px;}
1908-
1909- .comUserRankText {
1910- font-size: 12px;
1911- font-weight:bold;
1912- }
1913-
1914- .comUserRankImg { border: 0px;}
1915- .comUserName {}
1916- .comUserImg { margin: 2px;}
1917-
1918- .comDate {
1919- font-weight: normal;
1920- font-style: italic;
1921- font-size: smaller;
1922- }
1923-
1924- .comDateCaption {
1925- font-weight: bold;
1926- font-style: normal;
1927- }
1928-
1929-
1930-
1931-
1932-
1933-
1934-.mediawiki {
1935- background-color : #222222;
1936- background: url(../img/background-222.png);
1937- border-top-width : 2px;
1938- border-right-width : 1px;
1939- border-bottom-width : 1px;
1940- border-left-width : 2px;
1941- border-color : #090909;
1942- padding: 8px;
1943-}
1944-
1945-.mediawikitable {
1946- background-color: #444444;
1947- background: url(../img/background-444.png);
1948-}
1949-
1950-
1951-table.diff {
1952- background-color: #444444;
1953- background: url(../img/background-444.png);
1954-}
1955-
1956-td.diff-otitle {
1957- background-color : #333333;
1958- background: url(../img/background.png);
1959-}
1960-
1961-td.diff-ntitle {
1962- background-color : #333333;
1963- background: url(../img/background.png);
1964-}
1965-
1966-td.diff-addedline {
1967- background-color : #222222;
1968- background: url(../img/background-222.png);
1969- font-size: 94%;
1970-}
1971-
1972-td.diff-deletedline {
1973- background-color : #222222;
1974- background: url(../img/background-222.png);
1975- font-size: 94%;
1976-}
1977-
1978-td.diff-context {
1979- background-color : #333333;
1980- background: url(../img/background.png);
1981- font-size: 94%;
1982-}
1983-
1984-span.diffchange { color: #CC2222; font-weight: bold; }
1985-
1986-
1987-
1988-/* color -- dropdown menu for Forum */
1989-div.dropdown a, div.dropdown .menubar a{
1990- color: #D0DFFF;
1991-}
1992-
1993-div.dropdown .menu, div.dropdown .menubar, div.dropdown .item, div.dropdown .separator{
1994- background-color: #444444; /* color set in your theme/style.ss .th{} is recommended */
1995- color: #D0DFFF;
1996-}
1997-
1998-div.dropdown .separator{
1999- border: 1px inset #aabbcc;
2000-}
2001-
2002-div.dropdown .menu a:hover, div.dropdown .userbar a:hover{
2003- color: #aabbcc;
2004-}
2005-/* color - end */
2006-
2007-
2008-
2009
2010=== modified file 'media/css/profile.css'
2011--- media/css/profile.css 2010-06-12 16:05:19 +0000
2012+++ media/css/profile.css 2012-07-11 17:31:35 +0000
2013@@ -1,11 +1,3 @@
2014-.profile_poster {
2015- font-size: 90%;
2016-}
2017-.profile_post_date {
2018- font-size: 90%;
2019-}
2020-.profile_image img {
2021- float: right;
2022- padding: 0px;
2023- margin-left: 20px;
2024-}
2025+td {
2026+ padding: 4px;
2027+}
2028\ No newline at end of file
2029
2030=== modified file 'media/css/screens.css'
2031--- media/css/screens.css 2009-04-11 19:14:49 +0000
2032+++ media/css/screens.css 2012-07-11 17:31:35 +0000
2033@@ -1,22 +1,7 @@
2034-.category {
2035- font-weight: bold;
2036- padding: 5px;
2037- margin-top: 5px;
2038- margin-bottom: 1px;
2039- background: url('../img/background-444.png');
2040-}
2041-
2042-.image_display {
2043- margin: 4px 0px;
2044-}
2045-
2046-.sizes {
2047- text-align: right;
2048- font-size: 100%;
2049-}
2050-
2051 .screenshot_list {
2052 list-style-type: none;
2053+ margin: 0px;
2054+ padding: 0px;
2055 }
2056
2057 .screenshot_list li {
2058
2059=== modified file 'media/css/search.css'
2060--- media/css/search.css 2009-03-23 20:34:20 +0000
2061+++ media/css/search.css 2012-07-11 17:31:35 +0000
2062@@ -1,22 +0,0 @@
2063-
2064-
2065-.search h1 {
2066- display: block;
2067- font-weight: bold;
2068- padding: 5px;
2069- margin-top: 5px;
2070- margin-bottom: 1px;
2071- background: url('../img/background-444.png');
2072-}
2073-
2074-.search ul {
2075- list-style: none;
2076-}
2077-
2078-.search .results .wiki {
2079- margin-bottom: 2px;
2080-}
2081-
2082-.posted {
2083- font-size: 80%;
2084-}
2085
2086=== modified file 'media/css/wiki.css'
2087--- media/css/wiki.css 2010-01-03 21:51:19 +0000
2088+++ media/css/wiki.css 2012-07-11 17:31:35 +0000
2089@@ -1,96 +1,57 @@
2090-/**************************/
2091-/* General Style elements */
2092-/**************************/
2093-.wiki_article h1 {
2094- font-size: 2.5em;
2095- margin: 10px 0px;
2096-}
2097-.wiki_article h2 {
2098- font-size: 2em;
2099- margin: 25px 3px 10px;
2100- line-height: 70%;
2101-}
2102-.wiki_article h3 {
2103- font-size: 1.4em;
2104- margin: 5px 5px;
2105-}
2106-.wiki_article h4 {
2107- font-size: 1.30em;
2108- margin: 5px 10px;
2109- text-decoration: underline;
2110-}
2111-.wiki_article h5 {
2112- font-size: 1.2em;
2113- margin: 5px 10px;
2114- text-decoration: underline;
2115- font-style: italic;
2116-}
2117-.wiki_article h6 {
2118- font-size: 1.1em;
2119- margin: 5px 10px;
2120- font-style: italic;
2121-}
2122-
2123-.wiki_article h1:first-letter,.wiki_article h2:first-letter,.wiki_article h3:first-letter {
2124- vertical-align: baseline;
2125- color: #7070FF;
2126- font-size: 180%;
2127- font-family: Cretino, "Bitstream Vera Serif", serif;
2128- font-weight: bold;
2129-}
2130-.wiki_article h3:first-letter {
2131- color: rgb(156,156,86);
2132-}
2133-
2134-.wiki_article p {
2135- margin: 7px 10px;
2136-}
2137-
2138+.toc {
2139+ border: 1px solid black;
2140+ display: inline-block;
2141+ padding: 0px 8px;
2142+ background-image: url("../img/black50.png");
2143+ font-size: 12px;
2144+ margin-bottom: 20px;
2145+ line-height: 18px;
2146+}
2147+
2148+.toc ul {
2149+ padding-left: 20px;
2150+}
2151
2152 /***********/
2153 /* History */
2154 /***********/
2155 .history_list {
2156- width: 100%;
2157+ width: 100%;
2158+ border-collapse: collapse;
2159+}
2160+
2161+.history_list td {
2162+ border: 1px solid black;
2163+ padding: 4px;
2164+}
2165+
2166+.history_list th {
2167+ border: 1px solid black;
2168+ background-image: url("../img/black50.png");
2169+ padding: 4px;
2170 }
2171
2172 /******************/
2173 /* Edit Wiki Page */
2174 /******************/
2175 #edit_wiki_page_form {
2176- width: 100%;
2177+ width: 100%;
2178 }
2179+
2180 #edit_wiki_page_form th {
2181- background: None;
2182- margin-top: 15px;
2183- width: auto;
2184+ text-align: left;
2185 }
2186+
2187 #edit_wiki_page_form #id_title,#id_comment {
2188- width: 100%;
2189+ width: 98%;
2190 }
2191-
2192+
2193 #id_content {
2194- width: 100%;
2195- height: 400px;
2196+ width: 98%;
2197+ height: 400px;
2198 }
2199+
2200 #id_summary {
2201- width: 100%;
2202- height: 100px;
2203-}
2204-
2205-/*************/
2206-/* Changeset */
2207-/*************/
2208-
2209-.changeset_content {
2210- line-height: 120%;
2211- border: 0px;
2212- padding: 2px;
2213- padding-top: 5px;
2214- padding-left: 15px;
2215- background-color: #3F3F3F;
2216- background: url(../img/background-3F3F3F.png);
2217-}
2218-
2219-
2220-
2221+ width: 98%;
2222+ height: 100px;
2223+}
2224
2225=== added directory 'media/fancybox'
2226=== added file 'media/fancybox/blank.gif'
2227Binary files media/fancybox/blank.gif 1970-01-01 00:00:00 +0000 and media/fancybox/blank.gif 2012-07-11 17:31:35 +0000 differ
2228=== added file 'media/fancybox/fancybox_loading.gif'
2229Binary files media/fancybox/fancybox_loading.gif 1970-01-01 00:00:00 +0000 and media/fancybox/fancybox_loading.gif 2012-07-11 17:31:35 +0000 differ
2230=== added file 'media/fancybox/fancybox_sprite.png'
2231Binary files media/fancybox/fancybox_sprite.png 1970-01-01 00:00:00 +0000 and media/fancybox/fancybox_sprite.png 2012-07-11 17:31:35 +0000 differ
2232=== added directory 'media/fancybox/helpers'
2233=== added file 'media/fancybox/helpers/fancybox_buttons.png'
2234Binary files media/fancybox/helpers/fancybox_buttons.png 1970-01-01 00:00:00 +0000 and media/fancybox/helpers/fancybox_buttons.png 2012-07-11 17:31:35 +0000 differ
2235=== added file 'media/fancybox/helpers/jquery.fancybox-buttons.css'
2236--- media/fancybox/helpers/jquery.fancybox-buttons.css 1970-01-01 00:00:00 +0000
2237+++ media/fancybox/helpers/jquery.fancybox-buttons.css 2012-07-11 17:31:35 +0000
2238@@ -0,0 +1,85 @@
2239+#fancybox-buttons {
2240+ position: fixed;
2241+ left: 0;
2242+ width: 100%;
2243+ z-index: 8050;
2244+}
2245+
2246+#fancybox-buttons.top {
2247+ top: 10px;
2248+}
2249+
2250+#fancybox-buttons.bottom {
2251+ bottom: 10px;
2252+}
2253+
2254+#fancybox-buttons ul {
2255+ display: block;
2256+ width: 170px;
2257+ height: 30px;
2258+ margin: 0 auto;
2259+ padding: 0;
2260+ list-style: none;
2261+ background: #111;
2262+ -webkit-box-shadow: 0 1px 3px #000,0 0 0 1px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,255,255,.05);
2263+ -moz-box-shadow: 0 1px 3px #000,0 0 0 1px rgba(0,0,0,.7),inset 0 0 0 1px rgba(255,255,255,.05);
2264+ background: #111 -webkit-gradient(linear,0% 0%,0% 100%,from(rgba(255,255,255,.2)),color-stop(.5,rgba(255,255,255,.15)),color-stop(.5,rgba(255,255,255,.1)),to(rgba(255,255,255,.15)));
2265+ background: #111 -moz-linear-gradient(top,rgba(255,255,255,.2) 0%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.1) 50%,rgba(255,255,255,.15) 100%);
2266+ border-radius: 3px;
2267+}
2268+
2269+#fancybox-buttons ul li {
2270+ float: left;
2271+ margin: 0;
2272+ padding: 0;
2273+}
2274+
2275+#fancybox-buttons a {
2276+ display: block;
2277+ width: 30px;
2278+ height: 30px;
2279+ text-indent: -9999px;
2280+ background-image: url('fancybox_buttons.png');
2281+ background-repeat: no-repeat;
2282+ outline: none;
2283+}
2284+
2285+#fancybox-buttons a.btnPrev {
2286+ width: 32px;
2287+ background-position: 6px 0;
2288+}
2289+
2290+#fancybox-buttons a.btnNext {
2291+ background-position: -33px 0;
2292+ border-right: 1px solid #3e3e3e;
2293+}
2294+
2295+#fancybox-buttons a.btnPlay {
2296+ background-position: 0 -30px;
2297+}
2298+
2299+#fancybox-buttons a.btnPlayOn {
2300+ background-position: -30px -30px;
2301+}
2302+
2303+#fancybox-buttons a.btnToggle {
2304+ background-position: 3px -60px;
2305+ border-left: 1px solid #111;
2306+ border-right: 1px solid #3e3e3e;
2307+ width: 35px
2308+}
2309+
2310+#fancybox-buttons a.btnToggleOn {
2311+ background-position: -27px -60px;
2312+}
2313+
2314+#fancybox-buttons a.btnClose {
2315+ border-left: 1px solid #111;
2316+ width: 38px;
2317+ background-position: -57px 0px;
2318+}
2319+
2320+#fancybox-buttons a.btnDisabled {
2321+ opacity : 0.5;
2322+ cursor: default;
2323+}
2324\ No newline at end of file
2325
2326=== added file 'media/fancybox/helpers/jquery.fancybox-buttons.js'
2327--- media/fancybox/helpers/jquery.fancybox-buttons.js 1970-01-01 00:00:00 +0000
2328+++ media/fancybox/helpers/jquery.fancybox-buttons.js 2012-07-11 17:31:35 +0000
2329@@ -0,0 +1,115 @@
2330+ /*!
2331+ * Buttons helper for fancyBox
2332+ * version: 1.0.2
2333+ * @requires fancyBox v2.0 or later
2334+ *
2335+ * Usage:
2336+ * $(".fancybox").fancybox({
2337+ * buttons: {
2338+ * position : 'top'
2339+ * }
2340+ * });
2341+ *
2342+ * Options:
2343+ * tpl - HTML template
2344+ * position - 'top' or 'bottom'
2345+ *
2346+ */
2347+(function ($) {
2348+ //Shortcut for fancyBox object
2349+ var F = $.fancybox;
2350+
2351+ //Add helper object
2352+ F.helpers.buttons = {
2353+ tpl: '<div id="fancybox-buttons"><ul><li><a class="btnPrev" title="Previous" href="javascript:;"></a></li><li><a class="btnPlay" title="Start slideshow" href="javascript:;"></a></li><li><a class="btnNext" title="Next" href="javascript:;"></a></li><li><a class="btnToggle" title="Toggle size" href="javascript:;"></a></li><li><a class="btnClose" title="Close" href="javascript:jQuery.fancybox.close();"></a></li></ul></div>',
2354+ list: null,
2355+ buttons: {},
2356+
2357+ update: function () {
2358+ var toggle = this.buttons.toggle.removeClass('btnDisabled btnToggleOn');
2359+
2360+ //Size toggle button
2361+ if (F.current.canShrink) {
2362+ toggle.addClass('btnToggleOn');
2363+
2364+ } else if (!F.current.canExpand) {
2365+ toggle.addClass('btnDisabled');
2366+ }
2367+ },
2368+
2369+ beforeLoad: function (opts) {
2370+ //Remove self if gallery do not have at least two items
2371+ if (F.group.length < 2) {
2372+ F.coming.helpers.buttons = false;
2373+ F.coming.closeBtn = true;
2374+
2375+ return;
2376+ }
2377+
2378+ //Increase top margin to give space for buttons
2379+ F.coming.margin[ opts.position === 'bottom' ? 2 : 0 ] += 30;
2380+ },
2381+
2382+ onPlayStart: function () {
2383+ if (this.list) {
2384+ this.buttons.play.attr('title', 'Pause slideshow').addClass('btnPlayOn');
2385+ }
2386+ },
2387+
2388+ onPlayEnd: function () {
2389+ if (this.list) {
2390+ this.buttons.play.attr('title', 'Start slideshow').removeClass('btnPlayOn');
2391+ }
2392+ },
2393+
2394+ afterShow: function (opts) {
2395+ var buttons;
2396+
2397+ if (!this.list) {
2398+ this.list = $(opts.tpl || this.tpl).addClass(opts.position || 'top').appendTo('body');
2399+
2400+ this.buttons = {
2401+ prev : this.list.find('.btnPrev').click( F.prev ),
2402+ next : this.list.find('.btnNext').click( F.next ),
2403+ play : this.list.find('.btnPlay').click( F.play ),
2404+ toggle : this.list.find('.btnToggle').click( F.toggle )
2405+ }
2406+ }
2407+
2408+ buttons = this.buttons;
2409+
2410+ //Prev
2411+ if (F.current.index > 0 || F.current.loop) {
2412+ buttons.prev.removeClass('btnDisabled');
2413+ } else {
2414+ buttons.prev.addClass('btnDisabled');
2415+ }
2416+
2417+ //Next / Play
2418+ if (F.current.loop || F.current.index < F.group.length - 1) {
2419+ buttons.next.removeClass('btnDisabled');
2420+ buttons.play.removeClass('btnDisabled');
2421+
2422+ } else {
2423+ buttons.next.addClass('btnDisabled');
2424+ buttons.play.addClass('btnDisabled');
2425+ }
2426+
2427+ this.update();
2428+ },
2429+
2430+ onUpdate: function () {
2431+ this.update();
2432+ },
2433+
2434+ beforeClose: function () {
2435+ if (this.list) {
2436+ this.list.remove();
2437+ }
2438+
2439+ this.list = null;
2440+ this.buttons = {};
2441+ }
2442+ };
2443+
2444+}(jQuery));
2445\ No newline at end of file
2446
2447=== added file 'media/fancybox/helpers/jquery.fancybox-media.js'
2448--- media/fancybox/helpers/jquery.fancybox-media.js 1970-01-01 00:00:00 +0000
2449+++ media/fancybox/helpers/jquery.fancybox-media.js 2012-07-11 17:31:35 +0000
2450@@ -0,0 +1,85 @@
2451+ /*!
2452+ * Media helper for fancyBox
2453+ * version: 1.0.0
2454+ * @requires fancyBox v2.0 or later
2455+ *
2456+ * Usage:
2457+ * $(".fancybox").fancybox({
2458+ * media: {}
2459+ * });
2460+ *
2461+ * Supports:
2462+ * Youtube
2463+ * http://www.youtube.com/watch?v=opj24KnzrWo
2464+ * http://youtu.be/opj24KnzrWo
2465+ * Vimeo
2466+ * http://vimeo.com/25634903
2467+ * Metacafe
2468+ * http://www.metacafe.com/watch/7635964/dr_seuss_the_lorax_movie_trailer/
2469+ * http://www.metacafe.com/watch/7635964/
2470+ * Dailymotion
2471+ * http://www.dailymotion.com/video/xoytqh_dr-seuss-the-lorax-premiere_people
2472+ * Twitvid
2473+ * http://twitvid.com/QY7MD
2474+ * Twitpic
2475+ * http://twitpic.com/7p93st
2476+ * Instagram
2477+ * http://instagr.am/p/IejkuUGxQn/
2478+ * http://instagram.com/p/IejkuUGxQn/
2479+ * Google maps
2480+ * http://maps.google.com/maps?q=Eiffel+Tower,+Avenue+Gustave+Eiffel,+Paris,+France&t=h&z=17
2481+ * http://maps.google.com/?ll=48.857995,2.294297&spn=0.007666,0.021136&t=m&z=16
2482+ * http://maps.google.com/?ll=48.859463,2.292626&spn=0.000965,0.002642&t=m&z=19&layer=c&cbll=48.859524,2.292532&panoid=YJ0lq28OOy3VT2IqIuVY0g&cbp=12,151.58,,0,-15.56
2483+ */
2484+(function ($) {
2485+ //Shortcut for fancyBox object
2486+ var F = $.fancybox;
2487+
2488+ //Add helper object
2489+ F.helpers.media = {
2490+ beforeLoad : function(opts, obj) {
2491+ var href = obj.href || '',
2492+ type = false,
2493+ rez;
2494+
2495+ if ((rez = href.match(/(youtube\.com|youtu\.be)\/(v\/|u\/|embed\/|watch\?v=)?([^#\&\?]*).*/i))) {
2496+ href = '//www.youtube.com/embed/' + rez[3] + '?autoplay=1&autohide=1&fs=1&rel=0&enablejsapi=1';
2497+ type = 'iframe';
2498+
2499+ } else if ((rez = href.match(/vimeo.com\/(\d+)\/?(.*)/))) {
2500+ href = '//player.vimeo.com/video/' + rez[1] + '?hd=1&autoplay=1&show_title=1&show_byline=1&show_portrait=0&color=&fullscreen=1';
2501+ type = 'iframe';
2502+
2503+ } else if ((rez = href.match(/metacafe.com\/watch\/(\d+)\/?(.*)/))) {
2504+ href = '//www.metacafe.com/fplayer/' + rez[1] + '/.swf?playerVars=autoPlay=yes';
2505+ type = 'swf';
2506+
2507+ } else if ((rez = href.match(/dailymotion.com\/video\/(.*)\/?(.*)/))) {
2508+ href = '//www.dailymotion.com/swf/video/' + rez[1] + '?additionalInfos=0&autoStart=1';
2509+ type = 'swf';
2510+
2511+ } else if ((rez = href.match(/twitvid\.com\/([a-zA-Z0-9_\-\?\=]+)/i))) {
2512+ href = '//www.twitvid.com/embed.php?autoplay=0&guid=' + rez[1];
2513+ type = 'iframe';
2514+
2515+ } else if ((rez = href.match(/twitpic\.com\/(?!(?:place|photos|events)\/)([a-zA-Z0-9\?\=\-]+)/i))) {
2516+ href = '//twitpic.com/show/full/' + rez[1];
2517+ type = 'image';
2518+
2519+ } else if ((rez = href.match(/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i))) {
2520+ href = '//' + rez[1] + '/p/' + rez[2] + '/media/?size=l';
2521+ type = 'image';
2522+
2523+ } else if ((rez = href.match(/maps\.google\.com\/(\?ll=|maps\/?\?q=)(.*)/i))) {
2524+ href = '//maps.google.com/' + rez[1] + '' + rez[2] + '&output=' + (rez[2].indexOf('layer=c') ? 'svembed' : 'embed');
2525+ type = 'iframe';
2526+ }
2527+
2528+ if (type) {
2529+ obj.href = href;
2530+ obj.type = type;
2531+ }
2532+ }
2533+ }
2534+
2535+}(jQuery));
2536\ No newline at end of file
2537
2538=== added file 'media/fancybox/helpers/jquery.fancybox-thumbs.css'
2539--- media/fancybox/helpers/jquery.fancybox-thumbs.css 1970-01-01 00:00:00 +0000
2540+++ media/fancybox/helpers/jquery.fancybox-thumbs.css 2012-07-11 17:31:35 +0000
2541@@ -0,0 +1,54 @@
2542+#fancybox-thumbs {
2543+ position: fixed;
2544+ left: 0;
2545+ width: 100%;
2546+ overflow: hidden;
2547+ z-index: 8050;
2548+}
2549+
2550+#fancybox-thumbs.bottom {
2551+ bottom: 2px;
2552+}
2553+
2554+#fancybox-thumbs.top {
2555+ top: 2px;
2556+}
2557+
2558+#fancybox-thumbs ul {
2559+ position: relative;
2560+ list-style: none;
2561+ margin: 0;
2562+ padding: 0;
2563+}
2564+
2565+#fancybox-thumbs ul li {
2566+ float: left;
2567+ padding: 1px;
2568+ opacity: 0.5;
2569+}
2570+
2571+#fancybox-thumbs ul li.active {
2572+ opacity: 0.75;
2573+ padding: 0;
2574+ border: 1px solid #fff;
2575+}
2576+
2577+#fancybox-thumbs ul li:hover {
2578+ opacity: 1;
2579+}
2580+
2581+#fancybox-thumbs ul li a {
2582+ display: block;
2583+ position: relative;
2584+ overflow: hidden;
2585+ border: 1px solid #222;
2586+ background: #111;
2587+ outline: none;
2588+}
2589+
2590+#fancybox-thumbs ul li img {
2591+ display: block;
2592+ position: relative;
2593+ border: 0;
2594+ padding: 0;
2595+}
2596\ No newline at end of file
2597
2598=== added file 'media/fancybox/helpers/jquery.fancybox-thumbs.js'
2599--- media/fancybox/helpers/jquery.fancybox-thumbs.js 1970-01-01 00:00:00 +0000
2600+++ media/fancybox/helpers/jquery.fancybox-thumbs.js 2012-07-11 17:31:35 +0000
2601@@ -0,0 +1,157 @@
2602+ /*!
2603+ * Thumbnail helper for fancyBox
2604+ * version: 1.0.4
2605+ * @requires fancyBox v2.0 or later
2606+ *
2607+ * Usage:
2608+ * $(".fancybox").fancybox({
2609+ * thumbs: {
2610+ * width : 50,
2611+ * height : 50
2612+ * }
2613+ * });
2614+ *
2615+ * Options:
2616+ * width - thumbnail width
2617+ * height - thumbnail height
2618+ * source - function to obtain the URL of the thumbnail image
2619+ * position - 'top' or 'bottom'
2620+ *
2621+ */
2622+(function ($) {
2623+ //Shortcut for fancyBox object
2624+ var F = $.fancybox;
2625+
2626+ //Add helper object
2627+ F.helpers.thumbs = {
2628+ wrap: null,
2629+ list: null,
2630+ width: 0,
2631+
2632+ //Default function to obtain the URL of the thumbnail image
2633+ source: function (el) {
2634+ var img;
2635+
2636+ if ($.type(el) === 'string') {
2637+ return el;
2638+ }
2639+
2640+ img = $(el).find('img');
2641+
2642+ return img.length ? img.attr('src') : el.href;
2643+ },
2644+
2645+ init: function (opts) {
2646+ var that = this,
2647+ list,
2648+ thumbWidth = opts.width || 50,
2649+ thumbHeight = opts.height || 50,
2650+ thumbSource = opts.source || this.source;
2651+
2652+ //Build list structure
2653+ list = '';
2654+
2655+ for (var n = 0; n < F.group.length; n++) {
2656+ list += '<li><a style="width:' + thumbWidth + 'px;height:' + thumbHeight + 'px;" href="javascript:jQuery.fancybox.jumpto(' + n + ');"></a></li>';
2657+ }
2658+
2659+ this.wrap = $('<div id="fancybox-thumbs"></div>').addClass(opts.position || 'bottom').appendTo('body');
2660+ this.list = $('<ul>' + list + '</ul>').appendTo(this.wrap);
2661+
2662+ //Load each thumbnail
2663+ $.each(F.group, function (i) {
2664+ $("<img />").load(function () {
2665+ var width = this.width,
2666+ height = this.height,
2667+ widthRatio, heightRatio, parent;
2668+
2669+ if (!that.list || !width || !height) {
2670+ return;
2671+ }
2672+
2673+ //Calculate thumbnail width/height and center it
2674+ widthRatio = width / thumbWidth;
2675+ heightRatio = height / thumbHeight;
2676+ parent = that.list.children().eq(i).find('a');
2677+
2678+ if (widthRatio >= 1 && heightRatio >= 1) {
2679+ if (widthRatio > heightRatio) {
2680+ width = Math.floor(width / heightRatio);
2681+ height = thumbHeight;
2682+
2683+ } else {
2684+ width = thumbWidth;
2685+ height = Math.floor(height / widthRatio);
2686+ }
2687+ }
2688+
2689+ $(this).css({
2690+ width: width,
2691+ height: height,
2692+ top: Math.floor(thumbHeight / 2 - height / 2),
2693+ left: Math.floor(thumbWidth / 2 - width / 2)
2694+ });
2695+
2696+ parent.width(thumbWidth).height(thumbHeight);
2697+
2698+ $(this).hide().appendTo(parent).fadeIn(300);
2699+
2700+ }).attr('src', thumbSource( F.group[ i ] ));
2701+ });
2702+
2703+ //Set initial width
2704+ this.width = this.list.children().eq(0).outerWidth(true);
2705+
2706+ this.list.width(this.width * (F.group.length + 1)).css('left', Math.floor($(window).width() * 0.5 - (F.current.index * this.width + this.width * 0.5)));
2707+ },
2708+
2709+ //Center list
2710+ update: function (opts) {
2711+ if (this.list) {
2712+ this.list.stop(true).animate({
2713+ 'left': Math.floor($(window).width() * 0.5 - (F.current.index * this.width + this.width * 0.5))
2714+ }, 150);
2715+ }
2716+ },
2717+
2718+ beforeLoad: function (opts) {
2719+ //Remove self if gallery do not have at least two items
2720+ if (F.group.length < 2) {
2721+ F.coming.helpers.thumbs = false;
2722+
2723+ return;
2724+ }
2725+
2726+ //Increase bottom margin to give space for thumbs
2727+ F.coming.margin[ opts.position === 'top' ? 0 : 2 ] = opts.height + 30;
2728+ },
2729+
2730+ afterShow: function (opts) {
2731+ //Check if exists and create or update list
2732+ if (this.list) {
2733+ this.update(opts);
2734+
2735+ } else {
2736+ this.init(opts);
2737+ }
2738+
2739+ //Set active element
2740+ this.list.children().removeClass('active').eq(F.current.index).addClass('active');
2741+ },
2742+
2743+ onUpdate: function () {
2744+ this.update();
2745+ },
2746+
2747+ beforeClose: function () {
2748+ if (this.wrap) {
2749+ this.wrap.remove();
2750+ }
2751+
2752+ this.wrap = null;
2753+ this.list = null;
2754+ this.width = 0;
2755+ }
2756+ }
2757+
2758+}(jQuery));
2759\ No newline at end of file
2760
2761=== added file 'media/fancybox/jquery.fancybox.css'
2762--- media/fancybox/jquery.fancybox.css 1970-01-01 00:00:00 +0000
2763+++ media/fancybox/jquery.fancybox.css 2012-07-11 17:31:35 +0000
2764@@ -0,0 +1,234 @@
2765+/*! fancyBox v2.0.6 fancyapps.com | fancyapps.com/fancybox/#license */
2766+.fancybox-tmp iframe, .fancybox-tmp object {
2767+ vertical-align: top;
2768+ padding: 0;
2769+ margin: 0;
2770+}
2771+
2772+.fancybox-wrap {
2773+ position: absolute;
2774+ top: 0;
2775+ left: 0;
2776+ z-index: 8020;
2777+}
2778+
2779+.fancybox-skin {
2780+ position: relative;
2781+ padding: 0;
2782+ margin: 0;
2783+ background: #f9f9f9;
2784+ color: #444;
2785+ text-shadow: none;
2786+ -webkit-border-radius: 4px;
2787+ -moz-border-radius: 4px;
2788+ border-radius: 4px;
2789+}
2790+
2791+.fancybox-opened {
2792+ z-index: 8030;
2793+}
2794+
2795+.fancybox-opened .fancybox-skin {
2796+ -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
2797+ -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
2798+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
2799+}
2800+
2801+.fancybox-outer, .fancybox-inner {
2802+ padding: 0;
2803+ margin: 0;
2804+ position: relative;
2805+ outline: none;
2806+}
2807+
2808+.fancybox-inner {
2809+ overflow: hidden;
2810+}
2811+
2812+.fancybox-type-iframe .fancybox-inner {
2813+ -webkit-overflow-scrolling: touch;
2814+}
2815+
2816+.fancybox-error {
2817+ color: #444;
2818+ font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
2819+ margin: 0;
2820+ padding: 10px;
2821+}
2822+
2823+.fancybox-image, .fancybox-iframe {
2824+ display: block;
2825+ width: 100%;
2826+ height: 100%;
2827+ border: 0;
2828+ padding: 0;
2829+ margin: 0;
2830+ vertical-align: top;
2831+}
2832+
2833+.fancybox-image {
2834+ max-width: 100%;
2835+ max-height: 100%;
2836+}
2837+
2838+#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
2839+ background-image: url('fancybox_sprite.png');
2840+}
2841+
2842+#fancybox-loading {
2843+ position: fixed;
2844+ top: 50%;
2845+ left: 50%;
2846+ margin-top: -22px;
2847+ margin-left: -22px;
2848+ background-position: 0 -108px;
2849+ opacity: 0.8;
2850+ cursor: pointer;
2851+ z-index: 8020;
2852+}
2853+
2854+#fancybox-loading div {
2855+ width: 44px;
2856+ height: 44px;
2857+ background: url('fancybox_loading.gif') center center no-repeat;
2858+}
2859+
2860+.fancybox-close {
2861+ position: absolute;
2862+ top: -18px;
2863+ right: -18px;
2864+ width: 36px;
2865+ height: 36px;
2866+ cursor: pointer;
2867+ z-index: 8040;
2868+}
2869+
2870+.fancybox-nav {
2871+ position: absolute;
2872+ top: 0;
2873+ width: 40%;
2874+ height: 100%;
2875+ cursor: pointer;
2876+ background: transparent url('blank.gif'); /* helps IE */
2877+ -webkit-tap-highlight-color: rgba(0,0,0,0);
2878+ z-index: 8040;
2879+}
2880+
2881+.fancybox-prev {
2882+ left: 0;
2883+}
2884+
2885+.fancybox-next {
2886+ right: 0;
2887+}
2888+
2889+.fancybox-nav span {
2890+ position: absolute;
2891+ top: 50%;
2892+ width: 36px;
2893+ height: 34px;
2894+ margin-top: -18px;
2895+ cursor: pointer;
2896+ z-index: 8040;
2897+ visibility: hidden;
2898+}
2899+
2900+.fancybox-prev span {
2901+ left: 20px;
2902+ background-position: 0 -36px;
2903+}
2904+
2905+.fancybox-next span {
2906+ right: 20px;
2907+ background-position: 0 -72px;
2908+}
2909+
2910+.fancybox-nav:hover span {
2911+ visibility: visible;
2912+}
2913+
2914+.fancybox-tmp {
2915+ position: absolute;
2916+ top: -9999px;
2917+ left: -9999px;
2918+ padding: 0;
2919+ overflow: visible;
2920+ visibility: hidden;
2921+}
2922+
2923+/* Overlay helper */
2924+
2925+#fancybox-overlay {
2926+ position: absolute;
2927+ top: 0;
2928+ left: 0;
2929+ overflow: hidden;
2930+ display: none;
2931+ z-index: 8010;
2932+ background: #000;
2933+}
2934+
2935+#fancybox-overlay.overlay-fixed {
2936+ position: fixed;
2937+ bottom: 0;
2938+ right: 0;
2939+}
2940+
2941+/* Title helper */
2942+
2943+.fancybox-title {
2944+ visibility: hidden;
2945+ font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
2946+ position: relative;
2947+ text-shadow: none;
2948+ z-index: 8050;
2949+}
2950+
2951+.fancybox-opened .fancybox-title {
2952+ visibility: visible;
2953+}
2954+
2955+.fancybox-title-float-wrap {
2956+ position: absolute;
2957+ bottom: 0;
2958+ right: 50%;
2959+ margin-bottom: -35px;
2960+ z-index: 8030;
2961+ text-align: center;
2962+}
2963+
2964+.fancybox-title-float-wrap .child {
2965+ display: inline-block;
2966+ margin-right: -100%;
2967+ padding: 2px 20px;
2968+ background: transparent; /* Fallback for web browsers that doesn't support RGBa */
2969+ background: rgba(0, 0, 0, 0.8);
2970+ -webkit-border-radius: 15px;
2971+ -moz-border-radius: 15px;
2972+ border-radius: 15px;
2973+ text-shadow: 0 1px 2px #222;
2974+ color: #FFF;
2975+ font-weight: bold;
2976+ line-height: 24px;
2977+ white-space: nowrap;
2978+}
2979+
2980+.fancybox-title-outside-wrap {
2981+ position: relative;
2982+ margin-top: 10px;
2983+ color: #fff;
2984+}
2985+
2986+.fancybox-title-inside-wrap {
2987+ margin-top: 10px;
2988+}
2989+
2990+.fancybox-title-over-wrap {
2991+ position: absolute;
2992+ bottom: 0;
2993+ left: 0;
2994+ color: #fff;
2995+ padding: 10px;
2996+ background: #000;
2997+ background: rgba(0, 0, 0, .8);
2998+}
2999\ No newline at end of file
3000
3001=== added file 'media/fancybox/jquery.fancybox.js'
3002--- media/fancybox/jquery.fancybox.js 1970-01-01 00:00:00 +0000
3003+++ media/fancybox/jquery.fancybox.js 2012-07-11 17:31:35 +0000
3004@@ -0,0 +1,1463 @@
3005+/*!
3006+ * fancyBox - jQuery Plugin
3007+ * version: 2.0.6 (16/04/2012)
3008+ * @requires jQuery v1.6 or later
3009+ *
3010+ * Examples at http://fancyapps.com/fancybox/
3011+ * License: www.fancyapps.com/fancybox/#license
3012+ *
3013+ * Copyright 2012 Janis Skarnelis - janis@fancyapps.com
3014+ *
3015+ */
3016+
3017+(function (window, document, $, undefined) {
3018+ "use strict";
3019+
3020+ var W = $(window),
3021+ D = $(document),
3022+ F = $.fancybox = function () {
3023+ F.open.apply( this, arguments );
3024+ },
3025+ didResize = false,
3026+ resizeTimer = null,
3027+ isTouch = document.createTouch !== undefined,
3028+ isString = function(str) {
3029+ return $.type(str) === "string";
3030+ },
3031+ isPercentage = function(str) {
3032+ return isString(str) && str.indexOf('%') > 0;
3033+ },
3034+ getValue = function(value, dim) {
3035+ if (dim && isPercentage(value)) {
3036+ value = F.getViewport()[ dim ] / 100 * parseInt(value, 10);
3037+ }
3038+
3039+ return Math.round(value) + 'px';
3040+ };
3041+
3042+ $.extend(F, {
3043+ // The current version of fancyBox
3044+ version: '2.0.5',
3045+
3046+ defaults: {
3047+ padding: 15,
3048+ margin: 20,
3049+
3050+ width: 800,
3051+ height: 600,
3052+ minWidth: 100,
3053+ minHeight: 100,
3054+ maxWidth: 9999,
3055+ maxHeight: 9999,
3056+
3057+ autoSize: true,
3058+ autoResize: !isTouch,
3059+ autoCenter : !isTouch,
3060+ fitToView: true,
3061+ aspectRatio: false,
3062+ topRatio: 0.5,
3063+
3064+ fixed: false,
3065+ scrolling: 'auto', // 'auto', 'yes' or 'no'
3066+ wrapCSS: '',
3067+
3068+ arrows: true,
3069+ closeBtn: true,
3070+ closeClick: false,
3071+ nextClick : false,
3072+ mouseWheel: true,
3073+ autoPlay: false,
3074+ playSpeed: 3000,
3075+ preload : 3,
3076+
3077+ modal: false,
3078+ loop: true,
3079+ ajax: { dataType: 'html', headers: { 'X-fancyBox': true } },
3080+ keys: {
3081+ next: [13, 32, 34, 39, 40], // enter, space, page down, right arrow, down arrow
3082+ prev: [8, 33, 37, 38], // backspace, page up, left arrow, up arrow
3083+ close: [27] // escape key
3084+ },
3085+
3086+ // Override some properties
3087+ index: 0,
3088+ type: null,
3089+ href: null,
3090+ content: null,
3091+ title: null,
3092+
3093+ // HTML templates
3094+ tpl: {
3095+ wrap: '<div class="fancybox-wrap"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',
3096+ image: '<img class="fancybox-image" src="{href}" alt="" />',
3097+ iframe: '<iframe class="fancybox-iframe" name="fancybox-frame{rnd}" frameborder="0" hspace="0"' + ($.browser.msie ? ' allowtransparency="true"' : '') + '></iframe>',
3098+ swf: '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="wmode" value="transparent" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{href}" /><embed src="{href}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="100%" height="100%" wmode="transparent"></embed></object>',
3099+ error: '<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',
3100+ closeBtn: '<div title="Close" class="fancybox-item fancybox-close"></div>',
3101+ next: '<a title="Next" class="fancybox-nav fancybox-next"><span></span></a>',
3102+ prev: '<a title="Previous" class="fancybox-nav fancybox-prev"><span></span></a>'
3103+ },
3104+
3105+ // Properties for each animation type
3106+ // Opening fancyBox
3107+ openEffect: 'fade', // 'elastic', 'fade' or 'none'
3108+ openSpeed: 300,
3109+ openEasing: 'swing',
3110+ openOpacity: true,
3111+ openMethod: 'zoomIn',
3112+
3113+ // Closing fancyBox
3114+ closeEffect: 'fade', // 'elastic', 'fade' or 'none'
3115+ closeSpeed: 300,
3116+ closeEasing: 'swing',
3117+ closeOpacity: true,
3118+ closeMethod: 'zoomOut',
3119+
3120+ // Changing next gallery item
3121+ nextEffect: 'elastic', // 'elastic', 'fade' or 'none'
3122+ nextSpeed: 300,
3123+ nextEasing: 'swing',
3124+ nextMethod: 'changeIn',
3125+
3126+ // Changing previous gallery item
3127+ prevEffect: 'elastic', // 'elastic', 'fade' or 'none'
3128+ prevSpeed: 300,
3129+ prevEasing: 'swing',
3130+ prevMethod: 'changeOut',
3131+
3132+ // Enabled helpers
3133+ helpers: {
3134+ overlay: {
3135+ speedIn: 0,
3136+ speedOut: 300,
3137+ opacity: 0.8,
3138+ css: {
3139+ cursor: 'pointer'
3140+ },
3141+ closeClick: true
3142+ },
3143+ title: {
3144+ type: 'float' // 'float', 'inside', 'outside' or 'over'
3145+ }
3146+ },
3147+
3148+ // Callbacks
3149+ onCancel: $.noop, // If canceling
3150+ beforeLoad: $.noop, // Before loading
3151+ afterLoad: $.noop, // After loading
3152+ beforeShow: $.noop, // Before changing in current item
3153+ afterShow: $.noop, // After opening
3154+ beforeClose: $.noop, // Before closing
3155+ afterClose: $.noop // After closing
3156+ },
3157+
3158+ //Current state
3159+ group: {}, // Selected group
3160+ opts: {}, // Group options
3161+ coming: null, // Element being loaded
3162+ current: null, // Currently loaded element
3163+ isOpen: false, // Is currently open
3164+ isOpened: false, // Have been fully opened at least once
3165+ wrap: null,
3166+ skin: null,
3167+ outer: null,
3168+ inner: null,
3169+
3170+ player: {
3171+ timer: null,
3172+ isActive: false
3173+ },
3174+
3175+ // Loaders
3176+ ajaxLoad: null,
3177+ imgPreload: null,
3178+
3179+ // Some collections
3180+ transitions: {},
3181+ helpers: {},
3182+
3183+ /*
3184+ * Static methods
3185+ */
3186+
3187+ open: function (group, opts) {
3188+ //Kill existing instances
3189+ F.close(true);
3190+
3191+ //Normalize group
3192+ if (group && !$.isArray(group)) {
3193+ group = group instanceof $ ? $(group).get() : [group];
3194+ }
3195+
3196+ F.isActive = true;
3197+
3198+ //Extend the defaults
3199+ F.opts = $.extend(true, {}, F.defaults, opts);
3200+
3201+ //All options are merged recursive except keys
3202+ if ($.isPlainObject(opts) && opts.keys !== undefined) {
3203+ F.opts.keys = opts.keys ? $.extend({}, F.defaults.keys, opts.keys) : false;
3204+ }
3205+
3206+ F.group = group;
3207+
3208+ F._start(F.opts.index || 0);
3209+ },
3210+
3211+ cancel: function () {
3212+ if (F.coming && false === F.trigger('onCancel')) {
3213+ return;
3214+ }
3215+
3216+ F.coming = null;
3217+
3218+ F.hideLoading();
3219+
3220+ if (F.ajaxLoad) {
3221+ F.ajaxLoad.abort();
3222+ }
3223+
3224+ F.ajaxLoad = null;
3225+
3226+ if (F.imgPreload) {
3227+ F.imgPreload.onload = F.imgPreload.onabort = F.imgPreload.onerror = null;
3228+ }
3229+ },
3230+
3231+ close: function (a) {
3232+ F.cancel();
3233+
3234+ if (!F.current || false === F.trigger('beforeClose')) {
3235+ return;
3236+ }
3237+
3238+ F.unbindEvents();
3239+
3240+ //If forced or is still opening then remove immediately
3241+ if (!F.isOpen || (a && a[0] === true)) {
3242+ $('.fancybox-wrap').stop().trigger('onReset').remove();
3243+
3244+ F._afterZoomOut();
3245+
3246+ } else {
3247+ F.isOpen = F.isOpened = false;
3248+
3249+ $('.fancybox-item, .fancybox-nav').remove();
3250+
3251+ F.wrap.stop(true).removeClass('fancybox-opened');
3252+ F.inner.css('overflow', 'hidden');
3253+
3254+ F.transitions[F.current.closeMethod]();
3255+ }
3256+ },
3257+
3258+ // Start/stop slideshow
3259+ play: function (a) {
3260+ var clear = function () {
3261+ clearTimeout(F.player.timer);
3262+ },
3263+ set = function () {
3264+ clear();
3265+
3266+ if (F.current && F.player.isActive) {
3267+ F.player.timer = setTimeout(F.next, F.current.playSpeed);
3268+ }
3269+ },
3270+ stop = function () {
3271+ clear();
3272+
3273+ $('body').unbind('.player');
3274+
3275+ F.player.isActive = false;
3276+
3277+ F.trigger('onPlayEnd');
3278+ },
3279+ start = function () {
3280+ if (F.current && (F.current.loop || F.current.index < F.group.length - 1)) {
3281+ F.player.isActive = true;
3282+
3283+ $('body').bind({
3284+ 'afterShow.player onUpdate.player': set,
3285+ 'onCancel.player beforeClose.player': stop,
3286+ 'beforeLoad.player': clear
3287+ });
3288+
3289+ set();
3290+
3291+ F.trigger('onPlayStart');
3292+ }
3293+ };
3294+
3295+ if (F.player.isActive || (a && a[0] === false)) {
3296+ stop();
3297+ } else {
3298+ start();
3299+ }
3300+ },
3301+
3302+ next: function () {
3303+ if (F.current) {
3304+ F.jumpto(F.current.index + 1);
3305+ }
3306+ },
3307+
3308+ prev: function () {
3309+ if (F.current) {
3310+ F.jumpto(F.current.index - 1);
3311+ }
3312+ },
3313+
3314+ jumpto: function (index) {
3315+ if (!F.current) {
3316+ return;
3317+ }
3318+
3319+ index = parseInt(index, 10);
3320+
3321+ if (F.group.length > 1 && F.current.loop) {
3322+ if (index >= F.group.length) {
3323+ index = 0;
3324+
3325+ } else if (index < 0) {
3326+ index = F.group.length - 1;
3327+ }
3328+ }
3329+
3330+ if (F.group[index] !== undefined) {
3331+ F.cancel();
3332+
3333+ F._start(index);
3334+ }
3335+ },
3336+
3337+ reposition: function (e, onlyAbsolute) {
3338+ var pos;
3339+
3340+ if (F.isOpen) {
3341+ pos = F._getPosition(onlyAbsolute);
3342+
3343+ if (e && e.type === 'scroll') {
3344+ delete pos.position;
3345+
3346+ F.wrap.stop(true, true).animate(pos, 200);
3347+
3348+ } else {
3349+ F.wrap.css(pos);
3350+ }
3351+ }
3352+ },
3353+
3354+ update: function (e) {
3355+ if (!F.isOpen) {
3356+ return;
3357+ }
3358+
3359+ // Run this code after a delay for better performance
3360+ if (!didResize) {
3361+ resizeTimer = setTimeout(function () {
3362+ var current = F.current, anyway = !e || (e && e.type === 'orientationchange');
3363+
3364+ if (didResize) {
3365+ didResize = false;
3366+
3367+ if (!current) {
3368+ return;
3369+ }
3370+
3371+ if ((!e || e.type !== 'scroll') || anyway) {
3372+ if (current.autoSize && current.type !== 'iframe') {
3373+ F.inner.height('auto');
3374+ current.height = F.inner.height();
3375+ }
3376+
3377+ if (current.autoResize || anyway) {
3378+ F._setDimension();
3379+ }
3380+
3381+ if (current.canGrow && current.type !== 'iframe') {
3382+ F.inner.height('auto');
3383+ }
3384+ }
3385+
3386+ if (current.autoCenter || anyway) {
3387+ F.reposition(e);
3388+ }
3389+
3390+ F.trigger('onUpdate');
3391+ }
3392+ }, 200);
3393+ }
3394+
3395+ didResize = true;
3396+ },
3397+
3398+ toggle: function () {
3399+ if (F.isOpen) {
3400+ F.current.fitToView = !F.current.fitToView;
3401+
3402+ F.update();
3403+ }
3404+ },
3405+
3406+ hideLoading: function () {
3407+ D.unbind('keypress.fb');
3408+
3409+ $('#fancybox-loading').remove();
3410+ },
3411+
3412+ showLoading: function () {
3413+ F.hideLoading();
3414+
3415+ //If user will press the escape-button, the request will be canceled
3416+ D.bind('keypress.fb', function(e) {
3417+ if (e.keyCode === 27) {
3418+ e.preventDefault();
3419+ F.cancel();
3420+ }
3421+ });
3422+
3423+ $('<div id="fancybox-loading"><div></div></div>').click(F.cancel).appendTo('body');
3424+ },
3425+
3426+ getViewport: function () {
3427+ // See http://bugs.jquery.com/ticket/6724
3428+ return {
3429+ x: W.scrollLeft(),
3430+ y: W.scrollTop(),
3431+ w: isTouch && window.innerWidth ? window.innerWidth : W.width(),
3432+ h: isTouch && window.innerHeight ? window.innerHeight : W.height()
3433+ };
3434+ },
3435+
3436+ // Unbind the keyboard / clicking actions
3437+ unbindEvents: function () {
3438+ if (F.wrap) {
3439+ F.wrap.unbind('.fb');
3440+ }
3441+
3442+ D.unbind('.fb');
3443+ W.unbind('.fb');
3444+ },
3445+
3446+ bindEvents: function () {
3447+ var current = F.current,
3448+ keys = current.keys;
3449+
3450+ if (!current) {
3451+ return;
3452+ }
3453+
3454+ W.bind('resize.fb orientationchange.fb' + (current.autoCenter && !current.fixed ? ' scroll.fb' : ''), F.update);
3455+
3456+ if (keys) {
3457+ D.bind('keydown.fb', function (e) {
3458+ var code, target = e.target || e.srcElement;
3459+
3460+ // Ignore key combinations and key events within form elements
3461+ if (!e.ctrlKey && !e.altKey && !e.shiftKey && !e.metaKey && !(target && (target.type || $(target).is('[contenteditable]')))) {
3462+ code = e.keyCode;
3463+
3464+ if ($.inArray(code, keys.close) > -1) {
3465+ F.close();
3466+ e.preventDefault();
3467+
3468+ } else if ($.inArray(code, keys.next) > -1) {
3469+ F.next();
3470+ e.preventDefault();
3471+
3472+ } else if ($.inArray(code, keys.prev) > -1) {
3473+ F.prev();
3474+ e.preventDefault();
3475+ }
3476+ }
3477+ });
3478+ }
3479+
3480+ if ($.fn.mousewheel && current.mouseWheel && F.group.length > 1) {
3481+ F.wrap.bind('mousewheel.fb', function (e, delta) {
3482+ var target = e.target || null;
3483+
3484+ if (delta !== 0 && (!target || target.clientHeight === 0 || (target.scrollHeight === target.clientHeight && target.scrollWidth === target.clientWidth))) {
3485+ e.preventDefault();
3486+
3487+ F[delta > 0 ? 'prev' : 'next']();
3488+ }
3489+ });
3490+ }
3491+ },
3492+
3493+ trigger: function (event, o) {
3494+ var ret, obj = o || F[ $.inArray(event, ['onCancel', 'beforeLoad', 'afterLoad']) > -1 ? 'coming' : 'current' ];
3495+
3496+ if (!obj) {
3497+ return;
3498+ }
3499+
3500+ if ($.isFunction( obj[event] )) {
3501+ ret = obj[event].apply(obj, Array.prototype.slice.call(arguments, 1));
3502+ }
3503+
3504+ if (ret === false) {
3505+ return false;
3506+ }
3507+
3508+ if (obj.helpers) {
3509+ $.each(obj.helpers, function (helper, opts) {
3510+ if (opts && $.isPlainObject(F.helpers[helper]) && $.isFunction(F.helpers[helper][event])) {
3511+ F.helpers[helper][event](opts, obj);
3512+ }
3513+ });
3514+ }
3515+
3516+ $.event.trigger(event + '.fb');
3517+ },
3518+
3519+ isImage: function (str) {
3520+ return isString(str) && str.match(/\.(jpe?g|gif|png|bmp)((\?|#).*)?$/i);
3521+ },
3522+
3523+ isSWF: function (str) {
3524+ return isString(str) && str.match(/\.(swf)((\?|#).*)?$/i);
3525+ },
3526+
3527+ _start: function (index) {
3528+ var coming = {},
3529+ element = F.group[index] || null,
3530+ isDom,
3531+ href,
3532+ type,
3533+ rez,
3534+ hrefParts;
3535+
3536+ if (element && (element.nodeType || element instanceof $)) {
3537+ isDom = true;
3538+
3539+ if ($.metadata) {
3540+ coming = $(element).metadata();
3541+ }
3542+ }
3543+
3544+ coming = $.extend(true, {}, F.opts, {index : index, element : element}, ($.isPlainObject(element) ? element : coming));
3545+
3546+ // Re-check overridable options
3547+ $.each(['href', 'title', 'content', 'type'], function(i,v) {
3548+ coming[v] = F.opts[ v ] || (isDom && $(element).attr( v )) || coming[ v ] || null;
3549+ });
3550+
3551+ // Convert margin property to array - top, right, bottom, left
3552+ if (typeof coming.margin === 'number') {
3553+ coming.margin = [coming.margin, coming.margin, coming.margin, coming.margin];
3554+ }
3555+
3556+ // 'modal' propery is just a shortcut
3557+ if (coming.modal) {
3558+ $.extend(true, coming, {
3559+ closeBtn : false,
3560+ closeClick: false,
3561+ nextClick : false,
3562+ arrows : false,
3563+ mouseWheel : false,
3564+ keys : null,
3565+ helpers: {
3566+ overlay : {
3567+ css: {
3568+ cursor : 'auto'
3569+ },
3570+ closeClick : false
3571+ }
3572+ }
3573+ });
3574+ }
3575+
3576+ //Give a chance for callback or helpers to update coming item (type, title, etc)
3577+ F.coming = coming;
3578+
3579+ if (false === F.trigger('beforeLoad')) {
3580+ F.coming = null;
3581+ return;
3582+ }
3583+
3584+ type = coming.type;
3585+ href = coming.href || element;
3586+
3587+ ///Check if content type is set, if not, try to get
3588+ if (!type) {
3589+ if (isDom) {
3590+ type = $(element).data('fancybox-type');
3591+
3592+ if (!type) {
3593+ rez = element.className.match(/fancybox\.(\w+)/);
3594+ type = rez ? rez[1] : null;
3595+ }
3596+ }
3597+
3598+ if (!type && isString(href)) {
3599+ if (F.isImage(href)) {
3600+ type = 'image';
3601+
3602+ } else if (F.isSWF(href)) {
3603+ type = 'swf';
3604+
3605+ } else if (href.match(/^#/)) {
3606+ type = 'inline';
3607+ }
3608+ }
3609+
3610+ // ...if not - display element itself
3611+ if (!type) {
3612+ type = isDom ? 'inline' : 'html';
3613+ }
3614+
3615+ coming.type = type;
3616+ }
3617+
3618+ // Check before try to load; 'inline' and 'html' types need content, others - href
3619+ if (type === 'inline' || type === 'html') {
3620+ if (!coming.content) {
3621+ if (type === 'inline') {
3622+ coming.content = $( isString(href) ? href.replace(/.*(?=#[^\s]+$)/, '') : href ); //strip for ie7
3623+
3624+ } else {
3625+ coming.content = element;
3626+ }
3627+ }
3628+
3629+ if (!coming.content || !coming.content.length) {
3630+ type = null;
3631+ }
3632+
3633+ } else if (!href) {
3634+ type = null;
3635+ }
3636+
3637+ /*
3638+ * Add reference to the group, so it`s possible to access from callbacks, example:
3639+ * afterLoad : function() {
3640+ * this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
3641+ * }
3642+ */
3643+
3644+ if (type === 'ajax' && isString(href)) {
3645+ hrefParts = href.split(/\s+/, 2);
3646+
3647+ href = hrefParts.shift();
3648+ coming.selector = hrefParts.shift();
3649+ }
3650+
3651+ coming.href = href;
3652+ coming.group = F.group;
3653+ coming.isDom = isDom;
3654+
3655+ switch (type) {
3656+ case 'image':
3657+ F._loadImage();
3658+ break;
3659+
3660+ case 'ajax':
3661+ F._loadAjax();
3662+ break;
3663+
3664+ case 'inline':
3665+ case 'iframe':
3666+ case 'swf':
3667+ case 'html':
3668+ F._afterLoad();
3669+ break;
3670+
3671+ default:
3672+ F._error( 'type' );
3673+ }
3674+ },
3675+
3676+ _error: function ( type ) {
3677+ F.hideLoading();
3678+
3679+ $.extend(F.coming, {
3680+ type : 'html',
3681+ autoSize : true,
3682+ minWidth : 0,
3683+ minHeight : 0,
3684+ padding : 15,
3685+ hasError : type,
3686+ content : F.coming.tpl.error
3687+ });
3688+
3689+ F._afterLoad();
3690+ },
3691+
3692+ _loadImage: function () {
3693+ // Reset preload image so it is later possible to check "complete" property
3694+ var img = F.imgPreload = new Image();
3695+
3696+ img.onload = function () {
3697+ this.onload = this.onerror = null;
3698+
3699+ F.coming.width = this.width;
3700+ F.coming.height = this.height;
3701+
3702+ F._afterLoad();
3703+ };
3704+
3705+ img.onerror = function () {
3706+ this.onload = this.onerror = null;
3707+
3708+ F._error( 'image' );
3709+ };
3710+
3711+ img.src = F.coming.href;
3712+
3713+ if (img.complete === undefined || !img.complete) {
3714+ F.showLoading();
3715+ }
3716+ },
3717+
3718+ _loadAjax: function () {
3719+ F.showLoading();
3720+
3721+ F.ajaxLoad = $.ajax($.extend({}, F.coming.ajax, {
3722+ url: F.coming.href,
3723+ error: function (jqXHR, textStatus) {
3724+ if (F.coming && textStatus !== 'abort') {
3725+ F._error( 'ajax', jqXHR );
3726+
3727+ } else {
3728+ F.hideLoading();
3729+ }
3730+ },
3731+ success: function (data, textStatus) {
3732+ if (textStatus === 'success') {
3733+ F.coming.content = data;
3734+
3735+ F._afterLoad();
3736+ }
3737+ }
3738+ }));
3739+ },
3740+
3741+ _preloadImages: function() {
3742+ var group = F.group,
3743+ current = F.current,
3744+ len = group.length,
3745+ item,
3746+ href,
3747+ i,
3748+ cnt = Math.min(current.preload, len - 1);
3749+
3750+ if (!current.preload || group.length < 2) {
3751+ return;
3752+ }
3753+
3754+ for (i = 1; i <= cnt; i += 1) {
3755+ item = group[ (current.index + i ) % len ];
3756+ href = item.href || $( item ).attr('href') || item;
3757+
3758+ if (item.type === 'image' || F.isImage(href)) {
3759+ new Image().src = href;
3760+ }
3761+ }
3762+ },
3763+
3764+ _afterLoad: function () {
3765+ F.hideLoading();
3766+
3767+ if (!F.coming || false === F.trigger('afterLoad', F.current)) {
3768+ F.coming = false;
3769+
3770+ return;
3771+ }
3772+
3773+ if (F.isOpened) {
3774+ $('.fancybox-item, .fancybox-nav').remove();
3775+
3776+ F.wrap.stop(true).removeClass('fancybox-opened');
3777+ F.inner.css('overflow', 'hidden');
3778+
3779+ F.transitions[F.current.prevMethod]();
3780+
3781+ } else {
3782+ $('.fancybox-wrap').stop().trigger('onReset').remove();
3783+
3784+ F.trigger('afterClose');
3785+ }
3786+
3787+ F.unbindEvents();
3788+
3789+ F.isOpen = false;
3790+ F.current = F.coming;
3791+
3792+ //Build the neccessary markup
3793+ F.wrap = $(F.current.tpl.wrap).addClass('fancybox-' + (isTouch ? 'mobile' : 'desktop') + ' fancybox-type-' + F.current.type + ' fancybox-tmp ' + F.current.wrapCSS).appendTo('body');
3794+ F.skin = $('.fancybox-skin', F.wrap).css('padding', getValue(F.current.padding));
3795+ F.outer = $('.fancybox-outer', F.wrap);
3796+ F.inner = $('.fancybox-inner', F.wrap);
3797+
3798+ F._setContent();
3799+ },
3800+
3801+ _setContent: function () {
3802+ var current = F.current,
3803+ content = current.content,
3804+ type = current.type,
3805+ minWidth = current.minWidth,
3806+ minHeight = current.minHeight,
3807+ maxWidth = current.maxWidth,
3808+ maxHeight = current.maxHeight,
3809+ loadingBay;
3810+
3811+ switch (type) {
3812+ case 'inline':
3813+ case 'ajax':
3814+ case 'html':
3815+ if (current.selector) {
3816+ content = $('<div>').html(content).find(current.selector);
3817+
3818+ } else if (content instanceof $) {
3819+ if (content.parent().hasClass('fancybox-inner')) {
3820+ content.parents('.fancybox-wrap').unbind('onReset');
3821+ }
3822+
3823+ content = content.show().detach();
3824+
3825+ $(F.wrap).bind('onReset', function () {
3826+ content.appendTo('body').hide();
3827+ });
3828+ }
3829+
3830+ if (current.autoSize) {
3831+ loadingBay = $('<div class="fancybox-wrap ' + F.current.wrapCSS + ' fancybox-tmp"></div>')
3832+ .appendTo('body')
3833+ .css({
3834+ minWidth : getValue(minWidth, 'w'),
3835+ minHeight : getValue(minHeight, 'h'),
3836+ maxWidth : getValue(maxWidth, 'w'),
3837+ maxHeight : getValue(maxHeight, 'h')
3838+ })
3839+ .append(content);
3840+
3841+ current.width = loadingBay.width();
3842+ current.height = loadingBay.height();
3843+
3844+ // Re-check to fix 1px bug in some browsers
3845+ loadingBay.width( F.current.width );
3846+
3847+ if (loadingBay.height() > current.height) {
3848+ loadingBay.width(current.width + 1);
3849+
3850+ current.width = loadingBay.width();
3851+ current.height = loadingBay.height();
3852+ }
3853+
3854+ content = loadingBay.contents().detach();
3855+
3856+ loadingBay.remove();
3857+ }
3858+
3859+ break;
3860+
3861+ case 'image':
3862+ content = current.tpl.image.replace('{href}', current.href);
3863+
3864+ current.aspectRatio = true;
3865+ break;
3866+
3867+ case 'swf':
3868+ content = current.tpl.swf.replace(/\{width\}/g, current.width).replace(/\{height\}/g, current.height).replace(/\{href\}/g, current.href);
3869+ break;
3870+
3871+ case 'iframe':
3872+ content = $(current.tpl.iframe.replace('{rnd}', new Date().getTime()) )
3873+ .attr('scrolling', current.scrolling)
3874+ .attr('src', current.href);
3875+
3876+ current.scrolling = isTouch ? 'scroll' : 'auto';
3877+
3878+ break;
3879+ }
3880+
3881+ if (type === 'image' || type === 'swf') {
3882+ current.autoSize = false;
3883+ current.scrolling = 'visible';
3884+ }
3885+
3886+ if (type === 'iframe' && current.autoSize) {
3887+ F.showLoading();
3888+
3889+ F._setDimension();
3890+
3891+ F.inner.css('overflow', current.scrolling);
3892+
3893+ content.bind({
3894+ onCancel : function() {
3895+ $(this).unbind();
3896+
3897+ F._afterZoomOut();
3898+ },
3899+ load : function() {
3900+ F.hideLoading();
3901+
3902+ try {
3903+ if (this.contentWindow.document.location) {
3904+ F.current.height = $(this).contents().find('body').height();
3905+ }
3906+ } catch (e) {
3907+ F.current.autoSize = false;
3908+ }
3909+
3910+ F[ F.isOpen ? '_afterZoomIn' : '_beforeShow']();
3911+ }
3912+ }).appendTo(F.inner);
3913+
3914+ } else {
3915+ F.inner.append(content);
3916+
3917+ F._beforeShow();
3918+ }
3919+ },
3920+
3921+ _beforeShow : function() {
3922+ F.coming = null;
3923+
3924+ //Give a chance for helpers or callbacks to update elements
3925+ F.trigger('beforeShow');
3926+
3927+ //Set initial dimensions and hide
3928+ F._setDimension();
3929+ F.wrap.hide().removeClass('fancybox-tmp');
3930+
3931+ F.bindEvents();
3932+
3933+ F._preloadImages();
3934+
3935+ F.transitions[ F.isOpened ? F.current.nextMethod : F.current.openMethod ]();
3936+ },
3937+
3938+ _setDimension: function () {
3939+ var wrap = F.wrap,
3940+ inner = F.inner,
3941+ current = F.current,
3942+ viewport = F.getViewport(),
3943+ margin = current.margin,
3944+ padding2 = current.padding * 2,
3945+ width = current.width,
3946+ height = current.height,
3947+ maxWidth = current.maxWidth + padding2,
3948+ maxHeight = current.maxHeight + padding2,
3949+ minWidth = current.minWidth + padding2,
3950+ minHeight = current.minHeight + padding2,
3951+ ratio,
3952+ height_;
3953+
3954+ viewport.w -= (margin[1] + margin[3]);
3955+ viewport.h -= (margin[0] + margin[2]);
3956+
3957+ if (isPercentage(width)) {
3958+ width = (((viewport.w - padding2) * parseFloat(width)) / 100);
3959+ }
3960+
3961+ if (isPercentage(height)) {
3962+ height = (((viewport.h - padding2) * parseFloat(height)) / 100);
3963+ }
3964+
3965+ ratio = width / height;
3966+ width += padding2;
3967+ height += padding2;
3968+
3969+ if (current.fitToView) {
3970+ maxWidth = Math.min(viewport.w, maxWidth);
3971+ maxHeight = Math.min(viewport.h, maxHeight);
3972+ }
3973+
3974+ if (current.aspectRatio) {
3975+ if (width > maxWidth) {
3976+ width = maxWidth;
3977+ height = ((width - padding2) / ratio) + padding2;
3978+ }
3979+
3980+ if (height > maxHeight) {
3981+ height = maxHeight;
3982+ width = ((height - padding2) * ratio) + padding2;
3983+ }
3984+
3985+ if (width < minWidth) {
3986+ width = minWidth;
3987+ height = ((width - padding2) / ratio) + padding2;
3988+ }
3989+
3990+ if (height < minHeight) {
3991+ height = minHeight;
3992+ width = ((height - padding2) * ratio) + padding2;
3993+ }
3994+
3995+ } else {
3996+ width = Math.max(minWidth, Math.min(width, maxWidth));
3997+ height = Math.max(minHeight, Math.min(height, maxHeight));
3998+ }
3999+
4000+ width = Math.round(width);
4001+ height = Math.round(height);
4002+
4003+ //Reset dimensions
4004+ $(wrap.add(inner)).width('auto').height('auto');
4005+
4006+ inner.width(width - padding2).height(height - padding2);
4007+ wrap.width(width);
4008+
4009+ height_ = wrap.height(); // Real wrap height
4010+
4011+ //Fit wrapper inside
4012+ if (width > maxWidth || height_ > maxHeight) {
4013+ while ((width > maxWidth || height_ > maxHeight) && width > minWidth && height_ > minHeight) {
4014+ height = height - 10;
4015+
4016+ if (current.aspectRatio) {
4017+ width = Math.round(((height - padding2) * ratio) + padding2);
4018+
4019+ if (width < minWidth) {
4020+ width = minWidth;
4021+ height = ((width - padding2) / ratio) + padding2;
4022+ }
4023+
4024+ } else {
4025+ width = width - 10;
4026+ }
4027+
4028+ inner.width(width - padding2).height(height - padding2);
4029+ wrap.width(width);
4030+
4031+ height_ = wrap.height();
4032+ }
4033+ }
4034+
4035+ current.dim = {
4036+ width : getValue(width),
4037+ height : getValue(height_)
4038+ };
4039+
4040+ current.canGrow = current.autoSize && height > minHeight && height < maxHeight;
4041+ current.canShrink = false;
4042+ current.canExpand = false;
4043+
4044+ if ((width - padding2) < current.width || (height - padding2) < current.height) {
4045+ current.canExpand = true;
4046+
4047+ } else if ((width > viewport.w || height_ > viewport.h) && width > minWidth && height > minHeight) {
4048+ current.canShrink = true;
4049+ }
4050+
4051+ F.innerSpace = height_ - padding2 - inner.height();
4052+ },
4053+
4054+ _getPosition: function (onlyAbsolute) {
4055+ var current = F.current,
4056+ viewport = F.getViewport(),
4057+ margin = current.margin,
4058+ width = F.wrap.width() + margin[1] + margin[3],
4059+ height = F.wrap.height() + margin[0] + margin[2],
4060+ rez = {
4061+ position: 'absolute',
4062+ top : margin[0] + viewport.y,
4063+ left : margin[3] + viewport.x
4064+ };
4065+
4066+ if (current.autoCenter && current.fixed && !onlyAbsolute && height <= viewport.h && width <= viewport.w) {
4067+ rez = {
4068+ position: 'fixed',
4069+ top : margin[0],
4070+ left : margin[3]
4071+ };
4072+ }
4073+
4074+ rez.top = getValue(Math.max(rez.top, rez.top + ((viewport.h - height) * current.topRatio)));
4075+ rez.left = getValue(Math.max(rez.left, rez.left + ((viewport.w - width) * 0.5)));
4076+
4077+ return rez;
4078+ },
4079+
4080+ _afterZoomIn: function () {
4081+ var current = F.current, scrolling = current ? current.scrolling : 'no';
4082+
4083+ if (!current) {
4084+ return;
4085+ }
4086+
4087+ F.isOpen = F.isOpened = true;
4088+
4089+ F.wrap.addClass('fancybox-opened');
4090+
4091+ F.inner.css('overflow', scrolling === 'yes' ? 'scroll' : (scrolling === 'no' ? 'hidden' : scrolling));
4092+
4093+ F.trigger('afterShow');
4094+
4095+ F.update();
4096+
4097+ //Assign a click event
4098+ if (current.closeClick || current.nextClick) {
4099+ F.inner.css('cursor', 'pointer').bind('click.fb', function(e) {
4100+ if (!$(e.target).is('a') && !$(e.target).parent().is('a')) {
4101+ F[ current.closeClick ? 'close' : 'next' ]();
4102+ }
4103+ });
4104+ }
4105+
4106+ //Create a close button
4107+ if (current.closeBtn) {
4108+ $(current.tpl.closeBtn).appendTo(F.skin).bind('click.fb', F.close);
4109+ }
4110+
4111+ //Create navigation arrows
4112+ if (current.arrows && F.group.length > 1) {
4113+ if (current.loop || current.index > 0) {
4114+ $(current.tpl.prev).appendTo(F.outer).bind('click.fb', F.prev);
4115+ }
4116+
4117+ if (current.loop || current.index < F.group.length - 1) {
4118+ $(current.tpl.next).appendTo(F.outer).bind('click.fb', F.next);
4119+ }
4120+ }
4121+
4122+ if (F.opts.autoPlay && !F.player.isActive) {
4123+ F.opts.autoPlay = false;
4124+
4125+ F.play();
4126+ }
4127+ },
4128+
4129+ _afterZoomOut: function () {
4130+ var current = F.current;
4131+
4132+ F.wrap.trigger('onReset').remove();
4133+
4134+ $.extend(F, {
4135+ group: {},
4136+ opts: {},
4137+ current: null,
4138+ isActive: false,
4139+ isOpened: false,
4140+ isOpen: false,
4141+ wrap: null,
4142+ skin: null,
4143+ outer: null,
4144+ inner: null
4145+ });
4146+
4147+ F.trigger('afterClose', current);
4148+ }
4149+ });
4150+
4151+ /*
4152+ * Default transitions
4153+ */
4154+
4155+ F.transitions = {
4156+ getOrigPosition: function () {
4157+ var current = F.current,
4158+ element = current.element,
4159+ padding = current.padding,
4160+ orig = $(current.orig),
4161+ pos = {},
4162+ width = 50,
4163+ height = 50,
4164+ viewport;
4165+
4166+ if (!orig.length && current.isDom && $(element).is(':visible')) {
4167+ orig = $(element).find('img:first');
4168+
4169+ if (!orig.length) {
4170+ orig = $(element);
4171+ }
4172+ }
4173+
4174+ if (orig.length) {
4175+ pos = orig.offset();
4176+
4177+ if (orig.is('img')) {
4178+ width = orig.outerWidth();
4179+ height = orig.outerHeight();
4180+ }
4181+
4182+ } else {
4183+ viewport = F.getViewport();
4184+
4185+ pos.top = viewport.y + (viewport.h - height) * 0.5;
4186+ pos.left = viewport.x + (viewport.w - width) * 0.5;
4187+ }
4188+
4189+ pos = {
4190+ top : getValue(pos.top - padding),
4191+ left : getValue(pos.left - padding),
4192+ width : getValue(width + padding * 2),
4193+ height : getValue(height + padding * 2)
4194+ };
4195+
4196+ return pos;
4197+ },
4198+
4199+ step: function (now, fx) {
4200+ var prop = fx.prop, value, ratio;
4201+
4202+ if (prop === 'width' || prop === 'height') {
4203+ value = Math.ceil(now - (F.current.padding * 2));
4204+
4205+ if (prop === 'height') {
4206+ ratio = (now - fx.start) / (fx.end - fx.start);
4207+
4208+ if (fx.start > fx.end) {
4209+ ratio = 1 - ratio;
4210+ }
4211+
4212+ value -= F.innerSpace * ratio;
4213+ }
4214+
4215+ F.inner[prop](value);
4216+ }
4217+ },
4218+
4219+ zoomIn: function () {
4220+ var wrap = F.wrap,
4221+ current = F.current,
4222+ effect = current.openEffect,
4223+ elastic = effect === 'elastic',
4224+ dim = current.dim,
4225+ startPos = $.extend({}, dim, F._getPosition( elastic )),
4226+ endPos = $.extend({opacity : 1}, startPos);
4227+
4228+ //Remove "position" property that breaks older IE
4229+ delete endPos.position;
4230+
4231+ if (elastic) {
4232+ startPos = this.getOrigPosition();
4233+
4234+ if (current.openOpacity) {
4235+ startPos.opacity = 0;
4236+ }
4237+
4238+ F.outer.add(F.inner).width('auto').height('auto');
4239+
4240+ } else if (effect === 'fade') {
4241+ startPos.opacity = 0;
4242+ }
4243+
4244+ wrap.css(startPos)
4245+ .show()
4246+ .animate(endPos, {
4247+ duration : effect === 'none' ? 0 : current.openSpeed,
4248+ easing : current.openEasing,
4249+ step : elastic ? this.step : null,
4250+ complete : F._afterZoomIn
4251+ });
4252+ },
4253+
4254+ zoomOut: function () {
4255+ var wrap = F.wrap,
4256+ current = F.current,
4257+ effect = current.openEffect,
4258+ elastic = effect === 'elastic',
4259+ endPos = {opacity : 0};
4260+
4261+ if (elastic) {
4262+ if (wrap.css('position') === 'fixed') {
4263+ wrap.css(F._getPosition(true));
4264+ }
4265+
4266+ endPos = this.getOrigPosition();
4267+
4268+ if (current.closeOpacity) {
4269+ endPos.opacity = 0;
4270+ }
4271+ }
4272+
4273+ wrap.animate(endPos, {
4274+ duration : effect === 'none' ? 0 : current.closeSpeed,
4275+ easing : current.closeEasing,
4276+ step : elastic ? this.step : null,
4277+ complete : F._afterZoomOut
4278+ });
4279+ },
4280+
4281+ changeIn: function () {
4282+ var wrap = F.wrap,
4283+ current = F.current,
4284+ effect = current.nextEffect,
4285+ elastic = effect === 'elastic',
4286+ startPos = F._getPosition( elastic ),
4287+ endPos = { opacity : 1 };
4288+
4289+ startPos.opacity = 0;
4290+
4291+ if (elastic) {
4292+ startPos.top = getValue(parseInt(startPos.top, 10) - 200);
4293+ endPos.top = '+=200px';
4294+ }
4295+
4296+ wrap.css(startPos)
4297+ .show()
4298+ .animate(endPos, {
4299+ duration : effect === 'none' ? 0 : current.nextSpeed,
4300+ easing : current.nextEasing,
4301+ complete : F._afterZoomIn
4302+ });
4303+ },
4304+
4305+ changeOut: function () {
4306+ var wrap = F.wrap,
4307+ current = F.current,
4308+ effect = current.prevEffect,
4309+ endPos = { opacity : 0 },
4310+ cleanUp = function () {
4311+ $(this).trigger('onReset').remove();
4312+ };
4313+
4314+ wrap.removeClass('fancybox-opened');
4315+
4316+ if (effect === 'elastic') {
4317+ endPos.top = '+=200px';
4318+ }
4319+
4320+ wrap.animate(endPos, {
4321+ duration : effect === 'none' ? 0 : current.prevSpeed,
4322+ easing : current.prevEasing,
4323+ complete : cleanUp
4324+ });
4325+ }
4326+ };
4327+
4328+ /*
4329+ * Overlay helper
4330+ */
4331+
4332+ F.helpers.overlay = {
4333+ overlay: null,
4334+
4335+ update: function () {
4336+ var width, scrollWidth, offsetWidth;
4337+
4338+ //Reset width/height so it will not mess
4339+ this.overlay.width('100%').height('100%');
4340+
4341+ if ($.browser.msie || isTouch) {
4342+ scrollWidth = Math.max(document.documentElement.scrollWidth, document.body.scrollWidth);
4343+ offsetWidth = Math.max(document.documentElement.offsetWidth, document.body.offsetWidth);
4344+
4345+ width = scrollWidth < offsetWidth ? W.width() : scrollWidth;
4346+
4347+ } else {
4348+ width = D.width();
4349+ }
4350+
4351+ this.overlay.width(width).height(D.height());
4352+ },
4353+
4354+ beforeShow: function (opts) {
4355+ if (this.overlay) {
4356+ return;
4357+ }
4358+
4359+ opts = $.extend(true, {}, F.defaults.helpers.overlay, opts);
4360+
4361+ this.overlay = $('<div id="fancybox-overlay"></div>').css(opts.css).appendTo('body');
4362+
4363+ if (opts.closeClick) {
4364+ this.overlay.bind('click.fb', F.close);
4365+ }
4366+
4367+ if (F.current.fixed && !isTouch) {
4368+ this.overlay.addClass('overlay-fixed');
4369+
4370+ } else {
4371+ this.update();
4372+
4373+ this.onUpdate = function () {
4374+ this.update();
4375+ };
4376+ }
4377+
4378+ this.overlay.fadeTo(opts.speedIn, opts.opacity);
4379+ },
4380+
4381+ afterClose: function (opts) {
4382+ if (this.overlay) {
4383+ this.overlay.fadeOut(opts.speedOut || 0, function () {
4384+ $(this).remove();
4385+ });
4386+ }
4387+
4388+ this.overlay = null;
4389+ }
4390+ };
4391+
4392+ /*
4393+ * Title helper
4394+ */
4395+
4396+ F.helpers.title = {
4397+ beforeShow: function (opts) {
4398+ var title, text = F.current.title;
4399+
4400+ if (text) {
4401+ title = $('<div class="fancybox-title fancybox-title-' + opts.type + '-wrap">' + text + '</div>').appendTo('body');
4402+
4403+ if (opts.type === 'float') {
4404+ //This helps for some browsers
4405+ title.width(title.width());
4406+
4407+ title.wrapInner('<span class="child"></span>');
4408+
4409+ //Increase bottom margin so this title will also fit into viewport
4410+ F.current.margin[2] += Math.abs(parseInt(title.css('margin-bottom'), 10));
4411+ }
4412+
4413+ title.appendTo(opts.type === 'over' ? F.inner : (opts.type === 'outside' ? F.wrap : F.skin));
4414+ }
4415+ }
4416+ };
4417+
4418+ // jQuery plugin initialization
4419+ $.fn.fancybox = function (options) {
4420+ var that = $(this),
4421+ selector = this.selector || '',
4422+ index,
4423+ run = function(e) {
4424+ var what = this, idx = index, relType, relVal;
4425+
4426+ if (!(e.ctrlKey || e.altKey || e.shiftKey || e.metaKey) && !$(what).is('.fancybox-wrap')) {
4427+ e.preventDefault();
4428+
4429+ relType = options.groupAttr || 'data-fancybox-group';
4430+ relVal = $(what).attr(relType);
4431+
4432+ if (!relVal) {
4433+ relType = 'rel';
4434+ relVal = what[ relType ];
4435+ }
4436+
4437+ if (relVal && relVal !== '' && relVal !== 'nofollow') {
4438+ what = selector.length ? $(selector) : that;
4439+ what = what.filter('[' + relType + '="' + relVal + '"]');
4440+ idx = what.index(this);
4441+ }
4442+
4443+ options.index = idx;
4444+
4445+ F.open(what, options);
4446+ }
4447+ };
4448+
4449+ options = options || {};
4450+ index = options.index || 0;
4451+
4452+ if (selector) {
4453+ D.undelegate(selector, 'click.fb-start').delegate(selector, 'click.fb-start', run);
4454+
4455+ } else {
4456+ that.unbind('click.fb-start').bind('click.fb-start', run);
4457+ }
4458+
4459+ return this;
4460+ };
4461+
4462+ // Test for fixedPosition needs a body at doc ready
4463+ $(document).ready(function() {
4464+ F.defaults.fixed = $.support.fixedPosition || (!($.browser.msie && $.browser.version <= 6) && !isTouch);
4465+ });
4466+
4467+}(window, document, jQuery));
4468\ No newline at end of file
4469
4470=== added file 'media/fancybox/jquery.fancybox.pack.js'
4471--- media/fancybox/jquery.fancybox.pack.js 1970-01-01 00:00:00 +0000
4472+++ media/fancybox/jquery.fancybox.pack.js 2012-07-11 17:31:35 +0000
4473@@ -0,0 +1,35 @@
4474+/*! fancyBox v2.0.6 fancyapps.com | fancyapps.com/fancybox/#license */
4475+(function(s,l,d,t){var m=d(s),q=d(l),a=d.fancybox=function(){a.open.apply(this,arguments)},u=!1,k=l.createTouch!==t,o=function(a){return"string"===d.type(a)},n=function(b,c){c&&o(b)&&0<b.indexOf("%")&&(b=a.getViewport()[c]/100*parseInt(b,10));return Math.round(b)+"px"};d.extend(a,{version:"2.0.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,autoSize:!0,autoResize:!k,autoCenter:!k,fitToView:!0,aspectRatio:!1,topRatio:0.5,fixed:!1,scrolling:"auto",
4476+wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3E3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},keys:{next:[13,32,34,39,40],prev:[8,33,37,38],close:[27]},tpl:{wrap:'<div class="fancybox-wrap"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe class="fancybox-iframe" name="fancybox-frame{rnd}" frameborder="0" hspace="0"'+
4477+(d.browser.msie?' allowtransparency="true"':"")+"></iframe>",swf:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="wmode" value="transparent" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{href}" /><embed src="{href}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="100%" height="100%" wmode="transparent"></embed></object>',error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',
4478+closeBtn:'<div title="Close" class="fancybox-item fancybox-close"></div>',next:'<a title="Next" class="fancybox-nav fancybox-next"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev"><span></span></a>'},openEffect:"fade",openSpeed:300,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:300,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:300,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",
4479+prevSpeed:300,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:{speedIn:0,speedOut:300,opacity:0.8,css:{cursor:"pointer"},closeClick:!0},title:{type:"float"}}},group:{},opts:{},coming:null,current:null,isOpen:!1,isOpened:!1,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(b,c){a.close(!0);b&&!d.isArray(b)&&(b=b instanceof d?d(b).get():[b]);a.isActive=!0;a.opts=d.extend(!0,{},a.defaults,c);d.isPlainObject(c)&&c.keys!==t&&(a.opts.keys=c.keys?
4480+d.extend({},a.defaults.keys,c.keys):!1);a.group=b;a._start(a.opts.index||0)},cancel:function(){a.coming&&!1===a.trigger("onCancel")||(a.coming=null,a.hideLoading(),a.ajaxLoad&&a.ajaxLoad.abort(),a.ajaxLoad=null,a.imgPreload&&(a.imgPreload.onload=a.imgPreload.onabort=a.imgPreload.onerror=null))},close:function(b){a.cancel();a.current&&!1!==a.trigger("beforeClose")&&(a.unbindEvents(),!a.isOpen||b&&!0===b[0]?(d(".fancybox-wrap").stop().trigger("onReset").remove(),a._afterZoomOut()):(a.isOpen=a.isOpened=
4481+!1,d(".fancybox-item, .fancybox-nav").remove(),a.wrap.stop(!0).removeClass("fancybox-opened"),a.inner.css("overflow","hidden"),a.transitions[a.current.closeMethod]()))},play:function(b){var c=function(){clearTimeout(a.player.timer)},e=function(){c();a.current&&a.player.isActive&&(a.player.timer=setTimeout(a.next,a.current.playSpeed))},f=function(){c();d("body").unbind(".player");a.player.isActive=!1;a.trigger("onPlayEnd")};if(a.player.isActive||b&&!1===b[0])f();else if(a.current&&(a.current.loop||
4482+a.current.index<a.group.length-1))a.player.isActive=!0,d("body").bind({"afterShow.player onUpdate.player":e,"onCancel.player beforeClose.player":f,"beforeLoad.player":c}),e(),a.trigger("onPlayStart")},next:function(){a.current&&a.jumpto(a.current.index+1)},prev:function(){a.current&&a.jumpto(a.current.index-1)},jumpto:function(b){a.current&&(b=parseInt(b,10),1<a.group.length&&a.current.loop&&(b>=a.group.length?b=0:0>b&&(b=a.group.length-1)),a.group[b]!==t&&(a.cancel(),a._start(b)))},reposition:function(b,
4483+c){var e;a.isOpen&&(e=a._getPosition(c),b&&"scroll"===b.type?(delete e.position,a.wrap.stop(!0,!0).animate(e,200)):a.wrap.css(e))},update:function(b){a.isOpen&&(u||setTimeout(function(){var c=a.current,e=!b||b&&"orientationchange"===b.type;if(u&&(u=!1,c)){if(!b||"scroll"!==b.type||e)c.autoSize&&"iframe"!==c.type&&(a.inner.height("auto"),c.height=a.inner.height()),(c.autoResize||e)&&a._setDimension(),c.canGrow&&"iframe"!==c.type&&a.inner.height("auto");(c.autoCenter||e)&&a.reposition(b);a.trigger("onUpdate")}},
4484+200),u=!0)},toggle:function(){a.isOpen&&(a.current.fitToView=!a.current.fitToView,a.update())},hideLoading:function(){q.unbind("keypress.fb");d("#fancybox-loading").remove()},showLoading:function(){a.hideLoading();q.bind("keypress.fb",function(b){27===b.keyCode&&(b.preventDefault(),a.cancel())});d('<div id="fancybox-loading"><div></div></div>').click(a.cancel).appendTo("body")},getViewport:function(){return{x:m.scrollLeft(),y:m.scrollTop(),w:k&&s.innerWidth?s.innerWidth:m.width(),h:k&&s.innerHeight?
4485+s.innerHeight:m.height()}},unbindEvents:function(){a.wrap&&a.wrap.unbind(".fb");q.unbind(".fb");m.unbind(".fb")},bindEvents:function(){var b=a.current,c=b.keys;b&&(m.bind("resize.fb orientationchange.fb"+(b.autoCenter&&!b.fixed?" scroll.fb":""),a.update),c&&q.bind("keydown.fb",function(b){var f;f=b.target||b.srcElement;if(!b.ctrlKey&&!b.altKey&&!b.shiftKey&&!b.metaKey&&(!f||!f.type&&!d(f).is("[contenteditable]")))f=b.keyCode,-1<d.inArray(f,c.close)?(a.close(),b.preventDefault()):-1<d.inArray(f,c.next)?
4486+(a.next(),b.preventDefault()):-1<d.inArray(f,c.prev)&&(a.prev(),b.preventDefault())}),d.fn.mousewheel&&b.mouseWheel&&1<a.group.length&&a.wrap.bind("mousewheel.fb",function(b,c){var d=b.target||null;if(0!==c&&(!d||0===d.clientHeight||d.scrollHeight===d.clientHeight&&d.scrollWidth===d.clientWidth))b.preventDefault(),a[0<c?"prev":"next"]()}))},trigger:function(b,c){var e,f=c||a[-1<d.inArray(b,["onCancel","beforeLoad","afterLoad"])?"coming":"current"];if(f){d.isFunction(f[b])&&(e=f[b].apply(f,Array.prototype.slice.call(arguments,
4487+1)));if(!1===e)return!1;f.helpers&&d.each(f.helpers,function(c,e){if(e&&d.isPlainObject(a.helpers[c])&&d.isFunction(a.helpers[c][b]))a.helpers[c][b](e,f)});d.event.trigger(b+".fb")}},isImage:function(a){return o(a)&&a.match(/\.(jpe?g|gif|png|bmp)((\?|#).*)?$/i)},isSWF:function(a){return o(a)&&a.match(/\.(swf)((\?|#).*)?$/i)},_start:function(b){var c={},e=a.group[b]||null,f,g,i;if(e&&(e.nodeType||e instanceof d))f=!0,d.metadata&&(c=d(e).metadata());c=d.extend(!0,{},a.opts,{index:b,element:e},d.isPlainObject(e)?
4488+e:c);d.each(["href","title","content","type"],function(b,g){c[g]=a.opts[g]||f&&d(e).attr(g)||c[g]||null});"number"===typeof c.margin&&(c.margin=[c.margin,c.margin,c.margin,c.margin]);c.modal&&d.extend(!0,c,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{css:{cursor:"auto"},closeClick:!1}}});a.coming=c;if(!1===a.trigger("beforeLoad"))a.coming=null;else{g=c.type;b=c.href||e;g||(f&&(g=d(e).data("fancybox-type"),g||(g=(g=e.className.match(/fancybox\.(\w+)/))?
4489+g[1]:null)),!g&&o(b)&&(a.isImage(b)?g="image":a.isSWF(b)?g="swf":b.match(/^#/)&&(g="inline")),g||(g=f?"inline":"html"),c.type=g);if("inline"===g||"html"===g){if(c.content||(c.content="inline"===g?d(o(b)?b.replace(/.*(?=#[^\s]+$)/,""):b):e),!c.content||!c.content.length)g=null}else b||(g=null);"ajax"===g&&o(b)&&(i=b.split(/\s+/,2),b=i.shift(),c.selector=i.shift());c.href=b;c.group=a.group;c.isDom=f;switch(g){case "image":a._loadImage();break;case "ajax":a._loadAjax();break;case "inline":case "iframe":case "swf":case "html":a._afterLoad();
4490+break;default:a._error("type")}}},_error:function(b){a.hideLoading();d.extend(a.coming,{type:"html",autoSize:!0,minWidth:0,minHeight:0,padding:15,hasError:b,content:a.coming.tpl.error});a._afterLoad()},_loadImage:function(){var b=a.imgPreload=new Image;b.onload=function(){this.onload=this.onerror=null;a.coming.width=this.width;a.coming.height=this.height;a._afterLoad()};b.onerror=function(){this.onload=this.onerror=null;a._error("image")};b.src=a.coming.href;(b.complete===t||!b.complete)&&a.showLoading()},
4491+_loadAjax:function(){a.showLoading();a.ajaxLoad=d.ajax(d.extend({},a.coming.ajax,{url:a.coming.href,error:function(b,c){a.coming&&"abort"!==c?a._error("ajax",b):a.hideLoading()},success:function(b,c){"success"===c&&(a.coming.content=b,a._afterLoad())}}))},_preloadImages:function(){var b=a.group,c=a.current,e=b.length,f,g,i,h=Math.min(c.preload,e-1);if(c.preload&&!(2>b.length))for(i=1;i<=h;i+=1)if(f=b[(c.index+i)%e],g=f.href||d(f).attr("href")||f,"image"===f.type||a.isImage(g))(new Image).src=g},_afterLoad:function(){a.hideLoading();
4492+!a.coming||!1===a.trigger("afterLoad",a.current)?a.coming=!1:(a.isOpened?(d(".fancybox-item, .fancybox-nav").remove(),a.wrap.stop(!0).removeClass("fancybox-opened"),a.inner.css("overflow","hidden"),a.transitions[a.current.prevMethod]()):(d(".fancybox-wrap").stop().trigger("onReset").remove(),a.trigger("afterClose")),a.unbindEvents(),a.isOpen=!1,a.current=a.coming,a.wrap=d(a.current.tpl.wrap).addClass("fancybox-"+(k?"mobile":"desktop")+" fancybox-type-"+a.current.type+" fancybox-tmp "+a.current.wrapCSS).appendTo("body"),
4493+a.skin=d(".fancybox-skin",a.wrap).css("padding",n(a.current.padding)),a.outer=d(".fancybox-outer",a.wrap),a.inner=d(".fancybox-inner",a.wrap),a._setContent())},_setContent:function(){var b=a.current,c=b.content,e=b.type,f=b.minWidth,g=b.minHeight,i=b.maxWidth,h=b.maxHeight;switch(e){case "inline":case "ajax":case "html":b.selector?c=d("<div>").html(c).find(b.selector):c instanceof d&&(c.parent().hasClass("fancybox-inner")&&c.parents(".fancybox-wrap").unbind("onReset"),c=c.show().detach(),d(a.wrap).bind("onReset",
4494+function(){c.appendTo("body").hide()}));b.autoSize&&(f=d('<div class="fancybox-wrap '+a.current.wrapCSS+' fancybox-tmp"></div>').appendTo("body").css({minWidth:n(f,"w"),minHeight:n(g,"h"),maxWidth:n(i,"w"),maxHeight:n(h,"h")}).append(c),b.width=f.width(),b.height=f.height(),f.width(a.current.width),f.height()>b.height&&(f.width(b.width+1),b.width=f.width(),b.height=f.height()),c=f.contents().detach(),f.remove());break;case "image":c=b.tpl.image.replace("{href}",b.href);b.aspectRatio=!0;break;case "swf":c=
4495+b.tpl.swf.replace(/\{width\}/g,b.width).replace(/\{height\}/g,b.height).replace(/\{href\}/g,b.href);break;case "iframe":c=d(b.tpl.iframe.replace("{rnd}",(new Date).getTime())).attr("scrolling",b.scrolling).attr("src",b.href),b.scrolling=k?"scroll":"auto"}if("image"===e||"swf"===e)b.autoSize=!1,b.scrolling="visible";"iframe"===e&&b.autoSize?(a.showLoading(),a._setDimension(),a.inner.css("overflow",b.scrolling),c.bind({onCancel:function(){d(this).unbind();a._afterZoomOut()},load:function(){a.hideLoading();
4496+try{this.contentWindow.document.location&&(a.current.height=d(this).contents().find("body").height())}catch(b){a.current.autoSize=!1}a[a.isOpen?"_afterZoomIn":"_beforeShow"]()}}).appendTo(a.inner)):(a.inner.append(c),a._beforeShow())},_beforeShow:function(){a.coming=null;a.trigger("beforeShow");a._setDimension();a.wrap.hide().removeClass("fancybox-tmp");a.bindEvents();a._preloadImages();a.transitions[a.isOpened?a.current.nextMethod:a.current.openMethod]()},_setDimension:function(){var b=a.wrap,c=
4497+a.inner,e=a.current,f=a.getViewport(),g=e.margin,i=2*e.padding,h=e.width,j=e.height,r=e.maxWidth+i,k=e.maxHeight+i,l=e.minWidth+i,m=e.minHeight+i,p;f.w-=g[1]+g[3];f.h-=g[0]+g[2];o(h)&&0<h.indexOf("%")&&(h=(f.w-i)*parseFloat(h)/100);o(j)&&0<j.indexOf("%")&&(j=(f.h-i)*parseFloat(j)/100);g=h/j;h+=i;j+=i;e.fitToView&&(r=Math.min(f.w,r),k=Math.min(f.h,k));if(e.aspectRatio){if(h>r&&(h=r,j=(h-i)/g+i),j>k&&(j=k,h=(j-i)*g+i),h<l&&(h=l,j=(h-i)/g+i),j<m)j=m,h=(j-i)*g+i}else h=Math.max(l,Math.min(h,r)),j=Math.max(m,
4498+Math.min(j,k));h=Math.round(h);j=Math.round(j);d(b.add(c)).width("auto").height("auto");c.width(h-i).height(j-i);b.width(h);p=b.height();if(h>r||p>k)for(;(h>r||p>k)&&h>l&&p>m;)j-=10,e.aspectRatio?(h=Math.round((j-i)*g+i),h<l&&(h=l,j=(h-i)/g+i)):h-=10,c.width(h-i).height(j-i),b.width(h),p=b.height();e.dim={width:n(h),height:n(p)};e.canGrow=e.autoSize&&j>m&&j<k;e.canShrink=!1;e.canExpand=!1;if(h-i<e.width||j-i<e.height)e.canExpand=!0;else if((h>f.w||p>f.h)&&h>l&&j>m)e.canShrink=!0;a.innerSpace=p-i-
4499+c.height()},_getPosition:function(b){var c=a.current,e=a.getViewport(),f=c.margin,d=a.wrap.width()+f[1]+f[3],i=a.wrap.height()+f[0]+f[2],h={position:"absolute",top:f[0]+e.y,left:f[3]+e.x};c.autoCenter&&c.fixed&&!b&&i<=e.h&&d<=e.w&&(h={position:"fixed",top:f[0],left:f[3]});h.top=n(Math.max(h.top,h.top+(e.h-i)*c.topRatio));h.left=n(Math.max(h.left,h.left+0.5*(e.w-d)));return h},_afterZoomIn:function(){var b=a.current,c=b?b.scrolling:"no";if(b&&(a.isOpen=a.isOpened=!0,a.wrap.addClass("fancybox-opened"),
4500+a.inner.css("overflow","yes"===c?"scroll":"no"===c?"hidden":c),a.trigger("afterShow"),a.update(),(b.closeClick||b.nextClick)&&a.inner.css("cursor","pointer").bind("click.fb",function(c){if(!d(c.target).is("a")&&!d(c.target).parent().is("a"))a[b.closeClick?"close":"next"]()}),b.closeBtn&&d(b.tpl.closeBtn).appendTo(a.skin).bind("click.fb",a.close),b.arrows&&1<a.group.length&&((b.loop||0<b.index)&&d(b.tpl.prev).appendTo(a.outer).bind("click.fb",a.prev),(b.loop||b.index<a.group.length-1)&&d(b.tpl.next).appendTo(a.outer).bind("click.fb",
4501+a.next)),a.opts.autoPlay&&!a.player.isActive))a.opts.autoPlay=!1,a.play()},_afterZoomOut:function(){var b=a.current;a.wrap.trigger("onReset").remove();d.extend(a,{group:{},opts:{},current:null,isActive:!1,isOpened:!1,isOpen:!1,wrap:null,skin:null,outer:null,inner:null});a.trigger("afterClose",b)}});a.transitions={getOrigPosition:function(){var b=a.current,c=b.element,e=b.padding,f=d(b.orig),g={},i=50,h=50;!f.length&&b.isDom&&d(c).is(":visible")&&(f=d(c).find("img:first"),f.length||(f=d(c)));f.length?
4502+(g=f.offset(),f.is("img")&&(i=f.outerWidth(),h=f.outerHeight())):(b=a.getViewport(),g.top=b.y+0.5*(b.h-h),g.left=b.x+0.5*(b.w-i));return g={top:n(g.top-e),left:n(g.left-e),width:n(i+2*e),height:n(h+2*e)}},step:function(b,c){var e=c.prop,d,g;if("width"===e||"height"===e)d=Math.ceil(b-2*a.current.padding),"height"===e&&(g=(b-c.start)/(c.end-c.start),c.start>c.end&&(g=1-g),d-=a.innerSpace*g),a.inner[e](d)},zoomIn:function(){var b=a.wrap,c=a.current,e=c.openEffect,f="elastic"===e,g=d.extend({},c.dim,
4503+a._getPosition(f)),i=d.extend({opacity:1},g);delete i.position;f?(g=this.getOrigPosition(),c.openOpacity&&(g.opacity=0),a.outer.add(a.inner).width("auto").height("auto")):"fade"===e&&(g.opacity=0);b.css(g).show().animate(i,{duration:"none"===e?0:c.openSpeed,easing:c.openEasing,step:f?this.step:null,complete:a._afterZoomIn})},zoomOut:function(){var b=a.wrap,c=a.current,d=c.openEffect,f="elastic"===d,g={opacity:0};f&&("fixed"===b.css("position")&&b.css(a._getPosition(!0)),g=this.getOrigPosition(),c.closeOpacity&&
4504+(g.opacity=0));b.animate(g,{duration:"none"===d?0:c.closeSpeed,easing:c.closeEasing,step:f?this.step:null,complete:a._afterZoomOut})},changeIn:function(){var b=a.wrap,c=a.current,d=c.nextEffect,f="elastic"===d,g=a._getPosition(f),i={opacity:1};g.opacity=0;f&&(g.top=n(parseInt(g.top,10)-200),i.top="+=200px");b.css(g).show().animate(i,{duration:"none"===d?0:c.nextSpeed,easing:c.nextEasing,complete:a._afterZoomIn})},changeOut:function(){var b=a.wrap,c=a.current,e=c.prevEffect,f={opacity:0};b.removeClass("fancybox-opened");
4505+"elastic"===e&&(f.top="+=200px");b.animate(f,{duration:"none"===e?0:c.prevSpeed,easing:c.prevEasing,complete:function(){d(this).trigger("onReset").remove()}})}};a.helpers.overlay={overlay:null,update:function(){var a,c;this.overlay.width("100%").height("100%");d.browser.msie||k?(a=Math.max(l.documentElement.scrollWidth,l.body.scrollWidth),c=Math.max(l.documentElement.offsetWidth,l.body.offsetWidth),a=a<c?m.width():a):a=q.width();this.overlay.width(a).height(q.height())},beforeShow:function(b){this.overlay||
4506+(b=d.extend(!0,{},a.defaults.helpers.overlay,b),this.overlay=d('<div id="fancybox-overlay"></div>').css(b.css).appendTo("body"),b.closeClick&&this.overlay.bind("click.fb",a.close),a.current.fixed&&!k?this.overlay.addClass("overlay-fixed"):(this.update(),this.onUpdate=function(){this.update()}),this.overlay.fadeTo(b.speedIn,b.opacity))},afterClose:function(a){this.overlay&&this.overlay.fadeOut(a.speedOut||0,function(){d(this).remove()});this.overlay=null}};a.helpers.title={beforeShow:function(b){var c;
4507+if(c=a.current.title)c=d('<div class="fancybox-title fancybox-title-'+b.type+'-wrap">'+c+"</div>").appendTo("body"),"float"===b.type&&(c.width(c.width()),c.wrapInner('<span class="child"></span>'),a.current.margin[2]+=Math.abs(parseInt(c.css("margin-bottom"),10))),c.appendTo("over"===b.type?a.inner:"outside"===b.type?a.wrap:a.skin)}};d.fn.fancybox=function(b){var c=d(this),e=this.selector||"",f,g=function(g){var h=this,j=f,k;!g.ctrlKey&&!g.altKey&&!g.shiftKey&&!g.metaKey&&!d(h).is(".fancybox-wrap")&&
4508+(g.preventDefault(),g=b.groupAttr||"data-fancybox-group",k=d(h).attr(g),k||(g="rel",k=h[g]),k&&""!==k&&"nofollow"!==k&&(h=e.length?d(e):c,h=h.filter("["+g+'="'+k+'"]'),j=h.index(this)),b.index=j,a.open(h,b))},b=b||{};f=b.index||0;e?q.undelegate(e,"click.fb-start").delegate(e,"click.fb-start",g):c.unbind("click.fb-start").bind("click.fb-start",g);return this};d(l).ready(function(){a.defaults.fixed=d.support.fixedPosition||!(d.browser.msie&&6>=d.browser.version)&&!k})})(window,document,jQuery);
4509\ No newline at end of file
4510
4511=== added file 'media/forum/img/closed.png'
4512Binary files media/forum/img/closed.png 1970-01-01 00:00:00 +0000 and media/forum/img/closed.png 2012-07-11 17:31:35 +0000 differ
4513=== added file 'media/forum/img/delete.png'
4514Binary files media/forum/img/delete.png 1970-01-01 00:00:00 +0000 and media/forum/img/delete.png 2012-07-11 17:31:35 +0000 differ
4515=== added file 'media/forum/img/doc_big_work.png'
4516Binary files media/forum/img/doc_big_work.png 1970-01-01 00:00:00 +0000 and media/forum/img/doc_big_work.png 2012-07-11 17:31:35 +0000 differ
4517=== added file 'media/forum/img/doc_big_work_star.png'
4518Binary files media/forum/img/doc_big_work_star.png 1970-01-01 00:00:00 +0000 and media/forum/img/doc_big_work_star.png 2012-07-11 17:31:35 +0000 differ
4519=== added file 'media/forum/img/edit.png'
4520Binary files media/forum/img/edit.png 1970-01-01 00:00:00 +0000 and media/forum/img/edit.png 2012-07-11 17:31:35 +0000 differ
4521=== removed directory 'media/forum/img/en'
4522=== removed file 'media/forum/img/en/close_small.png'
4523Binary files media/forum/img/en/close_small.png 2010-09-23 21:37:00 +0000 and media/forum/img/en/close_small.png 1970-01-01 00:00:00 +0000 differ
4524=== removed file 'media/forum/img/en/close_topic.png'
4525Binary files media/forum/img/en/close_topic.png 2010-09-23 21:37:00 +0000 and media/forum/img/en/close_topic.png 1970-01-01 00:00:00 +0000 differ
4526=== removed file 'media/forum/img/en/closed.png'
4527Binary files media/forum/img/en/closed.png 2010-09-03 13:39:32 +0000 and media/forum/img/en/closed.png 1970-01-01 00:00:00 +0000 differ
4528=== removed file 'media/forum/img/en/delete.png'
4529Binary files media/forum/img/en/delete.png 2010-09-03 13:39:32 +0000 and media/forum/img/en/delete.png 1970-01-01 00:00:00 +0000 differ
4530=== removed file 'media/forum/img/en/edit.png'
4531Binary files media/forum/img/en/edit.png 2010-09-03 13:39:32 +0000 and media/forum/img/en/edit.png 1970-01-01 00:00:00 +0000 differ
4532=== removed file 'media/forum/img/en/new_topic.png'
4533Binary files media/forum/img/en/new_topic.png 2010-09-03 13:39:32 +0000 and media/forum/img/en/new_topic.png 1970-01-01 00:00:00 +0000 differ
4534=== removed file 'media/forum/img/en/newtopic.png'
4535Binary files media/forum/img/en/newtopic.png 2010-09-23 21:37:00 +0000 and media/forum/img/en/newtopic.png 1970-01-01 00:00:00 +0000 differ
4536=== removed file 'media/forum/img/en/open_topic.png'
4537Binary files media/forum/img/en/open_topic.png 2010-09-23 23:28:34 +0000 and media/forum/img/en/open_topic.png 1970-01-01 00:00:00 +0000 differ
4538=== removed file 'media/forum/img/en/p_delete.png'
4539Binary files media/forum/img/en/p_delete.png 2011-07-03 14:00:24 +0000 and media/forum/img/en/p_delete.png 1970-01-01 00:00:00 +0000 differ
4540=== removed file 'media/forum/img/en/p_edit.png'
4541Binary files media/forum/img/en/p_edit.png 2011-07-03 14:00:24 +0000 and media/forum/img/en/p_edit.png 1970-01-01 00:00:00 +0000 differ
4542=== removed file 'media/forum/img/en/p_quote.png'
4543Binary files media/forum/img/en/p_quote.png 2011-07-03 14:00:24 +0000 and media/forum/img/en/p_quote.png 1970-01-01 00:00:00 +0000 differ
4544=== removed file 'media/forum/img/en/permalink.png'
4545Binary files media/forum/img/en/permalink.png 2010-09-03 13:39:32 +0000 and media/forum/img/en/permalink.png 1970-01-01 00:00:00 +0000 differ
4546=== removed file 'media/forum/img/en/preview.png'
4547Binary files media/forum/img/en/preview.png 2010-09-23 21:37:00 +0000 and media/forum/img/en/preview.png 1970-01-01 00:00:00 +0000 differ
4548=== removed file 'media/forum/img/en/quote.png'
4549Binary files media/forum/img/en/quote.png 2010-09-03 13:39:32 +0000 and media/forum/img/en/quote.png 1970-01-01 00:00:00 +0000 differ
4550=== removed file 'media/forum/img/en/search.png'
4551Binary files media/forum/img/en/search.png 2010-09-03 13:39:32 +0000 and media/forum/img/en/search.png 1970-01-01 00:00:00 +0000 differ
4552=== removed file 'media/forum/img/en/send.png'
4553Binary files media/forum/img/en/send.png 2010-09-23 21:37:00 +0000 and media/forum/img/en/send.png 1970-01-01 00:00:00 +0000 differ
4554=== removed file 'media/forum/img/en/send_pm.png'
4555Binary files media/forum/img/en/send_pm.png 2010-09-03 13:39:32 +0000 and media/forum/img/en/send_pm.png 1970-01-01 00:00:00 +0000 differ
4556=== removed file 'media/forum/img/en/sendpm.png'
4557Binary files media/forum/img/en/sendpm.png 2010-09-23 21:37:00 +0000 and media/forum/img/en/sendpm.png 1970-01-01 00:00:00 +0000 differ
4558=== removed file 'media/forum/img/en/stick_topic.png'
4559Binary files media/forum/img/en/stick_topic.png 2010-09-03 13:39:32 +0000 and media/forum/img/en/stick_topic.png 1970-01-01 00:00:00 +0000 differ
4560=== removed file 'media/forum/img/en/stick_topic_small.png'
4561Binary files media/forum/img/en/stick_topic_small.png 2010-09-23 21:37:00 +0000 and media/forum/img/en/stick_topic_small.png 1970-01-01 00:00:00 +0000 differ
4562=== removed file 'media/forum/img/en/sticky.png'
4563Binary files media/forum/img/en/sticky.png 2010-09-03 13:39:32 +0000 and media/forum/img/en/sticky.png 1970-01-01 00:00:00 +0000 differ
4564=== removed file 'media/forum/img/en/subscribe.png'
4565Binary files media/forum/img/en/subscribe.png 2010-09-23 21:37:00 +0000 and media/forum/img/en/subscribe.png 1970-01-01 00:00:00 +0000 differ
4566=== removed file 'media/forum/img/en/subscribe_small.png'
4567Binary files media/forum/img/en/subscribe_small.png 2010-09-23 21:37:00 +0000 and media/forum/img/en/subscribe_small.png 1970-01-01 00:00:00 +0000 differ
4568=== removed file 'media/forum/img/en/t_new.png'
4569Binary files media/forum/img/en/t_new.png 2011-07-03 14:00:24 +0000 and media/forum/img/en/t_new.png 1970-01-01 00:00:00 +0000 differ
4570=== removed file 'media/forum/img/en/t_reply.png'
4571Binary files media/forum/img/en/t_reply.png 2011-07-03 14:00:24 +0000 and media/forum/img/en/t_reply.png 1970-01-01 00:00:00 +0000 differ
4572=== removed file 'media/forum/img/en/top.png'
4573Binary files media/forum/img/en/top.png 2010-09-03 13:39:32 +0000 and media/forum/img/en/top.png 1970-01-01 00:00:00 +0000 differ
4574=== removed file 'media/forum/img/en/unstick_topic.png'
4575Binary files media/forum/img/en/unstick_topic.png 2010-09-23 21:37:00 +0000 and media/forum/img/en/unstick_topic.png 1970-01-01 00:00:00 +0000 differ
4576=== removed file 'media/forum/img/en/unsubscribe.png'
4577Binary files media/forum/img/en/unsubscribe.png 2010-09-03 13:39:32 +0000 and media/forum/img/en/unsubscribe.png 1970-01-01 00:00:00 +0000 differ
4578=== added file 'media/forum/img/folder_big_work.png'
4579Binary files media/forum/img/folder_big_work.png 1970-01-01 00:00:00 +0000 and media/forum/img/folder_big_work.png 2012-07-11 17:31:35 +0000 differ
4580=== added file 'media/forum/img/folder_big_work_star.png'
4581Binary files media/forum/img/folder_big_work_star.png 1970-01-01 00:00:00 +0000 and media/forum/img/folder_big_work_star.png 2012-07-11 17:31:35 +0000 differ
4582=== added file 'media/forum/img/new_topic.png'
4583Binary files media/forum/img/new_topic.png 1970-01-01 00:00:00 +0000 and media/forum/img/new_topic.png 2012-07-11 17:31:35 +0000 differ
4584=== added file 'media/forum/img/open.png'
4585Binary files media/forum/img/open.png 1970-01-01 00:00:00 +0000 and media/forum/img/open.png 2012-07-11 17:31:35 +0000 differ
4586=== added file 'media/forum/img/permalink.png'
4587Binary files media/forum/img/permalink.png 1970-01-01 00:00:00 +0000 and media/forum/img/permalink.png 2012-07-11 17:31:35 +0000 differ
4588=== added file 'media/forum/img/permalink_hover.png'
4589Binary files media/forum/img/permalink_hover.png 1970-01-01 00:00:00 +0000 and media/forum/img/permalink_hover.png 2012-07-11 17:31:35 +0000 differ
4590=== added file 'media/forum/img/preview.png'
4591Binary files media/forum/img/preview.png 1970-01-01 00:00:00 +0000 and media/forum/img/preview.png 2012-07-11 17:31:35 +0000 differ
4592=== added file 'media/forum/img/quote.png'
4593Binary files media/forum/img/quote.png 1970-01-01 00:00:00 +0000 and media/forum/img/quote.png 2012-07-11 17:31:35 +0000 differ
4594=== added file 'media/forum/img/send.png'
4595Binary files media/forum/img/send.png 1970-01-01 00:00:00 +0000 and media/forum/img/send.png 2012-07-11 17:31:35 +0000 differ
4596=== added file 'media/forum/img/send_pm.png'
4597Binary files media/forum/img/send_pm.png 1970-01-01 00:00:00 +0000 and media/forum/img/send_pm.png 2012-07-11 17:31:35 +0000 differ
4598=== added file 'media/forum/img/sticky.png'
4599Binary files media/forum/img/sticky.png 1970-01-01 00:00:00 +0000 and media/forum/img/sticky.png 2012-07-11 17:31:35 +0000 differ
4600=== added file 'media/forum/img/subscribe.png'
4601Binary files media/forum/img/subscribe.png 1970-01-01 00:00:00 +0000 and media/forum/img/subscribe.png 2012-07-11 17:31:35 +0000 differ
4602=== added file 'media/forum/img/top.png'
4603Binary files media/forum/img/top.png 1970-01-01 00:00:00 +0000 and media/forum/img/top.png 2012-07-11 17:31:35 +0000 differ
4604=== added file 'media/forum/img/unstick.png'
4605Binary files media/forum/img/unstick.png 1970-01-01 00:00:00 +0000 and media/forum/img/unstick.png 2012-07-11 17:31:35 +0000 differ
4606=== added file 'media/forum/img/unsubscribe.png'
4607Binary files media/forum/img/unsubscribe.png 1970-01-01 00:00:00 +0000 and media/forum/img/unsubscribe.png 2012-07-11 17:31:35 +0000 differ
4608=== added file 'media/img/black20.png'
4609Binary files media/img/black20.png 1970-01-01 00:00:00 +0000 and media/img/black20.png 2012-07-11 17:31:35 +0000 differ
4610=== added file 'media/img/black50.png'
4611Binary files media/img/black50.png 1970-01-01 00:00:00 +0000 and media/img/black50.png 2012-07-11 17:31:35 +0000 differ
4612=== added file 'media/img/but1.png'
4613Binary files media/img/but1.png 1970-01-01 00:00:00 +0000 and media/img/but1.png 2012-07-11 17:31:35 +0000 differ
4614=== added file 'media/img/delete.png'
4615Binary files media/img/delete.png 1970-01-01 00:00:00 +0000 and media/img/delete.png 2012-07-11 17:31:35 +0000 differ
4616=== added file 'media/img/download.png'
4617Binary files media/img/download.png 1970-01-01 00:00:00 +0000 and media/img/download.png 2012-07-11 17:31:35 +0000 differ
4618=== added file 'media/img/easter.png'
4619Binary files media/img/easter.png 1970-01-01 00:00:00 +0000 and media/img/easter.png 2012-07-11 17:31:35 +0000 differ
4620=== added directory 'media/img/lightbox'
4621=== added file 'media/img/lightbox/lightbox-blank.gif'
4622Binary files media/img/lightbox/lightbox-blank.gif 1970-01-01 00:00:00 +0000 and media/img/lightbox/lightbox-blank.gif 2012-07-11 17:31:35 +0000 differ
4623=== added file 'media/img/lightbox/lightbox-btn-close.gif'
4624Binary files media/img/lightbox/lightbox-btn-close.gif 1970-01-01 00:00:00 +0000 and media/img/lightbox/lightbox-btn-close.gif 2012-07-11 17:31:35 +0000 differ
4625=== added file 'media/img/lightbox/lightbox-btn-next.gif'
4626Binary files media/img/lightbox/lightbox-btn-next.gif 1970-01-01 00:00:00 +0000 and media/img/lightbox/lightbox-btn-next.gif 2012-07-11 17:31:35 +0000 differ
4627=== added file 'media/img/lightbox/lightbox-btn-prev.gif'
4628Binary files media/img/lightbox/lightbox-btn-prev.gif 1970-01-01 00:00:00 +0000 and media/img/lightbox/lightbox-btn-prev.gif 2012-07-11 17:31:35 +0000 differ
4629=== added file 'media/img/lightbox/lightbox-ico-loading.gif'
4630Binary files media/img/lightbox/lightbox-ico-loading.gif 1970-01-01 00:00:00 +0000 and media/img/lightbox/lightbox-ico-loading.gif 2012-07-11 17:31:35 +0000 differ
4631=== added file 'media/img/parchment.png'
4632Binary files media/img/parchment.png 1970-01-01 00:00:00 +0000 and media/img/parchment.png 2012-07-11 17:31:35 +0000 differ
4633=== added file 'media/img/replied.png'
4634Binary files media/img/replied.png 1970-01-01 00:00:00 +0000 and media/img/replied.png 2012-07-11 17:31:35 +0000 differ
4635=== added file 'media/img/smileys/face-confused.png'
4636Binary files media/img/smileys/face-confused.png 1970-01-01 00:00:00 +0000 and media/img/smileys/face-confused.png 2012-07-11 17:31:35 +0000 differ
4637=== added file 'media/img/smileys/face-cool.png'
4638Binary files media/img/smileys/face-cool.png 1970-01-01 00:00:00 +0000 and media/img/smileys/face-cool.png 2012-07-11 17:31:35 +0000 differ
4639=== added file 'media/img/smileys/face-mad.png'
4640Binary files media/img/smileys/face-mad.png 1970-01-01 00:00:00 +0000 and media/img/smileys/face-mad.png 2012-07-11 17:31:35 +0000 differ
4641=== added file 'media/img/smileys/face-shock.png'
4642Binary files media/img/smileys/face-shock.png 1970-01-01 00:00:00 +0000 and media/img/smileys/face-shock.png 2012-07-11 17:31:35 +0000 differ
4643=== added file 'media/img/smileys/face-tongue.png'
4644Binary files media/img/smileys/face-tongue.png 1970-01-01 00:00:00 +0000 and media/img/smileys/face-tongue.png 2012-07-11 17:31:35 +0000 differ
4645=== added file 'media/img/smileys/face-upset.png'
4646Binary files media/img/smileys/face-upset.png 1970-01-01 00:00:00 +0000 and media/img/smileys/face-upset.png 2012-07-11 17:31:35 +0000 differ
4647=== added file 'media/img/undelete.png'
4648Binary files media/img/undelete.png 1970-01-01 00:00:00 +0000 and media/img/undelete.png 2012-07-11 17:31:35 +0000 differ
4649=== added file 'media/img/welcome.png'
4650Binary files media/img/welcome.png 1970-01-01 00:00:00 +0000 and media/img/welcome.png 2012-07-11 17:31:35 +0000 differ
4651=== added file 'media/img/wood.png'
4652Binary files media/img/wood.png 1970-01-01 00:00:00 +0000 and media/img/wood.png 2012-07-11 17:31:35 +0000 differ
4653=== added file 'media/js/scripts.js'
4654--- media/js/scripts.js 1970-01-01 00:00:00 +0000
4655+++ media/js/scripts.js 2012-07-11 17:31:35 +0000
4656@@ -0,0 +1,15 @@
4657+$(document).ready(function() {
4658+ $('[placeholder]').focus(function() {
4659+ var input = $(this);
4660+ if (input.val() == input.attr('placeholder')) {
4661+ input.val('');
4662+ input.removeClass('placeholder');
4663+ }
4664+ }).blur(function() {
4665+ var input = $(this);
4666+ if (input.val() == '' || input.val() == input.attr('placeholder')) {
4667+ input.addClass('placeholder');
4668+ input.val(input.attr('placeholder'));
4669+ }
4670+ }).blur();
4671+});
4672
4673=== added directory 'media/wlprofile'
4674=== added file 'media/wlprofile/anonymous.png'
4675Binary files media/wlprofile/anonymous.png 1970-01-01 00:00:00 +0000 and media/wlprofile/anonymous.png 2012-07-11 17:31:35 +0000 differ
4676=== removed directory 'online_help/templates'
4677=== removed file 'online_help/templates/inlines/display_building.html'
4678--- online_help/templates/inlines/display_building.html 2010-11-01 19:02:28 +0000
4679+++ online_help/templates/inlines/display_building.html 1970-01-01 00:00:00 +0000
4680@@ -1,232 +0,0 @@
4681-{% comment %}
4682- vim:ft=htmldjango
4683-{% endcomment %}
4684-
4685- <!-- Header -->
4686- <tr>
4687-
4688- {% if b.has_build_cost and b.has_outputs and b.has_stored_wares %}
4689- <!-- With build cost and production and stored wares 111 -->
4690- <th width="152px"><a href="{% url help_building_details b.tribe.name b.name %}" title="{{ b.displayname }}" name="{{ b.name }}">{{b.displayname|title }}</a></th>
4691- <th>Description</th>
4692- <th>Build cost</th>
4693- <th>Produces</th>
4694- <th>Stores</th>
4695- {% endif %}
4696-
4697- {% if b.has_build_cost and b.has_outputs and not b.has_stored_wares %}
4698- <!-- With build cost and production 110 -->
4699- <th width="152px"><a href="{% url help_building_details b.tribe.name b.name %}" title="{{ b.displayname }}" name="{{ b.name }}">{{b.displayname|title }}</a></th>
4700- <th colspan="2">Description</th>
4701- <th>Build cost</th>
4702- <th>Produces</th>
4703- {% endif %}
4704-
4705- {% if b.has_build_cost and not b.has_outputs and b.has_stored_wares %}
4706- <!-- With build cost and stored wares 101 -->
4707- <th width="152px"><a href="{% url help_building_details b.tribe.name b.name %}" title="{{ b.displayname }}" name="{{ b.name }}">{{b.displayname|title }}</a></th>
4708- <th colspan="2">Description</th>
4709- <th>Build cost</th>
4710- <th>Stores</th>
4711- {% endif %}
4712-
4713- {% if not b.has_build_cost and b.has_outputs and b.has_stored_wares %}
4714- <!-- With production and stored wares 011 -->
4715- <th width="152px"><a href="{% url help_building_details b.tribe.name b.name %}" title="{{ b.displayname }}" name="{{ b.name }}">{{b.displayname|title }}</a></th>
4716- <th colspan="2">Description</th>
4717- <th>Produces</th>
4718- <th>Stores</th>
4719- {% endif %}
4720-
4721- {% if b.has_build_cost and not b.has_outputs and not b.has_stored_wares %}
4722- <!-- With build cost 100 -->
4723- <th width="152px"><a href="{% url help_building_details b.tribe.name b.name %}" title="{{ b.displayname }}" name="{{ b.name }}">{{b.displayname|title }}</a></th>
4724- <th colspan="3">Description</th>
4725- <th>Build cost</th>
4726- {% endif %}
4727-
4728- {% if not b.has_build_cost and b.has_outputs and not b.has_stored_wares %}
4729- <!-- With production 010 -->
4730- <th width="152px"><a href="{% url help_building_details b.tribe.name b.name %}" title="{{ b.displayname }}" name="{{ b.name }}">{{b.displayname|title }}</a></th>
4731- <th colspan="3">Description</th>
4732- <th>Produces</th>
4733- {% endif %}
4734-
4735- {% if not b.has_build_cost and b.has_outputs and not b.has_stored_wares %}
4736- <!-- With stored wares 001 -->
4737- <th width="152px"><a href="{% url help_building_details b.tribe.name b.name %}" title="{{ b.displayname }}" name="{{ b.name }}">{{b.displayname|title }}</a></th>
4738- <th colspan="3">Description</th>
4739- <th>Stores</th>
4740- {% endif %}
4741-
4742- {% if not b.has_outputs and not b.has_build_cost and not b.has_stored_wares %}
4743- <!-- For headquaters 000 -->
4744- <th width="152px"><a href="{% url help_building_details b.tribe.name b.name %}" title="{{ b.displayname }}" name="{{ b.name }}">{{b.displayname|title }}</a></th>
4745- <th colspan="4">Description</th>
4746- {% endif %}
4747- </tr>
4748-
4749- <!-- Content -->
4750- <tr class="odd">
4751-
4752- {% if b.has_build_cost and b.has_outputs and b.has_stored_wares %}
4753- <!-- With build cost and production and stored wares 111 -->
4754- <td><a href="{% url help_building_details b.tribe.name b.name %}" title="{{ b.displayname }}"><img alt="{{b.displayname}}" src="{{ b.image_url }}" /></a></td>
4755- <td>{{ b.help }}</td>
4756- <td>
4757- {% for costs in b.get_build_cost %}
4758- {% for w in costs %}
4759- <a href="{% url help_ware_details w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
4760- {% endfor %}
4761- <br />
4762- {%endfor%}
4763- </td>
4764- <td>
4765- {% if b.produces and not b.trains %}
4766- {% for w in b.get_ware_outputs %}
4767- <a href="{% url help_ware_details w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
4768- {%endfor%}
4769- {% endif %}
4770- {% if b.trains and not b.produces %}
4771- {% for wor in b.get_worker_outputs %}
4772- <img src="{{ wor.image_url }}" alt="{{ wor.name }}" />
4773- {%endfor%}
4774- {% endif %}
4775- </td>
4776- <td>
4777- {% for costs in b.get_stored_wares %}
4778- {% for w in costs %}
4779- <a href="{% url help_ware_details w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
4780- {% endfor %}
4781- <br />
4782- {%endfor%}
4783- </td>
4784- {% endif %}
4785-
4786- {% if b.has_build_cost and b.has_outputs and not b.has_stored_wares %}
4787- <!-- With build cost and production 110 -->
4788- <td><a href="{% url help_building_details b.tribe.name b.name %}" title="{{ b.displayname }}"><img alt="{{b.displayname}}" src="{{ b.image_url }}" /></a></td>
4789- <td colspan="2">{{ b.help }}</td>
4790- <td>
4791- {% for costs in b.get_build_cost %}
4792- {% for w in costs %}
4793- <a href="{% url help_ware_details w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
4794- {% endfor %}
4795- <br />
4796- {%endfor%}
4797- </td>
4798- <td>
4799- {% if b.produces and not b.trains %}
4800- {% for w in b.get_ware_outputs %}
4801- <a href="{% url help_ware_details w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
4802- {%endfor%}
4803- {% endif %}
4804- {% if b.trains and not b.produces %}
4805- {% for wor in b.get_worker_outputs %}
4806- <img src="{{ wor.image_url }}" alt="{{ wor.name }}" />
4807- {%endfor%}
4808- {% endif %}
4809- </td>
4810- {% endif %}
4811-
4812- {% if b.has_build_cost and not b.has_outputs and b.has_stored_wares%}
4813- <!-- With build cost and stored wares 101 -->
4814- <td><a href="{% url help_building_details b.tribe.name b.name %}" title="{{ b.displayname }}"><img alt="{{b.displayname}}" src="{{ b.image_url }}" /></a></td>
4815- <td colspan="2">{{ b.help }}</td>
4816- <td>
4817- {% for costs in b.get_build_cost %}
4818- {% for w in costs %}
4819- <a href="{% url help_ware_details w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
4820- {% endfor %}
4821- <br />
4822- {%endfor%}
4823- </td>
4824- <td>
4825- {% for costs in b.get_stored_wares %}
4826- {% for w in costs %}
4827- <a href="{% url help_ware_details w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
4828- {% endfor %}
4829- <br />
4830- {%endfor%}
4831- </td>
4832- {% endif %}
4833-
4834- {% if not b.has_build_cost and b.has_outputs and b.has_stored_wares %}
4835- <!-- With production and stored wares 011 -->
4836- <td><a href="{% url help_building_details b.tribe.name b.name %}" title="{{ b.displayname }}"><img alt="{{b.displayname}}" src="{{ b.image_url }}" /></a></td>
4837- <td colspan="2">{{ b.help }}</td>
4838- <td>
4839- {% if b.produces and not b.trains %}
4840- {% for w in b.get_ware_outputs %}
4841- <a href="{% url help_ware_details w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
4842- {%endfor%}
4843- {% endif %}
4844- {% if b.trains and not b.produces %}
4845- {% for wor in b.get_worker_outputs %}
4846- <img src="{{ wor.image_url }}" alt="{{ wor.name }}" />
4847- {%endfor%}
4848- {% endif %}
4849- </td>
4850- <td>
4851- {% for costs in b.get_stored_wares %}
4852- {% for w in costs %}
4853- <a href="{% url help_ware_details w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
4854- {% endfor %}
4855- <br />
4856- {%endfor%}
4857- </td>
4858- {% endif %}
4859-
4860- {% if b.has_build_cost and not b.has_outputs and not b.has_stored_wares %}
4861- <!-- With build cost 100 -->
4862- <td><a href="{% url help_building_details b.tribe.name b.name %}" title="{{ b.displayname }}"><img alt="{{b.displayname}}" src="{{ b.image_url }}" /></a></td>
4863- <td colspan="3">{{ b.help }}</td>
4864- <td>
4865- {% for costs in b.get_build_cost %}
4866- {% for w in costs %}
4867- <a href="{% url help_ware_details w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
4868- {% endfor %}
4869- <br />
4870- {%endfor%}
4871- </td>
4872- {% endif %}
4873-
4874- {% if not b.has_build_cost and b.has_outputs and not b.has_stored_wares %}
4875- <!-- With production 010 -->
4876- <td><a href="{% url help_building_details b.tribe.name b.name %}" title="{{ b.displayname }}"><img alt="{{b.displayname}}" src="{{ b.image_url }}" /></a></td>
4877- <td colspan="3">{{ b.help }}</td>
4878- <td>
4879- {% if b.produces and not b.trains %}
4880- {% for w in b.get_ware_outputs %}
4881- <a href="{% url help_ware_details w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
4882- {%endfor%}
4883- {% endif %}
4884- {% if b.trains and not b.produces %}
4885- {% for wor in b.get_worker_outputs %}
4886- <img src="{{ wor.image_url }}" alt="{{ wor.name }}" />
4887- {%endfor%}
4888- {% endif %}
4889- </td>
4890- {% endif %}
4891-
4892- {% if not b.has_build_cost and not b.has_outputs and b.has_stored_wares %}
4893- <!-- With stored wares 001 -->
4894- <td><a href="{% url help_building_details b.tribe.name b.name %}" title="{{ b.displayname }}"><img alt="{{b.displayname}}" src="{{ b.image_url }}" /></a></td>
4895- <td colspan="3">{{ b.help }}</td>
4896- <td>
4897- {% for costs in b.get_stored_wares %}
4898- {% for w in costs %}
4899- <a href="{% url help_ware_details w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
4900- {% endfor %}
4901- <br />
4902- {%endfor%}
4903- </td>
4904- {% endif %}
4905-
4906- {% if not b.has_build_cost and not b.has_outputs and not b.has_stored_wares %}
4907- <!-- For headquaters 000 -->
4908- <td><a href="{% url help_building_details b.tribe.name b.name %}" title="{{b.displayname}}"><img alt="{{b.displayname}}" src="{{ b.image_url }}" /></a></td>
4909- <td colspan="4">{{ b.help }}</td>
4910- {% endif %}
4911- </tr>
4912-
4913
4914=== removed file 'online_help/templates/inlines/display_ware.html'
4915--- online_help/templates/inlines/display_ware.html 2010-11-01 19:02:28 +0000
4916+++ online_help/templates/inlines/display_ware.html 1970-01-01 00:00:00 +0000
4917@@ -1,10 +0,0 @@
4918-{% comment %}
4919- vim:ft=htmldjango
4920-{% endcomment %}
4921-
4922- <tr class="odd">
4923- <td><a href="{% url help_ware_details ware.tribe.name ware.name %}" title="{{ ware.displayname }}"><img src="{{ ware.image_url }}" alt="{{ ware.name }}" /></a></td>
4924- <td><a href="{% url help_ware_details ware.tribe.name ware.name %}" title="{{ ware.displayname }}" name="{{ ware.name }}">{{ ware.displayname }}</a></td>
4925- <td>{{ ware.help }}</td>
4926- </tr>
4927-
4928
4929=== removed file 'online_help/templates/inlines/display_worker.html'
4930--- online_help/templates/inlines/display_worker.html 2010-11-06 19:35:10 +0000
4931+++ online_help/templates/inlines/display_worker.html 1970-01-01 00:00:00 +0000
4932@@ -1,10 +0,0 @@
4933-{% comment %}
4934- vim:ft=htmldjango
4935-{% endcomment %}
4936-
4937- <tr class="odd">
4938- <td><img src="{{ worker.image_url }}" alt="{{ worker.name }}" /></td>
4939- <td><a name="{{ worker.name }}" href="{{worker.name}}/">{{ worker.displayname }}</a></td>
4940- <td>{{ worker.help }}</td>
4941- </tr>
4942-
4943
4944=== modified file 'pybb/forms.py'
4945--- pybb/forms.py 2011-08-24 13:09:49 +0000
4946+++ pybb/forms.py 2012-07-11 17:31:35 +0000
4947@@ -27,7 +27,10 @@
4948 self.ip = kwargs.pop('ip', None)
4949 super(AddPostForm, self).__init__(*args, **kwargs)
4950
4951- self.fields.keyOrder = ['name', 'body', 'markup', 'attachment']
4952+ self.fields.keyOrder = ['name',
4953+ 'body',
4954+ 'markup',
4955+ 'attachment']
4956
4957 if self.topic:
4958 self.fields['name'].widget = forms.HiddenInput()
4959@@ -49,7 +52,7 @@
4960
4961 def save(self, *args, **kwargs):
4962 if self.forum:
4963- topic_is_new = True
4964+ topic_is_new = True
4965 topic = Topic(forum=self.forum,
4966 user=self.user,
4967 name=self.cleaned_data['name'])
4968@@ -91,7 +94,7 @@
4969 class EditPostForm(forms.ModelForm):
4970 class Meta:
4971 model = Post
4972- fields = ['body']
4973+ fields = ['body', 'markup']
4974
4975 def save(self, *args, **kwargs):
4976 post = super(EditPostForm, self).save(commit=False)
4977
4978=== modified file 'pybb/templatetags/pybb_extras.py'
4979--- pybb/templatetags/pybb_extras.py 2011-09-11 18:15:47 +0000
4980+++ pybb/templatetags/pybb_extras.py 2012-07-11 17:31:35 +0000
4981@@ -90,7 +90,7 @@
4982 return {
4983 'posts': answer,
4984 'user': context['user'],
4985- }
4986+ }
4987
4988 @register.simple_tag
4989 def pybb_link(object, anchor=u''):
4990
4991=== modified file 'pybb/urls.py'
4992--- pybb/urls.py 2010-06-08 19:08:52 +0000
4993+++ pybb/urls.py 2012-07-11 17:31:35 +0000
4994@@ -11,7 +11,7 @@
4995 urlpatterns = patterns('',
4996 # Misc
4997 url('^$', views.index, name='pybb_index'),
4998- # url('^category/(?P<category_id>\d+)/$', views.show_category, name='pybb_category'),
4999+ url('^category/(?P<category_id>\d+)/$', views.show_category, name='pybb_category'),
5000 url('^forum/(?P<forum_id>\d+)/$', views.show_forum, name='pybb_forum'),
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches