source: extensions/modus/functions.inc.php @ 28474

Last change on this file since 28474 was 28453, checked in by plg, 11 years ago

i18n on configuration screen

remove size "default" which has no obvious meaning currently

hide info about "Full row thumbnail layout" which is hard to understand and cannot be configured (yet)

File size: 830 bytes
Line 
1<?php
2function 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
16function modus_get_default_config()
17{
18  return array(
19        'skin' => 'dark',
20        'album_thumb_size' => 250,
21  'index_photo_deriv'=>'2small',
22  'index_photo_deriv_hdpi'=>'xsmall',
23);
24}
25?>
Note: See TracBrowser for help on using the repository browser.