From: cajus Date: Wed, 12 Dec 2007 11:34:32 +0000 (+0000) Subject: Move part II X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=894aa86d1d4d57416d43052ea7b781ff680f03c9;p=gosa.git Move part II git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8100 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/INSTALL b/INSTALL deleted file mode 100644 index 126559357..000000000 --- a/INSTALL +++ /dev/null @@ -1,109 +0,0 @@ -GOsa2.1 QUICK INSTALL -===================== - -* Installing GOsa - -Unpack the GOsa tarball and move the main gosa directory to -a place your webserver is configured to find it. The default -location will be /usr/share/gosa. For later reference, I assume -that you've choosen this path, too. - -Create the directory /var/spool/gosa for the smarty compile directory. -Make it read/write for the webserver (additional chmod 770). You may -want to move it elsewhere, configure it in gosa.conf. - -Create the configuration directory /etc/gosa and make sure -that your webserver can read it. - -As a summmary, you now have these directories for GOsa: - -/etc/gosa -/var/spool/gosa -/usr/share/gosa - -After this has been done, include settings for GOsa in your apache -config: - -# Set alias to gosa -Alias /gosa /usr/share/gosa/html - -Assumed you've installed PHP >= 4.1.0, restart your apache webserver -and do your first GOsa dry run without configuration: - -http[s]://your-server/gosa/setup.php - -GOsa setup will perform some basic system checks about general -prerequisites. The setup asks some questions and provides a -basic gosa.conf to save in /etc/gosa. Follow the instructions -until you're able to log in. - -As a final step - which is not done automatically yet, you've to -create a group which members will be GOsa administrators. Here's -an example ldif which creates a user named "admin" with the password -"tester" and a group where this user is in: - -dn: cn=admin,ou=people,dc=example,dc=net -objectClass: person -objectClass: organizationalPerson -objectClass: inetOrgPerson -objectClass: gosaAccount -uid: admin -cn: admin -givenName: admin -sn: GOsa main administrator -lmPassword: 10974C6EFC0AEE1917306D272A9441BB -ntPassword: 38F3951141D0F71A039CFA9D1EC06378 -userPassword:: dGVzdGVy - -dn: cn=administrators,ou=groups,dc=example,dc=net -objectClass: gosaObject -objectClass: posixGroup -gosaSubtreeACL: :all -cn: administrators -gidNumber: 999 -memberUid: admin - -After adding these entries, you should be able to use GOsa. Log in as -admin and try experiment with the GUI. - - -* Migrating an existing tree - -To migrate an existing LDAP tree, you've to do all steps from above, -plus some modifications: - -- GOsa only shows users that have the objectClass gosaAccount - This one has been introduced for several reasons. First, there are - cases you want to hide special accounts from regular admins (i.e. - a samba admin account which is used to log windows machines into - their domain, where chaning a password by accident has bad consequences). - Secondly the gosaAccount keeps the lm/nt password hashes and the - attributes for the last password change - with the consequence that - adding a samba account "later" will not require the user to reset - the password. - -- GOsa only recognizes subtrees (or departments in GOsa's view of things) - that have the objectClass gosaDepartment. You can hide subtrees from GOsa - by not putting this objectClass inside. - -- You need at least one group with objectClass gosaObject and attribute - gosaSubtreeACL set to :all in the base of your tree. All members of this - group are able to change everything in GOsa. Look at the cn=administrators - from above. - -That should be all. Entries should be visible in GOsa now. Be aware that if -your naming policy of user cn's differs from the way GOsa handles it, the -entries get rewritten to a GOsa style dn. - - -* More informations - -To improve this piece of software, please report all kind of errors. -Looking for a mailing list? Go to - -https://oss.gonicus.de/cgi-bin/mailman/listinfo/gosa/ - -Thanks - ---- -Cajus Pollmeier diff --git a/gosa-core/INSTALL b/gosa-core/INSTALL new file mode 100644 index 000000000..126559357 --- /dev/null +++ b/gosa-core/INSTALL @@ -0,0 +1,109 @@ +GOsa2.1 QUICK INSTALL +===================== + +* Installing GOsa + +Unpack the GOsa tarball and move the main gosa directory to +a place your webserver is configured to find it. The default +location will be /usr/share/gosa. For later reference, I assume +that you've choosen this path, too. + +Create the directory /var/spool/gosa for the smarty compile directory. +Make it read/write for the webserver (additional chmod 770). You may +want to move it elsewhere, configure it in gosa.conf. + +Create the configuration directory /etc/gosa and make sure +that your webserver can read it. + +As a summmary, you now have these directories for GOsa: + +/etc/gosa +/var/spool/gosa +/usr/share/gosa + +After this has been done, include settings for GOsa in your apache +config: + +# Set alias to gosa +Alias /gosa /usr/share/gosa/html + +Assumed you've installed PHP >= 4.1.0, restart your apache webserver +and do your first GOsa dry run without configuration: + +http[s]://your-server/gosa/setup.php + +GOsa setup will perform some basic system checks about general +prerequisites. The setup asks some questions and provides a +basic gosa.conf to save in /etc/gosa. Follow the instructions +until you're able to log in. + +As a final step - which is not done automatically yet, you've to +create a group which members will be GOsa administrators. Here's +an example ldif which creates a user named "admin" with the password +"tester" and a group where this user is in: + +dn: cn=admin,ou=people,dc=example,dc=net +objectClass: person +objectClass: organizationalPerson +objectClass: inetOrgPerson +objectClass: gosaAccount +uid: admin +cn: admin +givenName: admin +sn: GOsa main administrator +lmPassword: 10974C6EFC0AEE1917306D272A9441BB +ntPassword: 38F3951141D0F71A039CFA9D1EC06378 +userPassword:: dGVzdGVy + +dn: cn=administrators,ou=groups,dc=example,dc=net +objectClass: gosaObject +objectClass: posixGroup +gosaSubtreeACL: :all +cn: administrators +gidNumber: 999 +memberUid: admin + +After adding these entries, you should be able to use GOsa. Log in as +admin and try experiment with the GUI. + + +* Migrating an existing tree + +To migrate an existing LDAP tree, you've to do all steps from above, +plus some modifications: + +- GOsa only shows users that have the objectClass gosaAccount + This one has been introduced for several reasons. First, there are + cases you want to hide special accounts from regular admins (i.e. + a samba admin account which is used to log windows machines into + their domain, where chaning a password by accident has bad consequences). + Secondly the gosaAccount keeps the lm/nt password hashes and the + attributes for the last password change - with the consequence that + adding a samba account "later" will not require the user to reset + the password. + +- GOsa only recognizes subtrees (or departments in GOsa's view of things) + that have the objectClass gosaDepartment. You can hide subtrees from GOsa + by not putting this objectClass inside. + +- You need at least one group with objectClass gosaObject and attribute + gosaSubtreeACL set to :all in the base of your tree. All members of this + group are able to change everything in GOsa. Look at the cn=administrators + from above. + +That should be all. Entries should be visible in GOsa now. Be aware that if +your naming policy of user cn's differs from the way GOsa handles it, the +entries get rewritten to a GOsa style dn. + + +* More informations + +To improve this piece of software, please report all kind of errors. +Looking for a mailing list? Go to + +https://oss.gonicus.de/cgi-bin/mailman/listinfo/gosa/ + +Thanks + +--- +Cajus Pollmeier diff --git a/gosa-core/ihtml/themes/default/GOsa_MultiSelectHeader.ihtml b/gosa-core/ihtml/themes/default/GOsa_MultiSelectHeader.ihtml new file mode 100644 index 000000000..9f71d5c1a --- /dev/null +++ b/gosa-core/ihtml/themes/default/GOsa_MultiSelectHeader.ihtml @@ -0,0 +1,35 @@ + + + + + + + + +
+
+ + + + + + +
+ + + +
+
+
+ + diff --git a/gosa-core/ihtml/themes/default/GOsa_MultiSelectHeaderSubEntry.ihtml b/gosa-core/ihtml/themes/default/GOsa_MultiSelectHeaderSubEntry.ihtml new file mode 100644 index 000000000..979ef2afa --- /dev/null +++ b/gosa-core/ihtml/themes/default/GOsa_MultiSelectHeaderSubEntry.ihtml @@ -0,0 +1,63 @@ + + + + +The PHP Layers Menu - Templates + + + + + +
+This is a sub menu template.
+This comment does not appear on the resulting page.
+
+The table tags just inside the first div are needed
+to avoid problems with layers that cross the boundaries of the browsing window
+and to make things work with Opera 6.
+If you are sure that *all* your layers stay inside the browsing window
+and you do not have to support Opera 6
+(or if you will provide a "compatibility" menu version to Opera 6),
+you can safely remove it.
+--
+
+ + + + + + + + + diff --git a/gosa-core/ihtml/themes/default/MultiSelectWindow.tpl b/gosa-core/ihtml/themes/default/MultiSelectWindow.tpl new file mode 100644 index 000000000..e7ceae46b --- /dev/null +++ b/gosa-core/ihtml/themes/default/MultiSelectWindow.tpl @@ -0,0 +1,140 @@ + + + + + + {if $is_headpage} + + {else} + + {/if} + +
+
+

