Rev | Line | |
---|
[78] | 1 | // ---------------------------------------------------------------------------- |
---|
| 2 | // STRUCTURE DOCUMENTATION |
---|
| 3 | // |
---|
| 4 | // The Theme directory structure need to be like this |
---|
| 5 | // This is only for the public theme |
---|
| 6 | // |
---|
| 7 | // themes/ |
---|
| 8 | // <squelette_dir1> |
---|
| 9 | // theme.xml |
---|
| 10 | // <files ... > |
---|
| 11 | // <squelette_dir2> |
---|
| 12 | // theme.xml |
---|
| 13 | // <files ... > |
---|
| 14 | // <...> |
---|
| 15 | // <habillage_dir1> |
---|
| 16 | // theme.xml |
---|
| 17 | // <files ...> |
---|
| 18 | // <habillage_dir2> |
---|
| 19 | // theme.xml |
---|
| 20 | // <files ...> |
---|
| 21 | // |
---|
| 22 | // Theme = Squelette [+ Habillage] |
---|
| 23 | // Habillage is optional, because default 'habillage' could be in the |
---|
| 24 | // 'squelette' directory itself (such 'dist'). |
---|
| 25 | // |
---|
| 26 | // Available 'squelettes' or 'habillage' can be now stored in the same |
---|
| 27 | // directory but you still have the possibility to have 2 differents |
---|
| 28 | // directories |
---|
| 29 | // |
---|
| 30 | // --------------------------------------------------------------------------- |
---|
| 31 | // Habillage |
---|
| 32 | // theme.xml (use to give a description in the interface and to select it |
---|
| 33 | // with <squelettes> name) |
---|
| 34 | // <theme> |
---|
| 35 | // <nom>name_of_the_habillage</nom> |
---|
| 36 | // <auteur> |
---|
| 37 | // author of the habillage |
---|
| 38 | // </auteur> |
---|
| 39 | // <version> |
---|
| 40 | // 1.0 |
---|
| 41 | // </version> |
---|
| 42 | // <etat> |
---|
| 43 | // stable |
---|
| 44 | // </etat> |
---|
| 45 | // <description> |
---|
| 46 | // ... |
---|
| 47 | // </description> |
---|
| 48 | // <type>themes</type> |
---|
| 49 | // <squelettes>dist</squelettes> |
---|
| 50 | // <squelettes>SarkaSpip</squelettes> |
---|
| 51 | // </theme> |
---|
| 52 | // |
---|
| 53 | // You can define several dependances <squelettes></squelettes> |
---|
| 54 | // |
---|
| 55 | // --------------------------------------------------------------------------- |
---|
| 56 | // Squelette |
---|
| 57 | // theme.xml (use to give description in the interface) |
---|
| 58 | // |
---|
| 59 | // <theme> |
---|
| 60 | // <nom>name_of_the_squelette</nom> |
---|
| 61 | // <auteur> |
---|
| 62 | // author of the squelette |
---|
| 63 | // </auteur> |
---|
| 64 | // <version> |
---|
| 65 | // 1.0 |
---|
| 66 | // </version> |
---|
| 67 | // <etat> |
---|
| 68 | // stable |
---|
| 69 | // </etat> |
---|
| 70 | // <type>squelettes</type> |
---|
| 71 | // <description> |
---|
| 72 | // ... |
---|
| 73 | // </description> |
---|
| 74 | // </theme> |
---|
| 75 | // |
---|
| 76 | // --------------------------------------------------------------------------- |
---|
Note: See
TracBrowser
for help on using the repository browser.