Revision 70a4c29b
Added by Assos Assos over 9 years ago
drupal7/sites/all/themes/mayo/theme-settings.php | ||
---|---|---|
126 | 126 |
'#size' => 12, |
127 | 127 |
'#maxlength' => 8, |
128 | 128 |
'#description' => t('Specify the base vertical (top/bottom) margin which is vertical spaces between page edge and browser screen in px.'), |
129 |
'#prefix' => '<img src="' . url(drupal_get_path('theme', 'mayo') . '/images/base-layout.png') . '" /><br />', |
|
129 |
'#prefix' => '<img src="' . file_create_url(drupal_get_path('theme', 'mayo') . '/images/base-layout.png') . '" /><br />',
|
|
130 | 130 |
); |
131 | 131 |
$form['layout']['page_margin'] = array( |
132 | 132 |
'#type' => 'textfield', |
... | ... | |
144 | 144 |
1 => t('1. Apply page margin to all (header, footer and main contents).'), |
145 | 145 |
2 => t('2. Apply page margin to main contents only.'), |
146 | 146 |
), |
147 |
'#description' => '<img src="' . url(drupal_get_path('theme', 'mayo') . '/images/page-layout.png') . '" /><br />' . t('When the layout 2 is selected, or header background image is selected, header borders are not drawn to make it look better.'), |
|
147 |
'#description' => '<img src="' . file_create_url(drupal_get_path('theme', 'mayo') . '/images/page-layout.png') . '" /><br />' . t('When the layout 2 is selected, or header background image is selected, header borders are not drawn to make it look better.'),
|
|
148 | 148 |
); |
149 | 149 |
|
150 | 150 |
/* --------------- Responsive sidebar layout settings -------------- */ |
... | ... | |
763 | 763 |
'rc-2' => t('Node only'), |
764 | 764 |
'rc-3' => t('Both sidebar block and node'), |
765 | 765 |
), |
766 |
'#suffix' => '<img src="' . url(drupal_get_path('theme', 'mayo') . '/images/round-corners.png') . '" /><br />', |
|
766 |
'#suffix' => '<img src="' . file_create_url(drupal_get_path('theme', 'mayo') . '/images/round-corners.png') . '" /><br />',
|
|
767 | 767 |
); |
768 | 768 |
|
769 | 769 |
$form['style']['menubar_style'] = array( |
... | ... | |
774 | 774 |
1 => t('1. Normal (based on the colors specified by the color set)'), |
775 | 775 |
2 => t('2. Gloss black image background.'), |
776 | 776 |
), |
777 |
'#suffix' => '<img src="' . url(drupal_get_path('theme', 'mayo') . '/images/menubar-type.png') . '" />', |
|
777 |
'#suffix' => '<img src="' . file_create_url(drupal_get_path('theme', 'mayo') . '/images/menubar-type.png') . '" />',
|
|
778 | 778 |
); |
779 | 779 |
$form['style']['note'] = array( |
780 | 780 |
'#type' => 'item', |
... | ... | |
824 | 824 |
'#size' => 12, |
825 | 825 |
'#maxlength' => 8, |
826 | 826 |
'#description' => t('Specify the header height in px.'), |
827 |
'#prefix' => '<img src="' . url(drupal_get_path('theme', 'mayo') . '/images/header-layout.png') . '" /><br />', |
|
827 |
'#prefix' => '<img src="' . file_create_url(drupal_get_path('theme', 'mayo') . '/images/header-layout.png') . '" /><br />',
|
|
828 | 828 |
); |
829 | 829 |
$form['adv_header']['header_border_width'] = array( |
830 | 830 |
'#type' => 'textfield', |
... | ... | |
937 | 937 |
5 => t('Star'), |
938 | 938 |
6 => t('Metal'), |
939 | 939 |
), |
940 |
'#suffix' => '<img src="' . url(drupal_get_path('theme', 'mayo') . '/images/watermark-sample.png') . '" /><br />', |
|
940 |
'#suffix' => '<img src="' . file_create_url(drupal_get_path('theme', 'mayo') . '/images/watermark-sample.png') . '" /><br />',
|
|
941 | 941 |
); |
942 | 942 |
|
943 | 943 |
/* --------------- Misellanenous settings -------------- */ |
Also available in: Unified diff
Weekly update of contrib modules