-
Notifications
You must be signed in to change notification settings - Fork 4
/
addon-xenauction.xml
2714 lines (2341 loc) · 95.3 KB
/
addon-xenauction.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<addon addon_id="xenauction" title="XenAuction" version_string="1.2.2" version_id="19" url="" install_callback_class="XenAuction_Install" install_callback_method="install" uninstall_callback_class="XenAuction_Install" uninstall_callback_method="uninstall">
<admin_navigation>
<navigation navigation_id="auctionBids" parent_navigation_id="auctions" display_order="10" link="auction-bids" admin_permission_id="option" debug_only="0" hide_no_children="0"/>
<navigation navigation_id="auctions" parent_navigation_id="applications" display_order="100" link="auction-bids" admin_permission_id="option" debug_only="0" hide_no_children="0"/>
</admin_navigation>
<admin_permissions/>
<admin_style_properties/>
<admin_templates>
<template title="auction_bids"><![CDATA[<xen:title>{xen:phrase recent_bids}</xen:title>
<xen:require css="auction_bids.css" />
<xen:if is="{$auctions}">
<table class="dataTable auctionBids">
<tr class="dataRow">
<th class="bidId"></th>
<th class="auctionTitle">{xen:phrase auction}</th>
<th class="bidUser">{xen:phrase user}</th>
<th class="bidAmount">{xen:phrase amount}</th>
<th class="bidStatus">{xen:phrase status}</th>
<th class="bidDateActions" colspan="2">
<div class="FilterControls">
<form method="POST" action="{xen:adminlink 'auction-bids'}">
<input type="search" name="search" value="{$search}" placeholder="{xen:phrase filter_items}" class="textCtrl" id="ctrl_filter">
<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</form>
</div>
</th>
</tr>
<xen:foreach loop="$auctions" value="$auction">
<tr class="dataRow">
<td>#{$auction.bid_id}</td>
<td>
<a href="{xen:link auctions/details, '', 'id={$auction.auction_id}'}" target="_blank">
{$auction.title}
</a>
<span class="muted">({$auction.auction_id})</span>
</td>
<td>
<a href="{xen:adminlink 'users/edit', {$users.{$auction.bid_user_id}}}">
{$users.{$auction.bid_user_id}.username}
</a>
</td>
<td>${xen:number $auction.amount}</td>
<td>{$auction.bid_status}</td>
<td>
<div class="DateTime muted">{xen:date {$auction.bid_date}} {xen:time {$auction.bid_date}}</div>
</td>
<td class="dataOptions">
<xen:if is="{$auction.top_bid}=={$auction.amount} && {$auction.status}=='active'">
<a href="{xen:adminlink auction-bids/reject, '', 'id={$auction.bid_id}'}" class="secondaryContent OverlayTrigger">{xen:phrase reject}</a>
</xen:if>
</td>
</tr>
</xen:foreach>
<tr>
<td colspan="7" class="sectionFooter">{xen:phrase showing_x_of_y_items, 'count={xen:count $auctions}', 'total={xen:number $total}'}</td>
</tr>
</table>
{xen:adminpagenav $perPage, $total, $page, auction-bids, ''}
<xen:else />
{xen:phrase no_bids_found}
</xen:if>]]></template>
<template title="auction_bids.css"><![CDATA[
.auctionBids th.bidDateActions
{
padding: 0 10px !important;
}
.auctionBids td.dataOptions
{
max-width: 100px;
}
.auctionBids th.bidDateActions > span
{
display: block;
margin-top: 6px;
}
.auctionBids th.bidDateActions .FilterControls
{
float: right;
}]]></template>
<template title="auction_reject_bid"><![CDATA[<xen:title>{xen:phrase confirm_rejection_of_bid}: #{$auction.bid_id}</xen:title>
<xen:h1>{xen:phrase confirm_rejection_of_bid}</xen:h1>
<xen:navigation>
<xen:breadcrumb href="{xen:adminlink 'auction-bids'}">{xen:phrase recent_bids}</xen:breadcrumb>
</xen:navigation>
<xen:require css="delete_confirmation.css" />
<xen:form action="{xen:adminlink 'auction-bids/reject'}" class="deleteConfirmForm formOverlay">
<p>{xen:phrase please_confirm_that_you_want_to_reject_following_bid}:</p>
<div class="pairsRows" style="margin: 10px 20px;">
<dl>
<dt class="label">{xen:phrase auction}:</dt>
<dd>{$auction.title}</dd>
</dl>
<dl>
<dt class="label">{xen:phrase user}:</dt>
<dd>{$user.username}</dd>
</dl>
<dl>
<dt class="label">{xen:phrase amount}:</dt>
<dd>{$auction.amount}</dd>
</dl>
</div>
<xen:submitunit save="{xen:phrase reject_bid}" />
<input type="hidden" name="id" value="{$auction.bid_id}" />
<input type="hidden" name="_xfConfirm" value="1" />
</xen:form>]]></template>
</admin_templates>
<code_events/>
<code_event_listeners>
<listener event_id="front_controller_pre_dispatch" execute_order="10" callback_class="XenAuction_Listen" callback_method="front_controller_pre_dispatch" active="1" description=""/>
<listener event_id="init_dependencies" execute_order="10" callback_class="XenAuction_Listen" callback_method="init_dependecies" active="1" description=""/>
<listener event_id="load_class_model" execute_order="10" callback_class="XenAuction_Listen" callback_method="load_class_model" active="1" description=""/>
<listener event_id="load_class_view" execute_order="10" callback_class="XenAuction_Listen" callback_method="load_class_view" active="1" description=""/>
<listener event_id="navigation_tabs" execute_order="10" callback_class="XenAuction_Listen" callback_method="navigation_tabs" active="1" description=""/>
<listener event_id="template_create" execute_order="10" callback_class="XenAuction_Listen" callback_method="template_create" active="1" description=""/>
<listener event_id="template_hook" execute_order="10" callback_class="XenAuction_Listen" callback_method="template_hook" active="1" description=""/>
</code_event_listeners>
<cron>
<entry entry_id="auctions" cron_class="XenAuction_CronEntry_Auction" cron_method="runExpireAuctions" active="1"><![CDATA[{"day_type":"dom","dom":["-1"],"hours":["-1"],"minutes":["-1"]}]]></entry>
</cron>
<email_templates/>
<optiongroups>
<group group_id="auctions" display_order="5000" debug_only="0"/>
<option option_id="auctionNotificationSender" edit_format="textbox" data_type="unsigned_integer" can_backup="1">
<default_value>1</default_value>
<edit_format_params></edit_format_params>
<sub_options></sub_options>
<relation group_id="auctions" display_order="1"/>
</option>
<option option_id="auctionShippingPrice" edit_format="textbox" data_type="numeric" can_backup="1">
<default_value>0</default_value>
<edit_format_params></edit_format_params>
<sub_options></sub_options>
<relation group_id="auctions" display_order="110"/>
</option>
<option option_id="auctionsPerPage" edit_format="spinbox" data_type="unsigned_numeric" can_backup="1">
<default_value>15</default_value>
<edit_format_params></edit_format_params>
<sub_options></sub_options>
<relation group_id="auctions" display_order="200"/>
</option>
<option option_id="auctionTagMode" edit_format="radio" data_type="string" can_backup="1">
<default_value>list</default_value>
<edit_format_params>list=List Mode (shows vertical list of links)
dropdown=Dropdown Mode (uses <a href="http://harvesthq.github.com/chosen/">chosen.js</a>)</edit_format_params>
<sub_options></sub_options>
<relation group_id="auctions" display_order="210"/>
</option>
<option option_id="auctionWidgetCriteria" edit_format="textbox" data_type="string" can_backup="1">
<default_value>forums|create-thread
auctions</default_value>
<edit_format_params>rows=4
inputclass=Elastic</edit_format_params>
<sub_options></sub_options>
<relation group_id="auctions" display_order="440"/>
</option>
<option option_id="auctionWidgetEnabled" edit_format="onoff" data_type="boolean" can_backup="1">
<default_value></default_value>
<edit_format_params></edit_format_params>
<sub_options></sub_options>
<relation group_id="auctions" display_order="400"/>
</option>
<option option_id="auctionWidgetMode" edit_format="radio" data_type="string" can_backup="1">
<default_value>blacklist</default_value>
<edit_format_params>whitelist=Whitelist
blacklist=Blacklist</edit_format_params>
<sub_options></sub_options>
<relation group_id="auctions" display_order="420"/>
</option>
<option option_id="auctionWidgetPlacement" edit_format="select" data_type="string" can_backup="1">
<default_value>above|page_container_breadcrumb_top</default_value>
<edit_format_params>above|body=Above All Content
below|body=Below All Content
above|page_container_content_top=Above Content Container
below|page_container_content_top=Below Content Container
above|ad_above_top_breadcrumb=Above Top Breadcrumb Ads
below|ad_below_top_breadcrumb=Below Top Breadcrumb Ads
above|page_container_breadcrumb_top=Above Top Breadcrumbs
below|page_container_breadcrumb_top=Below Top Breadcrumbs
above|page_container_notices=Above Notices Container
below|page_container_notices=Below Notices Container
above|page_container_content_title_bar=Above Content Title Bar
below|page_container_content_title_bar=Below Content Title Bar
above|page_container_sidebar=Top Of Sidebar
below|page_container_sidebar=Bottom Of Sidebar
above|page_container_breadcrumb_bottom=Above Bottom Breadcrumbs
below|page_container_breadcrumb_bottom=Below Bottom Breadcrumbs</edit_format_params>
<sub_options></sub_options>
<relation group_id="auctions" display_order="410"/>
</option>
</optiongroups>
<permissions>
<permission_groups>
<permission_group permission_group_id="auctions"/>
</permission_groups>
<permissions>
<permission permission_group_id="auctions" permission_id="bidOnAuctions" permission_type="flag" depend_permission_id="viewAuctions" default_value="unset" interface_group_id="auctions" display_order="21"/>
<permission permission_group_id="auctions" permission_id="buyoutAuctions" permission_type="flag" depend_permission_id="viewAuctions" default_value="unset" interface_group_id="auctions" display_order="22"/>
<permission permission_group_id="auctions" permission_id="createAuctions" permission_type="flag" depend_permission_id="viewAuctions" default_value="unset" interface_group_id="auctions" display_order="30"/>
<permission permission_group_id="auctions" permission_id="editOthersAuctions" permission_type="flag" depend_permission_id="viewAuctions" default_value="unset" interface_group_id="auctions" display_order="50"/>
<permission permission_group_id="auctions" permission_id="editOwnAuctions" permission_type="flag" depend_permission_id="viewAuctions" default_value="unset" interface_group_id="auctions" display_order="40"/>
<permission permission_group_id="auctions" permission_id="expireOthersAuctions" permission_type="flag" depend_permission_id="viewAuctions" default_value="unset" interface_group_id="auctions" display_order="52"/>
<permission permission_group_id="auctions" permission_id="expireOwnAuctions" permission_type="flag" depend_permission_id="viewAuctions" default_value="unset" interface_group_id="auctions" display_order="51"/>
<permission permission_group_id="auctions" permission_id="searchAuctions" permission_type="flag" depend_permission_id="viewAuctions" default_value="unset" interface_group_id="auctions" display_order="20"/>
<permission permission_group_id="auctions" permission_id="viewAuctions" permission_type="flag" default_value="unset" interface_group_id="auctions" display_order="10"/>
</permissions>
<interface_groups>
<interface_group interface_group_id="auctions" display_order="1"/>
</interface_groups>
</permissions>
<phrases>
<phrase title="active_bids" version_id="0" version_string=""><![CDATA[Active Bids]]></phrase>
<phrase title="admin_navigation_auctionBids" version_id="14" version_string="1.0 RC1"><![CDATA[Manage Bids]]></phrase>
<phrase title="admin_navigation_auctions" version_id="14" version_string="1.0 RC1"><![CDATA[Auctions]]></phrase>
<phrase title="advanced" version_id="0" version_string=""><![CDATA[Advanced]]></phrase>
<phrase title="amount_paid" version_id="0" version_string=""><![CDATA[Amount Paid]]></phrase>
<phrase title="archived" version_id="0" version_string=""><![CDATA[Archived]]></phrase>
<phrase title="archived_auctions" version_id="0" version_string=""><![CDATA[Archived Auctions]]></phrase>
<phrase title="archive_auction" version_id="0" version_string=""><![CDATA[Archive Auction]]></phrase>
<phrase title="auction" version_id="0" version_string=""><![CDATA[Auction]]></phrase>
<phrase title="auctions" global_cache="1" version_id="0" version_string=""><![CDATA[Auctions]]></phrase>
<phrase title="auction_has_expired" version_id="16" version_string="1.2 Beta 1"><![CDATA[Auction has expired]]></phrase>
<phrase title="auction_history" version_id="0" version_string=""><![CDATA[Auction History]]></phrase>
<phrase title="auction_list" global_cache="1" version_id="0" version_string=""><![CDATA[Auction List]]></phrase>
<phrase title="auction_notification_signature" version_id="0" version_string=""><![CDATA[]]></phrase>
<phrase title="auction_status" version_id="0" version_string=""><![CDATA[Auction Status]]></phrase>
<phrase title="auction_title" version_id="0" version_string=""><![CDATA[Auction Title]]></phrase>
<phrase title="availability" version_id="0" version_string=""><![CDATA[Availability]]></phrase>
<phrase title="availability_too_high" version_id="0" version_string=""><![CDATA[You can't use an availability higher than 1 if you are also allowing bids]]></phrase>
<phrase title="available" version_id="0" version_string=""><![CDATA[Available]]></phrase>
<phrase title="bid" version_id="0" version_string=""><![CDATA[Bid]]></phrase>
<phrase title="bidding_on_x" version_id="0" version_string=""><![CDATA[Bidding on {title}]]></phrase>
<phrase title="bids" version_id="0" version_string=""><![CDATA[Bids]]></phrase>
<phrase title="bids_availability" version_id="0" version_string=""><![CDATA[Bids / Availability]]></phrase>
<phrase title="bids_on_your_auctions" version_id="0" version_string=""><![CDATA[Bids on your Auctions]]></phrase>
<phrase title="bid_history" version_id="0" version_string=""><![CDATA[Bid History]]></phrase>
<phrase title="bid_must_be_higher" version_id="0" version_string=""><![CDATA[Your bid must be higher than the current bid]]></phrase>
<phrase title="bid_on_x_by_y" version_id="0" version_string=""><![CDATA[Bid on {auction} by {username}]]></phrase>
<phrase title="bought_auction_message" version_id="17" version_string="1.2 Beta 1"><![CDATA[Thank you for purchasing [i]{title}[/i].
[b]Quantity:[/b] {quantity}
[b]Cost:[/b] ${amount}
[url={invoice_link}]View Invoice[/url]
{payment_address}]]></phrase>
<phrase title="bought_auction_x" version_id="0" version_string=""><![CDATA[Auction Bought: {title}]]></phrase>
<phrase title="buy" version_id="0" version_string=""><![CDATA[Buy]]></phrase>
<phrase title="buyer" version_id="0" version_string=""><![CDATA[Buyer]]></phrase>
<phrase title="buying_auctions" version_id="0" version_string=""><![CDATA[Buying Auctions]]></phrase>
<phrase title="buying_x" version_id="0" version_string=""><![CDATA[Buying {title}]]></phrase>
<phrase title="buyout" version_id="0" version_string=""><![CDATA[Buyout]]></phrase>
<phrase title="buyouts" version_id="0" version_string=""><![CDATA[Buyouts]]></phrase>
<phrase title="buyout_too_low" version_id="0" version_string=""><![CDATA[The buyout price is too low]]></phrase>
<phrase title="buy_now" version_id="0" version_string=""><![CDATA[Buy Now]]></phrase>
<phrase title="canceled" version_id="0" version_string=""><![CDATA[Canceled]]></phrase>
<phrase title="cant_buy_own_auction" version_id="0" version_string=""><![CDATA[You cannot buy your own auctions]]></phrase>
<phrase title="cant_buy_zero" version_id="0" version_string=""><![CDATA[Entered quantity is too low]]></phrase>
<phrase title="can_not_reject_bids_on_expired_auctions" version_id="0" version_string=""><![CDATA[You can not reject bids on expired auctions]]></phrase>
<phrase title="can_only_reject_winning_bids" version_id="0" version_string=""><![CDATA[You can only reject winning bids]]></phrase>
<phrase title="choose_tags" version_id="0" version_string=""><![CDATA[Choose Tags]]></phrase>
<phrase title="completed" version_id="0" version_string=""><![CDATA[Completed]]></phrase>
<phrase title="completed_purchases" version_id="0" version_string=""><![CDATA[Completed Purchases]]></phrase>
<phrase title="completed_sales" version_id="0" version_string=""><![CDATA[Completed Sales]]></phrase>
<phrase title="complete_auction" version_id="0" version_string=""><![CDATA[Complete Auction]]></phrase>
<phrase title="complete_sale" version_id="0" version_string=""><![CDATA[Complete Sale]]></phrase>
<phrase title="confirm_rejection_of_bid" version_id="15" version_string="1.0.1"><![CDATA[Confirm Rejection of Bid]]></phrase>
<phrase title="copies_to_create" version_id="0" version_string=""><![CDATA[Copies to create]]></phrase>
<phrase title="create_auction" global_cache="1" version_id="0" version_string=""><![CDATA[Create Auction]]></phrase>
<phrase title="creating_auctions" version_id="0" version_string=""><![CDATA[Creating Auctions]]></phrase>
<phrase title="cron_entry_auctions" version_id="0" version_string=""><![CDATA[Expire Auctions]]></phrase>
<phrase title="date_is_in_past" version_id="0" version_string=""><![CDATA[You selected a date that is in the past]]></phrase>
<phrase title="days_left" version_id="15" version_string="1.1 Beta 1"><![CDATA[Days]]></phrase>
<phrase title="edit_auction" version_id="0" version_string=""><![CDATA[Edit Auction]]></phrase>
<phrase title="enable_bids" version_id="0" version_string=""><![CDATA[Enable Bids]]></phrase>
<phrase title="enable_buyouts" version_id="0" version_string=""><![CDATA[Enable Buyouts]]></phrase>
<phrase title="enter_availability_higher_than_zero" version_id="0" version_string=""><![CDATA[Please enter an availability higher than zero]]></phrase>
<phrase title="expires_in" version_id="0" version_string=""><![CDATA[Expires in]]></phrase>
<phrase title="expire_auction" version_id="0" version_string=""><![CDATA[Expire Auction]]></phrase>
<phrase title="filter_by_tag" version_id="0" version_string=""><![CDATA[Filter by tag]]></phrase>
<phrase title="find_auction" version_id="0" version_string=""><![CDATA[Find Auction]]></phrase>
<phrase title="finished" version_id="0" version_string=""><![CDATA[Finished]]></phrase>
<phrase title="history" global_cache="1" version_id="0" version_string=""><![CDATA[History]]></phrase>
<phrase title="hours_left" version_id="15" version_string="1.1 Beta 1"><![CDATA[Hours]]></phrase>
<phrase title="invalid_buy_action" version_id="0" version_string=""><![CDATA[Action not allowed on this type of auction]]></phrase>
<phrase title="keyword_or_id" version_id="0" version_string=""><![CDATA[Keyword or ID]]></phrase>
<phrase title="keyword_tag" version_id="0" version_string=""><![CDATA[Keyword / Tag]]></phrase>
<phrase title="lost_auction_message" version_id="0" version_string=""><![CDATA[Unfortunately someone else has bought the auction you were bidding on.]]></phrase>
<phrase title="lost_auction_x" version_id="0" version_string=""><![CDATA[Lost Auction: {title}]]></phrase>
<phrase title="minutes_left" version_id="15" version_string="1.1 Beta 1"><![CDATA[Minutes]]></phrase>
<phrase title="min_bid_too_low" version_id="0" version_string=""><![CDATA[The minimum bid is too low]]></phrase>
<phrase title="must_use_bid_or_buyout" version_id="0" version_string=""><![CDATA[You have to select either a bid or a buyout value]]></phrase>
<phrase title="my_activity" version_id="0" version_string=""><![CDATA[My Activity]]></phrase>
<phrase title="no_auctions_found" version_id="0" version_string=""><![CDATA[No auctions were found]]></phrase>
<phrase title="no_bids" version_id="0" version_string=""><![CDATA[No bids]]></phrase>
<phrase title="no_bids_found" version_id="0" version_string=""><![CDATA[No bids could be found]]></phrase>
<phrase title="option_auctionNotificationSender" version_id="0" version_string=""><![CDATA[User ID that sends notifications]]></phrase>
<phrase title="option_auctionNotificationSender_explain" version_id="0" version_string=""><![CDATA[Enter the ID of the user that will be used to send auction notifications. Note that this user should NOT participate in any other part of the auctions (eg. bidding, buying and creating auctions).]]></phrase>
<phrase title="option_auctionShippingPrice" version_id="17" version_string="1.2 Beta 1"><![CDATA[Shipping Price]]></phrase>
<phrase title="option_auctionShippingPrice_explain" version_id="17" version_string="1.2 Beta 1"><![CDATA[]]></phrase>
<phrase title="option_auctionsPerPage" version_id="0" version_string=""><![CDATA[Auctions Per Page]]></phrase>
<phrase title="option_auctionsPerPage_explain" version_id="0" version_string=""><![CDATA[Auctions to show per page]]></phrase>
<phrase title="option_auctionTagMode" version_id="12" version_string="1.0 Beta 4 (build 1)"><![CDATA[Tag Display Mode]]></phrase>
<phrase title="option_auctionTagMode_explain" version_id="12" version_string="1.0 Beta 4 (build 1)"><![CDATA[How you want tags to be shown, if you expect to have a large amount of tags it's best to select "Dropdown Mode"]]></phrase>
<phrase title="option_auctionWidgetCriteria" version_id="12" version_string="1.0 Beta 4 (build 1)"><![CDATA[Widget Display Criteria]]></phrase>
<phrase title="option_auctionWidgetCriteria_explain" version_id="12" version_string="1.0 Beta 4 (build 1)"><![CDATA[Enter the prefixes that should trigger or prevent the widget (see Display Mode option above). Separate by new line.]]></phrase>
<phrase title="option_auctionWidgetEnabled" version_id="12" version_string="1.0 Beta 4 (build 1)"><![CDATA[Enable Random Auctions Widget]]></phrase>
<phrase title="option_auctionWidgetEnabled_explain" version_id="12" version_string="1.0 Beta 4 (build 1)"><![CDATA[Once enabled, place the following code in your templates where you want the widget to appear:
<xen:include template="auction_widget" />]]></phrase>
<phrase title="option_auctionWidgetMode" version_id="12" version_string="1.0 Beta 4 (build 1)"><![CDATA[Widget Display Mode]]></phrase>
<phrase title="option_auctionWidgetMode_explain" version_id="12" version_string="1.0 Beta 4 (build 1)"><![CDATA[Whitelist mode will only show the widget on pages that match the prefixes defined below, whereas Blacklist mode will show the widget on all pages EXCEPT the ones defined below.]]></phrase>
<phrase title="option_auctionWidgetPlacement" version_id="12" version_string="1.0 Beta 4 (build 1)"><![CDATA[Widget Placement]]></phrase>
<phrase title="option_auctionWidgetPlacement_explain" version_id="12" version_string="1.0 Beta 4 (build 1)"><![CDATA[Choose the template hook where the auction widget should be placed]]></phrase>
<phrase title="option_group_auctions" version_id="0" version_string=""><![CDATA[Auctions]]></phrase>
<phrase title="option_group_auctions_description" version_id="0" version_string=""><![CDATA[]]></phrase>
<phrase title="outbid" version_id="0" version_string=""><![CDATA[Outbid]]></phrase>
<phrase title="outbid_message" version_id="13" version_string="1.0 Beta 5 (build 1)"><![CDATA[Unfortunately, you have been outbid on [url='{link}']{title}[/url].
The new top bid is: ${top_bid}.]]></phrase>
<phrase title="outbid_on_x" version_id="0" version_string=""><![CDATA[Outbid on: {title}]]></phrase>
<phrase title="paying" version_id="0" version_string=""><![CDATA[Paying]]></phrase>
<phrase title="pending" version_id="0" version_string=""><![CDATA[Pending]]></phrase>
<phrase title="pending_purchases" version_id="0" version_string=""><![CDATA[Pending Purchases]]></phrase>
<phrase title="pending_sales" version_id="0" version_string=""><![CDATA[Pending Sales]]></phrase>
<phrase title="permission_auctions_bidOnAuctions" version_id="0" version_string=""><![CDATA[Bid On Auctions]]></phrase>
<phrase title="permission_auctions_buyoutAuctions" version_id="0" version_string=""><![CDATA[Buyout Auctions]]></phrase>
<phrase title="permission_auctions_createAuctions" version_id="0" version_string=""><![CDATA[Create Auctions]]></phrase>
<phrase title="permission_auctions_editOthersAuctions" version_id="13" version_string="1.0 Beta 5 (build 1)"><![CDATA[Edit Others Auctions]]></phrase>
<phrase title="permission_auctions_editOwnAuctions" version_id="13" version_string="1.0 Beta 5 (build 1)"><![CDATA[Edit Own Auctions]]></phrase>
<phrase title="permission_auctions_expireOthersAuctions" version_id="13" version_string="1.0 Beta 5 (build 1)"><![CDATA[Expire Others Auctions]]></phrase>
<phrase title="permission_auctions_expireOwnAuctions" version_id="13" version_string="1.0 Beta 5 (build 1)"><![CDATA[Expire Own Auctions]]></phrase>
<phrase title="permission_auctions_searchAuctions" version_id="0" version_string=""><![CDATA[Search Auctions]]></phrase>
<phrase title="permission_auctions_viewAuctions" version_id="0" version_string=""><![CDATA[View Auctions]]></phrase>
<phrase title="permission_group_auctions" version_id="0" version_string=""><![CDATA[Auctions]]></phrase>
<phrase title="permission_interface_auctions" version_id="0" version_string=""><![CDATA[Auctions]]></phrase>
<phrase title="place_bid" version_id="0" version_string=""><![CDATA[Place Bid]]></phrase>
<phrase title="please_confirm_that_you_want_to_reject_following_bid" version_id="15" version_string="1.0.1"><![CDATA[Please confirm that you want to reject the following bid]]></phrase>
<phrase title="price" version_id="0" version_string=""><![CDATA[Price]]></phrase>
<phrase title="print_invoices" version_id="17" version_string="1.2 Beta 1"><![CDATA[Print Invoices]]></phrase>
<phrase title="print_selected_invoices" version_id="17" version_string="1.2 Beta 1"><![CDATA[Print Selected Invoices]]></phrase>
<phrase title="quantity" version_id="0" version_string=""><![CDATA[Quantity]]></phrase>
<phrase title="quantity_not_available" version_id="0" version_string=""><![CDATA[You are trying to buy a higher quantity than there is available]]></phrase>
<phrase title="random_auctions" version_id="0" version_string=""><![CDATA[Random Auctions]]></phrase>
<phrase title="recent_bids" version_id="0" version_string=""><![CDATA[Recent Bids]]></phrase>
<phrase title="reject" version_id="0" version_string=""><![CDATA[Reject]]></phrase>
<phrase title="reject_bid" version_id="0" version_string=""><![CDATA[Reject Bid]]></phrase>
<phrase title="requested_auction_not_found" version_id="0" version_string=""><![CDATA[Could not find the requested auction]]></phrase>
<phrase title="requested_bid_not_found" version_id="0" version_string=""><![CDATA[Requested bid not found]]></phrase>
<phrase title="sales" version_id="0" version_string=""><![CDATA[Sales]]></phrase>
<phrase title="sale_not_found" version_id="0" version_string=""><![CDATA[Could not find the requested sale]]></phrase>
<phrase title="sale_status" version_id="0" version_string=""><![CDATA[Sale Status]]></phrase>
<phrase title="sale_x_completed" version_id="0" version_string=""><![CDATA[Sale completed: {title}]]></phrase>
<phrase title="save_auction" version_id="0" version_string=""><![CDATA[Save Auction]]></phrase>
<phrase title="seconds_left" version_id="15" version_string="1.1 Beta 1"><![CDATA[Seconds]]></phrase>
<phrase title="select_one" version_id="0" version_string=""><![CDATA[Select One]]></phrase>
<phrase title="seller" version_id="0" version_string=""><![CDATA[Seller]]></phrase>
<phrase title="skip_message" version_id="0" version_string=""><![CDATA[Skip Message]]></phrase>
<phrase title="sold" version_id="0" version_string=""><![CDATA[Sold]]></phrase>
<phrase title="sold_out" version_id="0" version_string=""><![CDATA[Sold Out]]></phrase>
<phrase title="starting_bid" version_id="0" version_string=""><![CDATA[Starting Bid]]></phrase>
<phrase title="summary" version_id="0" version_string=""><![CDATA[Summary]]></phrase>
<phrase title="tags" version_id="0" version_string=""><![CDATA[Tags]]></phrase>
<phrase title="time_left" version_id="0" version_string=""><![CDATA[Time Left]]></phrase>
<phrase title="type" version_id="0" version_string=""><![CDATA[Type]]></phrase>
<phrase title="user_field_auctionConfirmMessage" global_cache="1" version_id="0" version_string=""><![CDATA[Default Auction Confirmation Message]]></phrase>
<phrase title="user_field_auctionConfirmMessage_desc" version_id="0" version_string=""><![CDATA[The confirmation message to be send to the winner of the auction when you archive the relevant auction. You can use the following tags: {username}, {title}, {link}, {price}, {quantity}]]></phrase>
<phrase title="user_field_auctionPaymentAddress" global_cache="1" version_id="0" version_string=""><![CDATA[Auction Payment Address]]></phrase>
<phrase title="user_field_auctionPaymentAddress_desc" version_id="0" version_string=""><![CDATA[Enter the address that purchasers are supposed to send their payments to.]]></phrase>
<phrase title="viewing_auctions" version_id="0" version_string=""><![CDATA[Viewing Auctions]]></phrase>
<phrase title="view_more" version_id="0" version_string=""><![CDATA[View More]]></phrase>
<phrase title="won" version_id="0" version_string=""><![CDATA[Won]]></phrase>
<phrase title="won_auction_message" version_id="17" version_string="1.2 Beta 1"><![CDATA[Congratulations! You have won [i]{title}[/i].
[b]Your winning bid (cost):[/b] ${top_bid}
[url={invoice_link}]View Invoice[/url]
{payment_address}]]></phrase>
<phrase title="won_auction_x" version_id="0" version_string=""><![CDATA[Auction Won: {title}]]></phrase>
<phrase title="won_pending" version_id="15" version_string="1.1 Beta 1"><![CDATA[Won (pending)]]></phrase>
<phrase title="your_auctions" version_id="0" version_string=""><![CDATA[Your Auctions]]></phrase>
<phrase title="your_bid" version_id="0" version_string=""><![CDATA[Your Bid]]></phrase>
<phrase title="your_bids" version_id="0" version_string=""><![CDATA[Your Bids]]></phrase>
<phrase title="your_buyouts" version_id="0" version_string=""><![CDATA[Your Buyouts]]></phrase>
<phrase title="your_purchases" version_id="0" version_string=""><![CDATA[Your Purchases]]></phrase>
<phrase title="your_sales" version_id="0" version_string=""><![CDATA[Your Sales]]></phrase>
<phrase title="you_have_no_auctions" version_id="0" version_string=""><![CDATA[You have no active auctions]]></phrase>
<phrase title="you_have_no_bids" version_id="0" version_string=""><![CDATA[You have not placed any bids]]></phrase>
<phrase title="you_have_no_buyouts" version_id="0" version_string=""><![CDATA[You have not placed any buyouts]]></phrase>
<phrase title="you_have_no_purchases" version_id="0" version_string=""><![CDATA[You have no purchases]]></phrase>
<phrase title="you_have_no_sales" version_id="0" version_string=""><![CDATA[You have not made any sales yet]]></phrase>
</phrases>
<route_prefixes>
<route_type type="admin">
<prefix original_prefix="auction-bids" class="XenAuction_PrefixAdmin_Bid" build_link="all"/>
</route_type>
<route_type type="public">
<prefix original_prefix="auction-bid" class="XenAuction_RoutePrefix_Bid" build_link="all"/>
<prefix original_prefix="auction-history" class="XenAuction_RoutePrefix_History" build_link="all"/>
<prefix original_prefix="auction-process" class="XenAuction_RoutePrefix_Process" build_link="all"/>
<prefix original_prefix="auctions" class="XenAuction_RoutePrefix_Auctions" build_link="all"/>
</route_type>
</route_prefixes>
<style_properties/>
<templates>
<template title="auction_bid" version_id="13" version_string="1.0 Beta 5 (build 1)"><![CDATA[<xen:require css="auction_bid.css" />
<xen:title>{xen:phrase bidding_on_x, 'title={$auction.title}'}</xen:title>
<xen:navigation>
<xen:breadcrumb href="{xen:link 'auction-bid/bid', '', 'id={$auction.auction_id}'}">{xen:phrase place_bid}</xen:breadcrumb>
</xen:navigation>
<form action="{xen:link 'auction-bid/place-bid', '', 'id={$auction.auction_id}'}" class="xenForm formOverlay auctionBid auctionForm" method="post">
<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
<input type="hidden" name="id" value="{$auction.auction_id}"/>
<input type="hidden" class="min_bid" value="{xen:if $auction.top_bid, {xen:calc '{$auction.top_bid} + 1'}, $auction.min_bid}"/>
<xen:include template="auction_details_content" />
<fieldset class="bid">
<dl class="ctrlUnit">
<dt>{xen:phrase your_bid}:</dt>
<dd>
$ <input type="text" name="bid" value="{xen:if $auction.top_bid, {xen:calc '{$auction.top_bid} + 1'}, $auction.min_bid}" class="textCtrl autoSize" size="20" maxlength="10" />
</dd>
</dl>
</fieldset>
<dl class="ctrlUnit submitUnit">
<dt></dt>
<dd>
<input type="submit" value="{xen:phrase place_bid}" class="button primary" />
</dd>
</dl>
</form>
<script type="text/javascript"><!--
new XenAuction.Bid;
//--></script>]]></template>
<template title="auction_bid.css" version_id="0" version_string=""><![CDATA[.auctionBid .icon
{
float: left;
width: 48px;
height: 48px;
background: url(./data/xenauction/image_s.png) center no-repeat;
margin: 5px 10px;
}]]></template>
<template title="auction_buyout" version_id="13" version_string="1.0 Beta 5 (build 1)"><![CDATA[<xen:require css="auction_bid.css" />
<xen:title>{xen:phrase buying_x, 'title={$auction.title}'}</xen:title>
<xen:navigation>
<xen:breadcrumb href="{xen:link 'auction-bid/buyout', '', 'id={$auction.auction_id}'}">{xen:phrase buy_now}</xen:breadcrumb>
</xen:navigation>
<form action="{xen:link 'auction-bid/place-buyout', '', 'id={$auction.auction_id}'}" class="xenForm formOverlay auctionBid auctionForm" method="post">
<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
<input type="hidden" name="id" value="{$auction.auction_id}"/>
<input type="hidden" class="cost" value="{$auction.buy_now}"/>
<input type="hidden" class="availability" value="{$auction.availability}"/>
<xen:include template="auction_details_content" />
<fieldset class="bid">
<xen:if is="{$auction.availability} > 1">
<dl class="ctrlUnit">
<dt>{xen:phrase quantity}:</dt>
<dd>
<input type="text" name="quantity" value="1" class="textCtrl autoSize" size="20" maxlength="10" />
</dd>
</dl>
<xen:else/>
<input type="hidden" name="quantity" value="1" />
</xen:if>
<dl class="ctrlUnit">
<dt>{xen:phrase availability}:</dt>
<dd>
{$auction.availability}
</dd>
</dl>
<dl class="ctrlUnit">
<dt>{xen:phrase paying}:</dt>
<dd class="paying">
${$auction.buy_now}
</dd>
</dl>
</fieldset>
<dl class="ctrlUnit submitUnit">
<dt></dt>
<dd>
<input type="submit" value="{xen:phrase buy_now}" class="button primary" />
</dd>
</dl>
</form>
<script type="text/javascript"><!--
new XenAuction.Bid;
//--></script>]]></template>
<template title="auction_complete" version_id="14" version_string="1.0 RC1"><![CDATA[<xen:require css="auction_complete.css" />
<xen:require css="auction_details.css" />
<xen:title>{xen:phrase complete_sale}: {$auction.title}</xen:title>
<xen:navigation>
<xen:breadcrumb href="{xen:link 'auctions'}">{xen:phrase auctions}</xen:breadcrumb>
<xen:breadcrumb href="{xen:link 'auction-process/complete', '', 'id={$auction.bid_id}'}">{xen:phrase complete_sale}</xen:breadcrumb>
</xen:navigation>
<form action="{xen:link 'auction-process/mark-complete', '', 'id={$auction.bid_id}'}" class="xenForm formOverlay auctionForm auctionComplete" method="post">
<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
<input type="hidden" name="id" value="{$auction.bid_id}"/>
<dl class="ctrlUnit">
<dt>{xen:phrase buyer}:</dt>
<dd>{$user.username}</dd>
</dl>
<dl class="ctrlUnit">
<dt>{xen:phrase message}:</dt>
<dd>
<textarea name="message" id="message" class="textCtrl Elastic" style="overflow: hidden; width: 100%; height: 200px; ">{$message}</textarea>
</dd>
</dl>
<dl class="ctrlUnit submitUnit">
<dt></dt>
<dd>
<input type="submit" value="{xen:phrase complete_sale}" class="button primary"/>
<a href="{xen:link 'auction-process/mark-complete', '', 'id={$auction.bid_id}'}" class="button primary">{xen:phrase skip_message}</a>
</dd>
</dl>
</form>]]></template>
<template title="auction_create" version_id="14" version_string="1.0 RC1"><![CDATA[<xen:require css="auction_create.css" />
<xen:require css="auction_tags.css" />
<xen:require js="js/xenauction/auctions.js" />
<xen:require js="js/xenauction/chosen/chosen.jquery.js" />
<xen:title>{xen:phrase create_auction}</xen:title>
<xen:navigation>
<xen:breadcrumb href="{xen:link 'auction-process/create'}">{xen:phrase create_auction}</xen:breadcrumb>
</xen:navigation>
<!--<form action="{xen:link 'auction-process/add'}" method="post"
class="xenForm AutoValidator auction"
data-redirect="on"
enctype="multipart/form-data"
>-->
<form action="{xen:link 'auction-process/add'}" method="post"
class="xenForm auction"
enctype="multipart/form-data"
>
<xen:hook name="auction_create">
<dl class="ctrlUnit">
<dt><label for="ctrl_tags">{xen:phrase tags}:</label></dt>
<dd class="tagContainer">
<select name="tags[]" class="chzn-select" multiple="multiple" data-placeholder="{xen:phrase choose_tags}" style="width: {xen:calc '{xen:property formWidth} - {xen:property ctrlUnitLabelWidth} - {xen:property textCtrl.border-left-width} - {xen:property textCtrl.border-right-width} - {xen:property textCtrl.padding-left} - {xen:property textCtrl.padding-right} - {xen:property ctrlUnitEdgeSpacer}'}px">
<xen:foreach loop="$allTags" value="$tag">
<option value="{$tag.tag_id}">{$tag.name}</option>
</xen:foreach>
</select>
</dd>
</dl>
<div class="summary">
<dl class="ctrlUnit fullWidth surplusLabel">
<dt><label for="ctrl_title_thread_create">{xen:phrase title}:</label></dt>
<dd><input type="text" name="title" class="textCtrl titleCtrl" id="ctrl_title_auction_create" maxlength="100" autofocus="true"
placeholder="{xen:phrase auction_title}..." /></dd>
</dl>
<dl class="ctrlUnit fullWidth">
<dt></dt>
<dd>{xen:raw $editorTemplate}</dd>
</dl>
</div>
<div class="details">
<h3 class="textHeading">{xen:phrase details}</h3>
<dl class="ctrlUnit">
<dt>Image:</dt>
<dd><input type="file" name="image" /></dd>
</dl>
<dl class="ctrlUnit">
<dt>{xen:phrase expires_in}:</dt>
<dd>
<input type="text" name="expires" class="textCtrl autoSize" value="3" size="5" maxlength="5" />
{xen:phrase days}
</dd>
</dl>
<dl class="ctrlUnit">
<dt>{xen:phrase starting_bid}:</dt>
<dd>
<input type="text" name="starting_bid" class="textCtrl autoSize" size="10" maxlength="10" disabled="disabled" />
<input type="checkbox" name="bid_enable" id="bid_enable" value="1" /> <label for="bid_enable">{xen:phrase enable_bids}</label>
</dd>
</dl>
<dl class="ctrlUnit">
<dt>{xen:phrase buyout}:</dt>
<dd>
<input type="text" name="buyout" class="textCtrl autoSize" size="10" maxlength="10" disabled="disabled" />
<input type="checkbox" name="buyout_enable" id="buyout_enable" value="1" /> <label for="buyout_enable">{xen:phrase enable_buyouts}</label>
</dd>
</dl>
<dl class="ctrlUnit" id="availability_wrap" style="display: none;">
<dt>{xen:phrase availability}:</dt>
<dd>
<input type="text" name="availability" class="textCtrl autoSize" placeholder="1" size="10" maxlength="10"/>
</dd>
</dl>
<h3 class="textHeading">{xen:phrase advanced}</h3>
<dl class="ctrlUnit" id="availability_wrap">
<dt>{xen:phrase copies_to_create}:</dt>
<dd>
<input type="text" name="batch" class="textCtrl autoSize" placeholder="1" size="10" maxlength="10"/>
</dd>
</dl>
</div>
<!-- slot: after_editor -->
<dl class="ctrlUnit submitUnit">
<dd>
<input type="submit" value="{xen:phrase create_auction}" accesskey="s" class="button primary" />
</dd>
</dl>
<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</xen:hook>
</form>
<script type="text/javascript"><!--
<xen:include template="auction_phrases_js"/>
new XenAuction.Create;
//--></script>]]></template>
<template title="auction_create.css" version_id="13" version_string="1.0 Beta 5 (build 1)"><![CDATA[.auction .summary .icon
{
width: 30px;
height: 30px;
margin: 20px 0 0 30px;
float: left;
}
.textCtrl.titleCtrl
{
margin-left: 30px !important;
width: {xen:calc "{xen:property formWidth} - {xen:property textCtrl.border-left-width} - {xen:property textCtrl.border-right-width} - {xen:property textCtrl.padding-left} - {xen:property textCtrl.padding-right} - 2 * {xen:property ctrlUnitEdgeSpacer}"}px !important;
}
.auction .details, .auction .ctrlUnit.submitUnit
{
margin-top: 30px;
}
.auction .ctrlUnit.submitUnit dd
{
width: 100%;
text-align: center;
}
.auction .details .ctrlUnit dt
{
}
.ctrlUnit.double
{
clear: both;
}
.ctrlUnit.double dt,
.ctrlUnit.double dd
{
float: left;
}
.ctrlUnit.double dd
{
width: 100px;
}
label[for="ctrl_tags"]
{
margin-top: 10px;
display: block;
}
/*
.auction .chzn-container, .auction .tags
{
width: {xen:calc "{xen:property formWidth} - {xen:property textCtrl.border-left-width} - {xen:property textCtrl.border-right-width} - {xen:property textCtrl.padding-left} - {xen:property textCtrl.padding-right} - 2 * {xen:property ctrlUnitEdgeSpacer}"}px;
}
.xenOverlay .auction .chzn-container, .xenOverlay .auction .tags
{
width: {xen:calc "{xen:property overlayFormWidth} - {xen:property textCtrl.border-left-width} - {xen:property textCtrl.border-right-width} - {xen:property textCtrl.padding-left} - {xen:property textCtrl.padding-right} - 2 * {xen:property ctrlUnitEdgeSpacer}"}px;
}
*/]]></template>
<template title="auction_details" version_id="16" version_string="1.2 Beta 1"><![CDATA[<xen:require css="auction_bid.css" />
<xen:title>{$auction.title}</xen:title>
<xen:navigation>
<xen:breadcrumb href="{xen:link 'auctions'}">{xen:phrase auctions}</xen:breadcrumb>
<xen:breadcrumb href="{xen:link 'auction-bid/bid', '', 'id={$auction.auction_id}'}">{xen:phrase place_bid}</xen:breadcrumb>
</xen:navigation>
<form class="xenForm formOverlay auctionForm auctionBid">
<xen:include template="auction_details_content" />
<dl class="ctrlUnit submitUnit">
<dd>
<xen:if is="{$auction.status}=='active' && {$visitor.user_id}!={$auction.user_id} && {xen:helper auction, hasPermission, 'bidOnAuctions||buyoutAuctions'}">
<xen:if is="{$auction.min_bid}">
<a class="OverlayTrigger button primary" href="{xen:link 'auction-bid/bid', '', 'id={$auction.auction_id}'}">{xen:phrase place_bid}</a>
</xen:if>
<xen:if is="{$auction.buy_now}">
<a class="OverlayTrigger button primary" href="{xen:link 'auction-bid/buyout', '', 'id={$auction.auction_id}'}">{xen:phrase buy_now}</a>
</xen:if>
</xen:if>
<xen:if is="{$auction.status}!='active' && {$auction.archived}!=1 && {$visitor.user_id}=={$auction.user_id}">
<a class="OverlayTrigger button primary" href="{xen:link 'auction-process/archive', '', 'id={$auction.auction_id}'}">{xen:phrase archive_auction}</a>
</xen:if>
<xen:if is="{$visitor.user_id}=={$auction.user_id} && ({$bid} || {xen:helper auction, hasPermission, 'editOwnAuctions'})">
<xen:if is="{$bid} && {$bid.completed} == 0">
<a class="OverlayTrigger button primary" href="{xen:link auction-process/complete, '', 'id={$bid.bid_id}'}">{xen:phrase complete_sale}</a>
</xen:if>
<xen:if is="{$auction.status}=='active' && {xen:helper auction, hasPermission, 'editOwnAuctions'}">
<a class="button primary" href="{xen:link auction-process/edit, '', 'id={$auction.auction_id}'}">{xen:phrase edit_auction}</a>
</xen:if>
</xen:if>
<xen:if is="{$auction.status}=='active'">
<xen:if is="{$visitor.user_id}!={$auction.user_id} && {xen:helper auction, hasPermission, 'editOthersAuctions'}">
<a class="button primary" href="{xen:link auction-process/edit, '', 'id={$auction.auction_id}'}">{xen:phrase edit_auction}</a>
</xen:if>
<xen:if is="({$visitor.user_id}=={$auction.user_id} && {xen:helper auction, hasPermission, 'expireOwnAuctions'}) || {xen:helper auction, hasPermission, 'expireOthersAuctions'}">
<a href="{xen:link auction-process/expire, '', 'id={$auction.auction_id}'}" class="button primary">{xen:phrase expire_auction}</a>
</xen:if>
</xen:if>
</dd>
</dl>
</form>]]></template>
<template title="auction_details.css" version_id="17" version_string="1.2 Beta 1"><![CDATA[.auctionDetails .message
{
min-height: 170px;
}
.auctionDetails .auctionImage
{
float: right;
margin: 10px;
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
-khtml-border-radius: 4px;
}
dl.doubleButtons dt
{
width: {xen:calc '{xen:property overlayCtrlUnitLabelWidth} - {xen:property ctrlUnitLabel.padding-left} - {xen:property ctrlUnitLabel.padding-right} - 50'}px !important;
}
.xenForm.auctionForm .ctrlUnit.submitUnit dd
{
width: 100%;
text-align: center;
}
.formOverlay.auctionForm
{
border: 0 !important;
}
.formOverlay.auctionForm .ctrlUnit
{
border-top: 0;
}
.formOverlay.auctionForm .heading.h1
{
background: transparent;
border: 0;
padding: 0;
}
.formOverlay.auctionForm .auctionImage
{
border-radius: 4px;
background-color: rgba(0,0,0,0.2);
padding: 5px;
}
#lbOverlay, #lbCenter, #lbBottomContainer {
z-index: 99999 !important;
}
.auctionDetails .auctionImage.size_m
{
width: 150px;
height: 150px;
}]]></template>
<template title="auction_details_content" version_id="14" version_string="1.0 RC1"><![CDATA[<xen:require css="auction_details.css" />
<div class="auctionDetails">
<div class="message">
{xen:helper auction, image, $auction, 'm', 0, 0}
{xen:raw $auction.messageHtml}
</div>
</div>]]></template>
<template title="auction_edit" version_id="13" version_string="1.0 Beta 5 (build 1)"><![CDATA[<xen:require css="auction_create.css" />
<xen:require css="auction_tags.css" />
<xen:require js="js/xenauction/auctions.js" />
<xen:require js="js/xenauction/chosen/chosen.jquery.js" />
<xen:title>{xen:phrase edit_auction}</xen:title>
<xen:navigation>
<xen:breadcrumb href="{xen:link 'auction-process/edit', '', 'id={$auction.auction_id}'}">{xen:phrase edit_auction}</xen:breadcrumb>
</xen:navigation>
<form action="{xen:link 'auction-process/save'}" method="post"
class="xenForm auction"
enctype="multipart/form-data"
>
<xen:hook name="auction_create">
<dl class="ctrlUnit">
<dt><label for="ctrl_tags">{xen:phrase tags}:</label></dt>
<dd class="tagContainer">
<select name="tags[]" class="chzn-select" multiple="multiple" data-placeholder="{xen:phrase choose_tags}" style="width: {xen:calc '{xen:property formWidth} - {xen:property ctrlUnitLabelWidth} - {xen:property textCtrl.border-left-width} - {xen:property textCtrl.border-right-width} - {xen:property textCtrl.padding-left} - {xen:property textCtrl.padding-right} - {xen:property ctrlUnitEdgeSpacer}'}px">
<xen:foreach loop="$allTags" value="$tag">
<option value="{$tag.tag_id}" {xen:if {$tags.{$tag.tag_id}}, 'selected="selected"'}>{$tag.name}</option>
</xen:foreach>
</select>
</dd>
</dl>
<div class="summary">
<dl class="ctrlUnit fullWidth surplusLabel">
<dt><label for="ctrl_title_thread_create">{xen:phrase title}:</label></dt>
<dd><input type="text" name="title" class="textCtrl titleCtrl" id="ctrl_title_auction_create" maxlength="100" autofocus="true"
placeholder="{xen:phrase auction_title}..." value="{$auction.title}" /></dd>
</dl>
<dl class="ctrlUnit fullWidth">
<dt></dt>
<dd>{xen:raw $editorTemplate}</dd>
</dl>
</div>
<div class="details">
<h3 class="textHeading">{xen:phrase details}</h3>
<dl class="ctrlUnit">
<dt>Image:</dt>
<dd><input type="file" name="image" /></dd>
</dl>
</div>
<!-- slot: after_editor -->
<dl class="ctrlUnit submitUnit">
<dd>
<input type="submit" value="{xen:phrase save_auction}" accesskey="s" class="button primary" />
</dd>
</dl>
<input type="hidden" name="id" value="{$auction.auction_id}" />
<input type="hidden" name="_xfToken" value="{$visitor.csrf_token_page}" />
</xen:hook>
</form>
<script type="text/javascript"><!--
<xen:include template="auction_phrases_js"/>
new XenAuction.Create;
//--></script>]]></template>
<template title="auction_history_auctions" version_id="17" version_string="1.2 Beta 1"><![CDATA[<xen:require css="auction_history_auctions.css" />
<xen:require js="js/xenauction/auctions.js" />
<xen:if is="{$archived}">
<xen:title>{xen:phrase archived_auctions}</xen:title>
<xen:else/>
<xen:title>{xen:phrase your_auctions}</xen:title>
</xen:if>
<xen:navigation>
<xen:breadcrumb href="{xen:link 'auction-history'}">{xen:phrase history}</xen:breadcrumb>
</xen:navigation>
<div class="historyAuctions">
<xen:if is="{$auctions}">
<table class="auctions dataTable">
<thead>
<tr class="dataRow">
<th class="entryId"></th>
<th class="title">{xen:phrase title}</th>
<th class="timeLeft">{xen:phrase time_left}</th>
<th class="type">{xen:phrase type}</th>
<th class="bids">{xen:phrase bids}</th>
<th class="sales">{xen:phrase sales}</th>
</tr>
</thead>
<tbody>
<xen:foreach loop="$auctions" value="$auction">
<tr class="dataRow auctionItem status_{$auction.status}">
<td class="entryId">
#{$auction.auction_id}
</td>
<td class="title">
<a class="OverlayTrigger" href="{xen:link 'auctions/details', '', 'id={$auction.auction_id}'}">{$auction.title}</a>
</td>
<td class="timeLeft">
<xen:if is="{$auction.status} == 'active'">
<div>{$auction.expiration_date}</div>
<xen:elseif is="{$auction.status} == 'canceled'"/>
{xen:phrase canceled}
<xen:else/>
<xen:if is="{$auction.sales}">
{xen:phrase finished}
<xen:else/>
{xen:phrase expired}
</xen:if>
</xen:if>
</td>
<td class="type">
<xen:if is="{$auction.min_bid} && {$auction.buy_now}">
Bid, Buyout
<xen:elseif is="{$auction.min_bid}"/>
Bid
<xen:elseif is="{$auction.buy_now}"/>
Buyout
</xen:if>
</td>
<td class="bids">
<xen:if is="{$auction.min_bid}">
<strong>{$auction.bids}</strong> {xen:phrase bids}
<xen:else/>
-
</xen:if>
</td>
<td class="sales">
<strong>{$auction.sales}</strong> {xen:phrase sold}