[mlimg]
[xlang:en]
====  DB theme  ===

You can specify DB template as the theme.
This module depends on altsys.

[b]MERITS[/b]

- You can edit the theme/css via altsys (you can see diff)
- CSS of the theme will be templatized automatically
- You can specify different themes by blocks (Of course, the block is duplicatable)
- You can turn "Update module template .html files from themes/your theme/templates directory" off when editing DB theme


[b]USAGES[/b]

(If you didnot...)
- set XOOPS_TRUST_PATH
- Install altsys >= 0.5


- Install dbtheme as usual D3 module
- Set weight=0 in modulesadmin
- If you use XoopsCube Legacy 2.1, edit/append site_custom.ini.php like this.
- Turn visible of "Theme hook" block on
- Allow to access module/block in "Permissions"
- Specify the DB template in the block's option

[RenderSystems]
Legacy_RenderSystem=Legacy_DbthemeRenderSystem

[Legacy_DbthemeRenderSystem]
root=XOOPS_TRUST_PATH
path=/modules/dbtheme/class
class=Legacy_DbthemeRenderSystem


[b]NOTICE[/b]

This module has DB templates from current theme set.
If you change the theme set as base, input the name of theme in this module's preferences and update the module from modulesadmin.
Then, the templates are updated from specified theme set.

If you want to use multiple theme set at once, install another DBTHEME modules.

Since DBTHEME module is designed as D3 module, you can intall the module as much as you like.


[b]CHANGES[/b]

0.34 2007-05-23
- fixed the dependency of dirname "dbtheme" in oninstall and onupdate

0.33 2007-05-12
- changed the structure "altsys essential"
- added language constants override system (with altsys>=0.5)
- templatized mymenu (with altsys>=0.5)
- added language files
-- japaneseutf

0.32 2007-04-19
- added an assignment xoops_dbthemecssurl for special themes for dbtheme
- added language files
-- persian (thx stranger)

0.31 2007-04-09
- fixed xoops_imageurl in CSS (thx mizukami)
- modified preg_replace pattern on updating the module (thx mizukami)
- fixed typo in oninstall (thx hodaka) 0.31a

0.30 2007-04-07
- modified smarty no longer necessary
- modified xoops_theme, xoops_imageurl, xoops_themecss
- added a configration "base theme"

0.20 2007-04-05
- added preg_replace theme/css in oninstall/onupdate
- added importing templates from (dbtheme dirname)/templates/*
- applied for XC Legacy 2.1

0.10 2007-04-04
- 1st release



[/xlang:en]
[xlang:ja]

====  DB ơ  ===

ǤդDBƥץ졼ȤơޤȤѤǤ⥸塼
ALTSYS 0.5ʾ夬ɬܤǤ


å

- altsysԽǤʬɽѤǤ
- CSSưŪ˥ƥץ졼Ȳ
- ֥åñ̤ǤդΥơޤƤ뤳ȤǤʤ֥åʣġ
- themes/μưפOFFΤޤޤǤơѹȿǤ


Ȥ

altsysȤʻѤǤΤǡ⤷äƤʤäޤaltsys򥤥󥹥ȡ뤷ޤaltsysϲǽʸ¤ǿǡ0.52ʹ߿侩ˤȤäƤ

DBTHEME⥸塼뼫Τϡ̤D3⥸塼Ȥƥ󥹥ȡ뤷ޤʰΥСǤSmartyץ饰ɬפǤפǤ

⥸塼륤󥹥ȡľˡ⥸塼̤ɽ0ˤƤΤ򤪴ᤷޤ

ơޥեå֥å򡢥ơޤ֤ڡɽƤơޤȤѤDBƥץ졼Ȥϡơޥեå֥åΥץꤷޤ

Ʊ֥֥å/¡פβȾʬǡ⥸塼륢¤ȥ֥å¤򿶤äƤɤǤ礦

ʤLegacy 2.1 ξΤߡsettings/site_custom.ini.php ˰ʲεҤɬפǤ

[RenderSystems]
Legacy_RenderSystem=Legacy_DbthemeRenderSystem

[Legacy_DbthemeRenderSystem]
root=XOOPS_TRUST_PATH
path=/modules/dbtheme/class
class=Legacy_DbthemeRenderSystem


ƥץ졼ȤˤĤƤ

Υ⥸塼뼫ȤDBƥץ졼Ȥޤ

̾ϡΥơޤĥäƤޤ١Ȥơޤ㤦Τˤϡǥ١ơޤڤؤƤ顢⥸塼륢åץǡȤԤäƤ

ˤäơΥ⥸塼뤬ĥƥץ졼Ȥꤵ줿ơޤΤΤؤޤ

ʣΥ١ơޤ򤤤ڤؤƻȤϡDBTHEME⥸塼ʣƤޤΤڤǤ礦ʤˤD3⥸塼Ǥ顢Ŀǥ쥯ȥ̾¤ϰڤޤ


ʻȤȤơ

XOOPS_TRUST_PATH/modules/dbtheme/templates/

ˡtheme.html Υե̤ƤʤƤΤ⤢ޤDBTHEME⥸塼ʣǽͤ顢ޤꤪǤޤ






0.34 2007-05-23
- oninstallonupdateˡ"dbtheme" ľ񤭤ˤʤäƤΤ

0.33 2007-05-12
- altsysɬܤȤ
- ʸС饤ɥƥƳaltsys-0.5ʾ
- mymenuΥƥץ졼Ȳaltsys-0.5ʾ
- եɲ
-- japaneseutf

0.32 2007-04-19
- dbthemeѥơޤΤ xoops_dbthemecssurl 򥢥󤹤褦ˤ
- եɲ
-- persian (thx stranger)

0.31 2007-04-09
- CSS¦ͭxoops_imageurl󤵤ƤʤХν (thx mizukami)
- ơޥե߻μưѴŬ (thx mizukami)
- oninstalltypo fix (thx hodaka) 0.31a

0.30 2007-04-07
- smartyץ饰ʤˤ
- xoops_theme, xoops_imageurl, xoops_themecss 񤭴褦ˤ
- ١ȤʤơޤŪ˻ꤹ褦ˤ

0.20 2007-04-05
- ƥץ졼ȼ߻μư񤭴ǽɲ
- templatesե˥ե뤬Ф褦ˤ
- XC Legacy 2.1б

0.10 2007-04-04
- ǽΥ꡼

[/xlang:ja]