+ {$Summary} {$hint} +

+
+
+
+ + + + {if $HeaderDropDown != ""} + + + {/if} + +
+ {$Header} + + - + + + {$HeaderDropDown} +
+
+
+
+
+
+ {$DivList} + +
+
+ {$UserBox1} +
+

+ [i]{t}Information{/t} +

+
+
+ {$Information} +
+ {$UserBox2} +
+ {if !$Skip_Filter_Part } +
+

+ [F]{t}Filters{/t} +

+
+
+ {if $Display_alphabet} + + {$alphabet} +
+ {/if} + { if $CheckBoxes != ""} + + + + +
+ {$CheckBoxes} +
+ {/if} + {$regexes} + {$apply} +
+ {$UserBox3} + {/if} +
+ {$UserBox1} +
+

+ [i]{t}Information{/t} +

+
+
+ {$Information} +
+ {$UserBox2} +
+ {if !$Skip_Filter_Part } +
+

+ [F]{t}Filters{/t} +

+
+
+ {if $Display_alphabet} + + {$alphabet} +
+ {/if} + { if $CheckBoxes != ""} + + + + +
+ {$CheckBoxes} +
+ {/if} + {$regexes} + {$apply} + {$UserBox3} +
+ {/if} +
+{if $Display_Save | $Display_Close} +

  +

