Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:2.0:aenderungshistorie_fuer_themes_23 [2015/10/28 17:34] (current)
thomas-rcv created
Line 1: Line 1:
 +====== 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 [[aenderungshistorie_fuer_themes_22|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 ==
 +<code css>/* Einstellung fuer die Thumbnailtabellenzeilen */
 +.photoThumbnailRow{
 +    text-align: center;
 +    list-style-type:​ none;
 +    clear: left;
 +}</​code>​
 +with: <code css>/* Einstellung fuer die Thumbnailtabellenzeilen */
 +.photoThumbnailRows{
 +    padding: 0px;
 +    list-style-type:​ none;
 +}
 +
 +.photoThumbnailRow{
 +    clear: left;
 +}
 +</​code>​
 +
 +== Replace block in css/​print.css ==
 +<code css>​.bodyPrint {
 +    color: ​           #000000;
 +    font-family: ​     arial, sans-serif;
 +    font-size: ​       10pt;
 +    background-color:​ #ffffff;
 +    text-align: ​      ​center;​
 +}</​code>​
 +with: <code css>​.bodyPrint {
 +    color: ​           #000000;
 +    font-family: ​     arial, sans-serif;
 +    font-size: ​       10pt;
 +    background-color:​ #ffffff;
 +    text-align: ​      ​center;​
 +    margin:​  ​     20px;
 +}</​code>​
 +
 +== Replace block in css/​print.css ==
 +<code css>​.groupBox {
 +    color: ​           #000000;
 +    background-color:​ #ffffff;
 +    border: ​          1px solid #cccccc;
 +    padding: ​         5px 10px 5px 10px;
 +    text-align: ​      left;
 +    margin-top: ​      12px;
 +}</​code>​
 +with: <code css>​.groupBox {
 +    color: ​           #000000;
 +    background-color:​ #ffffff;
 +    border: ​          1px solid #cccccc;
 +    padding: ​         5px 10px 5px 10px;
 +    text-align: ​      left;
 +    margin-top: ​      20px;
 +}</​code>​
 +
 +== Delete block in css/​system.css ==
 +<code css>​.defaultFontSize,​ body {
 +    font-size: ​         10pt;
 +}
 +
 +.bigFontSize {
 +    font-size: ​         12pt;
 +}</​code>​
 +
 +== Add block in css/​system.css ​ ==
 +<code css>​textarea,​ input, select {
 +    font-family: ​       Arial, sans-serif;
 +    font-size: ​         11pt;
 +}
 +</​code>​
 +
 +== Delete block in css/​system.css ==
 +<code 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;​
 +}</​code>​
 +
 +== Replace block in css/​system.css ==
 +<code 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;
 +}</​code>​
 +with: <code css>​.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;
 +}</​code>​
 +
 +== Replace block in css/​print.css ==
 +<code css>​.tableList {
 +    width: ​             550px; ​        /* Optimale Breite von Listen */
 +    color: ​             #555555;
 +    font-size: ​         10pt;
 +    background-color: ​  #​eaeaea;​
 +    border: ​            1px solid #555555;
 +    margin: ​            auto;
 +}</​code>​
 +with: <code css>​.tableList {
 +    width: ​             600px; ​        /* Optimale Breite von Listen */
 +    color: ​             #555555;
 +    font-size: ​         10pt;
 +    background-color: ​  #​eaeaea;​
 +    border: ​            1px solid #555555;
 +    margin: ​            auto;
 +}
 +</​code>​
 +
 +== Replace block in css/​system.css ==
 +<code css>​.iconTextLink img {
 +    border: ​            none;
 +    vertical-align: ​    ​middle;​
 +    padding-right: ​     1px;
 +}</​code>​
 +with: <code css>​.iconTextLink img {
 +    border: ​            none;
 +    vertical-align: ​    ​middle;​
 +    padding-right: ​     1px;
 +    width: ​             16px;
 +    height: ​            16px;
 +}</​code>​
 +
 +== Replace block in css/​system.css ==
 +<code css>​.iconShowHide img {
 +    border: ​            none;
 +    vertical-align: ​    top;
 +    margin: ​            4px 5px 2px 3px;
 +}</​code>​
 +with: <code css>​.iconShowHide img {
 +    border: ​            none;
 +    vertical-align: ​    top;
 +    margin: ​            4px 5px 2px 3px;
 +    width: ​             11px;
 +    height: ​            11px;
 +}</​code>​
 +
 +== Replace block in css/​system.css ==
 +<code css>​.iconInformation {
 +    cursor: ​            help;
 +    vertical-align: ​    top;
 +    margin-left: ​       2px;
 +    margin-right: ​      2px;
 +}</​code>​
 +with: <code css>​.iconInformation {
 +    cursor: ​            help;
 +    vertical-align: ​    top;
 +    margin-left: ​       2px;
 +    margin-right: ​      2px;
 +    width: ​             16px;
 +    height: ​            16px;
 +}</​code>​
 +
 +== Replace block in css/​system.css ==
 +<code css>​.iconHelpLink {
 +    border: ​            none;
 +    cursor: ​            ​pointer;​
 +    vertical-align: ​    ​middle;​
 +    margin: ​            0px 3px 0px 3px;
 +}</​code>​
 +with: <code css>​.iconHelpLink {
 +    border: ​            none;
 +    cursor: ​            ​pointer;​
 +    vertical-align: ​    ​middle;​
 +    margin-left: ​       3px;
 +    width: ​             16px;
 +    height: ​            16px;
 +}</​code>​
 +
 +== Replace block in css/​system.css ==
 +<code css>#​organization_form .formFieldList li dl {
 +    margin-top: ​        15px;
 +    margin-bottom: ​     5px;
 +}
 +
 +#​organization_form .formFieldList li dl dd {
 +    margin-left: ​       55%;
 +}</​code>​
 +with: <code css>#​admOrganizationMenu .formFieldList li dl {
 +    margin-top: ​        15px;
 +    margin-bottom: ​     5px;
 +}
 +
 +#​admOrganizationMenu .formFieldList li dl dd {
 +    margin-left: ​       50%;
 +}</​code>​
 +
 +
 +== Add Block in css/​system.css ==
 +<code css>/* spezielle Anpassung fuer die Profilseite */
 +#​admProfileMasterData {
 + min-height:​ 200px;
 +}</​code>​
  • en/2.0/aenderungshistorie_fuer_themes_23.txt
  • Last modified: 2015/10/28 17:34
  • by thomas-rcv