-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy paththeme-settings.php
More file actions
507 lines (502 loc) · 22.5 KB
/
theme-settings.php
File metadata and controls
507 lines (502 loc) · 22.5 KB
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
<?php
use Drupal\Core\Form\FormStateInterface;
\Drupal::messenger()->addStatus(t('Set the Header Links, Secondary Site Title, MegaMenu and Footer Contents'));
function illinois_framework_theme_form_system_theme_settings_alter(&$form, FormStateInterface $form_state, $form_id = NULL)
{
// Work-around for a core bug affecting admin themes. See issue #943212.
if (isset($form_id)) {
return;
}
$theme_path = \Drupal::theme()->getActiveTheme()->getPath();
// Add Links to the upper right-hand corner of the website
$form['if_header_links'] = array(
'#type' => 'details',
'#title' => t('Feature Link List'),
'#description' => t('Add up to 3 links in the upper right-hand corner of the header'),
'#weight' => -105,
'#open' => FALSE,
);
$form['if_header_links']['if_header_link_1_fieldset'] = array(
'#type' => 'fieldset',
'#title' => t('Link 1'),
);
$form['if_header_links']['if_header_link_1_fieldset']['if_header_text_1'] = array(
'#type' => 'textfield',
'#placeholder' => 'Apply',
'#title' => t('Enter text to display for the link'),
'#size' => 128,
'#default_value' => theme_get_setting('if_header_text_1'),
);
$form['if_header_links']['if_header_link_1_fieldset']['if_header_link_1'] = array(
'#type' => 'textfield',
'#placeholder' => 'https://illinois.edu',
'#title' => t('Enter the link'),
'#default_value' => theme_get_setting('if_header_link_1'),
);
$form['if_header_links']['if_header_link_2_fieldset'] = array(
'#type' => 'fieldset',
'#title' => t('Link 2'),
);
$form['if_header_links']['if_header_link_2_fieldset']['if_header_text_2'] = array(
'#type' => 'textfield',
'#placeholder' => 'Give',
'#title' => t('Enter text to display for the link'),
'#size' => 128,
'#default_value' => theme_get_setting('if_header_text_2'),
);
$form['if_header_links']['if_header_link_2_fieldset']['if_header_link_2'] = array(
'#type' => 'textfield',
'#placeholder' => 'https://illinois.edu',
'#title' => t('Enter the link'),
'#default_value' => theme_get_setting('if_header_link_2'),
);
$form['if_header_links']['if_header_link_3_fieldset'] = array(
'#type' => 'fieldset',
'#title' => t('Link 3'),
);
$form['if_header_links']['if_header_link_3_fieldset']['if_header_text_3'] = array(
'#type' => 'textfield',
'#placeholder' => 'Login',
'#title' => t('Enter text to display for the link'),
'#size' => 128,
'#default_value' => theme_get_setting('if_header_text_3'),
);
$form['if_header_links']['if_header_link_3_fieldset']['if_header_link_3'] = array(
'#type' => 'textfield',
'#placeholder' => 'https://illinois.edu',
'#title' => t('Enter the link'),
'#default_value' => theme_get_setting('if_header_link_3'),
);
// Creates a section for the secondary site information
$form['if_secondary_site'] = array(
'#type' => 'details',
'#title' => t('Secondary Site Title'),
'#description' => t('Your Primary Site Title is managed in: Configuration > System > Basic Site Settings > Site name. The optional Secondary Site Title (which can be linked) will show up above and smaller than the Primary Site Title.'),
'#weight' => -101,
'#open' => FALSE,
);
$form['if_secondary_site']['if_secondary_site_title'] = array(
'#weight' => -100,
'#type' => 'textfield',
'#title' => t('Secondary Site Title'),
'#default_value' => theme_get_setting('if_secondary_site_title'),
);
$form['if_secondary_site']['if_secondary_site_link'] = array(
'#weight' => -99,
'#default_value' => theme_get_setting('if_secondary_site_link'),
'#type' => 'textfield',
'#title' => t('Link'),
);
// Create a section for the footer links
$form['if_footer'] = array(
'#type' => 'details',
'#title' => t('Footer Contents'),
'#description' => t('Example of where the following fields will appear in the footer:'),
'#weight' => -94,
'#open' => TRUE,
);
$form['if_footer']['if_footer_image'] = array(
'#type' => 'markup',
'#prefix' => '<div>',
'#suffix' => '</div>',
'#markup' => "<img src='/$theme_path/images/footer_example.png' alt='Screenshot of the Illinois footer' style='width:300px;'>",
'#title' => t('Footer Example'),
'#weight' => -93,
);
$form['if_footer']['if_shibboleth_login_direct'] = array(
'#type' => 'checkbox',
'#title' => t('Link Login button directly to the Shibboleth login (if enabled)'),
'#description' => "Select this to have the login button link directly to the Shibboleth login page.",
'#default_value' => theme_get_setting('if_shibboleth_login_direct'),
);
$form['if_footer']['if_footer_google_translate'] = array(
'#type' => 'checkbox',
'#title' => t('Enable Google Translate option in footer'),
'#description' => "Select this to enable Google Translate in the footer.",
'#default_value' => theme_get_setting('if_footer_google_translate'),
);
// Select Social Media to display in the footer
$form['if_footer']['if_footer_social'] = array(
'#type' => 'fieldset',
'#title' => t('Social Media'),
);
$form['if_footer']['if_footer_social']['if_footer_social_facebook'] = array(
'#type' => 'url',
'#placeholder' => 'https://facebook.com',
'#title' => t('Enter the link to your Facebook page'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_social_facebook'),
);
$form['if_footer']['if_footer_social']['if_footer_social_instagram'] = array(
'#type' => 'url',
'#placeholder' => 'https://instagram.com',
'#title' => t('Enter the link to your Instagram page'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_social_instagram'),
);
$form['if_footer']['if_footer_social']['if_footer_social_twitter'] = array(
'#type' => 'url',
'#placeholder' => 'https://x.com',
'#title' => t('Enter the link to your X page'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_social_twitter'),
);
$form['if_footer']['if_footer_social']['if_footer_social_youtube'] = array(
'#type' => 'url',
'#placeholder' => 'https://youtube.com',
'#title' => t('Enter the link to your YouTube page'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_social_youtube'),
);
$form['if_footer']['if_footer_social']['if_footer_social_linkedin'] = array(
'#type' => 'url',
'#placeholder' => 'https://linkedin.com',
'#title' => t('Enter the link to your LinkedIn page'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_social_linkedin'),
);
$form['if_footer']['if_footer_social']['if_footer_social_bluesky'] = array(
'#type' => 'url',
'#placeholder' => 'https://bsky.app/',
'#title' => t('Enter the link to your Bluesky page'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_social_bluesky'),
);
$form['if_footer']['if_footer_social']['if_footer_social_calendar'] = array(
'#type' => 'url',
'#placeholder' => 'https://calendars.illinois.edu/list/xxx',
'#title' => t('Enter the link to your calendar page'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_social_calendar'),
);
$form['if_footer']['if_footer_social']['if_footer_social_tiktok'] = array(
'#type' => 'url',
'#placeholder' => 'https://tiktok.com',
'#title' => t('Enter the link to your TikTok page'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_social_tiktok'),
);
$form['if_footer']['if_footer_social']['if_footer_social_threads'] = array(
'#type' => 'url',
'#placeholder' => 'https://threads.net',
'#title' => t('Enter the link to your Threads page'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_social_threads'),
);
$form['if_footer']['if_footer_social']['if_footer_social_pinterest'] = array(
'#type' => 'url',
'#placeholder' => 'https://pinterest.com',
'#title' => t('Enter the link to your Pinterest page'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_social_pinterest'),
);
$form['if_footer']['if_footer_social']['if_footer_social_snapchat'] = array(
'#type' => 'url',
'#placeholder' => 'https://snapchat.com',
'#title' => t('Enter the link to your Snapchat page'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_social_snapchat'),
);
$form['if_footer']['if_footer_social']['if_footer_social_weibo'] = array(
'#type' => 'url',
'#placeholder' => 'https://weibo.com',
'#title' => t('Enter the link to your Weibo page'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_social_weibo'),
);
$form['if_footer']['if_footer_social']['if_footer_social_whatsapp'] = array(
'#type' => 'url',
'#placeholder' => 'https://whatsapp.com',
'#title' => t('Enter the link to your WhatsApp page'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_social_whatsapp'),
);
// Start of Address Block
$form['if_footer']['if_footer_address'] = array(
'#type' => 'fieldset',
'#title' => t('Address'),
);
$form['if_footer']['if_footer_address']['if_footer_address_unit'] = array(
'#default_value' => theme_get_setting('if_footer_address_unit'),
'#type' => 'textfield',
'#description' => 'If not provided, the Site Title (Configuration > System > Basic Site Settings > Site name) will be used instead.',
'#title' => t('Unit Name'),
);
$form['if_footer']['if_footer_address']['if_footer_address_street_one'] = array(
'#default_value' => theme_get_setting('if_footer_address_street_one'),
'#type' => 'textfield',
'#title' => t('Street Address Line One'),
);
$form['if_footer']['if_footer_address']['if_footer_address_street_two'] = array(
'#default_value' => theme_get_setting('if_footer_address_street_two'),
'#type' => 'textfield',
'#title' => t('Street Address Line Two'),
);
$form['if_footer']['if_footer_address']['if_footer_address_city'] = array(
'#default_value' => theme_get_setting('if_footer_address_city'),
'#type' => 'textfield',
'#title' => t('City'),
);
$form['if_footer']['if_footer_address']['if_footer_address_state'] = array(
'#default_value' => theme_get_setting('if_footer_address_state'),
'#type' => 'textfield',
'#title' => t('State'),
);
$form['if_footer']['if_footer_address']['if_footer_address_zip'] = array(
'#default_value' => theme_get_setting('if_footer_address_zip'),
'#type' => 'textfield',
'#title' => t('Zip code'),
);
$form['if_footer']['if_footer_address']['if_footer_address_email'] = array(
'#type' => 'email',
'#default_value' => theme_get_setting('if_footer_address_email'),
'#title' => t('Email Address'),
'#required' => TRUE,
);
$form['if_footer']['if_footer_address']['if_footer_address_tel'] = array(
'#type' => 'tel',
'#default_value' => theme_get_setting('if_footer_address_tel'),
'#title' => t('Phone Number'),
);
// End of Address Block
// Start of Parent College Block
$form['if_footer_colleges'] = array(
'#type' => 'details',
'#title' => t('Parent Colleges or Affiliated Organizations'),
'#description' => t('Add up to 5 links to colleges or organizations affiliated with this website'),
'#weight' => -97,
'#open' => FALSE,
);
$form['if_footer_colleges']['if_footer_college_1_fieldset'] = array(
'#type' => 'fieldset',
'#title' => t('Link 1'),
);
$form['if_footer_colleges']['if_footer_college_1_fieldset']['if_footer_college_text_1'] = array(
'#type' => 'textfield',
'#placeholder' => 'College of ACES',
'#title' => t('Enter the name of the college or organization'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_college_text_1'),
);
$form['if_footer_colleges']['if_footer_college_1_fieldset']['if_footer_college_link_1'] = array(
'#type' => 'url',
'#placeholder' => 'https://aces.illinois.edu',
'#title' => t('Enter the URL'),
'#default_value' => theme_get_setting('if_footer_college_link_1'),
);
$form['if_footer_colleges']['if_footer_college_2_fieldset'] = array(
'#type' => 'fieldset',
'#title' => t('Link 2'),
);
$form['if_footer_colleges']['if_footer_college_2_fieldset']['if_footer_college_text_2'] = array(
'#type' => 'textfield',
'#placeholder' => 'College of ACES',
'#title' => t('Enter the name of the college or organization'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_college_text_2'),
);
$form['if_footer_colleges']['if_footer_college_2_fieldset']['if_footer_college_link_2'] = array(
'#type' => 'url',
'#placeholder' => 'https://aces.illinois.edu',
'#title' => t('Enter the URL'),
'#default_value' => theme_get_setting('if_footer_college_link_2'),
);
$form['if_footer_colleges']['if_footer_college_3_fieldset'] = array(
'#type' => 'fieldset',
'#title' => t('Link 3'),
);
$form['if_footer_colleges']['if_footer_college_3_fieldset']['if_footer_college_text_3'] = array(
'#type' => 'textfield',
'#placeholder' => 'College of ACES',
'#title' => t('Enter the name of the college or organization'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_college_text_3'),
);
$form['if_footer_colleges']['if_footer_college_3_fieldset']['if_footer_college_link_3'] = array(
'#type' => 'url',
'#placeholder' => 'https://aces.illinois.edu',
'#title' => t('Enter the URL'),
'#default_value' => theme_get_setting('if_footer_college_link_3'),
);
$form['if_footer_colleges']['if_footer_college_4_fieldset'] = array(
'#type' => 'fieldset',
'#title' => t('Link 4'),
);
$form['if_footer_colleges']['if_footer_college_4_fieldset']['if_footer_college_text_4'] = array(
'#type' => 'textfield',
'#placeholder' => 'College of ACES',
'#title' => t('Enter the name of the college or organization'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_college_text_4'),
);
$form['if_footer_colleges']['if_footer_college_4_fieldset']['if_footer_college_link_4'] = array(
'#type' => 'url',
'#placeholder' => 'https://aces.illinois.edu',
'#title' => t('Enter the URL'),
'#default_value' => theme_get_setting('if_footer_college_link_4'),
);
$form['if_footer_colleges']['if_footer_college_5_fieldset'] = array(
'#type' => 'fieldset',
'#title' => t('Link 5'),
);
$form['if_footer_colleges']['if_footer_college_5_fieldset']['if_footer_college_text_5'] = array(
'#type' => 'textfield',
'#placeholder' => 'College of ACES',
'#title' => t('Enter the name of the college or organization'),
'#size' => 128,
'#default_value' => theme_get_setting('if_footer_college_text_5'),
);
$form['if_footer_colleges']['if_footer_college_5_fieldset']['if_footer_college_link_5'] = array(
'#type' => 'url',
'#placeholder' => 'https://aces.illinois.edu',
'#title' => t('Enter the URL'),
'#default_value' => theme_get_setting('if_footer_college_link_5'),
);
// Start of footer menus
$form['if_footer']['if_footer_menu_block_checkbox'] = array(
'#type' => 'checkbox',
'#title' => t('1 column footer layout'),
'#description' => "Select this checkbox to make the footer area 1 column instead of 2 columns",
'#default_value' => theme_get_setting('if_footer_menu_block_checkbox'),
);
$form['if_footer']['if_footer_menu'] = array(
'#type' => 'vertical_tabs',
'#default_tab' => 'edit-if-footer-menu-first-details',
);
// Footer Menu First
$form['if_footer']['if_footer_menu_first_details'] = array(
'#type' => 'details',
'#title' => t('Footer Menu First'),
'#group' => 'if_footer_menu',
);
$form['if_footer']['if_footer_menu_first_details']['if_footer_menu_first_fieldset'] = array(
'#type' => 'fieldset',
'#title' => t('Footer Menu First'),
'#description' => 'You can also access the menu by going to Structure -> Menus -> Footer Menu First',
);
$markup_menu_first = "<a class=\"button button--primary\" role=\"button\" href='/admin/structure/menu/manage/footer-menu-first'>Edit Footer Menu First</a></button>";
$form['if_footer']['if_footer_menu_first_details']['if_footer_menu_first_fieldset']['if_footer_menu_first_link'] = array(
'#type' => 'markup',
'#markup' => $markup_menu_first,
);
// Footer Menu Second
$form['if_footer']['if_footer_menu_second_details'] = array(
'#type' => 'details',
'#title' => t('Footer Menu Second'),
'#group' => 'if_footer_menu',
);
$form['if_footer']['if_footer_menu_second_details']['if_footer_menu_second_fieldset'] = array(
'#type' => 'fieldset',
'#title' => t('Footer Menu Second'),
'#description' => 'You can also access the menu by going to Structure -> Menus -> Footer Menu Second',
);
$markup_menu_second = "<a class=\"button button--primary\" role=\"button\" href='/admin/structure/menu/manage/footer-menu-second'>Edit Footer Menu Second</a></button>";
$form['if_footer']['if_footer_menu_second_details']['if_footer_menu_second_fieldset']['if_footer_menu_second_link'] = array(
'#type' => 'markup',
'#markup' => $markup_menu_second,
);
// Footer Menu Third
$form['if_footer']['if_footer_menu_third_details'] = array(
'#type' => 'details',
'#title' => t('Footer Menu Third'),
'#group' => 'if_footer_menu',
);
$form['if_footer']['if_footer_menu_third_details']['if_footer_menu_third_fieldset'] = array(
'#type' => 'fieldset',
'#title' => t('Footer Menu Third'),
'#description' => 'You can also access the menu by going to Structure -> Menus -> Footer Menu Third',
);
$markup_menu_third = "<a class=\"button button--primary\" role=\"button\" href='/admin/structure/menu/manage/footer-menu-third'>Edit Footer Menu Third</a></button>";
$form['if_footer']['if_footer_menu_third_details']['if_footer_menu_third_fieldset']['if_footer_menu_third_link'] = array(
'#type' => 'markup',
'#markup' => $markup_menu_third,
);
// Footer Menu Fourth
$form['if_footer']['if_footer_menu_fourth_details'] = array(
'#type' => 'details',
'#title' => t('Footer Menu Fourth'),
'#group' => 'if_footer_menu',
);
$form['if_footer']['if_footer_menu_fourth_details']['if_footer_menu_fourth_fieldset'] = array(
'#type' => 'fieldset',
'#title' => t('Footer Menu Fourth'),
'#description' => t('You can also access the menu by going to Structure -> Menus -> Footer Menu Fourth'),
);
$markup_menu_fourth = "<a class=\"button button--primary\" role=\"button\" href='/admin/structure/menu/manage/footer-menu-fourth'>Edit Footer Menu Fourth</a></button>";
$form['if_footer']['if_footer_menu_fourth_details']['if_footer_menu_fourth_fieldset']['if_footer_menu_fourth_link'] = array(
'#type' => 'markup',
'#markup' => $markup_menu_fourth,
);
// Start of subfooter
$form['if_subfooter'] = array(
'#type' => 'details',
'#title' => t('Subfooter'),
'#description' => t('Add links to the subfooter next to the copyright and privacy policy link. You must add the text and link or the link will not appear in the footer.'),
'#weight' => -92,
'#open' => FALSE,
);
$form['if_subfooter']['if_subfooter_fieldset'] = array(
'#type' => 'fieldset',
'#title' => t('Subfooter'),
);
$form['if_subfooter']['if_subfooter_fieldset']['if_subfooter_text_1'] = array(
'#type' => 'textfield',
'#title' => t('Enter text to display for the link'),
'#size' => 128,
'#default_value' => theme_get_setting('if_subfooter_text_1'),
);
$form['if_subfooter']['if_subfooter_fieldset']['if_subfooter_link_1'] = array(
'#type' => 'textfield',
'#placeholder' => 'https://illinois.edu',
'#title' => t('Enter the link'),
'#default_value' => theme_get_setting('if_subfooter_link_1'),
);
$form['if_subfooter']['if_subfooter_fieldset']['if_subfooter_text_2'] = array(
'#type' => 'textfield',
'#title' => t('Enter text to display for the link'),
'#size' => 128,
'#default_value' => theme_get_setting('if_subfooter_text_2'),
);
$form['if_subfooter']['if_subfooter_fieldset']['if_subfooter_link_2'] = array(
'#type' => 'textfield',
'#placeholder' => 'https://illinois.edu',
'#title' => t('Enter the link'),
'#default_value' => theme_get_setting('if_subfooter_link_2'),
);
$form['if_subfooter']['if_subfooter_fieldset']['if_subfooter_text_3'] = array(
'#type' => 'textfield',
'#title' => t('Enter text to display for the link'),
'#size' => 128,
'#default_value' => theme_get_setting('if_subfooter_text_3'),
);
$form['if_subfooter']['if_subfooter_fieldset']['if_subfooter_link_3'] = array(
'#type' => 'textfield',
'#placeholder' => 'https://illinois.edu',
'#title' => t('Enter the link'),
'#default_value' => theme_get_setting('if_subfooter_link_3'),
);
$form['if_subfooter']['if_subfooter_fieldset']['if_subfooter_text_4'] = array(
'#type' => 'textfield',
'#title' => t('Enter text to display for the link'),
'#size' => 128,
'#default_value' => theme_get_setting('if_subfooter_text_4'),
);
$form['if_subfooter']['if_subfooter_fieldset']['if_subfooter_link_4'] = array(
'#type' => 'textfield',
'#placeholder' => 'https://illinois.edu',
'#title' => t('Enter the link'),
'#default_value' => theme_get_setting('if_subfooter_link_4'),
);
$form['if_subfooter']['if_subfooter_fieldset']['if_subfooter_text_5'] = array(
'#type' => 'textfield',
'#title' => t('Enter text to display for the link'),
'#size' => 128,
'#default_value' => theme_get_setting('if_subfooter_text_5'),
);
$form['if_subfooter']['if_subfooter_fieldset']['if_subfooter_link_5'] = array(
'#type' => 'textfield',
'#placeholder' => 'https://illinois.edu',
'#title' => t('Enter the link'),
'#default_value' => theme_get_setting('if_subfooter_link_5'),
);
}