+
+

+ {if $Display_Save} + + {/if} + {if $Display_Close} + + {/if} +

+
+{/if} +{if $IgnoreAccount} + +{/if} + + diff --git a/gosa-core/ihtml/themes/default/accountexpired.tpl b/gosa-core/ihtml/themes/default/accountexpired.tpl new file mode 100644 index 000000000..239b8fc9f --- /dev/null +++ b/gosa-core/ihtml/themes/default/accountexpired.tpl @@ -0,0 +1,74 @@ + +{* GOsa login - smarty template *} +{$php_errors} +{$errors} + + +
+ + + + + +
+
+ +

+ {t}Your Password has expired !! Choose a new Password{/t} +

+ + +
+ + + + + + + + + + + + + + + + +
+

{t}Old Password{/t}

+
+ +
+

{t}New Password{/t}

+
+ +
+

{t}Verify Password{/t}

+
+ +
+
+ +
+ +
+ +
+
+ + + + + +
+ diff --git a/gosa-core/ihtml/themes/default/acl.tpl b/gosa-core/ihtml/themes/default/acl.tpl new file mode 100644 index 000000000..3afb976ea --- /dev/null +++ b/gosa-core/ihtml/themes/default/acl.tpl @@ -0,0 +1,93 @@ +{if $dialogState eq 'head'} +

