Change history for Themes in Version 2.3
This page lists all changes in the Theme folder inside the Version 2.3. If you update to a new version, so you have update all the changes from your previous version to your new version Admidio, otherwise it may cause display problems.
The changes shown here always refer to both of our standard themes. Did you make changes here, so you have to consider when assigning these adjustments if necessary. This can, for example, be the case with colors.
Renaming of variables
In version 2.3, we have renamed some variables. If you have made adjustments to the Theme itself or to other parts in Admidio, where PHP code is used, you may have to replace the following Varialben by its new name:
Previous Name | New Name |
---|---|
$g_current_organization | $gCurrentOrganization |
$g_current_session | $gCurrentSession |
$g_current_user | $gCurrentUser |
$g_db | $gDb |
$g_homepage | $gHomepage |
$g_l10n | $gL10n |
$g_layout | $gLayout |
$g_preferences | $gPreferences |
$g_valid_login | $gValidLogin |
Version 2.3.0
When updating from version 2.2.1 or later, the following files need to be adjusted in the Theme folder. Changes to version 2.2.0, check out Change history of 2.2
(if you have not made changes, you can also upload the entire folders and just only adjust the CSS folder manually)
- The following files must be replaced in the appropriate folders:
my_body_bottom.php (or manual adjustment of the variables)
images/ownertext.png
css/colorbox.css
- The following files must be removed in the appropriate folders:
ecard_templates/brief_grosses_foto.tpl
ecard_templates/brief_standard.tpl
ecard_templates/grusskarte.tpl
icons/chair.png
icons/google.gif
icons/image.png
icons/link.png
icons/msn.png
icons/text_align_center.png
icons/text_align_center_point.png
icons/text_bigger.png
icons/text_bigger_point.png
icons/text_bold.png
icons/text_bold_point.png
icons/text_italic.png
icons/text_italic_point.png
icons/text_smaller.png
icons/text_smaller_point.png
icons/text_underline.png
icons/text_underline_point.png
icons/text_smallcaps.png
- The following files must be added in the appropriate folders:
css/jquery.css
ecard_templates/greeting_card.tpl
ecard_templates/postcard.tpl
ecard_templates/postcard_separate_photo.tpl
icons/facebook.png
icons/google_plus.png
icons/skype.png
icons/twitter.png
icons/windows_live.png
icons/world.png
icons/xing.png
images/jquery (den kompletten Ordner)
Replace block in css/photos.css
/* Einstellung fuer die Thumbnailtabellenzeilen */ .photoThumbnailRow{ text-align: center; list-style-type: none; clear: left; }
with:
/* Einstellung fuer die Thumbnailtabellenzeilen */ .photoThumbnailRows{ padding: 0px; list-style-type: none; } .photoThumbnailRow{ clear: left; }
Replace block in css/print.css
.bodyPrint { color: #000000; font-family: arial, sans-serif; font-size: 10pt; background-color: #ffffff; text-align: center; }
with:
.bodyPrint { color: #000000; font-family: arial, sans-serif; font-size: 10pt; background-color: #ffffff; text-align: center; margin: 20px; }
Replace block in css/print.css
.groupBox { color: #000000; background-color: #ffffff; border: 1px solid #cccccc; padding: 5px 10px 5px 10px; text-align: left; margin-top: 12px; }
with:
.groupBox { color: #000000; background-color: #ffffff; border: 1px solid #cccccc; padding: 5px 10px 5px 10px; text-align: left; margin-top: 20px; }
Delete block in css/system.css
.defaultFontSize, body { font-size: 10pt; } .bigFontSize { font-size: 12pt; }
Add block in css/system.css
textarea, input, select { font-family: Arial, sans-serif; font-size: 11pt; }
Delete block in css/system.css
*[readonly] { background-color: #e5e5e5; border-width: thin; } textarea { font-family: arial, sans-serif; font-size: 10pt; } /* Hack fuer IE6, damit dieser lange Buttons vernuenftig darstellt */ html.* button { padding: 0em .25em; width: auto; overflow: visible; }
Replace block in css/system.css
.formFieldList li { display: inline; text-align: left; } .formFieldList li dl { padding: 0px; margin: 8px 0px 8px 0px; } .formFieldList li dl dt { text-align: left; float: left; } .formFieldList li dl dd { margin-left: 29%; text-align: left; }
with:
.formFieldList > li { text-align: left; } .formFieldList > li > dl, .formFieldList > li > div { padding: 0px; margin: 8px 0px 8px 0px; } .formFieldList > li > dl > dt { text-align: left; float: left; } .formFieldList > li > dl > dd { margin-left: 29%; text-align: left; }
Replace block in css/print.css
.tableList { width: 550px; /* Optimale Breite von Listen */ color: #555555; font-size: 10pt; background-color: #eaeaea; border: 1px solid #555555; margin: auto; }
with:
.tableList { width: 600px; /* Optimale Breite von Listen */ color: #555555; font-size: 10pt; background-color: #eaeaea; border: 1px solid #555555; margin: auto; }
Replace block in css/system.css
.iconTextLink img { border: none; vertical-align: middle; padding-right: 1px; }
with:
.iconTextLink img { border: none; vertical-align: middle; padding-right: 1px; width: 16px; height: 16px; }
Replace block in css/system.css
.iconShowHide img { border: none; vertical-align: top; margin: 4px 5px 2px 3px; }
with:
.iconShowHide img { border: none; vertical-align: top; margin: 4px 5px 2px 3px; width: 11px; height: 11px; }
Replace block in css/system.css
.iconInformation { cursor: help; vertical-align: top; margin-left: 2px; margin-right: 2px; }
with:
.iconInformation { cursor: help; vertical-align: top; margin-left: 2px; margin-right: 2px; width: 16px; height: 16px; }
Replace block in css/system.css
.iconHelpLink { border: none; cursor: pointer; vertical-align: middle; margin: 0px 3px 0px 3px; }
with:
.iconHelpLink { border: none; cursor: pointer; vertical-align: middle; margin-left: 3px; width: 16px; height: 16px; }
Replace block in css/system.css
#organization_form .formFieldList li dl { margin-top: 15px; margin-bottom: 5px; } #organization_form .formFieldList li dl dd { margin-left: 55%; }
with:
#admOrganizationMenu .formFieldList li dl { margin-top: 15px; margin-bottom: 5px; } #admOrganizationMenu .formFieldList li dl dd { margin-left: 50%; }
Add Block in css/system.css
/* spezielle Anpassung fuer die Profilseite */ #admProfileMasterData { min-height: 200px; }