Revision 1082
Added by Matthias over 16 years ago
| trunk/CHANGELOG | ||
|---|---|---|
| 12 | 12 |
|
| 13 | 13 |
------------------------------------- 2.8.0 ------------------------------------- |
| 14 | 14 |
18-July 2009 Matthias Gallas |
| 15 |
+ Added multilnaguage support to media section of argos_theme (Thanks to Argos) |
|
| 16 |
# Fixed smaller display issue in argos_theme (Thanks to Argos) |
|
| 15 | 17 |
+ Added more meta tags to backend themes |
| 16 | 18 |
! Updated Argos_theme (Thanks to Argos and Luisehahne) |
| 17 | 19 |
# Again added some & to news and form to get more valid output (Thanks to Luisehahne) |
| trunk/wb/admin/media/setparameter.php | ||
|---|---|---|
| 29 | 29 |
// Include the WB functions file |
| 30 | 30 |
require_once(WB_PATH.'/framework/functions.php'); |
| 31 | 31 |
|
| 32 |
// check if theme language file exists for the language set by the user (e.g. DE, EN) |
|
| 33 |
if(!file_exists(THEME_PATH .'/languages/'.LANGUAGE .'.php')) {
|
|
| 34 |
// no theme language file exists for the language set by the user, include default theme language file EN.php |
|
| 35 |
require_once(THEME_PATH .'/languages/EN.php'); |
|
| 36 |
} else {
|
|
| 37 |
// a theme language file exists for the language defined by the user, load it |
|
| 38 |
require_once(THEME_PATH .'/languages/'.LANGUAGE .'.php'); |
|
| 39 |
} |
|
| 40 |
|
|
| 32 | 41 |
//Save post vars to the parameters file |
| 33 | 42 |
if ( !is_null($admin->get_post_escaped("save"))) {
|
| 34 | 43 |
//Check for existing settings entry, if not existing, create a record first! |
| ... | ... | |
| 68 | 77 |
$template->set_var('DISPLAY_ADMIN', 'hide');
|
| 69 | 78 |
} |
| 70 | 79 |
$template->set_var(array( |
| 71 |
'TEXT_HEADER' => 'Set maximum imagesize for a folder</b><br><small><i>(resizing on new uploads only)</i></small>',
|
|
| 80 |
'TEXT_HEADER' => $TEXT['TEXT_HEADER'],
|
|
| 72 | 81 |
'SAVE_TEXT' => $TEXT['SAVE'], |
| 73 | 82 |
'BACK' => $TEXT['BACK'] |
| 74 | 83 |
) |
| ... | ... | |
| 105 | 114 |
'CUR_WIDTH' => $cur_width, |
| 106 | 115 |
'CUR_HEIGHT' => $cur_height, |
| 107 | 116 |
'SETTINGS' => $TEXT['SETTINGS'], |
| 108 |
'ADMIN_ONLY' => 'Settings for administrator only',
|
|
| 117 |
'ADMIN_ONLY' => $TEXT['ADMIN_ONLY'],
|
|
| 109 | 118 |
'ADMIN_ONLY_SELECTED' => $pathsettings['global']['admin_only'], |
| 110 |
'NO_SHOW_THUMBS' => 'Hide thumbnails',
|
|
| 119 |
'NO_SHOW_THUMBS' => $TEXT['NO_SHOW_THUMBS'],
|
|
| 111 | 120 |
'NO_SHOW_THUMBS_SELECTED' => $pathsettings['global']['show_thumbs'], |
| 112 | 121 |
'ROW_BG_COLOR' => $row_bg_color |
| 113 | 122 |
) |
| trunk/wb/admin/media/browse.php | ||
|---|---|---|
| 32 | 32 |
require_once(WB_PATH.'/framework/functions.php'); |
| 33 | 33 |
include ('parameters.php');
|
| 34 | 34 |
|
| 35 |
// check if theme language file exists for the language set by the user (e.g. DE, EN) |
|
| 36 |
if(!file_exists(THEME_PATH .'/languages/'.LANGUAGE .'.php')) {
|
|
| 37 |
// no theme language file exists for the language set by the user, include default theme language file EN.php |
|
| 38 |
require_once(THEME_PATH .'/languages/EN.php'); |
|
| 39 |
} else {
|
|
| 40 |
// a theme language file exists for the language defined by the user, load it |
|
| 41 |
require_once(THEME_PATH .'/languages/'.LANGUAGE .'.php'); |
|
| 42 |
} |
|
| 43 |
|
|
| 35 | 44 |
// Byte convert for filesize |
| 36 | 45 |
function byte_convert($bytes) {
|
| 37 | 46 |
$symbol = array(' bytes', ' KB', ' MB', ' GB', ' TB');
|
| trunk/wb/templates/argos_theme/theme.css | ||
|---|---|---|
| 4 | 4 |
body {background:#f9f9f9 url(images/background.jpg) 0 0 repeat-x;margin:0;text-align:center;}
|
| 5 | 5 |
img { border: 0px;}
|
| 6 | 6 |
|
| 7 |
#admin_header{text-align:center;width:900px;height:105px;margin:0 auto;padding:0;*padding-top:10px;}
|
|
| 7 |
#admin_header {text-align:center;width:900px;height:105px;margin:0 auto;padding:10px 0 0 0;}
|
|
| 8 | 8 |
#admin_header a#website_title {display:block;text-align:left;font-size:14px;font-weight:bold;color:#fff;text-transform:uppercase;text-decoration:none;}
|
| 9 | 9 |
#topmenu {float:right;text-align:right;color:#fff;}
|
| 10 | 10 |
#topmenu a {font-size:11px;color:#fff;text-decoration:underline;margin:0 5px;}
|
Also available in: Unified diff
Added multilnaguage support to media section of argos_theme (Thanks to Argos)
Fixed smaller display issue in argos_theme (Thanks to Argos)