-
Notifications
You must be signed in to change notification settings - Fork 28
/
pay.html
937 lines (781 loc) · 24.2 KB
/
pay.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>网站设置 - 2B龙 CMS</title>
<meta name="description" content="with selectable items(single & multiple) and custom icons" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!--basic styles-->
<link href="assets/css/bootstrap.min.css" rel="stylesheet" />
<link href="assets/css/bootstrap-responsive.min.css" rel="stylesheet" />
<link rel="stylesheet" href="assets/css/font-awesome.min.css" />
<!--[if IE 7]>
<link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" />
<![endif]-->
<!--page specific plugin styles-->
<!--fonts-->
<link rel="stylesheet" href="http://fonts.useso.com/css?family=Open+Sans:400,300" />
<!--ace styles-->
<link rel="stylesheet" href="assets/css/ace.min.css" />
<link rel="stylesheet" href="assets/css/ace-responsive.min.css" />
<link rel="stylesheet" href="assets/css/ace-skins.min.css" />
<!--[if lte IE 8]>
<link rel="stylesheet" href="assets/css/ace-ie.min.css" />
<![endif]-->
<!--inline styles related to this page-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head>
<body>
<div class="navbar">
<div class="navbar-inner">
<div class="container-fluid">
<a href="#" class="brand">
<small>
<i class="icon-thumbs-down"></i>
2B龙CMS
</small>
</a><!--/.brand-->
<ul class="nav ace-nav pull-right">
<li class="grey">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<i class="icon-tasks"></i>
<span class="badge badge-grey">4</span>
</a>
<ul class="pull-right dropdown-navbar dropdown-menu dropdown-caret dropdown-closer">
<li class="nav-header">
<i class="icon-ok"></i>
4 Tasks to complete
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">Software Update</span>
<span class="pull-right">65%</span>
</div>
<div class="progress progress-mini ">
<div style="width:65%" class="bar"></div>
</div>
</a>
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">Hardware Upgrade</span>
<span class="pull-right">35%</span>
</div>
<div class="progress progress-mini progress-danger">
<div style="width:35%" class="bar"></div>
</div>
</a>
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">Unit Testing</span>
<span class="pull-right">15%</span>
</div>
<div class="progress progress-mini progress-warning">
<div style="width:15%" class="bar"></div>
</div>
</a>
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">Bug Fixes</span>
<span class="pull-right">90%</span>
</div>
<div class="progress progress-mini progress-success progress-striped active">
<div style="width:90%" class="bar"></div>
</div>
</a>
</li>
<li>
<a href="#">
See tasks with details
<i class="icon-arrow-right"></i>
</a>
</li>
</ul>
</li>
<li class="purple">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<i class="icon-bell-alt icon-animated-bell"></i>
<span class="badge badge-important">8</span>
</a>
<ul class="pull-right dropdown-navbar navbar-pink dropdown-menu dropdown-caret dropdown-closer">
<li class="nav-header">
<i class="icon-warning-sign"></i>
8 Notifications
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">
<i class="btn btn-mini no-hover btn-pink icon-comment"></i>
New Comments
</span>
<span class="pull-right badge badge-info">+12</span>
</div>
</a>
</li>
<li>
<a href="#">
<i class="btn btn-mini btn-primary icon-user"></i>
Bob just signed up as an editor ...
</a>
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">
<i class="btn btn-mini no-hover btn-success icon-shopping-cart"></i>
New Orders
</span>
<span class="pull-right badge badge-success">+8</span>
</div>
</a>
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">
<i class="btn btn-mini no-hover btn-info icon-twitter"></i>
Followers
</span>
<span class="pull-right badge badge-info">+11</span>
</div>
</a>
</li>
<li>
<a href="#">
See all notifications
<i class="icon-arrow-right"></i>
</a>
</li>
</ul>
</li>
<li class="green">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<i class="icon-envelope icon-animated-vertical"></i>
<span class="badge badge-success">5</span>
</a>
<ul class="pull-right dropdown-navbar dropdown-menu dropdown-caret dropdown-closer">
<li class="nav-header">
<i class="icon-envelope-alt"></i>
5 Messages
</li>
<li>
<a href="#">
<img src="assets/avatars/avatar.png" class="msg-photo" alt="Alex's Avatar" />
<span class="msg-body">
<span class="msg-title">
<span class="blue">Alex:</span>
Ciao sociis natoque penatibus et auctor ...
</span>
<span class="msg-time">
<i class="icon-time"></i>
<span>a moment ago</span>
</span>
</span>
</a>
</li>
<li>
<a href="#">
<img src="assets/avatars/avatar3.png" class="msg-photo" alt="Susan's Avatar" />
<span class="msg-body">
<span class="msg-title">
<span class="blue">Susan:</span>
Vestibulum id ligula porta felis euismod ...
</span>
<span class="msg-time">
<i class="icon-time"></i>
<span>20 minutes ago</span>
</span>
</span>
</a>
</li>
<li>
<a href="#">
<img src="assets/avatars/avatar4.png" class="msg-photo" alt="Bob's Avatar" />
<span class="msg-body">
<span class="msg-title">
<span class="blue">Bob:</span>
Nullam quis risus eget urna mollis ornare ...
</span>
<span class="msg-time">
<i class="icon-time"></i>
<span>3:15 pm</span>
</span>
</span>
</a>
</li>
<li>
<a href="#">
See all messages
<i class="icon-arrow-right"></i>
</a>
</li>
</ul>
</li>
<li class="light-blue">
<a data-toggle="dropdown" href="#" class="dropdown-toggle">
<img class="nav-user-photo" src="assets/avatars/user.jpg" alt="Jason's Photo" />
<span class="user-info">
<small>Welcome,</small>
2B龙
</span>
<i class="icon-caret-down"></i>
</a>
<ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-closer">
<li>
<a href="#">
<i class="icon-cog"></i>
设置
</a>
</li>
<li>
<a href="#">
<i class="icon-user"></i>
个人信息
</a>
</li>
<li class="divider"></li>
<li>
<a href="#">
<i class="icon-off"></i>
退出
</a>
</li>
</ul>
</li>
</ul><!--/.ace-nav-->
</div><!--/.container-fluid-->
</div><!--/.navbar-inner-->
</div>
<div class="main-container container-fluid">
<a class="menu-toggler" id="menu-toggler" href="#">
<span class="menu-text"></span>
</a>
<div class="sidebar" id="sidebar">
<div class="sidebar-shortcuts" id="sidebar-shortcuts">
<div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
<button class="btn btn-small btn-success">
<i class="icon-signal"></i>
</button>
<button class="btn btn-small btn-info">
<i class="icon-pencil"></i>
</button>
<button class="btn btn-small btn-warning">
<i class="icon-group"></i>
</button>
<button class="btn btn-small btn-danger">
<i class="icon-cogs"></i>
</button>
</div>
<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
<span class="btn btn-success"></span>
<span class="btn btn-info"></span>
<span class="btn btn-warning"></span>
<span class="btn btn-danger"></span>
</div>
</div><!--#sidebar-shortcuts-->
<ul class="nav nav-list">
<li>
<a href="admin.html">
<i class="icon-bar-chart"></i>
<span class="menu-text">基本信息</span>
</a>
</li>
<li>
<a href="#" class="dropdown-toggle">
<i class="icon-folder-open-alt"></i>
<span class="menu-text"> 内容管理 </span>
<b class="arrow icon-angle-down"></b>
</a>
<ul class="submenu">
<li>
<a href="#" class="dropdown-toggle">
<i class="icon-double-angle-right"></i>
文档模型
<b class="arrow icon-angle-down"></b>
</a>
<ul class="submenu">
<li>
<a href="elements.html">
<i class="icon-double-angle-right"></i>
我的文档
</a>
<li>
<a href="elements.html">
<i class="icon-double-angle-right"></i>
草稿箱
</a>
</li>
<li>
<a href="elements.html">
<i class="icon-double-angle-right"></i>
待审核
</a>
</li>
</li>
</ul>
</li>
<li>
<a href="elements.html">
<i class="icon-double-angle-right"></i>
文章列表
</a>
</li>
<li>
<a href="elements.html">
<i class="icon-double-angle-right"></i>
回收站
</a>
</li>
</ul>
</li>
<li>
<a href="user.html">
<i class="icon-group"></i>
<span class="menu-text"> 用户管理 <span class="badge badge-primary "><i class="icon-arrow-up"></i>12</span>
</span>
</a>
</li>
<li class="active">
<a href="pay.html">
<i class="icon-money"></i>
<span class="menu-text"> 支付方式 </span>
</a>
</li>
<li class="">
<a href="#" class="dropdown-toggle">
<i class="icon-cogs"></i>
<span class="menu-text"> 系统设置 </span>
<b class="arrow icon-angle-down"></b>
</a>
<ul class="submenu">
<li class="">
<a href="siteset.html">
<i class="icon-double-angle-right"></i>
网站设置
</a>
</li>
<li>
<a href="buttons.html">
<i class="icon-double-angle-right"></i>
分类管理
</a>
</li>
<li>
<a href="treeview.html">
<i class="icon-double-angle-right"></i>
模型管理
</a>
</li>
<li>
<a href="treeview.html">
<i class="icon-double-angle-right"></i>
配置管理
</a>
</li>
<li>
<a href="treeview.html">
<i class="icon-double-angle-right"></i>
链接管理
</a>
</li>
<li>
<a href="#" class="dropdown-toggle">
<i class="icon-double-angle-right"></i>
备份还原
<b class="arrow icon-angle-down"></b>
</a>
<ul class="submenu">
<li>
<a href="#">
<i class="icon-download-alt"></i>
数据库备份
</a>
</li>
<li>
<a href="#" class="dropdown-toggle">
<i class="icon-upload-alt"></i>
数据库还原
</a>
</li>
<li>
<a href="#">
<i class="icon-cloud-download"></i>
文件备份
</a>
</li>
<li>
<a href="#" class="dropdown-toggle">
<i class="icon-cloud-upload"></i>
文件还原
</a>
</li>
</ul>
</li>
</ul>
</li>
</ul><!--/.nav-list-->
<div class="sidebar-collapse" id="sidebar-collapse">
<i class="icon-double-angle-left"></i>
</div>
</div>
<div class="main-content">
<div class="breadcrumbs" id="breadcrumbs">
<ul class="breadcrumb">
<li>
<i class="icon-home home-icon"></i>
<a href="#">主页</a>
<span class="divider">
<i class="icon-angle-right arrow-icon"></i>
</span>
</li>
<li class="active">基本信息</li>
</ul><!--.breadcrumb-->
<div class="nav-search" id="nav-search">
<form class="form-search" />
<span class="input-icon">
<input type="text" placeholder="搜索 ..." class="input-small nav-search-input" id="nav-search-input" autocomplete="off" />
<i class="icon-search nav-search-icon"></i>
</span>
</form>
</div><!--#nav-search-->
</div>
<div class="page-content">
<div class="page-header position-relative">
<h1>
购买页面
<small>
<i class="icon-double-angle-right"></i>
选择适合你的网站托管
</small>
</h1>
</div><!--/.page-header-->
<div class="space-24"></div>
<div class="row-fluid">
<div class="span3">
<div class="widget-box pricing-box">
<div class="widget-header header-color-dark">
<h5 class="bigger lighter">基本型</h5>
</div>
<div class="widget-body">
<div class="widget-main">
<ul class="unstyled spaced2">
<li>
<i class="icon-ok green"></i>
10 GB Disk Space
</li>
<li>
<i class="icon-ok green"></i>
200 GB Bandwidth
</li>
<li>
<i class="icon-ok green"></i>
100 Email Accounts
</li>
<li>
<i class="icon-ok green"></i>
10 MySQL Databases
</li>
<li>
<i class="icon-ok green"></i>
$10 Ad Credit
</li>
<li>
<i class="icon-remove red"></i>
Free Domain
</li>
</ul>
<hr>
<div class="price">
$5
<small>/month</small>
</div>
</div>
<div>
<a href="#" class="btn btn-block btn-inverse">
<span>购买</span>
</a>
</div>
</div>
</div>
</div>
<div class="span3">
<div class="widget-box pricing-box">
<div class="widget-header header-color-orange">
<h5 class="bigger lighter">经济型</h5>
</div>
<div class="widget-body">
<div class="widget-main">
<ul class="unstyled spaced2">
<li>
<i class="icon-ok green"></i>
50 GB Disk Space
</li>
<li>
<i class="icon-ok green"></i>
1 TB Bandwidth
</li>
<li>
<i class="icon-ok green"></i>
1000 Email Accounts
</li>
<li>
<i class="icon-ok green"></i>
100 MySQL Databases
</li>
<li>
<i class="icon-ok green"></i>
$25 Ad Credit
</li>
<li>
<i class="icon-ok green"></i>
Free Domain
</li>
</ul>
<hr>
<div class="price">
$10
<small>/month</small>
</div>
</div>
<div>
<a href="#" class="btn btn-block btn-warning">
<span>购买</span>
</a>
</div>
</div>
</div>
</div>
<div class="span3">
<div class="widget-box pricing-box">
<div class="widget-header header-color-blue">
<h5 class="bigger lighter">商业型</h5>
</div>
<div class="widget-body">
<div class="widget-main">
<ul class="unstyled spaced2">
<li>
<i class="icon-ok green"></i>
200 GB Disk Space
</li>
<li>
<i class="icon-ok green"></i>
Unlimited Bandwidth
</li>
<li>
<i class="icon-ok green"></i>
1000 Email Accounts
</li>
<li>
<i class="icon-ok green"></i>
200 MySQL Databases
</li>
<li>
<i class="icon-ok green"></i>
$25 Ad Credit
</li>
<li>
<i class="icon-ok green"></i>
Free Domain
</li>
</ul>
<hr>
<div class="price">
$15
<small>/month</small>
</div>
</div>
<div>
<a href="#" class="btn btn-block btn-primary">
<span>购买</span>
</a>
</div>
</div>
</div>
</div>
<div class="span3">
<div class="widget-box pricing-box">
<div class="widget-header header-color-green">
<h5 class="bigger lighter">专业型</h5>
</div>
<div class="widget-body">
<div class="widget-main">
<ul class="unstyled spaced2">
<li>
<i class="icon-ok green"></i>
Unlimited Space
</li>
<li>
<i class="icon-ok green"></i>
Unlimited Bandwidth
</li>
<li>
<i class="icon-ok green"></i>
Unlimited Email Accounts
</li>
<li>
<i class="icon-ok green"></i>
Unlimited MySQL Databases
</li>
<li>
<i class="icon-ok green"></i>
$50 Ad Credit
</li>
<li>
<i class="icon-ok green"></i>
2 Free Domains
</li>
</ul>
<hr>
<div class="price">
$25
<small>/month</small>
</div>
</div>
<div>
<a href="#" class="btn btn-block btn-success">
<span>购买</span>
</a>
</div>
</div>
</div>
</div>
</div><!--/.row-fluid-->
</div><!--/.page-content-->
<div class="ace-settings-container" id="ace-settings-container">
<div class="btn btn-app btn-mini btn-warning ace-settings-btn" id="ace-settings-btn">
<i class="icon-cog bigger-150"></i>
</div>
<div class="ace-settings-box" id="ace-settings-box">
<div>
<div class="pull-left">
<select id="skin-colorpicker" class="hide">
<option data-class="default" value="#438EB9" />#438EB9
<option data-class="skin-1" value="#222A2D" />#222A2D
<option data-class="skin-2" value="#C6487E" />#C6487E
<option data-class="skin-3" value="#D0D0D0" />#D0D0D0
</select>
</div>
<span> Choose Skin</span>
</div>
<div>
<input type="checkbox" class="ace-checkbox-2" id="ace-settings-header" />
<label class="lbl" for="ace-settings-header"> Fixed Header</label>
</div>
<div>
<input type="checkbox" class="ace-checkbox-2" id="ace-settings-sidebar" />
<label class="lbl" for="ace-settings-sidebar"> Fixed Sidebar</label>
</div>
<div>
<input type="checkbox" class="ace-checkbox-2" id="ace-settings-breadcrumbs" />
<label class="lbl" for="ace-settings-breadcrumbs"> Fixed Breadcrumbs</label>
</div>
<div>
<input type="checkbox" class="ace-checkbox-2" id="ace-settings-rtl" />
<label class="lbl" for="ace-settings-rtl"> Right To Left (rtl)</label>
</div>
</div>
</div><!--/#ace-settings-container-->
</div><!--/.main-content-->
</div><!--/.main-container-->
<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-small btn-inverse">
<i class="icon-double-angle-up icon-only bigger-110"></i>
</a>
<!--basic scripts-->
<!--[if !IE]>-->
<script src="http://ajax.useso.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<!--<![endif]-->
<!--[if IE]>
<script src="http://ajax.useso.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<![endif]-->
<!--[if !IE]>-->
<script type="text/javascript">
window.jQuery || document.write("<script src='assets/js/jquery-2.0.3.min.js'>"+"<"+"/script>");
</script>
<!--<![endif]-->
<!--[if IE]>
<script type="text/javascript">
window.jQuery || document.write("<script src='assets/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
</script>
<![endif]-->
<script type="text/javascript">
if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
</script>
<script src="assets/js/bootstrap.min.js"></script>
<!--page specific plugin scripts-->
<script src="assets/js/bootstrap-tag.min.js"></script>
<script src="assets/js/jquery.inputlimiter.1.3.1.min.js"></script>
<!--ace scripts-->
<script src="assets/js/ace-elements.min.js"></script>
<script src="assets/js/ace.min.js"></script>
<!--inline scripts related to this page-->
<script type="text/javascript">
$(function(){
$('[data-rel=tooltip]').tooltip({container:'body'});
$('textarea[class*=limited]').each(function() {
var limit = parseInt($(this).attr('data-maxlength')) || 100;
$(this).inputlimiter({
"limit": limit,
remText: '%n 字符剩余 ...',
limitText: '最多支持 : %n.'
});
});
$('#id-input-file-1 , #id-input-file-2').ace_file_input({
no_file:'No File ...',
btn_choose:'Choose',
btn_change:'Change',
droppable:false,
onchange:null,
thumbnail:false //| true | large
//whitelist:'gif|png|jpg|jpeg'
//blacklist:'exe|php'
//onchange:''
//
});
$('#id-input-file-3').ace_file_input({
style:'well',
btn_choose:'将文件拖到这里或点击选择文件',
btn_change:null,
no_icon:'icon-cloud-upload',
droppable:true,
thumbnail:'small'
//,icon_remove:null//set null, to hide remove/reset button
/**,before_change:function(files, dropped) {
//Check an example below
//or examples/file-upload.html
return true;
}*/
/**,before_remove : function() {
return true;
}*/
,
preview_error : function(filename, error_code) {
//name of the file that failed
//error_code values
//1 = 'FILE_LOAD_FAILED',
//2 = 'IMAGE_LOAD_FAILED',
//3 = 'THUMBNAIL_FAILED'
//alert(error_code);
}
}).on('change', function(){
//console.log($(this).data('ace_input_files'));
//console.log($(this).data('ace_input_method'));
});
//we could just set the data-provide="tag" of the element inside HTML, but IE8 fails!
var tag_input = $('#form-field-tags');
if(! ( /msie\s*(8|7|6)/.test(navigator.userAgent.toLowerCase())) )
tag_input.tag({placeholder:tag_input.attr('placeholder')});
else {
//display a textarea for old IE, because it doesn't support this plugin or another one I tried!
tag_input.after('<textarea id="'+tag_input.attr('id')+'" name="'+tag_input.attr('name')+'" rows="3">'+tag_input.val()+'</textarea>').remove();
//$('#form-field-tags').autosize({append: "\n"});
}
});
</script>
</body>
</html>