Customize zphone howto
Aus metasec wiki
Version vom 23. September 2010, 19:40 Uhr von Admin (Diskussion | Beiträge)
Inhaltsverzeichnis
Globale Vorgaben für Aussehen
/var/www/zphone/etc/config_custom.inc.php
<?php /* * HTML Eigenschaften */ $CCBOX["title"] = "MEINE CUSTOM ANLAGE UND NICHT ZPHONE"; $CCBOX["HTML"]["BODY_BG"] = "#FFFFFF"; /* html body background */ $CCBOX["HTML"]["BODY_BG_IMG"] = ""; /* html body background */ $CCBOX["HTML"]["SKIN_TITLE_BG"] = "#00497C"; /* background of the title of the input skin */ $CCBOX["HTML"]["SKIN_TITLE_BG2"] = "white"; /* background of the title of the input skin */ $CCBOX["HTML"]["SKIN_TITLE_CSS"] = "white10b"; /* used css style for title skin */ $CCBOX["HTML"]["MENU_BG"] = "#FFFFFF"; $CCBOX["HTML"]["SKIN_MSG_BG"] = "#980000"; /* for any $MSG warnings etc tab rows */ $CCBOX["HTML"]["SKIN_MSG_CSS"] = "white10b"; /* for any $MSG warnings etc tab rows style sheet */ $CCBOX["HTML"]["SKIN_TAB_BG"] = "#FFFFFF"; $CCBOX["HTML"]["SKIN_TAB_CSS_N"] = "grey8"; /* normal style css */ $CCBOX["HTML"]["SKIN_TAB_CSS_B"] = "grey8b"; /* bold style css */ $CCBOX["HTML"]["SKIN_TAB_CSS_SN"] = "black8"; /* small style css */ $CCBOX["HTML"]["SKIN_TAB_CSS_SB"] = "black8b"; /* small bold style css */ $CCBOX["HTML"]["SKIN_WARN_CSS_B"] = "red8b"; /* small bold style css */ $CCBOX["HTML"]["INPUT_TEXT_CSS"] = "input8"; /* input type text */ $CCBOX["HTML"]["INPUT_TEXTAREA_CSS"] = "input8"; /* textarea */ $CCBOX["HTML"]["INPUT_SELECT_CSS"] = "input8"; /* select lists */ $CCBOX["HTML"]["INPUT_CHECKBOX_CSS"] = "checkbox"; /* checkbuttons */ $CCBOX["HTML"]["INPUT_RADIO_CSS"] = "radio"; /* checkbuttons */ $CCBOX["HTML"]["INPUT_BUTTON_CSS"] = "input8"; /* css for input submit reset buttons */ $CCBOX["HTML"]["SKIN_MOVER_BG"] = "#B8D0E1"; // $CCBOX["HTML"]["SKIN_MOUT_BG"] = "#FFFFFF"; $CCBOX["HTML"]["MENUTABLE_CSS"] = "menutable"; /* css for all tables displaying functions */ ?>
Umbenennen von Modulen
/var/www/zphone/etc/modules_map.php
<?php // $MOD_MAP["PBX"] = "TELEFONANLAGE"; ?>
Bilder und Logos
/var/www/zphone/img/logo_custom_big.png
Grosses Logo auf dem Loginscreen
PNG Image, 300 x 139, 8-bit/color RGBA
/var/www/zphone/img/logo_custom_small.png
Kleines Logo an vielen anderen Orten
PNG Image, 150 x 69, 8-bit/color RGBA
Stylesheets, Farben und Aussehen
Zentrale CSS Datei über die das gesamte Aussehen gesteuert wird. Kann von den default.css übernommen werden ( cp default.css custom.css )
/var/www/zphone/skins/default/custom.css