Line | |
---|
1 | <?php |
---|
2 | function modus_css_gradient($gradient) { |
---|
3 | if (!empty($gradient)) |
---|
4 | { |
---|
5 | $std = implode(',',$gradient); |
---|
6 | $gs=trim($gradient[0],'#'); $ge=trim($gradient[1],'#'); |
---|
7 | return "filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#FF$gs,endColorStr=#FF$ge); /* IE to 9*/ |
---|
8 | background-image: -moz-linear-gradient(top,$std); /* FF 3.16 to 15 */ |
---|
9 | background-image: -webkit-linear-gradient(top,$std); /* Chrome, Safari */ |
---|
10 | background-image: -ms-linear-gradient(top,$std); /* IE ? to 9 */ |
---|
11 | background-image: -o-linear-gradient(top,$std); /* Opera 11 to 12 */ |
---|
12 | background-image: linear-gradient(to bottom,$std); /* Standard must be last */"; |
---|
13 | } |
---|
14 | } |
---|
15 | |
---|
16 | function modus_get_default_config() |
---|
17 | { |
---|
18 | return array( |
---|
19 | 'skin' => 'dark', |
---|
20 | 'album_thumb_size' => 0, |
---|
21 | 'index_photo_deriv'=>'', |
---|
22 | 'index_photo_deriv_hdpi'=>'', |
---|
23 | ); |
---|
24 | } |
---|
25 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.