{t}Assigned ACLs for current entry{/t}

+{$aclList} + +{/if} + +{if $dialogState eq 'create'} +

{t}ACL type{/t}  {if $javascript eq 'false'}{/if}

+ +

 

+ + + + + + + + + + + + +
+ {t}Use members from{/t} + + {if $javascript eq 'false'}{/if}

+
+ +
+ {t}Available members{/t}
+ +
+ +

+ +
+ {t}Members{/t}
+ +
+ +{if $aclType ne 'reset'} +{if $aclType ne 'role'} +{if $aclType ne 'base'} +

 

+ +

{t}List of available ACL categories{/t}

+{$aclList} +{/if} +{/if} +{/if} + +{if $aclType eq 'base'} +

 

+

{t}ACLs for this object{/t}

+{$aclSelector} +{/if} + +{if $aclType eq 'role'} +

 

+

{t}Available roles{/t}

+{$roleSelector} +{/if} + +

 

+
+ +   + +
+{/if} + +{if $dialogState eq 'edit'} + +

{$headline}

+ +{$aclSelector} + +

 

+
+ +   + +
+{/if} diff --git a/gosa-core/ihtml/themes/default/colors.txt b/gosa-core/ihtml/themes/default/colors.txt new file mode 100644 index 000000000..55539aac3 --- /dev/null +++ b/gosa-core/ihtml/themes/default/colors.txt @@ -0,0 +1,13 @@ +Color guide +=========== + +Background: #FFFFFF +Header-background: #A9FBA6 +Font colors: #000000 + #00008F +Menu: #F8F8F8 +Highlight: #F0F0F0 +Borders: #AAAAAA +Font Error: #FF0000 +Font Warning: #FFA500 +Font OK: #008000 diff --git a/gosa-core/ihtml/themes/default/conflict.tpl b/gosa-core/ihtml/themes/default/conflict.tpl new file mode 100644 index 000000000..48add53a8 --- /dev/null +++ b/gosa-core/ihtml/themes/default/conflict.tpl @@ -0,0 +1,16 @@ +
+ {t}Session conflict detected{/t} +
+ +

+ {t}Warning{/t}: {t}Probably there's another active instance of your session. Multiple window operation is technical not possible and heavily depends on the browser you're using. Usage of different browsers at a time (i.e. IE and Mozilla) is possible. Pressing the Logout button will close this session.{/t} +

+ +

+ {t}Ignoring this message will change/destroy the data you're currently editing, so please close multiple windows and log in again.{/t} +

+ +

+ +

+ diff --git a/gosa-core/ihtml/themes/default/copyPasteDialog.tpl b/gosa-core/ihtml/themes/default/copyPasteDialog.tpl new file mode 100644 index 000000000..9926c7f50 --- /dev/null +++ b/gosa-core/ihtml/themes/default/copyPasteDialog.tpl @@ -0,0 +1,34 @@ +

{t}Copy & paste wizard{/t}

+ +{$message} +
+
+{if $Complete == false} + {t}Some values need to be unique in the complete directory while some combinations make no sense. GOsa shows the relevant attributes. Please maintain the values below to fullfill the policies.{/t} +
+{t}Remember that some properties like taken snapshots will not be copied!{/t}  +{t}Or if you copy or cut an entry within GOsa and delete the source object, you may get errors while pasting this object again!{/t} + +

 

+
+ {$AttributesToFix} + {if $SubDialog == false} +
+ +
+   + {if $type == "copy"} + + {/if} + + +
+ {/if} +{else} +

 

+
+

{t}Operation complete{/t}

