3
if( !defined('IN_CC_HOST') ) exit;
5
$cc_host_config_export = array (
8
'config_type' => 'config',
9
'config_scope' => 'media',
10
'config_data' => array (
11
'cc-host-version' => 5.1,
12
'cookie-domain' => '',
13
'site-disabled' => '',
14
'enable-key' => 'jimi',
15
'enable-password' => '_change_me_1263468543',
16
'user-upload-root' => 'content',
17
'contest-upload-root' => 'contests',
18
'dataview-dir' => 'openfontlibrary_files/dataviews/',
19
'template-root' => 'openfontlibrary_files/skins/',
20
'image-upload-dir' => 'openfontlibrary_files/images/',
21
'files-root' => 'openfontlibrary_files/docs',
22
'extra-lib' => 'openfontlibrary_files/lib',
23
'error-txt' => 'openfontlibrary_files/error-msg.txt',
24
'disabled-msg' => 'openfontlibrary_files/disabled-msg.txt',
25
'install-user-root' => 'openfontlibrary_files/',
27
'temp-dir' => '/var/www/openfontlibrary.org/temp/',
28
'logfile-dir' => '/var/www/openfontlibrary.org/logs/',
29
'mail_sender' => 'dave@lab6.com',
31
'mail_uploaders' => 8,
32
'mail_registered' => 8,
35
'pretty-urls' => 'on',
36
'getid3-path' => '/var/www/openfontlibrary.org/htdocs/getid3',
38
'getid3-fileverify-enabled' => 1,
39
'ban-message' => 'str_ban_message',
40
'ban-email-enable' => 1,
41
'ban-email' => 'str_ban_email',
43
'allow-pool-search' => 1,
44
'allow-pool-register' => '',
48
'lang_locale_pref' => 'default',
50
'run_once' => 'welcome',
51
'pool-push-hub' => '',
52
'pool-pull-hub' => '',
53
'pool-remix-throttle' => 10,
56
'tags-min-length' => 3,
57
'tags-max-length' => 25,
58
'feed-cache-flag' => '',
61
'reviews_enabled' => 1,
63
'flag_msg' => 'str_flag_msg',
67
'lang_per_user' => '',
68
'site_promo_tag' => 'site_promo',
69
'default_user_image' => 'openfontlibrary_files/images/avatar.png',
71
'tags-inherit' => array (
72
0 => 'digital_distortion',
74
'enable_playlists' => 1,
75
'playlist_promo_tag' => 'site_promo',
76
'embedded_player' => 'ccskins/shared/players/player_native.php',
82
'search-user-path-first' => 1,
83
'show_google_form' => 1,
84
'collab_enabled' => '',
89
'mod-stamp' => 1263468844,
91
'v_5_1_embed_play' => 1,
92
'v_5_1_lic_editing' => 1,
93
'v_5_1_topic_format' => 1,
94
'v_5_1_topic_nsfw' => 1,
95
'v_5_2_tag_cats' => 1,
105
'config_type' => 'settings',
106
'config_scope' => 'media',
107
'config_data' => array (
108
'homepage' => 'docs/home',
110
'upload-auto-pub' => 1,
113
'default-feed-tags' => '',
117
'config_type' => 'ttag',
118
'config_scope' => 'media',
119
'config_data' => array (
120
'site-title' => 'Open Font Library',
121
'root-url' => 'http://openfontlibrary.org/',
122
'site-description' => '',
123
'footer' => 'This site uses <a href="http://wiki.creativecommons.org/wiki/CcHost">ccHost</a> and <a href="http://getid3.sourceforge.net/">GetID3</a>, and is licensed under <a href="http://creativecommons.org/licenses/GPL/2.0/">CC-GNU-GPL</a>',
124
'site-license' => 'The text of this site is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/2.5/">Creative Commons Attribution 2.5 License</a>',
125
'site-meta-description' => 'Open Font Library champions open font creation and sharing',
126
'site-meta-keywords' => '',
127
'banner-message' => '',
128
'beta_message' => '',
132
'config_type' => 'format-allow',
133
'config_scope' => 'media',
134
'config_data' => array (
135
'audio-aiff-aiff' => '',
137
'audio-flac-flac' => '',
138
'audio-mp3-mp3' => '',
139
'audio-ogg-vorbis' => '',
140
'audio-real-real' => '',
141
'audio-asf-wma' => '',
142
'archive-zip-' => '',
143
'image-gif-gif' => 1,
144
'image-jpg-jpg' => 1,
145
'image-png-png' => 1,
146
'video-swf-swf' => '',
147
'audio-midi-midi' => '',
148
'audio-riff-wav' => '',
149
'video-riff-avi' => '',
150
'video-quicktime-quicktime' => '',
151
'video-real-real' => '',
152
'video-asf-wmv' => '',
153
'image-bmp-bmp' => '',
157
'config_type' => 'name-masks',
158
'config_scope' => 'media',
159
'config_data' => array (
162
'contest' => '%contest% - %login% - %filename%',
163
'contest-source' => '%contest% - %filename%',
164
'upload-replace-sp' => 1,
168
'config_type' => 'id3-tag-masks',
169
'config_scope' => 'media',
170
'config_data' => array (
171
'title' => '%title% %feat%',
172
'artist' => '%artist%',
173
'copyright' => '%Y% %artist% Licensed to the public under %license_url% Verify at %song_page%',
174
'original_artist' => '%source_artist%',
175
'remixer' => '%artist%',
177
'url_user' => '%artist_page%',
182
'config_type' => 'chart',
183
'config_scope' => 'media',
184
'config_data' => array (
187
'requires-review' => '',
189
'cut-off' => '2 weeks ago',
190
'rank_formula' => '((upload_num_scores*4) + (upload_num_playlists*2))',
194
'config_type' => 'tab_pages',
195
'config_scope' => 'media',
196
'config_data' => array (
198
'Uploading Fonts' => array (
199
'text' => 'Uploading Fonts',
200
'help' => 'How to get your fonts online',
201
'tags' => '/docs/uploading',
207
'text' => 'Font formats',
208
'help' => 'All about OTFs, TTFs and more',
209
'tags' => '/docs/formats',
214
'Licenses' => array (
215
'text' => 'Licensing your font',
216
'help' => 'Permissive font licensing explained',
217
'tags' => '/docs/licenses',
222
'Font linking' => array (
223
'text' => 'Web font linking with @font-face',
224
'help' => 'How to harness the potential of web fonts',
225
'tags' => '/docs/font-linking',
231
'text' => 'Contributors',
232
'help' => 'str_see_people',
240
'help' => 'Organisations who support OFLB',
241
'tags' => '/docs/patrons',
250
'config_type' => 'throttle',
251
'config_scope' => 'media',
252
'config_data' => array (
254
'user-exceptions' => '',
255
'quota-msg' => 'str_quota_msg',
259
'config_type' => 'throttle_rules',
260
'config_scope' => 'media',
261
'config_data' => array (
265
'limit_by_type' => 'remix',
266
'time_period' => '1 days ago',
268
'allow_type' => 'remix',
274
'limit_by_type' => 'remix',
275
'time_period' => '1 weeks ago',
277
'allow_type' => 'all',
283
'limit_by_type' => 'remix',
284
'time_period' => 'forever',
286
'allow_type' => 'all',
292
'config_type' => 'logging',
293
'config_scope' => 'media',
294
'config_data' => array (
301
6 => 'uploadmoderated',
309
'config_type' => 'submit_forms',
310
'config_scope' => 'media',
311
'config_data' => array (
314
'submit_type' => 'Upload a font branch',
315
'text' => 'Upload a font branch',
316
'help' => 'Use this form to submit a branch and create a new font record',
321
'suggested_tags' => 'african,arabic,asian,cyrillic,fantasy,latin,monospace,ornament,sans_serif,script,serif,symbol',
323
'form_help' => 'Upload each font file individually. When you have uploaded the first file, you can add a sampler image and copies of the source files for each font',
325
'licenses' => 'cczero,ofl_1_1',
329
'logo' => 'submit-remix.gif',
330
'type_key' => 'remix',
332
'typeface' => array (
334
'submit_type' => 'Font',
335
'text' => 'Upload a Font',
336
'help' => 'Use this form to upload an original font file and create a new font record',
341
'suggested_tags' => 'african,arabic,asian,cyrillic,fantasy,latin,monospace,ornament,sans_serif,script,serif,symbol',
343
'form_help' => 'Upload each font file individually. When you have uploaded the first file, you can add a sampler image and copies of the source files for each font',
345
'licenses' => 'cczero,ofl_1_1',
350
'type_key' => 'typeface',
355
'config_type' => 'groups',
356
'config_scope' => 'media',
357
'config_data' => array (
359
'group_name' => 'Your profile',
362
'configure' => array (
363
'group_name' => 'Site admin tasks',
369
'config_type' => 'menu',
370
'config_scope' => 'media',
371
'config_data' => array (
373
'menu_text' => 'View',
374
'menu_group' => 'artist',
377
'id' => 'mi_yourpage',
378
'action' => 'people/%login_name%',
380
'editprofile' => array (
381
'menu_text' => 'Edit',
382
'menu_group' => 'artist',
385
'id' => 'mi_edityourprofile',
386
'action' => 'people/profile',
388
'configpage' => array (
389
'menu_text' => 'Manage Site',
390
'menu_group' => 'configure',
393
'id' => 'mi_managesite',
394
'action' => 'admin/site',
396
'manage_content_pages' => array (
397
'menu_text' => 'Manage content pages',
398
'menu_group' => 'configure',
402
'action' => '/admin/content',
404
'globalsettings' => array (
405
'menu_text' => 'Global Settings',
406
'menu_group' => 'configure',
409
'id' => 'mi_globalsettings',
410
'action' => 'admin/site/global',
415
'config_type' => 'channels',
416
'config_scope' => 'media',
417
'config_data' => array (
419
'tags' => 'remix,editorial_pick',
420
'text' => 'editors\' picks',
423
'tags' => 'remix,female_vocals',
424
'text' => 'female vocals',
427
'tags' => 'remix,hip_hop',
431
'tags' => 'remix,chill',
435
'tags' => 'remix,downtempo',
436
'text' => 'downtempo',
439
'tags' => 'remix,experimental',
440
'text' => 'experimental',
443
'tags' => 'remix,trip_hop',
444
'text' => 'trip hop',
447
'tags' => 'remix,funky',
451
'tags' => 'remix,rap',
455
'tags' => 'remix,dnb',
456
'text' => 'drums n bass',
459
'tags' => 'remix,electronic',
460
'text' => 'electronic',
463
'tags' => 'remix,acoustic',
464
'text' => 'acoustic',
469
'config_type' => 'skin-settings',
470
'config_scope' => 'media',
471
'config_data' => array (
472
'skin-file' => 'openfontlibrary_files/skins/oflb-skin/skin.tpl',
473
'string_profile' => 'openfontlibrary_files/skins/oflb-skin/strings/oflb.php',
474
'list_file' => 'openfontlibrary_files/skins/oflb-skin/oflb_upload_page_narrow.php',
475
'list_files' => 'openfontlibrary_files/skins/oflb-skin/oflb_upload_list_narrow.tpl',
476
'form_fields' => 'form_fields.tpl/form_fields',
477
'grid_form_fields' => 'form_fields.tpl/grid_form_fields',
478
'tab_pos' => 'ccskins/shared/layouts/tab_pos_nested.php',
479
'box_shape' => 'ccskins/shared/layouts/box_none.php',
480
'page_layout' => 'ccskins/shared/layouts/layout024.php',
481
'font_scheme' => 'ccskins/shared/colors/font_arial.php',
482
'font_size' => 'ccskins/shared/colors/fontsize_sz_small.php',
483
'color_scheme' => 'ccskins/shared/colors/color_mono.php',
484
'paging_style' => 'ccskins/shared/layouts/paging_google_ul.php',
485
'formfields_layout' => 'ccskins/shared/layouts/form_fields_sets.php',
486
'gridform_layout' => 'ccskins/shared/layouts/gridform_matrix.php',
487
'button_style' => 'ccskins/shared/layouts/button_rounded.php',
488
'head-type' => 'ccskins/shared/head.tpl',
489
'skin_profile' => 'openfontlibrary_files/skins/profiles/oflb-skin.php',
490
'max-listing' => 100,
494
'config_type' => 'extras',
495
'config_scope' => 'media',
496
'config_data' => array (
498
0 => 'ccskins/shared/extras/extras_edpicks.tpl',
499
1 => 'ccskins/shared/extras/extras_latest.tpl',
500
2 => 'ccskins/shared/extras/extras_search_box.tpl',
505
'config_type' => 'site-logo',
506
'config_scope' => 'media',
507
'config_data' => array (
514
'config_type' => 'pseudo-verify',
515
'config_scope' => 'media',
516
'config_data' => array (
519
'media-type' => 'audio',
520
'default-ext' => 'ac3',
521
'description' => 'Dolby AC-3 / Dolby Digital',
522
'tags' => 'audio,ac3',
523
'pattern' => '^\x0B\x77',
528
'media-type' => 'audio',
529
'default-ext' => 'adif',
530
'description' => 'AAC - ADIF format',
531
'tags' => 'audio,adif',
532
'pattern' => '^ADIF',
537
'media-type' => 'audio',
538
'default-ext' => 'adts',
539
'description' => 'AAC - ADTS format',
540
'tags' => 'audio,adts',
541
'pattern' => '^\xFF[\xF0-\xF1\xF8-\xF9]',
546
'media-type' => 'audio',
547
'default-ext' => 'avr',
548
'description' => 'Audio Visual Research',
549
'tags' => 'audio,avr',
550
'pattern' => '^2BIT',
555
'media-type' => 'audio',
556
'default-ext' => 'bonk',
557
'description' => 'Bonk v0.9+',
558
'tags' => 'audio,bonk',
559
'pattern' => '^\x00(BONK|INFO|META| ID3)',
564
'media-type' => 'audio',
565
'default-ext' => 'la',
566
'description' => 'Lossless Audio',
567
'tags' => 'audio,la',
568
'pattern' => '^LA0[2-4]',
573
'media-type' => 'audio',
574
'default-ext' => 'lpac',
575
'description' => 'Lossless Predictive Audio Compression',
576
'tags' => 'audio,lpac',
577
'pattern' => '^LPAC',
582
'media-type' => 'audio',
583
'default-ext' => 'mac',
584
'description' => 'Monkey\'s Audio Compressor',
585
'tags' => 'audio,mac',
591
'media-type' => 'audio',
592
'default-ext' => 'mod',
593
'description' => 'MODule (assorted sub-formats)',
594
'tags' => 'audio,mod',
595
'pattern' => '^.{1080}(M.K.|[5-9]CHN|[1-3][0-9]CH)',
600
'media-type' => 'audio',
601
'default-ext' => 'it',
602
'description' => 'MODule (Impulse Tracker)',
603
'tags' => 'audio,it',
604
'pattern' => '^IMPM',
609
'media-type' => 'audio',
610
'default-ext' => 'xm',
611
'description' => 'MODule (eXtended Module)',
612
'tags' => 'audio,xm',
613
'pattern' => '^Extended Module',
618
'media-type' => 'audio',
619
'default-ext' => 's3m',
620
'description' => 'MODule (ScreamTracker)',
621
'tags' => 'audio,s3m',
622
'pattern' => '^.{44}SCRM',
627
'media-type' => 'audio',
628
'default-ext' => 'mpc',
629
'description' => 'Musepack / MPEGplus',
630
'tags' => 'audio,mpc',
631
'pattern' => '^(MP\+|[\x00\x01\x10\x11\x40\x41\x50\x51\x80\x81\x90\x91\xC0\xC1\xD0\xD1][\x20-37][\x00\x20\x40\x60\x80\xA0\xC0\xE0])',
636
'media-type' => 'audio',
637
'default-ext' => 'ofr',
638
'description' => 'OptimFROG',
639
'tags' => 'audio,ofr',
640
'pattern' => '^(\*RIFF|OFR)',
645
'media-type' => 'audio',
646
'default-ext' => 'rkau',
647
'description' => 'RKive AUdio compressor',
648
'tags' => 'audio,rkau',
654
'media-type' => 'audio',
655
'default-ext' => 'shn',
656
'description' => 'MKW Shorten',
657
'tags' => 'audio,shn',
658
'pattern' => '^ajkg',
663
'media-type' => 'audio',
664
'default-ext' => 'tta',
665
'description' => 'TTA Lossless Audio Compressor',
666
'tags' => 'audio,tta',
672
'media-type' => 'audio',
673
'default-ext' => 'voc',
674
'description' => 'Creative Voice',
675
'tags' => 'audio,voc',
676
'pattern' => '^Creative Voice File',
681
'media-type' => 'audio',
682
'default-ext' => 'vqf',
683
'description' => 'Vector Quantization Format',
684
'tags' => 'audio,vqf',
685
'pattern' => '^TWIN',
690
'media-type' => 'audio',
691
'default-ext' => 'wv',
692
'description' => 'WavPack (v4.0+)',
693
'tags' => 'audio,wv',
694
'pattern' => '^wvpk',
699
'media-type' => 'video',
700
'default-ext' => 'bink',
701
'description' => 'Bink / Smacker',
702
'tags' => 'audio,video,bink',
703
'pattern' => '^(BIK|SMK)',
706
'matroska' => array (
708
'media-type' => 'video',
709
'default-ext' => 'matroska',
710
'description' => 'Mastroka (audio/video)',
711
'tags' => 'audio,video,matroska',
712
'pattern' => '^\x1A\x45\xDF\xA3',
717
'media-type' => 'video',
718
'default-ext' => 'mpeg',
719
'description' => 'Moving Pictures Experts Group (audio/video)',
720
'tags' => 'audio,video,mpeg',
721
'pattern' => '^\x00\x00\x01(\xBA|\xB3)',
726
'media-type' => 'video',
727
'default-ext' => 'nsv',
728
'description' => 'Nullsoft Streaming Video',
729
'tags' => 'audio,video,nsv',
730
'pattern' => '^NSV[sf]',
735
'media-type' => 'graphic',
736
'default-ext' => 'pcd',
737
'description' => 'Kodak Photo CD',
738
'tags' => 'graphic,pcd',
739
'pattern' => '^.{2048}PCD_IPI\x00',
744
'media-type' => 'graphic',
745
'default-ext' => 'tiff',
746
'description' => 'Tagged Information File Format',
747
'tags' => 'graphic,tiff',
748
'pattern' => '^(II\x2A\x00|MM\x00\x2A)',
753
'media-type' => 'document',
754
'default-ext' => 'iso',
755
'description' => '(ISO) CD-ROM Image',
756
'tags' => 'document,iso',
757
'pattern' => '^.{32769}CD001',
762
'media-type' => 'archive',
763
'default-ext' => 'rar',
764
'description' => 'RAR compressed data',
765
'tags' => 'archive,rar',
766
'pattern' => '^Rar\!',
771
'media-type' => 'archive',
772
'default-ext' => 'szip',
773
'description' => 'SZIP compressed data',
774
'tags' => 'archive,szip',
775
'pattern' => '^SZ\x0A\x04',
780
'media-type' => 'document',
781
'default-ext' => 'txt',
782
'description' => 'Plain Text (ASCII)',
783
'tags' => 'document,txt',
784
'pattern' => '^[\s\x21-\x7F]+$',
789
'media-type' => 'video',
790
'default-ext' => 'flv',
791
'description' => 'Flash Video',
792
'tags' => 'audio,video,flv',
793
'pattern' => '^FLV\x01',
798
'media-type' => 'archive',
799
'default-ext' => 'tar',
800
'description' => 'TAR compressed data',
801
'tags' => 'archive,tar',
802
'pattern' => '^.{100}[0-9\x20]{7}\x00[0-9\x20]{7}\x00[0-9\x20]{7}\x00[0-9\x20\x00]{12}[0-9\x20\x00]{12}',
807
'media-type' => 'archive',
808
'default-ext' => 'gz',
809
'description' => 'GZIP compressed data',
810
'tags' => 'archive,gz',
811
'pattern' => '^\x1F\x8B\x08',
816
'media-type' => 'document',
817
'default-ext' => 'pdf',
818
'description' => 'Adobe PDF',
819
'tags' => 'document,pdf',
820
'pattern' => '^\x25PDF',
823
'msoffice' => array (
825
'media-type' => 'document',
826
'default-ext' => 'msoffice',
827
'description' => 'Office (Word, Excel, Powerpoint, etc.)',
828
'tags' => 'document,msoffice',
829
'pattern' => '^\xD0\xCF\x11\xE0',
834
'media-type' => 'graphic',
835
'default-ext' => 'ttf',
836
'description' => 'TrueType Font',
837
'tags' => 'graphic,ttf',
838
'pattern' => '^(\000\001\000\000\000|true|typ1|000\000\000|true|typ1|FFIL)',
843
'default-ext' => 'otf',
844
'media-type' => 'font',
845
'description' => 'OpenType font',
846
'tags' => 'graphic,otf',
847
'pattern' => '^(0x00010000|OTTO)',
852
'default-ext' => 'pfa',
853
'media-type' => 'font',
854
'description' => 'PostScript Type 1 font',
855
'tags' => 'graphic,pfa',
856
'pattern' => '^(%\!FontType1|%\!PS-AdobeFont-1.0|LWFN)',
861
'default-ext' => 'sfd',
862
'media-type' => 'source',
863
'description' => 'FontForge source',
864
'tags' => 'graphic,sfd',
865
'pattern' => '^SplineFontDB',
870
'default-ext' => 'dss',
871
'media-type' => 'audio',
872
'description' => '(??)',
873
'tags' => 'audio,dss',
874
'pattern' => '^[\x02]dss',
879
'default-ext' => 'dts',
880
'media-type' => 'audio',
881
'description' => '(??)',
882
'tags' => 'audio,dts',
883
'pattern' => '^\x7F\xFE\x80\x01',
888
'default-ext' => 'par2',
889
'media-type' => 'document',
890
'description' => '(??)',
891
'tags' => 'document,par2',
892
'pattern' => '^PAR2\x00PKT',
897
'default-ext' => 'zip',
898
'media-type' => 'archive',
899
'description' => 'ZIP archive',
900
'tags' => 'archive,zip',
901
'pattern' => '^\x50\x4B\x03\x04',