Jump to content

Themedef.inc settings: Difference between revisions

From NusaATK
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
;$theme["basetheme"] = "outlook";
;$theme["basetheme"] = "outlook";


;$theme['compatible_menus'] = array("modern");
;$theme['compatible_menus'] = array("[value]");
:Possible values : modern, cook, etc.
:Possible values : any menu name. cook, modern, outlook, plain,   etc.


;$theme['dialog_theme_name'] = 'alphacube';
;$theme['dialog_theme_name'] = '[value]';
:called in class.atkdialog.inc?
:Default value : alphacube


;$theme['dialog_theme_load'] = true;
;$theme['dialog_theme_load'] = [value];
:called in class.atkdialog.inc?
:Default value : true


;$theme['dispatcher']='index.php';
;$theme['dispatcher']='index.php';
:needed if $theme['useframes']=false ?
:called in class.atkcontroller.inc? needed if $theme['useframes']=false ?
:Default value : atkSelf() (but probably not setable to that as internal code)


;$theme["doctype"] = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"'."\n".'"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">';
;$theme["doctype"] = '[value]';
:Probably anything valid by ?w3c? called in class.atkpage.inc?
:Possible values : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"'."\n".'"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">


;$theme['frame_menu_width']=210;
;$theme['frame_menu_width']=210;
Line 42: Line 49:
    
    
;$theme["tabtype"] = "dhtml";
;$theme["tabtype"] = "dhtml";
 
: apparently only dhtml is a possible value? called in class.atkui.inc?
:Possible values : dhtml;
:Default value : none?;
 
;$theme['useframes']=false;
;$theme['useframes']=false;
: if set to false then dispatcher, menufile, and menu_params have to be set? defaults to true?
: if set to false then dispatcher, menufile, and menu_params have to be set? defaults to true?

Latest revision as of 19:36, 21 December 2007

If working with themes it is a good idea to set $config_force_theme_recompile = true; so that the theme changes get populated.

$theme["basetheme"] = "outlook";
$theme['compatible_menus'] = array("[value]");
Possible values : any menu name. cook, modern, outlook, plain, etc.
$theme['dialog_theme_name'] = '[value]';
called in class.atkdialog.inc?
Default value : alphacube
$theme['dialog_theme_load'] = [value];
called in class.atkdialog.inc?
Default value : true
$theme['dispatcher']='index.php';
called in class.atkcontroller.inc? needed if $theme['useframes']=false ?
Default value : atkSelf() (but probably not setable to that as internal code)
$theme["doctype"] = '[value]';
Probably anything valid by ?w3c? called in class.atkpage.inc?
Possible values : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"'."\n".'"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
$theme['frame_menu_width']=210;
$theme['frame_top_height']=95;
Possible values : 95, 149, etc.
$theme["highlight"] = "";
Possible values : "", "#D6DFF7", "#c5d7ff", "#ccffcc", other colors etc.
$theme['menufile']='index.php';
needed if $theme['useframes']=false ?
$theme['menu_params']="class='menulink'";
needed if $theme['useframes']=false ?
$theme['modern_menu_compat']=true;
$theme['recordlist_icons']=true;
$theme["recordlist_orientation"]='right';
Possible values : right, left, ?
$theme["recordlist_vorientation"]='top';
$theme["select"] = "";
Possible values : "", "#D6DFF7", "#96a7ff", other colors etc.
$theme["tabtype"] = "dhtml";
apparently only dhtml is a possible value? called in class.atkui.inc?
Possible values : dhtml;
Default value : none?;
$theme['useframes']=false;
if set to false then dispatcher, menufile, and menu_params have to be set? defaults to true?

Outlook style menu

$theme["ol_menucolor"]="#ffffff";
$theme["ol_wincolor"]="#eeeee0";
$theme["ol_background"]="#677EB1";