REBRANDING MedDream WARNING: only the default appearance of MedDream is CE certified. After rebranding, the CE label seen in the About dialog becomes invalidated and legally has no sense. If CE certification is not important to you, no problem -- however you should always remove the label as well, as described in Chapter 2. WARNING: the disclaimer is not shown in DEMO mode. WARNING: since 5.0 the disclaimer is quite annoying as the message should be shown by the search window instead. Sorry about the inconvenience. WARNING: most of this document applies to the Flash viewer only. The HTML viewer will catch up with it some day. 1. THE LOGIN FORM The text in the top right corner comes from sharedData.php: $PRODUCT = "MedDream"; $VERSION = "5.1.1"; $COPYRIGHT = "Copyright 2016 (c) Softneta"; There are two images above the login form: assets/img/product-logo.png assets/img/brand-logo.png Look at assets/css/style.css for the rules ".md-logo" and ".brand-logo" that load these images. There is some rescaling in effect. 2. THE ABOUT DIALOG The CE label and accompanying text about medical device class is removed by adding an empty parameter $MDCLASS to sharedData.php: $MDCLASS = ""; The dialog then will be a bit reduced in height. To change the manufacturer's logo in the About dialog, add the file about.png. Size of the default image is 147 x 28. The maximum width is 600 pixels, anything past this is *clipped*. Image height is not limited, however it will cause some repositioning of the dialog contents; a too high image might move the buttons outside the screen so the dialog becomes unusable. Make sure to check your customization on various client systems (different builds of Flash Player, different display DPI, etc) from where MedDream will be opened. To change manufacturer's contact information, add a parameter $CONTACTS to sharedData.php. Example that corresponds to the default values: $CONTACTS = "Softneta, UAB\nK. Barsausko str. 59b, LT-51423 Kaunas,\nLithuania\ne-mail: email{info@softneta.com}\nlink{www.softneta.com}"; It's best to use a single line with embedded breaks in form of "\n" to avoid surprises. Other ways to achieve the same result are tricky. This part of the dialog has space for 5-6 lines of text and wrapping is enabled. Subsequent lines, either due to embedded breaks or wrapping, will not be visible. As before, a large amount of text might need checking on various client systems. An email address is made clickable by surrounding it by "email{" and "}". It will open in the default mail client. A web address is made clickable (and of different text color) by surrounding it by "link{" and "}". It will open in the default Web browser. The default protocol scheme is http:, so add "https://" if you need HTTPS. An empty parameter hides the contact information entirely and reduces the dialog in height: $CONTACTS = ""; 3. PRODUCT LOGO IN THE FLASH VIEWER The product logo in the upper left corner of the Flash Viewer can be changed by adding the file product.png. Size of the default image is 167 x 37. The height can be up to 51 px, anything below is clipped. If the width exceeds 224 px, the thumbnail stripe will move to right. When your picture is near these limits, it might need checking on various client systems to ensure consistent behavior. 4. MANUFACTURER'S LOGO IN THE EULA PAGE The EULA is shown when opening MedDream for the first time. A logo picture is visible near the upper left corner. This is the file logo168x35.png. The image is loaded from eula.php without any size restrictions so basically any image will be suitable despite "hardcoded" dimensions in the name. Do not forget to update the ALT attribute there as well. 5. DISCLAIMER It is possible to add a disclaimer pop-up message that is displayed every time the Flash viewer is opened. To achieve this, add a non-empty parameter $DISCLAIMER to sharedData.php: $DISCLAIMER = "my disclaimer text goes here"; As before, the preferred way for line breaks is to add "\n" in the text. For example, $DISCLAIMER = "my disclaimer\ntext goes here"; will be displayed as "my disclaimer" "text goes here"