As part of the
most recent code update, there are now 70 or so new themes for Expressive! This update should complete the porting of all themes from
Vox to here, as well as a few themes only available on LiveJournal. Theme previews are available from the link in the "Profile" module atop the sidebar on the left.
(
Customizing the Designer Module )
Comments 3
Reply
Reply
this first chunk is for the layout layer:
/trunk/bin/upgrading/s2layers/voxhtml/layout.s2
[...]
property string base_theme {
des = "Base Theme";
noui = 1;
}
set base_theme = "bloom-blue";
property string base_theme_name {
des = "Base Theme Name";
noui = 1;
}
set base_theme_name = "Bloom Blue";
[...]
function designer(string type, string designer, string theme) : string {
[...]
var string return = "";
var string designed = (($*base_theme_name != "") ? "D" : " d") + "esigned";
if ($type == "ljuser") {
var UserLite u = UserLite($designer);
$return = """
$*base_theme_name$designed by """ + $u->ljuser() + "";
} elseif ($type == "outside") {
if ($designer == "piximix") {
$return = """
( ... )
Reply
Leave a comment