+
+   +
+{/if} diff --git a/gosa-core/ihtml/themes/default/framework.tpl b/gosa-core/ihtml/themes/default/framework.tpl new file mode 100644 index 000000000..fd2baefc5 --- /dev/null +++ b/gosa-core/ihtml/themes/default/framework.tpl @@ -0,0 +1,55 @@ + + +{$php_errors} +
+
+
GOsa + {if !$javascript} + Main {t}Main{/t} + + {else} + Main {t}Main{/t} + + {/if} +   + + Help {t}Help{/t} + +   + {if !$javascript} + + Sign out {t}Sign out{/t} + + {else} + + Sign out {t}Sign out{/t} + + {/if} +
+ +
+ + + + + + + + + +
+ + + + +
+ {$msg_dialogs} + {$contents} +
+
{$errors}{$focus}
diff --git a/gosa-core/ihtml/themes/default/headers.tpl b/gosa-core/ihtml/themes/default/headers.tpl new file mode 100644 index 000000000..b52a00abf --- /dev/null +++ b/gosa-core/ihtml/themes/default/headers.tpl @@ -0,0 +1,31 @@ + + + + + {if isset($title)}{$title}{else}GOsa{/if} + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gosa-core/ihtml/themes/default/help.tpl b/gosa-core/ihtml/themes/default/help.tpl new file mode 100644 index 000000000..2c91d5649 --- /dev/null +++ b/gosa-core/ihtml/themes/default/help.tpl @@ -0,0 +1,39 @@ + +{$php_errors} + +
+
+ + + + + + +
+ {t}GOsa help viewer{/t} + + {$backward} +    + + {t}Index{/t} + +    + {$forward} + +   +
+
+
+{$help_contents} +
+ + + + +
+ + diff --git a/gosa-core/ihtml/themes/default/islocked.tpl b/gosa-core/ihtml/themes/default/islocked.tpl new file mode 100644 index 000000000..45b83336e --- /dev/null +++ b/gosa-core/ihtml/themes/default/islocked.tpl @@ -0,0 +1,19 @@ +
+  {t}Locking conflict detected{/t} +
+ +

+ {t}Warning{/t}: {$message} +

+

+ {t}If this lock detection is false, the other person has obviously closed the webbrowser during the edit operation. You may want to take over the lock by pressing the 'Edit anyway' button.{/t} +

+ +

+ +   + +

+ + + diff --git a/gosa-core/ihtml/themes/default/login.tpl b/gosa-core/ihtml/themes/default/login.tpl new file mode 100644 index 000000000..83f48de0e --- /dev/null +++ b/gosa-core/ihtml/themes/default/login.tpl @@ -0,0 +1,96 @@ + +{$php_errors} +
+
+
GOsa
+
{$version}
+
+
+ {t}GOsa login screen{/t} +
+
+ +{* GOsa login - smarty template *} + + +
+ +
 
+
+
+ +
+
+

+ {t}Login screen{/t} +

+
+
+
+ +
+ {t}Please use your username and your password to log into the site administration system.{/t}
+ {if $ssl}{$ssl}{/if} + {if $lifetime}{$lifetime}{/if} +
+ + + +
+ {t}Username{/t}  + +
+
+ {t}Password{/t}  + +
+
+ {t}Directory{/t}  + +
+ + +

+ +

+{$errors} +
+
+
+ {$message} +
+
+ + + + +
+
+
+ +
+
+ +
+ + + + diff --git a/gosa-core/ihtml/themes/default/logout.tpl b/gosa-core/ihtml/themes/default/logout.tpl new file mode 100644 index 000000000..27005eed6 --- /dev/null +++ b/gosa-core/ihtml/themes/default/logout.tpl @@ -0,0 +1,22 @@ + + +
+
+

{t}Your GOsa session has expired!{/t}

+

+ {t}The last interaction with the GOsa web interface has been some time ago in the past. For security reasons, the session has been closed. To continue with administrative tasks, please sign in again.{/t} +

+
+
+
+
+ + + + + + diff --git a/gosa-core/ihtml/themes/default/msg_dialog.tpl b/gosa-core/ihtml/themes/default/msg_dialog.tpl new file mode 100644 index 000000000..fafbed4bb --- /dev/null +++ b/gosa-core/ihtml/themes/default/msg_dialog.tpl @@ -0,0 +1,168 @@ +{if $frame} +{if $IE} + +