- Mise en place d'un système de thèmes individualisant les élements suivants :
authorBenjamin Renard <brenard@easter-eggs.com>
Thu, 9 Oct 2008 01:31:33 +0000 (01:31 +0000)
committerBenjamin Renard <brenard@easter-eggs.com>
Thu, 9 Oct 2008 01:31:33 +0000 (01:31 +0000)
-> templates
-> images
-> css
- Ajout d'un thème black en plus du thème par défaut

195 files changed:
trunk/conf/LSobjects/config.LSobjects.LSeepeople.php
trunk/conf/config.inc.php
trunk/css/black/LSconfirmBox.css [new file with mode: 0644]
trunk/css/black/LSdefault.css [new file with mode: 0644]
trunk/css/black/LSform.css [new file with mode: 0644]
trunk/css/black/LSformElement_image.css [new file with mode: 0644]
trunk/css/black/LSformElement_password.css [new file with mode: 0644]
trunk/css/black/LSformElement_select_object.css [new file with mode: 0644]
trunk/css/black/LSformElement_ssh_key.css [new file with mode: 0644]
trunk/css/black/LSmail.css [new file with mode: 0644]
trunk/css/black/LSrelation.css [new file with mode: 0644]
trunk/css/black/LSselect.css [new file with mode: 0644]
trunk/css/black/LSsmoothbox.css [new file with mode: 0644]
trunk/css/black/base.css [new file with mode: 0644]
trunk/css/black/base_print.css [new file with mode: 0644]
trunk/css/black/color.html [new file with mode: 0644]
trunk/css/black/login.css [new file with mode: 0644]
trunk/css/black/recoverpassword.css [new file with mode: 0644]
trunk/css/default/LSconfirmBox.css [new file with mode: 0644]
trunk/css/default/LSdefault.css [new file with mode: 0644]
trunk/css/default/LSform.css [new file with mode: 0644]
trunk/css/default/LSformElement_image.css [new file with mode: 0644]
trunk/css/default/LSformElement_password.css [new file with mode: 0644]
trunk/css/default/LSformElement_select_object.css [new file with mode: 0644]
trunk/css/default/LSformElement_ssh_key.css [new file with mode: 0644]
trunk/css/default/LSmail.css [new file with mode: 0644]
trunk/css/default/LSrelation.css [new file with mode: 0644]
trunk/css/default/LSselect.css [new file with mode: 0644]
trunk/css/default/LSsmoothbox.css [new file with mode: 0644]
trunk/css/default/base.css [new file with mode: 0644]
trunk/css/default/base_print.css [new file with mode: 0644]
trunk/css/default/color.html [new file with mode: 0644]
trunk/css/default/login.css [new file with mode: 0644]
trunk/css/default/recoverpassword.css [new file with mode: 0644]
trunk/images/black/ASC.png [new file with mode: 0644]
trunk/images/black/DESC.png [new file with mode: 0644]
trunk/images/black/add.png [new file with mode: 0644]
trunk/images/black/ajax-loader.gif [new file with mode: 0644]
trunk/images/black/calendar.png [new file with mode: 0644]
trunk/images/black/clear.png [new file with mode: 0644]
trunk/images/black/close.png [new file with mode: 0644]
trunk/images/black/copy.png [new file with mode: 0644]
trunk/images/black/create.png [new file with mode: 0644]
trunk/images/black/delete.png [new file with mode: 0644]
trunk/images/black/fd_menu.png [new file with mode: 0644]
trunk/images/black/generate.png [new file with mode: 0644]
trunk/images/black/help.png [new file with mode: 0644]
trunk/images/black/hide.png [new file with mode: 0644]
trunk/images/black/imgbroken.png [new file with mode: 0644]
trunk/images/black/loading.gif [new file with mode: 0644]
trunk/images/black/login_fd.png [new file with mode: 0644]
trunk/images/black/logo.png [new file with mode: 0644]
trunk/images/black/logout.png [new file with mode: 0644]
trunk/images/black/mail.png [new file with mode: 0644]
trunk/images/black/modify.png [new file with mode: 0644]
trunk/images/black/person.png [new file with mode: 0644]
trunk/images/black/puce.png [new file with mode: 0644]
trunk/images/black/refresh.png [new file with mode: 0644]
trunk/images/black/remove.png [new file with mode: 0644]
trunk/images/black/rss.png [new file with mode: 0644]
trunk/images/black/url_add.png [new file with mode: 0644]
trunk/images/black/url_go.png [new file with mode: 0644]
trunk/images/black/verify.png [new file with mode: 0644]
trunk/images/black/view.png [new file with mode: 0644]
trunk/images/black/xmpp.png [new file with mode: 0644]
trunk/images/black/zoom.png [new file with mode: 0644]
trunk/images/default/ASC.png [new file with mode: 0644]
trunk/images/default/DESC.png [new file with mode: 0644]
trunk/images/default/add.png [new file with mode: 0644]
trunk/images/default/ajax-loader.gif [new file with mode: 0644]
trunk/images/default/calendar.png [new file with mode: 0644]
trunk/images/default/clear.png [new file with mode: 0644]
trunk/images/default/close.png [new file with mode: 0644]
trunk/images/default/copy.png [new file with mode: 0644]
trunk/images/default/create.png [new file with mode: 0644]
trunk/images/default/delete.png [new file with mode: 0644]
trunk/images/default/fd_menu.png [new file with mode: 0644]
trunk/images/default/generate.png [new file with mode: 0644]
trunk/images/default/help.png [new file with mode: 0644]
trunk/images/default/hide.png [new file with mode: 0644]
trunk/images/default/imgbroken.png [new file with mode: 0644]
trunk/images/default/loading.gif [new file with mode: 0644]
trunk/images/default/login_fd.png [new file with mode: 0644]
trunk/images/default/logo.png [new file with mode: 0644]
trunk/images/default/logout.png [new file with mode: 0644]
trunk/images/default/mail.png [new file with mode: 0644]
trunk/images/default/modify.png [new file with mode: 0644]
trunk/images/default/person.png [new file with mode: 0644]
trunk/images/default/puce.png [new file with mode: 0644]
trunk/images/default/refresh.png [new file with mode: 0644]
trunk/images/default/remove.png [new file with mode: 0644]
trunk/images/default/rss.png [new file with mode: 0644]
trunk/images/default/url_add.png [new file with mode: 0644]
trunk/images/default/url_go.png [new file with mode: 0644]
trunk/images/default/verify.png [new file with mode: 0644]
trunk/images/default/view.png [new file with mode: 0644]
trunk/images/default/xmpp.png [new file with mode: 0644]
trunk/images/default/zoom.png [new file with mode: 0644]
trunk/includes/class/class.LSformElement.php
trunk/includes/class/class.LSformElement_date.php
trunk/includes/class/class.LSformElement_password.php
trunk/includes/class/class.LSsession.php
trunk/includes/js/LSdefault.js
trunk/includes/js/LSformElement_boolean.js
trunk/includes/js/LSformElement_mail.js
trunk/includes/js/LSformElement_password.js
trunk/includes/js/LSformElement_rss.js
trunk/includes/js/LSformElement_select.js
trunk/includes/js/LSformElement_select_object_field.js
trunk/includes/js/LSformElement_text_field.js
trunk/includes/js/LSformElement_url.js
trunk/includes/js/LSformElement_xmpp.js
trunk/includes/js/LSrelation.js
trunk/includes/js/LSview.js
trunk/templates/LSmail.tpl [deleted file]
trunk/templates/LSrelations.tpl [deleted file]
trunk/templates/accueil.tpl [deleted file]
trunk/templates/blank.tpl [deleted file]
trunk/templates/bottom.tpl [deleted file]
trunk/templates/create.tpl [deleted file]
trunk/templates/css/LSconfirmBox.css [deleted file]
trunk/templates/css/LSdefault.css [deleted file]
trunk/templates/css/LSform.css [deleted file]
trunk/templates/css/LSformElement_image.css [deleted file]
trunk/templates/css/LSformElement_password.css [deleted file]
trunk/templates/css/LSformElement_select_object.css [deleted file]
trunk/templates/css/LSformElement_ssh_key.css [deleted file]
trunk/templates/css/LSmail.css [deleted file]
trunk/templates/css/LSrelation.css [deleted file]
trunk/templates/css/LSselect.css [deleted file]
trunk/templates/css/LSsmoothbox.css [deleted file]
trunk/templates/css/base.css [deleted file]
trunk/templates/css/base_print.css [deleted file]
trunk/templates/css/login.css [deleted file]
trunk/templates/css/recoverpassword.css [deleted file]
trunk/templates/default/LSmail.tpl [new file with mode: 0644]
trunk/templates/default/LSrelations.tpl [new file with mode: 0644]
trunk/templates/default/accueil.tpl [new file with mode: 0644]
trunk/templates/default/blank.tpl [new file with mode: 0644]
trunk/templates/default/bottom.tpl [new file with mode: 0644]
trunk/templates/default/create.tpl [new file with mode: 0644]
trunk/templates/default/empty.tpl [new file with mode: 0644]
trunk/templates/default/login.tpl [new file with mode: 0644]
trunk/templates/default/modify.tpl [new file with mode: 0644]
trunk/templates/default/question.tpl [new file with mode: 0644]
trunk/templates/default/recoverpassword.tpl [new file with mode: 0644]
trunk/templates/default/redirect.tpl [new file with mode: 0644]
trunk/templates/default/select.tpl [new file with mode: 0644]
trunk/templates/default/select_table.tpl [new file with mode: 0644]
trunk/templates/default/top.tpl [new file with mode: 0644]
trunk/templates/default/view.tpl [new file with mode: 0644]
trunk/templates/default/viewList.tpl [new file with mode: 0644]
trunk/templates/empty.tpl [deleted file]
trunk/templates/images/ASC.png [deleted file]
trunk/templates/images/DESC.png [deleted file]
trunk/templates/images/add.png [deleted file]
trunk/templates/images/ajax-loader.gif [deleted file]
trunk/templates/images/calendar.png [deleted file]
trunk/templates/images/clear.png [deleted file]
trunk/templates/images/close.png [deleted file]
trunk/templates/images/copy.png [deleted file]
trunk/templates/images/create.png [deleted file]
trunk/templates/images/delete.png [deleted file]
trunk/templates/images/fd_menu.png [deleted file]
trunk/templates/images/generate.png [deleted file]
trunk/templates/images/help.png [deleted file]
trunk/templates/images/hide.png [deleted file]
trunk/templates/images/imgbroken.png [deleted file]
trunk/templates/images/loading.gif [deleted file]
trunk/templates/images/login_fd.png [deleted file]
trunk/templates/images/logo.png [deleted file]
trunk/templates/images/logout.png [deleted file]
trunk/templates/images/mail.png [deleted file]
trunk/templates/images/modify.png [deleted file]
trunk/templates/images/person.png [deleted file]
trunk/templates/images/puce.png [deleted file]
trunk/templates/images/refresh.png [deleted file]
trunk/templates/images/remove.png [deleted file]
trunk/templates/images/rss.png [deleted file]
trunk/templates/images/url_add.png [deleted file]
trunk/templates/images/url_go.png [deleted file]
trunk/templates/images/verify.png [deleted file]
trunk/templates/images/view.png [deleted file]
trunk/templates/images/xmpp.png [deleted file]
trunk/templates/images/zoom.png [deleted file]
trunk/templates/login.tpl [deleted file]
trunk/templates/modify.tpl [deleted file]
trunk/templates/question.tpl [deleted file]
trunk/templates/recoverpassword.tpl [deleted file]
trunk/templates/redirect.tpl [deleted file]
trunk/templates/select.tpl [deleted file]
trunk/templates/select_table.tpl [deleted file]
trunk/templates/top.tpl [deleted file]
trunk/templates/view.tpl [deleted file]
trunk/templates/viewList.tpl [deleted file]

index e0db520..264b298 100644 (file)
@@ -317,7 +317,7 @@ $GLOBALS['LSobjects']['LSeepeople'] = array (
     'description' => array (
       'label' => _('Description'),
       'ldap_type' => 'ascii',
-      'html_type' => 'text',
+      'html_type' => 'textarea',
       'rights' => array(
         'self' => 'w',
         'user' => 'r',
index 1b3199e..a4d3b94 100644 (file)
@@ -151,6 +151,17 @@ $GLOBALS['LSconfig'] = array(
   )
 );
 
+// Interface
+// Theme Black
+//define('LS_THEME','black');
+//define('LS_TEMPLATES_DIR', 'templates/default');
+
+// Theme Default
+define('LS_THEME','default');
+define('LS_TEMPLATES_DIR', 'templates/'.LS_THEME);
+define('LS_IMAGES_DIR', 'images/'.LS_THEME);
+define('LS_CSS_DIR', 'css/'.LS_THEME);
+
 //Debug
 $GLOBALS['LSdebug']['active'] = true;
 
@@ -174,7 +185,7 @@ define('LS_LIB_DIR', LS_INCLUDE_DIR .'libs/');
 define('LS_ADDONS_DIR', LS_INCLUDE_DIR .'addons/');
 define('LS_JS_DIR', LS_INCLUDE_DIR .'js/');
 define('LS_TMP_DIR', 'tmp/');
-define('LS_CSS_DIR', 'templates/css/');
+
 
 // Javascript
 $GLOBALS['defaultJSscipts']=array(
diff --git a/trunk/css/black/LSconfirmBox.css b/trunk/css/black/LSconfirmBox.css
new file mode 100644 (file)
index 0000000..2a0a8cd
--- /dev/null
@@ -0,0 +1,57 @@
+#box-LSconfirmBox {
+  -moz-border-radius:   5px;
+  margin:               auto;
+  position:             absolute;
+  z-index:              4;
+  display:              none;
+  position:             absolute;
+  background-color:     #33302b;
+  min-height:           6em;
+}
+
+#title-LSconfirmBox {
+  width:                100%;
+  font-weight:          bold;
+  color:                #fff;
+  padding:              0px;
+  padding-left:         0.5em;
+  margin:               0px;
+  opacity:              0;
+}
+
+#text-LSconfirmBox {
+  width:                90%;
+  padding:              0px 5% 0px 5%;
+  text-align:           center;
+  font-size:            0.8em;
+  font-style:           italic;
+  color:                #fff;
+  opacity:              0;
+}
+
+#closeBtn-LSconfirmBox {
+  background:           url(../../images/black/close.png) no-repeat;
+  width:                20px;
+  height:               20px;
+  position:             absolute;
+  top:                  -10px;
+  right:                -10px;
+  cursor:               pointer;
+  opacity:              0;
+}
+
+#btnsBox-LSconfirmBox {
+  width:                100%;
+  text-align:           center;
+  opacity:              0;
+}
+
+.btn-LSconfirmBox {
+  background-color:     #fff;
+  -moz-border-radius:   5px;
+  color:                #33302b;
+  font-weight:          bold;
+  padding:              3px;
+  cursor:               pointer;
+  margin:               2px;
+}
diff --git a/trunk/css/black/LSdefault.css b/trunk/css/black/LSdefault.css
new file mode 100644 (file)
index 0000000..a7d2dfe
--- /dev/null
@@ -0,0 +1,54 @@
+#LSerror {
+  width:                    50%;
+  position:                 absolute;
+  top:                      10px;
+  left:                     10px;
+  background-color:         #f00;
+  visibility:               hidden;
+  color:                    #fff;
+  z-index:                  100;
+}
+
+#LSerror_txt {
+  display:                  none;
+}
+
+#LSdebug {
+  width:                    50%;
+  position:                 absolute;
+  top:                      10px;
+  left:                     50%;
+  background-color:         #84ff6a;
+  visibility:               hidden;
+  color:                    #fff;
+  z-index:                  100;
+}
+
+#LSdebug_txt {
+  display:                  none;
+}
+
+#LSjsConfig {
+  display:                  none;
+}
+
+#LSdebug_hidden {
+  float:                    right;
+  color:                    #fff;
+  text-decoration:          none;
+  font-weight:              bold;
+  cursor:                   pointer;
+}
+
+#LSinfos {
+  position:                 absolute;
+  width:                    50%;
+  left:                     25%;
+  background-color:         #dedede;
+  border:                   1px solid #53504b;
+  visibility:               hidden;
+  color:                    #53504b;
+  z-index:                  100;
+  top:                      10px;
+  font-weight:              bold;
+}
diff --git a/trunk/css/black/LSform.css b/trunk/css/black/LSform.css
new file mode 100644 (file)
index 0000000..97d889e
--- /dev/null
@@ -0,0 +1,95 @@
+/*
+ ******************
+ * LSForm
+ ******************
+ */
+/*
+ * Architecture
+ */ 
+dl.LSform {
+  margin:                     0;
+  margin-left:                2em;
+  padding:                    0;
+}
+
+.LSform dt {
+  position:                   relative;
+  left:                       0.2em;
+  top:                        1.2em;
+  width:                      15em;
+  font-weight:                bold;
+  font-size:                  0.9em;
+  color:                      #433f3a;
+}
+
+dd.LSform {
+  margin-left:                15em;
+  padding:                    0;
+}
+
+ul.LSform {
+  list-style-type:            none;
+  padding:                    0;
+  margin:                     0;
+}
+
+ul.LSform li {
+  overflow:                   auto;
+  margin-bottom:              2px;
+}
+
+/*
+ * Champs du formulaire
+ */
+.LSform input[type=text], .LSform input[type=file], .LSform input[type=submit], .LSform input[type=password], .LSform select, .LSform textarea {
+  border:                     1px solid #cac9c4;
+  width:                      300px;
+  background-color:           #dedede;
+}
+
+.LSform input[type=radio] {
+  width:                      undefinded;
+}
+
+input[type='submit'].LSform {
+  border:                     1px outset #cac9c4;
+  margin-top:                 1em;
+  margin-left:                6em;
+  width:                      8em;
+}
+
+dd.LSform-errors {
+  color:                      #fff;
+  background-color:           #f59a67;
+  width:                      302px;
+}
+
+dt.LSform-errors {
+  color:                      #f59a67;
+}
+
+/* Bouton JS */
+img.LSform-add-field-btn, img.LSform-remove-field-btn {
+  cursor:                     pointer;
+}
+
+/* Tips */
+.tip-top {
+  color: #fff;
+  width: 139px;
+  z-index: 13000;
+}
+.tip-title {
+  font-weight:      bold;
+  font-size:        11px;
+  margin:           0;
+  color:            #dedede;
+  padding:          2px;
+  background:       #33302b;
+  opacity:          0.8;
+  -moz-border-radius:   2px;
+  max-width:        500px;
+  text-align:       justify;
+}
diff --git a/trunk/css/black/LSformElement_image.css b/trunk/css/black/LSformElement_image.css
new file mode 100644 (file)
index 0000000..45f9174
--- /dev/null
@@ -0,0 +1,33 @@
+/*
+ * LSformElement_image
+ */
+div.LSformElement_image {
+  float:              right;
+  clear:              both;
+  margin:             2em;
+  background-color:   #595651;
+  width:              160px;
+  padding:            5px;
+  text-align:         center;
+  -moz-border-radius: 1em;
+}
+
+img.LSformElement_image {
+  width:              150px;
+  border:             1px solid #fff;
+  margin:             5px;
+}
+
+div.LSformElement_image_errors {
+  background-color:   #f59a67;
+}
+
+ul.LSformElement_image_actions {
+  list-style-type:    none;
+  position:           absolute;
+  margin-top:         8px;
+  margin-left:        135px;
+  padding:            0;
+  visibility:         hidden;
+  cursor:             pointer;
+}
diff --git a/trunk/css/black/LSformElement_password.css b/trunk/css/black/LSformElement_password.css
new file mode 100644 (file)
index 0000000..dd2ab0c
--- /dev/null
@@ -0,0 +1,6 @@
+/*
+ * LSformElement_password
+ */
+img.LSformElement_password_view_btn, img.LSformElement_password_generate_btn, img.LSformElement_password_verify_btn {
+  cursor:                     pointer;
+}
diff --git a/trunk/css/black/LSformElement_select_object.css b/trunk/css/black/LSformElement_select_object.css
new file mode 100644 (file)
index 0000000..29e39a5
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * LSformElement_select_object
+ */
+a.LSformElement_select_object {
+  text-decoration:            none;
+  color:                      #33302b;
+  font-weight:                normal;
+}
+
+ul.LSformElement_select_object_edit {
+  border:                     1px solid #dedede;
+  border-bottom:              none;
+  width:                      300px;
+}
+
+li.LSformElement_select_object {
+  padding:                    0.1em;
+  border-bottom:              1px solid #dedede;
+}
+
+li.LSformElement_select_object_addBtn {
+  background-color:           #dedede;
+  text-align:                 center;
+}
+
+img.LSformElement_select_object_deleteBtn {
+  cursor:                     pointer;
+}
diff --git a/trunk/css/black/LSformElement_ssh_key.css b/trunk/css/black/LSformElement_ssh_key.css
new file mode 100644 (file)
index 0000000..4b9035c
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ * LSformElement_ssh_key
+ */
+.LSformElement_ssh_key_value {
+  display:            none;
+  width:              30em;
+  font-style:         italic;
+  font-family:        courier;
+  background-color:   #dedede;
+  border:             1px solid #cac9c4;
+  overflow:           auto;
+}
+
+.LSformElement_ssh_key_short_display {
+  font-style:         italic;
+  font-family:        courier;
+  cursor:             pointer;
+}
+
+textarea.LSformElement_ssh_key {
+  height:             10em;
+}
diff --git a/trunk/css/black/LSmail.css b/trunk/css/black/LSmail.css
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/trunk/css/black/LSrelation.css b/trunk/css/black/LSrelation.css
new file mode 100644 (file)
index 0000000..2ccc784
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ ***********************
+ * LSrelation
+ ***********************
+ */
+h1.LSrelation {
+  font-size:          1.4em;
+}
+img.LSrelation-btn {
+  margin-left:        0.5em;
+}
+
+a.LSrelation {
+  text-decoration:    none;
+  color:              #33302b;
+  font-weight:        normal;
+}
diff --git a/trunk/css/black/LSselect.css b/trunk/css/black/LSselect.css
new file mode 100644 (file)
index 0000000..611fbc7
--- /dev/null
@@ -0,0 +1,44 @@
+/*
+ ************************
+ * LSselect
+ ************************
+ */
+
+#LSselect-object {
+  width:              570px;
+}
+
+.sortBy_displayValue, .sortBy_subDn {
+  cursor:             pointer;
+}
+
+.LSobject-select-check {
+  width:              10px;
+}
+
+.LSobject-select-names {
+  cursor:             pointer;
+}
+
+#LSselect_topDn_label {
+  float:              left;
+  font-size:          0.8em;
+  margin-left:        1em;
+  margin-top:         0.5em;
+}
+ /*
+  * LSselect_search
+  */
+form.LSselect_search {
+  float:              none;
+  margin-top:         0.5em;
+}
+
+div.LSselect_search {
+  float:              right;
+}
+
+div.LSobject-select {
+  width:              600px;
+}
diff --git a/trunk/css/black/LSsmoothbox.css b/trunk/css/black/LSsmoothbox.css
new file mode 100644 (file)
index 0000000..61598f7
--- /dev/null
@@ -0,0 +1,55 @@
+#over-LSsmoothbox {
+  background-color:     #33302b;
+  border:               1px solid #33302b;
+  margin: 0;
+  padding:  0;
+}
+
+#win-LSsmoothbox {
+  background-color:     #fff;
+  border:               10px solid #33302b;
+  -moz-border-radius:   5px;
+  margin:               auto;
+  position:             absolute;
+  z-index:              3;
+  display:              none;
+}
+
+#frame-LSsmoothbox {
+  overflow:             auto;
+  height:               100%;
+  width:                100%;
+  display:              none;
+}
+
+#closeBtn-LSsmoothbox {
+  background:           url(../../images/black/close.png) no-repeat;
+  width:                20px;
+  height:               20px;
+  position:             absolute;
+  top:                  -20px;
+  right:                -20px;
+  cursor:               pointer;
+  display:              none;
+}
+
+#validBtn-LSsmoothbox {
+  background-color:     #33302b;
+  -moz-border-radius:   5px;
+  height:               22px;
+  font-size:            18px;
+  color:                #fff;
+  font-weight:          bold;
+  padding:              0px 5px 0px 5px;
+  position:             absolute;
+  bottom:               -25px;
+  right:                20px;
+  cursor:               pointer;
+  display:              none;
+}
+
+#loadingImage-LSsmoothbox {
+  width:                100px;
+  height:               100px;
+  margin:               10px;
+}
diff --git a/trunk/css/black/base.css b/trunk/css/black/base.css
new file mode 100644 (file)
index 0000000..6a4308e
--- /dev/null
@@ -0,0 +1,297 @@
+body {
+  font-family:        sans-serif;
+  margin:             5px;
+  padding:            0;
+  background-color:   #433f3a;
+}
+
+img {
+  vertical-align:     bottom;
+}
+
+a:hover {
+  text-decoration:    underline;
+}
+
+h1 {
+  margin:             0.5em;
+  margin-bottom:      1px;
+  border-bottom:      1px solid #433f3a;
+  color:              #433f3a;
+  clear:              left;
+}
+
+a img {
+  border:             none;
+}
+
+hr {
+  visibility:         hidden;
+  clear:              both;
+  height:             0px;
+}
+
+.btn {
+  cursor:             pointer;
+  margin:             2px;
+}
+
+/*
+ * Interface
+ */
+#main {
+  width:              1000px;
+  margin:             auto;
+  border:             1px solid #33302b;
+  background:         #fff url(../../images/black/fd_menu.png) repeat-y scroll left top;
+  min-height:         500px;
+}
+
+#left {
+  float:              left;
+  width:              160px;
+}
+
+#right {
+  margin:             0;
+  float:              left;
+  width:              840px;
+}
+
+#logo {
+  margin:             auto;
+  width:              142px;
+  margin-left:        9px;
+}
+
+#status {
+  margin:             0;
+  padding:            0;
+  font-size:          0.7em;
+  color:              #fff;
+  text-align:         right;
+  background-color:   #53504b;
+  padding:            0.3em;
+}
+
+#user_name {
+  font-weight:        bold;
+}
+
+/*
+ * LSsession
+ */
+#LSsession_topDn {
+  height:                   1.5em;
+  width:                    150px;
+}
+
+#LSsession_topDn_form {
+  width:                    150px;
+  margin:                   5px;
+  color:                    #fff;
+}
+
+/*
+ ******************
+ * Menu
+ ******************
+ */
+ul.menu {
+  list-style-image:   url(../../images/black/puce.png);
+}
+
+li.menu {
+  color:              #fff;
+}
+
+a.menu {
+  color:              #fff;
+  text-decoration:    none;
+}
+
+/*
+ ****************
+ * LSobject-list
+ ****************
+ */
+
+table.LSobject-list {
+  margin-left:        1em;
+  margin-top:         0.5em;
+  border:             1px solid #595651;
+  width:              805px;
+  border-collapse:    collapse;
+  clear:              both;
+}
+
+/*
+ * th
+ */
+th.LSobject-list {
+  background-color:   #595651;
+  color:              #fff;
+}
+
+a th.LSobject-list {
+  text-decoration:    none;
+}
+
+th.LSobject-list-subdn {
+  width:              15em;
+}
+
+img.LSobject-list-ordersense {
+  vertical-align:     middle;
+}
+
+th.LSobject-list a {
+  color:              #fff;
+  text-decoration:    none;
+}
+
+/*
+ * tr
+ */
+tr.LSobject-list-bis {
+  background-color:   #f2f2f2;
+  background-color:   #bddff1;
+  background-color:   #dedede;
+}
+
+/*
+ * td
+ */
+td.LSobject-list {
+  border:             1px solid #595651;
+  padding:            0.1em;
+}
+
+td.LSobject-list-without-result {
+  text-align:         center;
+}
+
+a.LSobject-list {
+  color:              #33302b;
+  text-decoration:    none;
+}
+
+/* Action */
+a.LSobject-list-actions {
+  color:              #433f3a;
+  text-decoration:    none;
+}
+
+a.LSobject-list-actions:hover {
+  text-decoration:    underline;
+}
+
+td.LSobject-list-actions {
+  text-align:         center;
+  width:              7em;
+}
+
+/* Name */
+td.LSobject-list-names {
+  cursor:             pointer;
+}
+
+/*
+ * Liste des pages
+ */
+p.LSobject-list-page {
+  text-align:         center;
+  margin:             0.5em;
+}
+
+a.LSobject-list-page {
+  color:              #595651;
+  text-decoration:    none;
+}
+
+a.LSobject-list-page:hover {
+  color:              #433f3a;
+}
+
+strong.LSobject-list-page {
+  color:              #433f3a;
+}
+
+/*
+ *******************
+ * LSview-actions
+ *******************
+ */
+a.LSview-actions {
+  text-decoration:    none;
+  color:              #33302b;
+}
+
+ul.LSview-actions {
+  clear:              both;
+  text-align:         right;
+  font-size:          0.8em;
+  margin:             0;
+  margin-top:         0.4em;
+  margin-right:       3em;
+  margin-bottom:      0.8em;
+  color:              #433f3a;
+}
+
+li.LSview-actions {
+  text-decoration:    none;
+  color:              #33302b;
+  border:             1px solid #433f3a;
+  border-top:         0;
+  padding:            0.4em;
+  display:            inline;
+  margin-right:       1px;
+}
+
+/*
+ *******************
+ * question
+ *******************
+ */
+p.question {
+  margin-left:        3em;
+}
+
+a.question {
+  margin-left:        10em;
+  margin-top:         3em;
+  color:              #433f3a;
+}
+
+/*
+ *********************
+ * LSview_search
+ *********************
+ */
+form.LSview_search {
+  float:              right;
+  margin:             0;
+  margin-top:         0.5em;
+  margin-right:       2em;
+}
+
+#LSview_search_param {
+  margin:             0px;
+  padding:            0px;
+}
+
+label.LSview_search {
+  font-size:          0.6em;
+}
+
+input[type='text'].LSview_search {
+  border:             1px solid #433f3a;
+  width:              12em;
+}
+
+input[type='submit'].LSview_search {
+  border:             1px solid #433f3a;
+  width:              8em;
+  background-color:   #595651;
+  color:              #fff;
+}
diff --git a/trunk/css/black/base_print.css b/trunk/css/black/base_print.css
new file mode 100644 (file)
index 0000000..f5e5237
--- /dev/null
@@ -0,0 +1,15 @@
+#main {
+  width:              840px;
+}
+
+#left {
+  display:            none;
+}
+
+#status {
+  display:            none;
+}
+
+p.LSview-actions {
+  display:            none;
+}
diff --git a/trunk/css/black/color.html b/trunk/css/black/color.html
new file mode 100644 (file)
index 0000000..0bfd235
--- /dev/null
@@ -0,0 +1,19 @@
+<html><head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></head><body><div style="border: 1px solid rgb(255, 255, 255); padding: 40px 0px 0px 40px; background-color: rgb(0, 0, 0); font-weight: bold;">#000
+       <div style="padding: 40px 0px 0px 40px; background-color: rgb(51, 48, 43); font-weight: bold;">#33302b
+       <div style="padding: 40px 0px 0px 40px; background-color: rgb(67, 63, 58); font-weight: bold;">#433f3a
+               <div style="padding: 40px 0px 0px 40px; background-color: rgb(83, 80, 75); font-weight: bold;">#53504b
+                       <div style="padding: 40px 0px 0px 40px; background-color: rgb(89, 86, 81); font-weight: bold;">#595651
+                               <div style="padding: 40px 0px 0px 40px; background-color: rgb(202, 201, 196); font-weight: bold;">#cac9c4
+                                       <div style="padding: 40px 0px 0px 40px; background-color: rgb(222, 222, 222); font-weight: bold;">#dedede
+                                               <div style="padding: 40px 0px 0px 40px; height: 100px; background-color: rgb(242, 242, 242); font-weight: bold;">#f2f2f2
+                                                       <div style="padding: 40px 0px 0px 40px; height: 100px; background-color: rgb(255, 255, 255); font-weight: bold;">#fff</div>
+                                               </div>
+                                       </div>
+                               </div>
+                       </div>
+               </div>
+       </div>
+</div>
+</div>
+</body></html>
\ No newline at end of file
diff --git a/trunk/css/black/login.css b/trunk/css/black/login.css
new file mode 100644 (file)
index 0000000..f29a746
--- /dev/null
@@ -0,0 +1,67 @@
+body {
+  background-color:       #433f3a;
+}
+
+#loginform-logo {
+  float:                  left;
+}
+
+div.loginform {
+  margin:                 auto;
+  margin-top:             10%;
+  border:                 1px solid #53504b;
+  padding:                1em;
+  width:                  30em;
+  background:             #cac9c4 url(../../images/black/login_fd.png) no-repeat scroll 98% 98%;
+}
+
+dl.loginform {
+  margin:                 0;
+  padding:                0;
+}
+
+.loginform dt {
+  position:               relative;
+  left:                   0;
+  top:                    1.1em;
+  width:                  8em;
+  font-weight:            bold;
+  font-size:              0.9em;
+}
+
+.loginform dd {
+  margin:                 0 0 0 9em;
+  padding:                0 0 0em 0em;
+}
+
+.loginform-level{
+  display:                none;
+}
+
+.loginform-id {
+  visibility:             hidden;
+}
+
+.loginform input, .loginform select {
+  border:                 1px inset #cac9c4;
+  width:                  13em;
+}
+
+.loginform input[type='submit'] {
+  border:                 1px outset #cac9c4;
+  width:                  11em;
+  margin:                 1em;
+}
+
+#loading_zone {
+  float:                  right;
+  margin-left:            1em;
+}
+
+#LSsession_lostPassword {
+  float:                  right;
+  font-size:              0.8em;
+  text-decoration:        none;
+  color:                  #53504b;
+  font-weight:            bold;
+}
diff --git a/trunk/css/black/recoverpassword.css b/trunk/css/black/recoverpassword.css
new file mode 100644 (file)
index 0000000..2b781a6
--- /dev/null
@@ -0,0 +1,64 @@
+body {
+  background-color:       #433f3a;
+}
+
+#recoverpasswordform-logo {
+  float:                  left;
+}
+
+div.recoverpasswordform {
+  margin:                 auto;
+  margin-top:             10%;
+  border:                 1px solid #53504b;
+  padding:                1em;
+  width:                  30em;
+  background:             #cac9c4 url(../../images/black/login_fd.png) no-repeat scroll 98% 98%;
+}
+
+dl.recoverpasswordform {
+  margin:                 0;
+  padding:                0;
+}
+
+.recoverpasswordform dt {
+  position:               relative;
+  left:                   0;
+  top:                    1.1em;
+  width:                  8em;
+  font-weight:            bold;
+  font-size:              0.9em;
+}
+
+.recoverpasswordform dd {
+  margin:                 0 0 0 9em;
+  padding:                0 0 0em 0em;
+}
+
+.recoverpasswordform input, .recoverpasswordform select {
+  border:                 1px inset #cac9c4;
+  width:                  13em;
+}
+
+.recoverpasswordform input[type='submit'] {
+  border:                 1px outset #cac9c4;
+  width:                  11em;
+  margin:                 1em;
+}
+
+#loading_zone {
+  float:                  right;
+  margin-left:            1em;
+}
+
+#recoverpassword_msg {
+  text-align:             center;
+  font-weight:            bold;
+}
+
+#recoverpassword_back {
+  float:                  right;
+  font-size:              0.8em;
+  text-decoration:        none;
+  color:                  #53504b;
+  font-weight:            bold;
+}
diff --git a/trunk/css/default/LSconfirmBox.css b/trunk/css/default/LSconfirmBox.css
new file mode 100644 (file)
index 0000000..16e868a
--- /dev/null
@@ -0,0 +1,57 @@
+#box-LSconfirmBox {
+  -moz-border-radius:   5px;
+  margin:               auto;
+  position:             absolute;
+  z-index:              4;
+  display:              none;
+  position:             absolute;
+  background-color:     #000;
+  min-height:           6em;
+}
+
+#title-LSconfirmBox {
+  width:                100%;
+  font-weight:          bold;
+  color:                #fff;
+  padding:              0px;
+  padding-left:         0.5em;
+  margin:               0px;
+  opacity:              0;
+}
+
+#text-LSconfirmBox {
+  width:                90%;
+  padding:              0px 5% 0px 5%;
+  text-align:           center;
+  font-size:            0.8em;
+  font-style:           italic;
+  color:                #fff;
+  opacity:              0;
+}
+
+#closeBtn-LSconfirmBox {
+  background:           url(../../images/default/close.png) no-repeat;
+  width:                20px;
+  height:               20px;
+  position:             absolute;
+  top:                  -10px;
+  right:                -10px;
+  cursor:               pointer;
+  opacity:              0;
+}
+
+#btnsBox-LSconfirmBox {
+  width:                100%;
+  text-align:           center;
+  opacity:              0;
+}
+
+.btn-LSconfirmBox {
+  background-color:     #fff;
+  -moz-border-radius:   5px;
+  color:                #000;
+  font-weight:          bold;
+  padding:              3px;
+  cursor:               pointer;
+  margin:               2px;
+}
diff --git a/trunk/css/default/LSdefault.css b/trunk/css/default/LSdefault.css
new file mode 100644 (file)
index 0000000..0750b53
--- /dev/null
@@ -0,0 +1,54 @@
+#LSerror {
+  width:                    50%;
+  position:                 absolute;
+  top:                      10px;
+  left:                     10px;
+  background-color:         #f00;
+  visibility:               hidden;
+  color:                    #fff;
+  z-index:                  100;
+}
+
+#LSerror_txt {
+  display:                  none;
+}
+
+#LSdebug {
+  width:                    50%;
+  position:                 absolute;
+  top:                      10px;
+  left:                     50%;
+  background-color:         #84ff6a;
+  visibility:               hidden;
+  color:                    #fff;
+  z-index:                  100;
+}
+
+#LSdebug_txt {
+  display:                  none;
+}
+
+#LSjsConfig {
+  display:                  none;
+}
+
+#LSdebug_hidden {
+  float:                    right;
+  color:                    #fff;
+  text-decoration:          none;
+  font-weight:              bold;
+  cursor:                   pointer;
+}
+
+#LSinfos {
+  position:                 absolute;
+  width:                    50%;
+  left:                     25%;
+  background-color:         #b5e4f6;
+  border:                   1px solid #4096b8;
+  visibility:               hidden;
+  color:                    #4096b8;
+  z-index:                  100;
+  top:                      10px;
+  font-weight:              bold;
+}
diff --git a/trunk/css/default/LSform.css b/trunk/css/default/LSform.css
new file mode 100644 (file)
index 0000000..9ac3dea
--- /dev/null
@@ -0,0 +1,95 @@
+/*
+ ******************
+ * LSForm
+ ******************
+ */
+/*
+ * Architecture
+ */ 
+dl.LSform {
+  margin:                     0;
+  margin-left:                2em;
+  padding:                    0;
+}
+
+.LSform dt {
+  position:                   relative;
+  left:                       0.2em;
+  top:                        1.2em;
+  width:                      15em;
+  font-weight:                bold;
+  font-size:                  0.9em;
+  color:                      #0072b8;
+}
+
+dd.LSform {
+  margin-left:                15em;
+  padding:                    0;
+}
+
+ul.LSform {
+  list-style-type:            none;
+  padding:                    0;
+  margin:                     0;
+}
+
+ul.LSform li {
+  overflow:                   auto;
+  margin-bottom:              2px;
+}
+
+/*
+ * Champs du formulaire
+ */
+.LSform input[type=text], .LSform input[type=file], .LSform input[type=submit], .LSform input[type=password], .LSform select, .LSform textarea {
+  border:                     1px solid #84ff6a;
+  width:                      300px;
+  background-color:           #b5e4f6;
+}
+
+.LSform input[type=radio] {
+  width:                      undefinded;
+}
+
+input[type='submit'].LSform {
+  border:                     1px outset #ccc;
+  margin-top:                 1em;
+  margin-left:                6em;
+  width:                      8em;
+}
+
+dd.LSform-errors {
+  color:                      #fff;
+  background-color:           #f59a67;
+  width:                      302px;
+}
+
+dt.LSform-errors {
+  color:                      #f59a67;
+}
+
+/* Bouton JS */
+img.LSform-add-field-btn, img.LSform-remove-field-btn {
+  cursor:                     pointer;
+}
+
+/* Tips */
+.tip-top {
+  color: #fff;
+  width: 139px;
+  z-index: 13000;
+}
+.tip-title {
+  font-weight:      bold;
+  font-size:        11px;
+  margin:           0;
+  color:            #b5e4f6;
+  padding:          2px;
+  background:       #333;
+  opacity:          0.8;
+  -moz-border-radius:   2px;
+  max-width:        500px;
+  text-align:       justify;
+}
diff --git a/trunk/css/default/LSformElement_image.css b/trunk/css/default/LSformElement_image.css
new file mode 100644 (file)
index 0000000..a37d71f
--- /dev/null
@@ -0,0 +1,33 @@
+/*
+ * LSformElement_image
+ */
+div.LSformElement_image {
+  float:              right;
+  clear:              both;
+  margin:             2em;
+  background-color:   #52bce5;
+  width:              160px;
+  padding:            5px;
+  text-align:         center;
+  -moz-border-radius: 1em;
+}
+
+img.LSformElement_image {
+  width:              150px;
+  border:             1px solid #fff;
+  margin:             5px;
+}
+
+div.LSformElement_image_errors {
+  background-color:   #f59a67;
+}
+
+ul.LSformElement_image_actions {
+  list-style-type:    none;
+  position:           absolute;
+  margin-top:         8px;
+  margin-left:        135px;
+  padding:            0;
+  visibility:         hidden;
+  cursor:             pointer;
+}
diff --git a/trunk/css/default/LSformElement_password.css b/trunk/css/default/LSformElement_password.css
new file mode 100644 (file)
index 0000000..dd2ab0c
--- /dev/null
@@ -0,0 +1,6 @@
+/*
+ * LSformElement_password
+ */
+img.LSformElement_password_view_btn, img.LSformElement_password_generate_btn, img.LSformElement_password_verify_btn {
+  cursor:                     pointer;
+}
diff --git a/trunk/css/default/LSformElement_select_object.css b/trunk/css/default/LSformElement_select_object.css
new file mode 100644 (file)
index 0000000..f131374
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * LSformElement_select_object
+ */
+a.LSformElement_select_object {
+  text-decoration:            none;
+  color:                      #000;
+  font-weight:                normal;
+}
+
+ul.LSformElement_select_object_edit {
+  border:                     1px solid #b5e4f6;
+  border-bottom:              none;
+  width:                      300px;
+}
+
+li.LSformElement_select_object {
+  padding:                    0.1em;
+  border-bottom:              1px solid #b5e4f6;
+}
+
+li.LSformElement_select_object_addBtn {
+  background-color:           #b5e4f6;
+  text-align:                 center;
+}
+
+img.LSformElement_select_object_deleteBtn {
+  cursor:                     pointer;
+}
diff --git a/trunk/css/default/LSformElement_ssh_key.css b/trunk/css/default/LSformElement_ssh_key.css
new file mode 100644 (file)
index 0000000..20e64b0
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ * LSformElement_ssh_key
+ */
+.LSformElement_ssh_key_value {
+  display:            none;
+  width:              30em;
+  font-style:         italic;
+  font-family:        courier;
+  background-color:   #b5e4f6;
+  border:             1px solid #ccc;
+  overflow:           auto;
+}
+
+.LSformElement_ssh_key_short_display {
+  font-style:         italic;
+  font-family:        courier;
+  cursor:             pointer;
+}
+
+textarea.LSformElement_ssh_key {
+  height:             10em;
+}
diff --git a/trunk/css/default/LSmail.css b/trunk/css/default/LSmail.css
new file mode 100644 (file)
index 0000000..8b13789
--- /dev/null
@@ -0,0 +1 @@
+
diff --git a/trunk/css/default/LSrelation.css b/trunk/css/default/LSrelation.css
new file mode 100644 (file)
index 0000000..51241aa
--- /dev/null
@@ -0,0 +1,18 @@
+/*
+ ***********************
+ * LSrelation
+ ***********************
+ */
+h1.LSrelation {
+  font-size:          1.4em;
+}
+img.LSrelation-btn {
+  margin-left:        0.5em;
+}
+
+a.LSrelation {
+  text-decoration:    none;
+  color:              #000;
+  font-weight:        normal;
+}
diff --git a/trunk/css/default/LSselect.css b/trunk/css/default/LSselect.css
new file mode 100644 (file)
index 0000000..611fbc7
--- /dev/null
@@ -0,0 +1,44 @@
+/*
+ ************************
+ * LSselect
+ ************************
+ */
+
+#LSselect-object {
+  width:              570px;
+}
+
+.sortBy_displayValue, .sortBy_subDn {
+  cursor:             pointer;
+}
+
+.LSobject-select-check {
+  width:              10px;
+}
+
+.LSobject-select-names {
+  cursor:             pointer;
+}
+
+#LSselect_topDn_label {
+  float:              left;
+  font-size:          0.8em;
+  margin-left:        1em;
+  margin-top:         0.5em;
+}
+ /*
+  * LSselect_search
+  */
+form.LSselect_search {
+  float:              none;
+  margin-top:         0.5em;
+}
+
+div.LSselect_search {
+  float:              right;
+}
+
+div.LSobject-select {
+  width:              600px;
+}
diff --git a/trunk/css/default/LSsmoothbox.css b/trunk/css/default/LSsmoothbox.css
new file mode 100644 (file)
index 0000000..a5b1320
--- /dev/null
@@ -0,0 +1,55 @@
+#over-LSsmoothbox {
+  background-color:     #000;
+  border:               1px solid #000;
+  margin: 0;
+  padding:  0;
+}
+
+#win-LSsmoothbox {
+  background-color:     #fff;
+  border:               10px solid #000;
+  -moz-border-radius:   5px;
+  margin:               auto;
+  position:             absolute;
+  z-index:              3;
+  display:              none;
+}
+
+#frame-LSsmoothbox {
+  overflow:             auto;
+  height:               100%;
+  width:                100%;
+  display:              none;
+}
+
+#closeBtn-LSsmoothbox {
+  background:           url(../../images/default/close.png) no-repeat;
+  width:                20px;
+  height:               20px;
+  position:             absolute;
+  top:                  -20px;
+  right:                -20px;
+  cursor:               pointer;
+  display:              none;
+}
+
+#validBtn-LSsmoothbox {
+  background-color:     #000;
+  -moz-border-radius:   5px;
+  height:               22px;
+  font-size:            18px;
+  color:                #fff;
+  font-weight:          bold;
+  padding:              0px 5px 0px 5px;
+  position:             absolute;
+  bottom:               -25px;
+  right:                20px;
+  cursor:               pointer;
+  display:              none;
+}
+
+#loadingImage-LSsmoothbox {
+  width:                100px;
+  height:               100px;
+  margin:               10px;
+}
diff --git a/trunk/css/default/base.css b/trunk/css/default/base.css
new file mode 100644 (file)
index 0000000..7422a54
--- /dev/null
@@ -0,0 +1,296 @@
+body {
+  font-family:        sans-serif;
+  margin:             0;
+  padding:            0;
+}
+
+img {
+  vertical-align:     bottom;
+}
+
+a:hover {
+  text-decoration:    underline;
+}
+
+h1 {
+  margin:             0.5em;
+  margin-bottom:      1px;
+  border-bottom:      1px solid #0072b8;
+  color:              #0072b8;
+  clear:              left;
+}
+
+a img {
+  border:             none;
+}
+
+hr {
+  visibility:         hidden;
+  clear:              both;
+  height:             0px;
+}
+
+.btn {
+  cursor:             pointer;
+  margin:             2px;
+}
+
+/*
+ * Interface
+ */
+#main {
+  width:              1000px;
+  margin:             auto;
+  border:             1px solid #52bce5;
+  background:         #fff url(../../images/default/fd_menu.png) repeat-y scroll left top;
+  min-height:         500px;
+}
+
+#left {
+  float:              left;
+  width:              160px;
+}
+
+#right {
+  margin:             0;
+  float:              left;
+  width:              840px;
+}
+
+#logo {
+  margin:             auto;
+  width:              142px;
+  margin-left:        9px;
+}
+
+#status {
+  margin:             0;
+  padding:            0;
+  font-size:          0.7em;
+  color:              #fff;
+  text-align:         right;
+  background-color:   #52bce5;
+  padding:            0.3em;
+}
+
+#user_name {
+  font-weight:        bold;
+}
+
+/*
+ * LSsession
+ */
+#LSsession_topDn {
+  height:                   1.5em;
+  width:                    150px;
+}
+
+#LSsession_topDn_form {
+  width:                    150px;
+  margin:                   5px;
+  color:                    #fff;
+}
+
+/*
+ ******************
+ * Menu
+ ******************
+ */
+ul.menu {
+  list-style-image:   url(../../images/default/puce.png);
+}
+
+li.menu {
+  color:              #fff;
+}
+
+a.menu {
+  color:              #fff;
+  text-decoration:    none;
+}
+
+/*
+ ****************
+ * LSobject-list
+ ****************
+ */
+
+table.LSobject-list {
+  margin-left:        1em;
+  margin-top:         0.5em;
+  border:             1px solid #52bce5;
+  width:              805px;
+  border-collapse:    collapse;
+  clear:              both;
+}
+
+/*
+ * th
+ */
+th.LSobject-list {
+  background-color:   #52bce5;
+  color:              #fff;
+}
+
+a th.LSobject-list {
+  text-decoration:    none;
+}
+
+th.LSobject-list-subdn {
+  width:              15em;
+}
+
+img.LSobject-list-ordersense {
+  vertical-align:     middle;
+}
+
+th.LSobject-list a {
+  color:              #fff;
+  text-decoration:    none;
+}
+
+/*
+ * tr
+ */
+tr.LSobject-list-bis {
+  background-color:   #ecf8fd;
+  background-color:   #bddff1;
+  background-color:   #c1d7e3;
+}
+
+/*
+ * td
+ */
+td.LSobject-list {
+  border:             1px solid #52bce5;
+  padding:            0.1em;
+}
+
+td.LSobject-list-without-result {
+  text-align:         center;
+}
+
+a.LSobject-list {
+  color:              #000;
+  text-decoration:    none;
+}
+
+/* Action */
+a.LSobject-list-actions {
+  color:              #0072b8;
+  text-decoration:    none;
+}
+
+a.LSobject-list-actions:hover {
+  text-decoration:    underline;
+}
+
+td.LSobject-list-actions {
+  text-align:         center;
+  width:              7em;
+}
+
+/* Name */
+td.LSobject-list-names {
+  cursor:             pointer;
+}
+
+/*
+ * Liste des pages
+ */
+p.LSobject-list-page {
+  text-align:         center;
+  margin:             0.5em;
+}
+
+a.LSobject-list-page {
+  color:              #52bce5;
+  text-decoration:    none;
+}
+
+a.LSobject-list-page:hover {
+  color:              #0072b8;
+}
+
+strong.LSobject-list-page {
+  color:              #0072b8;
+}
+
+/*
+ *******************
+ * LSview-actions
+ *******************
+ */
+a.LSview-actions {
+  text-decoration:    none;
+  color:              #000;
+}
+
+ul.LSview-actions {
+  clear:              both;
+  text-align:         right;
+  font-size:          0.8em;
+  margin:             0;
+  margin-top:         0.4em;
+  margin-right:       3em;
+  margin-bottom:      0.8em;
+  color:              #0072b8;
+}
+
+li.LSview-actions {
+  text-decoration:    none;
+  color:              #000;
+  border:             1px solid #0072b8;
+  border-top:         0;
+  padding:            0.4em;
+  display:            inline;
+  margin-right:       1px;
+}
+
+/*
+ *******************
+ * question
+ *******************
+ */
+p.question {
+  margin-left:        3em;
+}
+
+a.question {
+  margin-left:        10em;
+  margin-top:         3em;
+  color:              #0072b8;
+}
+
+/*
+ *********************
+ * LSview_search
+ *********************
+ */
+form.LSview_search {
+  float:              right;
+  margin:             0;
+  margin-top:         0.5em;
+  margin-right:       2em;
+}
+
+#LSview_search_param {
+  margin:             0px;
+  padding:            0px;
+}
+
+label.LSview_search {
+  font-size:          0.6em;
+}
+
+input[type='text'].LSview_search {
+  border:             1px solid #0072b8;
+  width:              12em;
+}
+
+input[type='submit'].LSview_search {
+  border:             1px solid #0072b8;
+  width:              8em;
+  background-color:   #52bce5;
+  color:              #fff;
+}
diff --git a/trunk/css/default/base_print.css b/trunk/css/default/base_print.css
new file mode 100644 (file)
index 0000000..f5e5237
--- /dev/null
@@ -0,0 +1,15 @@
+#main {
+  width:              840px;
+}
+
+#left {
+  display:            none;
+}
+
+#status {
+  display:            none;
+}
+
+p.LSview-actions {
+  display:            none;
+}
diff --git a/trunk/css/default/color.html b/trunk/css/default/color.html
new file mode 100644 (file)
index 0000000..9d96548
--- /dev/null
@@ -0,0 +1,25 @@
+<div style='padding:40px 0px 0px 40px;background-color:#f00;font-weight:bold;'>#f00
+<div style='padding:40px 0px 0px 40px;background-color:#f59a67;font-weight:bold;'>#f59a67
+<div style='padding:40px 0px 0px 40px;background-color:#84ff6a;font-weight:bold;'>#84ff6a
+<div style='padding:40px 0px 0px 40px;background-color:#000;font-weight:bold;'>#000
+<div style='padding:40px 0px 0px 40px;background-color:#333;font-weight:bold;'>#333
+<div style='padding:40px 0px 0px 40px;background-color:#0072b8;font-weight:bold;'>#0072b8
+<div style='padding:40px 0px 0px 40px;background-color:#4096b8;font-weight:bold;'>#4096b8
+<div style='padding:40px 0px 0px 40px;background-color:#52bce5;font-weight:bold;'>#52bce5
+<div style='padding:40px 0px 0px 40px;background-color:#ccc;font-weight:bold;'>#ccc
+<div style='padding:40px 0px 0px 40px;background-color:#b5e4f6;font-weight:bold;'>#b5e4f6
+<div style='padding:40px 0px 0px 40px;background-color:#ecf8fd;font-weight:bold;'>#ecf8fd
+<div style='padding:40px 0px 0px 40px;background-color:#fff;font-weight:bold;'>#fff
+</div>
+</div>
+</div>
+</div>
+</div>
+</div>
+</div>
+</div>
+</div>
+</div>
+</div>
+</div>
+</div>
diff --git a/trunk/css/default/login.css b/trunk/css/default/login.css
new file mode 100644 (file)
index 0000000..675b76c
--- /dev/null
@@ -0,0 +1,63 @@
+#loginform-logo {
+  float:                  left;
+}
+
+div.loginform {
+  margin:                 auto;
+  margin-top:             10%;
+  border:                 1px solid #4096b8;
+  padding:                1em;
+  width:                  30em;
+  background:             transparent url(../../images/default/login_fd.png) no-repeat scroll 98% 98%;
+}
+
+dl.loginform {
+  margin:                 0;
+  padding:                0;
+}
+
+.loginform dt {
+  position:               relative;
+  left:                   0;
+  top:                    1.1em;
+  width:                  8em;
+  font-weight:            bold;
+  font-size:              0.9em;
+}
+
+.loginform dd {
+  margin:                 0 0 0 9em;
+  padding:                0 0 0em 0em;
+}
+
+.loginform-level{
+  display:                none;
+}
+
+.loginform-id {
+  visibility:             hidden;
+}
+
+.loginform input, .loginform select {
+  border:                 1px inset #ccc;
+  width:                  13em;
+}
+
+.loginform input[type='submit'] {
+  border:                 1px outset #ccc;
+  width:                  11em;
+  margin:                 1em;
+}
+
+#loading_zone {
+  float:                  right;
+  margin-left:            1em;
+}
+
+#LSsession_lostPassword {
+  float:                  right;
+  font-size:              0.8em;
+  text-decoration:        none;
+  color:                  #4096b8;
+  font-weight:            bold;
+}
diff --git a/trunk/css/default/recoverpassword.css b/trunk/css/default/recoverpassword.css
new file mode 100644 (file)
index 0000000..67bfab6
--- /dev/null
@@ -0,0 +1,60 @@
+#recoverpasswordform-logo {
+  float:                  left;
+}
+
+div.recoverpasswordform {
+  margin:                 auto;
+  margin-top:             10%;
+  border:                 1px solid #4096b8;
+  padding:                1em;
+  width:                  30em;
+  background:             transparent url(../../images/default/login_fd.png) no-repeat scroll 98% 98%;
+}
+
+dl.recoverpasswordform {
+  margin:                 0;
+  padding:                0;
+}
+
+.recoverpasswordform dt {
+  position:               relative;
+  left:                   0;
+  top:                    1.1em;
+  width:                  8em;
+  font-weight:            bold;
+  font-size:              0.9em;
+}
+
+.recoverpasswordform dd {
+  margin:                 0 0 0 9em;
+  padding:                0 0 0em 0em;
+}
+
+.recoverpasswordform input, .recoverpasswordform select {
+  border:                 1px inset #ccc;
+  width:                  13em;
+}
+
+.recoverpasswordform input[type='submit'] {
+  border:                 1px outset #ccc;
+  width:                  11em;
+  margin:                 1em;
+}
+
+#loading_zone {
+  float:                  right;
+  margin-left:            1em;
+}
+
+#recoverpassword_msg {
+  text-align:             center;
+  font-weight:            bold;
+}
+
+#recoverpassword_back {
+  float:                  right;
+  font-size:              0.8em;
+  text-decoration:        none;
+  color:                  #4096b8;
+  font-weight:            bold;
+}
diff --git a/trunk/images/black/ASC.png b/trunk/images/black/ASC.png
new file mode 100644 (file)
index 0000000..f140f7d
Binary files /dev/null and b/trunk/images/black/ASC.png differ
diff --git a/trunk/images/black/DESC.png b/trunk/images/black/DESC.png
new file mode 100644 (file)
index 0000000..a2da817
Binary files /dev/null and b/trunk/images/black/DESC.png differ
diff --git a/trunk/images/black/add.png b/trunk/images/black/add.png
new file mode 100644 (file)
index 0000000..297a84f
Binary files /dev/null and b/trunk/images/black/add.png differ
diff --git a/trunk/images/black/ajax-loader.gif b/trunk/images/black/ajax-loader.gif
new file mode 100644 (file)
index 0000000..d0bce15
Binary files /dev/null and b/trunk/images/black/ajax-loader.gif differ
diff --git a/trunk/images/black/calendar.png b/trunk/images/black/calendar.png
new file mode 100644 (file)
index 0000000..184d970
Binary files /dev/null and b/trunk/images/black/calendar.png differ
diff --git a/trunk/images/black/clear.png b/trunk/images/black/clear.png
new file mode 100644 (file)
index 0000000..23b487a
Binary files /dev/null and b/trunk/images/black/clear.png differ
diff --git a/trunk/images/black/close.png b/trunk/images/black/close.png
new file mode 100644 (file)
index 0000000..fcf3b38
Binary files /dev/null and b/trunk/images/black/close.png differ
diff --git a/trunk/images/black/copy.png b/trunk/images/black/copy.png
new file mode 100644 (file)
index 0000000..723ca92
Binary files /dev/null and b/trunk/images/black/copy.png differ
diff --git a/trunk/images/black/create.png b/trunk/images/black/create.png
new file mode 100644 (file)
index 0000000..20c8e78
Binary files /dev/null and b/trunk/images/black/create.png differ
diff --git a/trunk/images/black/delete.png b/trunk/images/black/delete.png
new file mode 100644 (file)
index 0000000..16f313e
Binary files /dev/null and b/trunk/images/black/delete.png differ
diff --git a/trunk/images/black/fd_menu.png b/trunk/images/black/fd_menu.png
new file mode 100644 (file)
index 0000000..0e52530
Binary files /dev/null and b/trunk/images/black/fd_menu.png differ
diff --git a/trunk/images/black/generate.png b/trunk/images/black/generate.png
new file mode 100644 (file)
index 0000000..67de2c6
Binary files /dev/null and b/trunk/images/black/generate.png differ
diff --git a/trunk/images/black/help.png b/trunk/images/black/help.png
new file mode 100644 (file)
index 0000000..0f5f06d
Binary files /dev/null and b/trunk/images/black/help.png differ
diff --git a/trunk/images/black/hide.png b/trunk/images/black/hide.png
new file mode 100644 (file)
index 0000000..4020d48
Binary files /dev/null and b/trunk/images/black/hide.png differ
diff --git a/trunk/images/black/imgbroken.png b/trunk/images/black/imgbroken.png
new file mode 100644 (file)
index 0000000..9efa510
Binary files /dev/null and b/trunk/images/black/imgbroken.png differ
diff --git a/trunk/images/black/loading.gif b/trunk/images/black/loading.gif
new file mode 100644 (file)
index 0000000..cc70a7a
Binary files /dev/null and b/trunk/images/black/loading.gif differ
diff --git a/trunk/images/black/login_fd.png b/trunk/images/black/login_fd.png
new file mode 100644 (file)
index 0000000..4e61167
Binary files /dev/null and b/trunk/images/black/login_fd.png differ
diff --git a/trunk/images/black/logo.png b/trunk/images/black/logo.png
new file mode 100644 (file)
index 0000000..f4fe122
Binary files /dev/null and b/trunk/images/black/logo.png differ
diff --git a/trunk/images/black/logout.png b/trunk/images/black/logout.png
new file mode 100644 (file)
index 0000000..0010931
Binary files /dev/null and b/trunk/images/black/logout.png differ
diff --git a/trunk/images/black/mail.png b/trunk/images/black/mail.png
new file mode 100644 (file)
index 0000000..85423c9
Binary files /dev/null and b/trunk/images/black/mail.png differ
diff --git a/trunk/images/black/modify.png b/trunk/images/black/modify.png
new file mode 100644 (file)
index 0000000..0a18914
Binary files /dev/null and b/trunk/images/black/modify.png differ
diff --git a/trunk/images/black/person.png b/trunk/images/black/person.png
new file mode 100644 (file)
index 0000000..c6f2663
Binary files /dev/null and b/trunk/images/black/person.png differ
diff --git a/trunk/images/black/puce.png b/trunk/images/black/puce.png
new file mode 100644 (file)
index 0000000..7dcbe36
Binary files /dev/null and b/trunk/images/black/puce.png differ
diff --git a/trunk/images/black/refresh.png b/trunk/images/black/refresh.png
new file mode 100644 (file)
index 0000000..cd4e15a
Binary files /dev/null and b/trunk/images/black/refresh.png differ
diff --git a/trunk/images/black/remove.png b/trunk/images/black/remove.png
new file mode 100644 (file)
index 0000000..b28022e
Binary files /dev/null and b/trunk/images/black/remove.png differ
diff --git a/trunk/images/black/rss.png b/trunk/images/black/rss.png
new file mode 100644 (file)
index 0000000..cebc19c
Binary files /dev/null and b/trunk/images/black/rss.png differ
diff --git a/trunk/images/black/url_add.png b/trunk/images/black/url_add.png
new file mode 100644 (file)
index 0000000..7419598
Binary files /dev/null and b/trunk/images/black/url_add.png differ
diff --git a/trunk/images/black/url_go.png b/trunk/images/black/url_go.png
new file mode 100644 (file)
index 0000000..98c6bd3
Binary files /dev/null and b/trunk/images/black/url_go.png differ
diff --git a/trunk/images/black/verify.png b/trunk/images/black/verify.png
new file mode 100644 (file)
index 0000000..4c8204a
Binary files /dev/null and b/trunk/images/black/verify.png differ
diff --git a/trunk/images/black/view.png b/trunk/images/black/view.png
new file mode 100644 (file)
index 0000000..c690f4a
Binary files /dev/null and b/trunk/images/black/view.png differ
diff --git a/trunk/images/black/xmpp.png b/trunk/images/black/xmpp.png
new file mode 100644 (file)
index 0000000..13da82e
Binary files /dev/null and b/trunk/images/black/xmpp.png differ
diff --git a/trunk/images/black/zoom.png b/trunk/images/black/zoom.png
new file mode 100644 (file)
index 0000000..2c574dc
Binary files /dev/null and b/trunk/images/black/zoom.png differ
diff --git a/trunk/images/default/ASC.png b/trunk/images/default/ASC.png
new file mode 100644 (file)
index 0000000..f140f7d
Binary files /dev/null and b/trunk/images/default/ASC.png differ
diff --git a/trunk/images/default/DESC.png b/trunk/images/default/DESC.png
new file mode 100644 (file)
index 0000000..a2da817
Binary files /dev/null and b/trunk/images/default/DESC.png differ
diff --git a/trunk/images/default/add.png b/trunk/images/default/add.png
new file mode 100644 (file)
index 0000000..1aa7f09
Binary files /dev/null and b/trunk/images/default/add.png differ
diff --git a/trunk/images/default/ajax-loader.gif b/trunk/images/default/ajax-loader.gif
new file mode 100644 (file)
index 0000000..b7710d8
Binary files /dev/null and b/trunk/images/default/ajax-loader.gif differ
diff --git a/trunk/images/default/calendar.png b/trunk/images/default/calendar.png
new file mode 100644 (file)
index 0000000..6589138
Binary files /dev/null and b/trunk/images/default/calendar.png differ
diff --git a/trunk/images/default/clear.png b/trunk/images/default/clear.png
new file mode 100644 (file)
index 0000000..e6c8e8b
Binary files /dev/null and b/trunk/images/default/clear.png differ
diff --git a/trunk/images/default/close.png b/trunk/images/default/close.png
new file mode 100644 (file)
index 0000000..fcf3b38
Binary files /dev/null and b/trunk/images/default/close.png differ
diff --git a/trunk/images/default/copy.png b/trunk/images/default/copy.png
new file mode 100644 (file)
index 0000000..8dd48c4
Binary files /dev/null and b/trunk/images/default/copy.png differ
diff --git a/trunk/images/default/create.png b/trunk/images/default/create.png
new file mode 100644 (file)
index 0000000..4c3efdd
Binary files /dev/null and b/trunk/images/default/create.png differ
diff --git a/trunk/images/default/delete.png b/trunk/images/default/delete.png
new file mode 100644 (file)
index 0000000..0e0953c
Binary files /dev/null and b/trunk/images/default/delete.png differ
diff --git a/trunk/images/default/fd_menu.png b/trunk/images/default/fd_menu.png
new file mode 100644 (file)
index 0000000..4fc12fe
Binary files /dev/null and b/trunk/images/default/fd_menu.png differ
diff --git a/trunk/images/default/generate.png b/trunk/images/default/generate.png
new file mode 100644 (file)
index 0000000..67de2c6
Binary files /dev/null and b/trunk/images/default/generate.png differ
diff --git a/trunk/images/default/help.png b/trunk/images/default/help.png
new file mode 100644 (file)
index 0000000..5c87017
Binary files /dev/null and b/trunk/images/default/help.png differ
diff --git a/trunk/images/default/hide.png b/trunk/images/default/hide.png
new file mode 100644 (file)
index 0000000..0cb777a
Binary files /dev/null and b/trunk/images/default/hide.png differ
diff --git a/trunk/images/default/imgbroken.png b/trunk/images/default/imgbroken.png
new file mode 100644 (file)
index 0000000..adeb879
Binary files /dev/null and b/trunk/images/default/imgbroken.png differ
diff --git a/trunk/images/default/loading.gif b/trunk/images/default/loading.gif
new file mode 100644 (file)
index 0000000..cc70a7a
Binary files /dev/null and b/trunk/images/default/loading.gif differ
diff --git a/trunk/images/default/login_fd.png b/trunk/images/default/login_fd.png
new file mode 100644 (file)
index 0000000..cab07c6
Binary files /dev/null and b/trunk/images/default/login_fd.png differ
diff --git a/trunk/images/default/logo.png b/trunk/images/default/logo.png
new file mode 100644 (file)
index 0000000..9ac0079
Binary files /dev/null and b/trunk/images/default/logo.png differ
diff --git a/trunk/images/default/logout.png b/trunk/images/default/logout.png
new file mode 100644 (file)
index 0000000..0010931
Binary files /dev/null and b/trunk/images/default/logout.png differ
diff --git a/trunk/images/default/mail.png b/trunk/images/default/mail.png
new file mode 100644 (file)
index 0000000..7348aed
Binary files /dev/null and b/trunk/images/default/mail.png differ
diff --git a/trunk/images/default/modify.png b/trunk/images/default/modify.png
new file mode 100644 (file)
index 0000000..663cbad
Binary files /dev/null and b/trunk/images/default/modify.png differ
diff --git a/trunk/images/default/person.png b/trunk/images/default/person.png
new file mode 100644 (file)
index 0000000..71038ed
Binary files /dev/null and b/trunk/images/default/person.png differ
diff --git a/trunk/images/default/puce.png b/trunk/images/default/puce.png
new file mode 100644 (file)
index 0000000..7dcbe36
Binary files /dev/null and b/trunk/images/default/puce.png differ
diff --git a/trunk/images/default/refresh.png b/trunk/images/default/refresh.png
new file mode 100644 (file)
index 0000000..ff803be
Binary files /dev/null and b/trunk/images/default/refresh.png differ
diff --git a/trunk/images/default/remove.png b/trunk/images/default/remove.png
new file mode 100644 (file)
index 0000000..00b654e
Binary files /dev/null and b/trunk/images/default/remove.png differ
diff --git a/trunk/images/default/rss.png b/trunk/images/default/rss.png
new file mode 100644 (file)
index 0000000..677d87f
Binary files /dev/null and b/trunk/images/default/rss.png differ
diff --git a/trunk/images/default/url_add.png b/trunk/images/default/url_add.png
new file mode 100644 (file)
index 0000000..2e94507
Binary files /dev/null and b/trunk/images/default/url_add.png differ
diff --git a/trunk/images/default/url_go.png b/trunk/images/default/url_go.png
new file mode 100644 (file)
index 0000000..5cc2b0d
Binary files /dev/null and b/trunk/images/default/url_go.png differ
diff --git a/trunk/images/default/verify.png b/trunk/images/default/verify.png
new file mode 100644 (file)
index 0000000..4c8204a
Binary files /dev/null and b/trunk/images/default/verify.png differ
diff --git a/trunk/images/default/view.png b/trunk/images/default/view.png
new file mode 100644 (file)
index 0000000..d072d3c
Binary files /dev/null and b/trunk/images/default/view.png differ
diff --git a/trunk/images/default/xmpp.png b/trunk/images/default/xmpp.png
new file mode 100644 (file)
index 0000000..e54ebeb
Binary files /dev/null and b/trunk/images/default/xmpp.png differ
diff --git a/trunk/images/default/zoom.png b/trunk/images/default/zoom.png
new file mode 100644 (file)
index 0000000..fd7f0b0
Binary files /dev/null and b/trunk/images/default/zoom.png differ
index acb5857..29fe9ea 100644 (file)
@@ -262,7 +262,7 @@ class LSformElement {
    */
   function getMultipleData() {
     if ($this -> params['multiple'] == true ) {
-      return "<img src='templates/images/add.png' id='LSform_add_field_btn_".$this -> name."_".rand()."' class='LSform-add-field-btn' alt='"._('Ajouter')."'/><img src='templates/images/remove.png' class='LSform-remove-field-btn' alt='"._('Supprimer')."'/>";
+      return "<img src='".LS_IMAGES_DIR."/add.png' id='LSform_add_field_btn_".$this -> name."_".rand()."' class='LSform-add-field-btn' alt='"._('Ajouter')."'/><img src='".LS_IMAGES_DIR."/remove.png' class='LSform-remove-field-btn' alt='"._('Supprimer')."'/>";
     }
     else {
       return '';
index f793b21..36c1aba 100644 (file)
@@ -188,7 +188,7 @@ class LSformElement_date extends LSformElement {
       'firstDayOfWeek' => $this -> getFirstDayOfWeek()
     );
     $GLOBALS['LSsession'] -> addJSconfigParam($id,$params);
-    return "<img id='$id' class='LSformElement_date_calendar_btn btn' src='templates/images/calendar.png' title='"._('Calendrier')."' alt='"._('Calendrier')."'/>";
+    return "<img id='$id' class='LSformElement_date_calendar_btn btn' src='".LS_IMAGES_DIR."/calendar.png' title='"._('Calendrier')."' alt='"._('Calendrier')."'/>";
   }
  
  /**
index 347072b..cb33351 100644 (file)
@@ -82,17 +82,17 @@ class LSformElement_password extends LSformElement {
         }
         $class_txt="class='LSformElement_password_generate'";
         $id = "LSformElement_password_generate_btn_".$this -> name."_".$numberId;
-        $autogenerate_html = "<img src='templates/images/generate.png' id='$id' class='LSformElement_password_generate_btn'/>\n";
+        $autogenerate_html = "<img src='".LS_IMAGES_DIR."/generate.png' id='$id' class='LSformElement_password_generate_btn'/>\n";
       }
 
       $id = "LSformElement_password_".$this -> name."_".$numberId;
       $return['html'] = "<input type='$input_type' name='".$this -> name."[]' $value_txt id='$id' $class_txt/>\n";
       $return['html'] .= $autogenerate_html;
       $id = "LSformElement_password_view_btn_".$this -> name."_".$numberId;
-      $return['html'] .= "<img src='templates/images/view.png' id='$id' class='LSformElement_password_view_btn'/>\n";
+      $return['html'] .= "<img src='".LS_IMAGES_DIR."/view.png' id='$id' class='LSformElement_password_view_btn'/>\n";
       if (!$this -> attr_html -> attribute -> ldapObject-> isNew()) {
         $id = "LSformElement_password_verify_btn_".$this -> name."_".$numberId;
-        $return['html'] .= "<img src='templates/images/verify.png' id='$id' class='LSformElement_password_verify_btn' alt=\"".('Vérifier le mot de passe')."\" title=\"".('Vérifier le mot de passe')."\" />\n";
+        $return['html'] .= "<img src='".LS_IMAGES_DIR."/verify.png' id='$id' class='LSformElement_password_verify_btn' alt=\"".('Vérifier le mot de passe')."\" title=\"".('Vérifier le mot de passe')."\" />\n";
       }
       
       if (!empty($this -> values)) {
index 18f1ba5..9504c95 100644 (file)
@@ -80,6 +80,13 @@ class LSsession {
     if (loadDir($this -> confDir, '^config\..*\.php$')) {
       if ( include_once $GLOBALS['LSconfig']['Smarty'] ) {
         $GLOBALS['Smarty'] = new Smarty();
+        $GLOBALS['Smarty'] -> template_dir = LS_TEMPLATES_DIR;
+        $GLOBALS['Smarty'] -> compile_dir = LS_TMP_DIR;
+        
+        $GLOBALS['Smarty'] -> assign('LS_CSS_DIR',LS_CSS_DIR);
+        $GLOBALS['Smarty'] -> assign('LS_IMAGES_DIR',LS_IMAGES_DIR);
+        
+        $this -> addJSconfigParam('LS_IMAGES_DIR',LS_IMAGES_DIR);
         return true;
       }
       else {
@@ -838,7 +845,7 @@ class LSsession {
  /**
   * Ajoute une feuille de style au chargement de la page
   *
-  * Remarque : les scripts doivents Ãªtre dans le dossiers templates/css/.
+  * Remarque : les scripts doivents Ãªtre dans le dossier LS_CSS_DIR.
   *
   * @param[in] $script Le nom du fichier css Ã  charger.
   *
@@ -888,10 +895,10 @@ class LSsession {
     $GLOBALS['Smarty'] -> assign('LSsession_js',$JSscript_txt);
 
     // Css
-    $Css_txt="<link rel='stylesheet' type='text/css' href='templates/css/LSdefault.css' />\n";
+    $this -> addCssFile("LSdefault.css");
     foreach ($this -> CssFiles as $file) {
       if (!$file['path']) {
-        $file['path']=LS_CSS_DIR;
+        $file['path']=LS_CSS_DIR.'/';
       }
       $Css_txt.="<link rel='stylesheet' type='text/css' href='".$file['path'].$file['file']."' />\n";
     }
index 14cf804..f522943 100644 (file)
@@ -163,6 +163,10 @@ var LSdefault = new Class({
           this.displayError(error.toString());
         }
       }
+    },
+    
+    imagePath: function(image) {
+      return this.LSjsConfig['LS_IMAGES_DIR'] + '/' + image;
     }
 
 });
index 6bd68ce..7a8825c 100644 (file)
@@ -7,7 +7,7 @@ var LSformElement_boolean = new Class({
       $$('li.LSformElement_boolean').each(function(el) {
         var btn = new Element('img');
         btn.setProperties({
-          src:    'templates/images/clear.png',
+          src:    varLSdefault.imagePath('clear.png'),
           alt:    'Reset',
           title:  'Reset'
         });
index b3d797a..9ab605e 100644 (file)
@@ -22,7 +22,7 @@ var LSformElement_mail = new Class({
     addBtnAfter: function(el) {
       var btn = new Element('img');
       btn.setProperties({
-        src:    'templates/images/mail.png',
+        src:    varLSdefault.imagePath('mail.png'),
         alt:    'Envoyer un mail',
         title:  'Envoyer un mail'
       });
index b1adf65..dd7dd58 100644 (file)
@@ -50,7 +50,7 @@ var LSformElement_password = new Class({
       if ( varLSdefault.checkAjaxReturn(data) ) {
         this.changeInputType($(data.fieldId),'text');
         $(data.fieldId).value=data.generatePassword;
-        $(data.viewBtnId).setProperty('src','templates/images/hide.png');
+        $(data.viewBtnId).setProperty('src',varLSdefault.imagePath('hide.png'));
         this.LSformElement_password_generate_inputHistory[data.fieldId]=data.generatePassword;
       }
     },
@@ -69,7 +69,7 @@ var LSformElement_password = new Class({
       var getAttrNameAndId = /LSformElement_password_(.*)_([0-9]*)/
       var attrNameAndId = getAttrNameAndId.exec(input.id);
       var viewBtnId = 'LSformElement_password_view_btn_' + attrNameAndId[1] + '_' + attrNameAndId[2];
-      $(viewBtnId).setProperty('src','templates/images/view.png');
+      $(viewBtnId).setProperty('src',varLSdefault.imagePath('view.png'));
       this.LSformElement_password_generate_inputHistory[input.id]='';
       input.focus();
     },
@@ -84,11 +84,11 @@ var LSformElement_password = new Class({
       
       if (input.type=='password') {
         input = this.changeInputType(input,'text');
-        img.setProperty('src','templates/images/hide.png');
+        img.setProperty('src',varLSdefault.imagePath('hide.png'));
       }
       else {
         input = this.changeInputType(input,'password');
-        img.setProperty('src','templates/images/view.png');
+        img.setProperty('src',varLSdefault.imagePath('view.png'));
       }
       input.focus();
     },
index c41df6d..3423d62 100644 (file)
@@ -21,7 +21,7 @@ var LSformElement_rss = new Class({
     addBtnAfter: function(el) {
       var btn = new Element('img');
       btn.setProperties({
-        src:    'templates/images/rss.png',
+        src:    varLSdefault.imagePath('rss.png'),
         alt:    'File RSS',
         title:  'File RSS'
       });
index a79c318..0a3e17a 100644 (file)
@@ -7,7 +7,7 @@ var LSformElement_select = new Class({
       $$('select.LSform').each(function(el) {
         var btn = new Element('img');
         btn.setProperties({
-          src:    'templates/images/clear.png',
+          src:    varLSdefault.imagePath('clear.png'),
           alt:    'Reset',
           title:  'Reset'
         });
index 835f054..1858d98 100644 (file)
@@ -21,7 +21,7 @@ var LSformElement_select_object_field = new Class({
         var btn = new Element('img');
         btn.addClass('btn');
         btn.setProperties({
-          src:    'templates/images/delete.png',
+          src:    varLSdefault.imagePath('delete.png'),
           alt:    this.params.deleteBtns
         });
         btn.addEvent('click',this.LSformElement_select_object_deleteBtn.bind(this,btn));
@@ -53,7 +53,7 @@ var LSformElement_select_object_field = new Class({
     
     addSingleAddBtn: function(insideEl) {
       this.addBtn = new Element('img');
-      this.addBtn.setProperty('src','templates/images/modify.png');
+      this.addBtn.setProperty('src',varLSdefault.imagePath('modify.png'));
       this.addBtn.addClass('btn');
       this.addBtn.addEvent('click',this.onLSformElement_select_object_addBtnClick.bindWithEvent(this));
       this.addBtn.injectInside(insideEl);
index d0eff62..7f95308 100644 (file)
@@ -20,7 +20,7 @@ var LSformElement_text_field = new Class({
           // GenerateBtn
           this.generateBtn = new Element('img');
           this.generateBtn.addClass('btn');
-          this.generateBtn.src='templates/images/generate.png';
+          this.generateBtn.src=varLSdefault.imagePath('generate.png');
           this.generateBtn.addEvent('click',this.refreshValue.bind(this));
           this.generateBtn.injectAfter(this.input);
 
index 2d4584b..afa359f 100644 (file)
@@ -21,7 +21,7 @@ var LSformElement_url = new Class({
     addBtnAfter: function(el) {
       var btn_go = new Element('img');
       btn_go.setProperties({
-        src:    'templates/images/url_go.png',
+        src:    varLSdefault.imagePath('url_go.png'),
         alt:    'Suivre le lien',
         title:  'Suivre le lien'
       });
@@ -31,7 +31,7 @@ var LSformElement_url = new Class({
       
       var btn_fav = new Element('img');
       btn_fav.setProperties({
-        src:    'templates/images/url_add.png',
+        src:    varLSdefault.imagePath('url_add.png'),
         alt:    'Ajouter aux favoris',
         title:  'Ajouter aux favoris'
       });
index d2e9ba5..32a92ec 100644 (file)
@@ -21,7 +21,7 @@ var LSformElement_xmpp = new Class({
     addBtnAfter: function(el) {
       var btn = new Element('img');
       btn.setProperties({
-        src:    'templates/images/xmpp.png',
+        src:    varLSdefault.imagePath('xmpp.png'),
         alt:    'Chat',
         title:  'Chat'
       });
index dc2a38d..2fee436 100644 (file)
@@ -21,7 +21,7 @@ var LSrelation = new Class({
       this.deleteBtnId = 0;
       $$('a.LSrelation').each(function(a) {
         this.deleteBtn[this.deleteBtnId] = new Element('img');
-        this.deleteBtn[this.deleteBtnId].src = 'templates/images/delete.png';
+        this.deleteBtn[this.deleteBtnId].src = varLSdefault.imagePath('delete.png');
         this.deleteBtn[this.deleteBtnId].setStyle('cursor','pointer');
         this.deleteBtn[this.deleteBtnId].addClass('LSrelation-btn');
         this.deleteBtn[this.deleteBtnId].addEvent('click',this.onDeleteBtnClick.bind(this,this.deleteBtn[this.deleteBtnId]));
index 1ff699f..242ca75 100644 (file)
@@ -17,7 +17,7 @@ var LSview = new Class({
 
     onTdLSobjectListNamesOver: function(td){
       td.imgEdit = new Element('img');
-      td.imgEdit.src = 'templates/images/view.png';
+      td.imgEdit.src = varLSdefault.imagePath('view.png');
       td.imgEdit.injectInside(td);
     },
     
diff --git a/trunk/templates/LSmail.tpl b/trunk/templates/LSmail.tpl
deleted file mode 100644 (file)
index b427f03..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<dl class='LSform'>
-  <dt class='LSform'>{$LSmail_mail_label}</dt>
-  <dd class='LSform'>
-    {if $LSmail_mails != ""}
-      {if $LSmail_mails|@count==1}
-      <input type='text' name='LSmail_mail' id='LSmail_mail' value='{$LSmail_mails[0]}'/>
-      {else}
-      <select name='LSmail_mail' id='LSmail_mail'>
-        {html_options values=$LSmail_mails output=$LSmail_mails}
-      </select>
-      {/if}
-    {else}
-      <input type='text' name='LSmail_mail' id='LSmail_mail'/>
-    {/if}
-  </dd>
-  <dt class='LSform'>{$LSmail_subject_label}</dt>
-  <dd class='LSform'>
-    <input type='text' name='LSmail_subject' id='LSmail_subject'/>
-  </dd>
-  <dt class='LSform'>{$LSmail_msg_label}</dt>
-  <dd class='LSform'>
-    <textarea name='LSmail_msg' id='LSmail_msg'>{$LSmail_msg}</textarea>
-  </dd>
-</dl>
diff --git a/trunk/templates/LSrelations.tpl b/trunk/templates/LSrelations.tpl
deleted file mode 100644 (file)
index 4adbe81..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<h1 id='LSrelation_title_{$item.id}' class='LSrelation'>{$item.label}</h1>
-{if $item.actions!=''}
-  <ul class='LSview-actions'>
-  {foreach from=$item.actions item=action}
-    <li class='LSview-actions'><a href='{$action.url}' class='LSview-actions LSrelation_modify' id='{$item.id}'><img src='templates/images/{$action.action}.png' alt='{$action.label}' title='{$action.label}' /> {$action.label}</a></li>
-  {/foreach}
-  </ul>
-{/if}
-<ul id='LSrelation_ul_{$item.id}' class='LSrelation'>
-{foreach from=$item.objectList item=object}
-  <li class='LSrelation'><a href='view.php?LSobject={$item.LSobject}&amp;dn={$object.dn}' class='LSrelation' id='{$object.dn}'>{$object.text}</a></li>
-{foreachelse}
-  <li class='LSrelation'>{$item.emptyText}</li>
-{/foreach}
-</ul>
diff --git a/trunk/templates/accueil.tpl b/trunk/templates/accueil.tpl
deleted file mode 100644 (file)
index 069bcac..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-{include file='top.tpl'}
-    <h1>{$pagetitle}</h1>
-{include file='bottom.tpl'}
diff --git a/trunk/templates/blank.tpl b/trunk/templates/blank.tpl
deleted file mode 100644 (file)
index f12a80f..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-  <head>
-    <title>LdapSaisie{if $pagetitle != ''} - {$pagetitle}{/if}</title>
-    <link rel="stylesheet" type="text/css" href="templates/css/base.css" title="Normal" />
-    <link rel="stylesheet" type="text/css" href="templates/css/base_print.css" media='print' title="Normal" />
-    {$LSsession_css}
-    {$LSsession_js}
-  </head>
-<body>
-<div id='LSerror'>
-{$LSerrors}
-</div>
-<div id='LSdebug'>
-  <a href='#' id='LSdebug_hidden'>X</a> 
-  <div id='LSdebug_infos'>{if $LSdebug != ''}{$LSdebug}{/if}</div>
-</div>
-</body>
-</html>
diff --git a/trunk/templates/bottom.tpl b/trunk/templates/bottom.tpl
deleted file mode 100644 (file)
index f23e12f..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-  </div>
-  <hr class='spacer' />
-</div>
-</body>
-</html>
diff --git a/trunk/templates/create.tpl b/trunk/templates/create.tpl
deleted file mode 100644 (file)
index 5e71e97..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-{include file='top.tpl'}
-    {if $pagetitle != ''}<h1>{$pagetitle}</h1>{/if}
-    
-    <form action='{$LSform_action}' method='post' class='LSform'>
-    {$LSform_header}
-    <dl class='LSform'>
-      {foreach from=$LSform_fields item=field}
-      <dt class='LSform'>{$field.label}{if $field.help_info!=""} <img class='LStips' src="templates/images/help.png" alt='?' title="{$field.help_info}"/>{/if}</dt>
-      <dd class='LSform'>{$field.html}{if $field.add != ''} <span class='LSform-addfield'>+ Ajouter un champ</span>{/if}</dd>
-      {if $field.errors != ''}
-        {foreach from=$field.errors item=error}
-        <dd class='LSform LSform-errors'>{$error}</dd>
-        {/foreach}
-      {/if}
-      {/foreach}
-      <dd class='LSform'><input type='submit' value='{$LSform_submittxt}' class='LSform' /></dd>
-    </dl>
-    </form>
-{include file='bottom.tpl'}
diff --git a/trunk/templates/css/LSconfirmBox.css b/trunk/templates/css/LSconfirmBox.css
deleted file mode 100644 (file)
index 0cd490a..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-#box-LSconfirmBox {
-  -moz-border-radius:   5px;
-  margin:               auto;
-  position:             absolute;
-  z-index:              4;
-  display:              none;
-  position:             absolute;
-  background-color:     #000;
-  min-height:           6em;
-}
-
-#title-LSconfirmBox {
-  width:                100%;
-  font-weight:          bold;
-  color:                #fff;
-  padding:              0px;
-  padding-left:         0.5em;
-  margin:               0px;
-  opacity:              0;
-}
-
-#text-LSconfirmBox {
-  width:                90%;
-  padding:              0px 5% 0px 5%;
-  text-align:           center;
-  font-size:            0.8em;
-  font-style:           italic;
-  color:                #fff;
-  opacity:              0;
-}
-
-#closeBtn-LSconfirmBox {
-  background:           url(../images/close.png) no-repeat;
-  width:                20px;
-  height:               20px;
-  position:             absolute;
-  top:                  -10px;
-  right:                -10px;
-  cursor:               pointer;
-  opacity:              0;
-}
-
-#btnsBox-LSconfirmBox {
-  width:                100%;
-  text-align:           center;
-  opacity:              0;
-}
-
-.btn-LSconfirmBox {
-  background-color:     #fff;
-  -moz-border-radius:   5px;
-  color:                #000;
-  font-weight:          bold;
-  padding:              3px;
-  cursor:               pointer;
-  margin:               2px;
-}
diff --git a/trunk/templates/css/LSdefault.css b/trunk/templates/css/LSdefault.css
deleted file mode 100644 (file)
index a9a2fe3..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-#LSerror {
-  width:                    50%;
-  position:                 absolute;
-  top:                      10px;
-  left:                     10px;
-  background-color:         #f00;
-  visibility:               hidden;
-  color:                    #fff;
-  z-index:                  100;
-}
-
-#LSerror_txt {
-  display:                  none;
-}
-
-#LSdebug {
-  width:                    50%;
-  position:                 absolute;
-  top:                      10px;
-  left:                     50%;
-  background-color:         #84ff6a;
-  visibility:               hidden;
-  color:                    #fff;
-  z-index:                  100;
-}
-
-#LSdebug_txt {
-  display:                  none;
-}
-
-#LSjsConfig {
-  display:                  none;
-}
-
-#LSdebug_hidden {
-  float:                    right;
-  color:                    #fff;
-  text-decoration:          none;
-  font-weight:              bold;
-  cursor:                   pointer;
-}
-
-#LSinfos {
-  position:                 absolute;
-  width:                    50%;
-  left:                     25%;
-  background-color:         #bee2f0;
-  border:                   1px solid #4096b8;
-  visibility:               hidden;
-  color:                    #4096b8;
-  z-index:                  100;
-  top:                      10px;
-  font-weight:              bold;
-}
diff --git a/trunk/templates/css/LSform.css b/trunk/templates/css/LSform.css
deleted file mode 100644 (file)
index ff98abf..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
- ******************
- * LSForm
- ******************
- */
-/*
- * Architecture
- */ 
-dl.LSform {
-  margin:                     0;
-  margin-left:                2em;
-  padding:                    0;
-}
-
-.LSform dt {
-  position:                   relative;
-  left:                       0.2em;
-  top:                        1.2em;
-  width:                      15em;
-  font-weight:                bold;
-  font-size:                  0.9em;
-  color:                      #0072b8;
-}
-
-dd.LSform {
-  margin-left:                15em;
-  padding:                    0;
-}
-
-ul.LSform {
-  list-style-type:            none;
-  padding:                    0;
-  margin:                     0;
-}
-
-ul.LSform li {
-  overflow:                   auto;
-  margin-bottom:              2px;
-}
-
-/*
- * Champs du formulaire
- */
-.LSform input[type=text], .LSform input[type=file], .LSform input[type=submit], .LSform input[type=password], .LSform select, .LSform textarea {
-  border:                     1px solid #ccc;
-  width:                      300px;
-  background-color:           #b5e4f6;
-}
-
-.LSform input[type=radio] {
-  width:                      undefinded;
-}
-
-input[type='submit'].LSform {
-  border:                     1px outset #ccc;
-  margin-top:                 1em;
-  margin-left:                6em;
-  width:                      8em;
-}
-
-.LSform-errors {
-  color:                      #fff;
-  background-color:           #f59a67;
-}
-
-/* Bouton JS */
-img.LSform-add-field-btn, img.LSform-remove-field-btn {
-  cursor:                     pointer;
-}
-
-/* Tips */
-.tip-top {
-  color: #fff;
-  width: 139px;
-  z-index: 13000;
-}
-.tip-title {
-  font-weight:      bold;
-  font-size:        11px;
-  margin:           0;
-  color:            #b5e4f6;
-  padding:          2px;
-  background:       #333;
-  opacity:          0.8;
-  -moz-border-radius:   2px;
-  max-width:        500px;
-  text-align:       justify;
-}
diff --git a/trunk/templates/css/LSformElement_image.css b/trunk/templates/css/LSformElement_image.css
deleted file mode 100644 (file)
index a37d71f..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * LSformElement_image
- */
-div.LSformElement_image {
-  float:              right;
-  clear:              both;
-  margin:             2em;
-  background-color:   #52bce5;
-  width:              160px;
-  padding:            5px;
-  text-align:         center;
-  -moz-border-radius: 1em;
-}
-
-img.LSformElement_image {
-  width:              150px;
-  border:             1px solid #fff;
-  margin:             5px;
-}
-
-div.LSformElement_image_errors {
-  background-color:   #f59a67;
-}
-
-ul.LSformElement_image_actions {
-  list-style-type:    none;
-  position:           absolute;
-  margin-top:         8px;
-  margin-left:        135px;
-  padding:            0;
-  visibility:         hidden;
-  cursor:             pointer;
-}
diff --git a/trunk/templates/css/LSformElement_password.css b/trunk/templates/css/LSformElement_password.css
deleted file mode 100644 (file)
index dd2ab0c..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/*
- * LSformElement_password
- */
-img.LSformElement_password_view_btn, img.LSformElement_password_generate_btn, img.LSformElement_password_verify_btn {
-  cursor:                     pointer;
-}
diff --git a/trunk/templates/css/LSformElement_select_object.css b/trunk/templates/css/LSformElement_select_object.css
deleted file mode 100644 (file)
index f131374..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * LSformElement_select_object
- */
-a.LSformElement_select_object {
-  text-decoration:            none;
-  color:                      #000;
-  font-weight:                normal;
-}
-
-ul.LSformElement_select_object_edit {
-  border:                     1px solid #b5e4f6;
-  border-bottom:              none;
-  width:                      300px;
-}
-
-li.LSformElement_select_object {
-  padding:                    0.1em;
-  border-bottom:              1px solid #b5e4f6;
-}
-
-li.LSformElement_select_object_addBtn {
-  background-color:           #b5e4f6;
-  text-align:                 center;
-}
-
-img.LSformElement_select_object_deleteBtn {
-  cursor:                     pointer;
-}
diff --git a/trunk/templates/css/LSformElement_ssh_key.css b/trunk/templates/css/LSformElement_ssh_key.css
deleted file mode 100644 (file)
index 20e64b0..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * LSformElement_ssh_key
- */
-.LSformElement_ssh_key_value {
-  display:            none;
-  width:              30em;
-  font-style:         italic;
-  font-family:        courier;
-  background-color:   #b5e4f6;
-  border:             1px solid #ccc;
-  overflow:           auto;
-}
-
-.LSformElement_ssh_key_short_display {
-  font-style:         italic;
-  font-family:        courier;
-  cursor:             pointer;
-}
-
-textarea.LSformElement_ssh_key {
-  height:             10em;
-}
diff --git a/trunk/templates/css/LSmail.css b/trunk/templates/css/LSmail.css
deleted file mode 100644 (file)
index 8b13789..0000000
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/trunk/templates/css/LSrelation.css b/trunk/templates/css/LSrelation.css
deleted file mode 100644 (file)
index 51241aa..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- ***********************
- * LSrelation
- ***********************
- */
-h1.LSrelation {
-  font-size:          1.4em;
-}
-img.LSrelation-btn {
-  margin-left:        0.5em;
-}
-
-a.LSrelation {
-  text-decoration:    none;
-  color:              #000;
-  font-weight:        normal;
-}
diff --git a/trunk/templates/css/LSselect.css b/trunk/templates/css/LSselect.css
deleted file mode 100644 (file)
index 611fbc7..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- ************************
- * LSselect
- ************************
- */
-
-#LSselect-object {
-  width:              570px;
-}
-
-.sortBy_displayValue, .sortBy_subDn {
-  cursor:             pointer;
-}
-
-.LSobject-select-check {
-  width:              10px;
-}
-
-.LSobject-select-names {
-  cursor:             pointer;
-}
-
-#LSselect_topDn_label {
-  float:              left;
-  font-size:          0.8em;
-  margin-left:        1em;
-  margin-top:         0.5em;
-}
- /*
-  * LSselect_search
-  */
-form.LSselect_search {
-  float:              none;
-  margin-top:         0.5em;
-}
-
-div.LSselect_search {
-  float:              right;
-}
-
-div.LSobject-select {
-  width:              600px;
-}
diff --git a/trunk/templates/css/LSsmoothbox.css b/trunk/templates/css/LSsmoothbox.css
deleted file mode 100644 (file)
index 7c1ce8c..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-#over-LSsmoothbox {
-  background-color:     #000;
-  border:               1px solid #000;
-  margin: 0;
-  padding:  0;
-}
-
-#win-LSsmoothbox {
-  background-color:     #fff;
-  border:               10px solid #000;
-  -moz-border-radius:   5px;
-  margin:               auto;
-  position:             absolute;
-  z-index:              3;
-  display:              none;
-}
-
-#frame-LSsmoothbox {
-  overflow:             auto;
-  height:               100%;
-  width:                100%;
-  display:              none;
-}
-
-#closeBtn-LSsmoothbox {
-  background:           url(../images/close.png) no-repeat;
-  width:                20px;
-  height:               20px;
-  position:             absolute;
-  top:                  -20px;
-  right:                -20px;
-  cursor:               pointer;
-  display:              none;
-}
-
-#validBtn-LSsmoothbox {
-  background-color:     #000;
-  -moz-border-radius:   5px;
-  height:               22px;
-  font-size:            18px;
-  color:                #fff;
-  font-weight:          bold;
-  padding:              0px 5px 0px 5px;
-  position:             absolute;
-  bottom:               -25px;
-  right:                20px;
-  cursor:               pointer;
-  display:              none;
-}
-
-#loadingImage-LSsmoothbox {
-  width:                100px;
-  height:               100px;
-  margin:               10px;
-}
diff --git a/trunk/templates/css/base.css b/trunk/templates/css/base.css
deleted file mode 100644 (file)
index 2c150bb..0000000
+++ /dev/null
@@ -1,294 +0,0 @@
-body {
-  font-family:        sans-serif;
-  margin:             0;
-  padding:            0;
-}
-
-img {
-  vertical-align:     bottom;
-}
-
-a:hover {
-  text-decoration:    underline;
-}
-
-h1 {
-  margin:             0.5em;
-  margin-bottom:      1px;
-  border-bottom:      1px solid #0072b8;
-  color:              #0072b8;
-  clear:              left;
-}
-
-a img {
-  border:             none;
-}
-
-hr {
-  visibility:         hidden;
-  clear:              both;
-  height:             0px;
-}
-
-.btn {
-  cursor:             pointer;
-  margin:             2px;
-}
-
-/*
- * Interface
- */
-#main {
-  width:              1000px;
-  margin:             auto;
-  border:             1px solid #52bce5;
-  background:         #fff url(../images/fd_menu.png) repeat-y scroll left top;
-  min-height:         500px;
-}
-
-#left {
-  float:              left;
-  width:              160px;
-}
-
-#right {
-  margin:             0;
-  float:              left;
-  width:              840px;
-}
-
-#logo {
-  margin:             auto;
-  width:              142px;
-  margin-left:        9px;
-}
-
-#status {
-  margin:             0;
-  padding:            0;
-  font-size:          0.7em;
-  color:              #fff;
-  text-align:         right;
-  background-color:   #52bce5;
-  padding:            0.3em;
-}
-
-#user_name {
-  font-weight:        bold;
-}
-
-/*
- * LSsession
- */
-#LSsession_topDn {
-  height:                   1.5em;
-  width:                    150px;
-}
-
-#LSsession_topDn_form {
-  width:                    150px;
-  margin:                   5px;
-  color:                    #fff;
-}
-
-/*
- ******************
- * Menu
- ******************
- */
-ul.menu {
-  list-style-image:   url(../images/puce.png);
-}
-
-li.menu {
-  color:              #fff;
-}
-
-a.menu {
-  color:              #fff;
-  text-decoration:    none;
-}
-
-/*
- ****************
- * LSobject-list
- ****************
- */
-
-table.LSobject-list {
-  margin-left:        1em;
-  margin-top:         0.5em;
-  border:             1px solid #52bce5;
-  width:              805px;
-  border-collapse:    collapse;
-  clear:              both;
-}
-
-/*
- * th
- */
-th.LSobject-list {
-  background-color:   #52bce5;
-  color:              #fff;
-}
-
-a th.LSobject-list {
-  text-decoration:    none;
-}
-
-th.LSobject-list-subdn {
-  width:              15em;
-}
-
-img.LSobject-list-ordersense {
-  vertical-align:     middle;
-}
-
-th.LSobject-list a {
-  color:              #fff;
-  text-decoration:    none;
-}
-
-/*
- * tr
- */
-tr.LSobject-list-bis {
-  background-color:   #ecf8fd;
-}
-
-/*
- * td
- */
-td.LSobject-list {
-  border:             1px solid #52bce5;
-  padding:            0.1em;
-}
-
-td.LSobject-list-without-result {
-  text-align:         center;
-}
-
-a.LSobject-list {
-  color:              #000;
-  text-decoration:    none;
-}
-
-/* Action */
-a.LSobject-list-actions {
-  color:              #0072b8;
-  text-decoration:    none;
-}
-
-a.LSobject-list-actions:hover {
-  text-decoration:    underline;
-}
-
-td.LSobject-list-actions {
-  text-align:         center;
-  width:              7em;
-}
-
-/* Name */
-td.LSobject-list-names {
-  cursor:             pointer;
-}
-
-/*
- * Liste des pages
- */
-p.LSobject-list-page {
-  text-align:         center;
-  margin:             0.5em;
-}
-
-a.LSobject-list-page {
-  color:              #52bce5;
-  text-decoration:    none;
-}
-
-a.LSobject-list-page:hover {
-  color:              #0072b8;
-}
-
-strong.LSobject-list-page {
-  color:              #0072b8;
-}
-
-/*
- *******************
- * LSview-actions
- *******************
- */
-a.LSview-actions {
-  text-decoration:    none;
-  color:              #000;
-}
-
-ul.LSview-actions {
-  clear:              both;
-  text-align:         right;
-  font-size:          0.8em;
-  margin:             0;
-  margin-top:         0.4em;
-  margin-right:       3em;
-  margin-bottom:      0.8em;
-  color:              #0072b8;
-}
-
-li.LSview-actions {
-  text-decoration:    none;
-  color:              #000;
-  border:             1px solid #0072b8;
-  border-top:         0;
-  padding:            0.4em;
-  display:            inline;
-  margin-right:       1px;
-}
-
-/*
- *******************
- * question
- *******************
- */
-p.question {
-  margin-left:        3em;
-}
-
-a.question {
-  margin-left:        10em;
-  margin-top:         3em;
-  color:              #0072b8;
-}
-
-/*
- *********************
- * LSview_search
- *********************
- */
-form.LSview_search {
-  float:              right;
-  margin:             0;
-  margin-top:         0.5em;
-  margin-right:       2em;
-}
-
-#LSview_search_param {
-  margin:             0px;
-  padding:            0px;
-}
-
-label.LSview_search {
-  font-size:          0.6em;
-}
-
-input[type='text'].LSview_search {
-  border:             1px solid #0072b8;
-  width:              12em;
-}
-
-input[type='submit'].LSview_search {
-  border:             1px solid #0072b8;
-  width:              8em;
-  background-color:   #52bce5;
-  color:              #fff;
-}
diff --git a/trunk/templates/css/base_print.css b/trunk/templates/css/base_print.css
deleted file mode 100644 (file)
index f5e5237..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#main {
-  width:              840px;
-}
-
-#left {
-  display:            none;
-}
-
-#status {
-  display:            none;
-}
-
-p.LSview-actions {
-  display:            none;
-}
diff --git a/trunk/templates/css/login.css b/trunk/templates/css/login.css
deleted file mode 100644 (file)
index d3e839b..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-#loginform-logo {
-  float:                  left;
-}
-
-div.loginform {
-  margin:                 auto;
-  margin-top:             10%;
-  border:                 1px solid #69c;
-  padding:                1em;
-  width:                  30em;
-  background:             transparent url(../images/login_fd.png) no-repeat scroll 98% 98%;
-}
-
-dl.loginform {
-  margin:                 0;
-  padding:                0;
-}
-
-.loginform dt {
-  position:               relative;
-  left:                   0;
-  top:                    1.1em;
-  width:                  8em;
-  font-weight:            bold;
-  font-size:              0.9em;
-}
-
-.loginform dd {
-  margin:                 0 0 0 9em;
-  padding:                0 0 0em 0em;
-}
-
-.loginform-level{
-  display:                none;
-}
-
-.loginform-id {
-  visibility:             hidden;
-}
-
-.loginform input, .loginform select {
-  border:                 1px inset #ccc;
-  width:                  13em;
-}
-
-.loginform input[type='submit'] {
-  border:                 1px outset #ccc;
-  width:                  11em;
-  margin:                 1em;
-}
-
-#loading_zone {
-  float:                  right;
-  margin-left:            1em;
-}
-
-#LSsession_lostPassword {
-  float:                  right;
-  font-size:              0.8em;
-  text-decoration:        none;
-  color:                  #69c;
-  font-weight:            bold;
-}
diff --git a/trunk/templates/css/recoverpassword.css b/trunk/templates/css/recoverpassword.css
deleted file mode 100644 (file)
index ec9b002..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-#recoverpasswordform-logo {
-  float:                  left;
-}
-
-div.recoverpasswordform {
-  margin:                 auto;
-  margin-top:             10%;
-  border:                 1px solid #69c;
-  padding:                1em;
-  width:                  30em;
-  background:             transparent url(../images/login_fd.png) no-repeat scroll 98% 98%;
-}
-
-dl.recoverpasswordform {
-  margin:                 0;
-  padding:                0;
-}
-
-.recoverpasswordform dt {
-  position:               relative;
-  left:                   0;
-  top:                    1.1em;
-  width:                  8em;
-  font-weight:            bold;
-  font-size:              0.9em;
-}
-
-.recoverpasswordform dd {
-  margin:                 0 0 0 9em;
-  padding:                0 0 0em 0em;
-}
-
-.recoverpasswordform input, .recoverpasswordform select {
-  border:                 1px inset #ccc;
-  width:                  13em;
-}
-
-.recoverpasswordform input[type='submit'] {
-  border:                 1px outset #ccc;
-  width:                  11em;
-  margin:                 1em;
-}
-
-#loading_zone {
-  float:                  right;
-  margin-left:            1em;
-}
-
-#recoverpassword_msg {
-  text-align:             center;
-  font-weight:            bold;
-}
-
-#recoverpassword_back {
-  float:                  right;
-  font-size:              0.8em;
-  text-decoration:        none;
-  color:                  #69c;
-  font-weight:            bold;
-}
diff --git a/trunk/templates/default/LSmail.tpl b/trunk/templates/default/LSmail.tpl
new file mode 100644 (file)
index 0000000..b427f03
--- /dev/null
@@ -0,0 +1,24 @@
+<dl class='LSform'>
+  <dt class='LSform'>{$LSmail_mail_label}</dt>
+  <dd class='LSform'>
+    {if $LSmail_mails != ""}
+      {if $LSmail_mails|@count==1}
+      <input type='text' name='LSmail_mail' id='LSmail_mail' value='{$LSmail_mails[0]}'/>
+      {else}
+      <select name='LSmail_mail' id='LSmail_mail'>
+        {html_options values=$LSmail_mails output=$LSmail_mails}
+      </select>
+      {/if}
+    {else}
+      <input type='text' name='LSmail_mail' id='LSmail_mail'/>
+    {/if}
+  </dd>
+  <dt class='LSform'>{$LSmail_subject_label}</dt>
+  <dd class='LSform'>
+    <input type='text' name='LSmail_subject' id='LSmail_subject'/>
+  </dd>
+  <dt class='LSform'>{$LSmail_msg_label}</dt>
+  <dd class='LSform'>
+    <textarea name='LSmail_msg' id='LSmail_msg'>{$LSmail_msg}</textarea>
+  </dd>
+</dl>
diff --git a/trunk/templates/default/LSrelations.tpl b/trunk/templates/default/LSrelations.tpl
new file mode 100644 (file)
index 0000000..ed31238
--- /dev/null
@@ -0,0 +1,15 @@
+<h1 id='LSrelation_title_{$item.id}' class='LSrelation'>{$item.label}</h1>
+{if $item.actions!=''}
+  <ul class='LSview-actions'>
+  {foreach from=$item.actions item=action}
+    <li class='LSview-actions'><a href='{$action.url}' class='LSview-actions LSrelation_modify' id='{$item.id}'><img src='{$LS_IMAGES_DIR}/{$action.action}.png' alt='{$action.label}' title='{$action.label}' /> {$action.label}</a></li>
+  {/foreach}
+  </ul>
+{/if}
+<ul id='LSrelation_ul_{$item.id}' class='LSrelation'>
+{foreach from=$item.objectList item=object}
+  <li class='LSrelation'><a href='view.php?LSobject={$item.LSobject}&amp;dn={$object.dn}' class='LSrelation' id='{$object.dn}'>{$object.text}</a></li>
+{foreachelse}
+  <li class='LSrelation'>{$item.emptyText}</li>
+{/foreach}
+</ul>
diff --git a/trunk/templates/default/accueil.tpl b/trunk/templates/default/accueil.tpl
new file mode 100644 (file)
index 0000000..069bcac
--- /dev/null
@@ -0,0 +1,3 @@
+{include file='top.tpl'}
+    <h1>{$pagetitle}</h1>
+{include file='bottom.tpl'}
diff --git a/trunk/templates/default/blank.tpl b/trunk/templates/default/blank.tpl
new file mode 100644 (file)
index 0000000..c0cb0b3
--- /dev/null
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <title>LdapSaisie{if $pagetitle != ''} - {$pagetitle}{/if}</title>
+    <link rel="stylesheet" type="text/css" href="{$LS_CSS_DIR}/base.css" title="Normal" />
+    <link rel="stylesheet" type="text/css" href="{$LS_CSS_DIR}/base_print.css" media='print' title="Normal" />
+    {$LSsession_css}
+    {$LSsession_js}
+  </head>
+<body>
+<div id='LSerror'>
+{$LSerrors}
+</div>
+<div id='LSdebug'>
+  <a href='#' id='LSdebug_hidden'>X</a> 
+  <div id='LSdebug_infos'>{if $LSdebug != ''}{$LSdebug}{/if}</div>
+</div>
+</body>
+</html>
diff --git a/trunk/templates/default/bottom.tpl b/trunk/templates/default/bottom.tpl
new file mode 100644 (file)
index 0000000..f23e12f
--- /dev/null
@@ -0,0 +1,5 @@
+  </div>
+  <hr class='spacer' />
+</div>
+</body>
+</html>
diff --git a/trunk/templates/default/create.tpl b/trunk/templates/default/create.tpl
new file mode 100644 (file)
index 0000000..7f2e9c5
--- /dev/null
@@ -0,0 +1,19 @@
+{include file='top.tpl'}
+    {if $pagetitle != ''}<h1>{$pagetitle}</h1>{/if}
+    
+    <form action='{$LSform_action}' method='post' class='LSform'>
+    {$LSform_header}
+    <dl class='LSform'>
+      {foreach from=$LSform_fields item=field}
+      <dt class='LSform{if $field.errors != ''} LSform-errors{/if}'>{$field.label}{if $field.required} *{/if}{if $field.help_info!=""} <img class='LStips' src="{$LS_IMAGES_DIR}/help.png" alt='?' title="{$field.help_info}"/>{/if}</dt>
+      <dd class='LSform'>{$field.html}{if $field.add != ''} <span class='LSform-addfield'>+ Ajouter un champ</span>{/if}</dd>
+      {if $field.errors != ''}
+        {foreach from=$field.errors item=error}
+        <dd class='LSform LSform-errors'>{$error}</dd>
+        {/foreach}
+      {/if}
+      {/foreach}
+      <dd class='LSform'><input type='submit' value='{$LSform_submittxt}' class='LSform' /></dd>
+    </dl>
+    </form>
+{include file='bottom.tpl'}
diff --git a/trunk/templates/default/empty.tpl b/trunk/templates/default/empty.tpl
new file mode 100644 (file)
index 0000000..7043057
--- /dev/null
@@ -0,0 +1,2 @@
+{include file='top.tpl'}
+{include file='bottom.tpl'}
diff --git a/trunk/templates/default/login.tpl b/trunk/templates/default/login.tpl
new file mode 100644 (file)
index 0000000..3196337
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+    <title>LdapSaisie{if $pagetitle != ''} - {$pagetitle}{/if}</title>
+    <link rel="stylesheet" type="text/css" href="{$LS_CSS_DIR}/login.css" media="screen" title="Normal" />
+    {$LSsession_css}
+    {$LSsession_js}
+  </head>
+<body>
+<div id='LSinfos'>{$LSinfos}</div>
+<div id='LSerror'>
+{$LSerrors}
+</div>
+<div id='LSdebug'>
+  <a href='#' id='LSdebug_hidden'>X</a> 
+  <div id='LSdebug_infos'>{if $LSdebug != ''}{$LSdebug}{/if}</div>
+</div>
+<div class='loginform'>
+<img src='{$LS_IMAGES_DIR}/logo.png' alt='Logo' id='loginform_logo' />
+<div id='loading_zone'></div>
+<form action='{$loginform_action}' method='post'>
+<dl class='loginform'>
+  <dt {$loginform_ldapserver_style}>{$loginform_label_ldapserver}</dt>
+  <dd {$loginform_ldapserver_style}>
+    <select name='LSsession_ldapserver' id='LSsession_ldapserver'>{html_options values=$loginform_ldapservers_index output=$loginform_ldapservers_name selected=$ldapServerId}</select>
+  </dd>
+  <dt class='loginform-level' id='LSsession_topDn_label' {$loginform_ldapserver_style}>{$loginform_label_level}</dt>
+  <dd class='loginform-level' {$loginform_ldapserver_style}><select name='LSsession_topDn' id='LSsession_topDn'>{html_options values=$loginform_topdn_index output=$loginform_topdn_name selected=$topDn}</select></dd>
+  <dt>{$loginform_label_user}</dt>
+  <dd><input type='text' name='LSsession_user' /></dd>
+  <dt>{$loginform_label_pwd}</dt>
+  <dd><input type='password' name='LSsession_pwd' /></dd>
+  <dd><input type='submit' value='{$loginform_label_submit}' /></dd>
+</dl>
+</form>
+<a href='index.php?LSsession_recoverPassword' id='LSsession_lostPassword'>{$loginform_label_lostpassword}</a>
+</div>
+</body>
+</html>
diff --git a/trunk/templates/default/modify.tpl b/trunk/templates/default/modify.tpl
new file mode 100644 (file)
index 0000000..79e50ec
--- /dev/null
@@ -0,0 +1,40 @@
+{include file='top.tpl'}
+    {if $pagetitle != ''}<h1>{$pagetitle}</h1>{/if}
+    {if $LSview_actions != ''}
+    <ul class='LSview-actions'>
+      {foreach from=$LSview_actions item=item}
+        <li class='LSview-actions'><a href='{$item.url}' class='LSview-actions'><img src='{$LS_IMAGES_DIR}/{$item.action}.png' alt='{$item.label}' title='{$item.label}' /> {$item.label}</a></li>
+      {/foreach}
+    </ul>
+    {/if}
+    
+    {if $LSformElement_image!=''}
+    <div class='LSformElement_image{if $LSformElement_image_errors} LSformElement_image_errors{/if}'>
+      {if $LSformElement_image_actions!='' && !$LSformElement_image_errors}
+      <ul class='LSformElement_image_actions'>
+          <li><img src='{$LS_IMAGES_DIR}/zoom.png' class='LSformElement_image_actions LSformElement_image_action_zoom' id='LSformElement_image_action_zoom_{$LSformElement_image.id}' /></li>
+        {foreach from=$LSformElement_image_actions item=item}
+          <li><img src='{$LS_IMAGES_DIR}/{$item}.png' class='LSformElement_image_actions LSformElement_image_action_{$item}' id='LSformElement_image_action_{$item}_{$LSformElement_image.id}' /></li>
+        {/foreach}
+      </ul>
+      {/if}
+      <img src='{$LSformElement_image.img}' class='LSformElement_image LSsmoothbox' id='LSformElement_image_{$LSformElement_image.id}' />
+    </div>
+    {/if}
+    
+    <form action='{$LSform_action}' method='post' enctype="multipart/form-data" class='LSform'>
+    {$LSform_header}
+    <dl class='LSform'>
+      {foreach from=$LSform_fields item=field}
+      <dt class='LSform{if $field.errors != ''} LSform-errors{/if}'>{$field.label}{if $field.required} *{/if}{if $field.help_info!=""} <img class='LStips' src="{$LS_IMAGES_DIR}/help.png" alt='?' title="{$field.help_info}"/>{/if}</dt>
+      <dd class='LSform'>{$field.html}{if $field.add != ''} <span class='LSform-addfield'>+ Ajouter un champ</span>{/if}</dd>
+      {if $field.errors != ''}
+        {foreach from=$field.errors item=error}
+        <dd class='LSform LSform-errors'>{$error}</dd>
+        {/foreach}
+      {/if}
+      {/foreach}
+      <dd class='LSform'><input type='submit' value='{$LSform_submittxt}' class='LSform' /></dd>
+    </dl>
+    </form>
+{include file='bottom.tpl'}
diff --git a/trunk/templates/default/question.tpl b/trunk/templates/default/question.tpl
new file mode 100644 (file)
index 0000000..e8b0306
--- /dev/null
@@ -0,0 +1,13 @@
+{include file='top.tpl'}
+    {if $pagetitle != ''}<h1>{$pagetitle}</h1>{/if}
+    {if $LSview_actions != ''}
+    <p class='LSview-actions'>
+      {foreach from=$LSview_actions item=item}
+        <a href='{$item.url}' class='LSview-actions'><img src='{$LS_IMAGES_DIR}/{$item.action}.png' alt='{$item.label}' title='{$item.label}' /></a>
+      {/foreach}
+    </p>
+    {/if}
+    
+    <p class='question'>{$question}</p>
+    {if $validation_txt!=''}<a href='{$validation_url}' class='question'>Valider</a>{/if}
+{include file='bottom.tpl'}
diff --git a/trunk/templates/default/recoverpassword.tpl b/trunk/templates/default/recoverpassword.tpl
new file mode 100644 (file)
index 0000000..e79951d
--- /dev/null
@@ -0,0 +1,39 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+    <title>LdapSaisie{if $pagetitle != ''} - {$pagetitle}{/if}</title>
+    <link rel="stylesheet" type="text/css" href="{$LS_CSS_DIR}/recoverpassword.css" media="screen" title="Normal" />
+    {$LSsession_css}
+    {$LSsession_js}
+  </head>
+<body>
+<div id='LSerror'>
+{$LSerrors}
+</div>
+<div id='LSdebug'>
+  <a href='#' id='LSdebug_hidden'>X</a> 
+  <div id='LSdebug_infos'>{if $LSdebug != ''}{$LSdebug}{/if}</div>
+</div>
+<div class='recoverpasswordform'>
+<img src='{$LS_IMAGES_DIR}/logo.png' alt='Logo' id='recoverpasswordform_logo' />
+<div id='loading_zone'></div>
+<form action='{$recoverpasswordform_action}' method='post'>
+<dl class='recoverpasswordform'>
+  <dt {$recoverpasswordform_ldapserver_style}>{$recoverpasswordform_label_ldapserver}</dt>
+  <dd {$recoverpasswordform_ldapserver_style}>
+    <select name='LSsession_ldapserver' id='LSsession_ldapserver'>{html_options values=$recoverpasswordform_ldapservers_index output=$recoverpasswordform_ldapservers_name selected=$ldapServerId}</select>
+  </dd>
+  <dt>{$recoverpasswordform_label_user}</dt>
+  <dd><input type='text' name='LSsession_user' /></dd>
+  <dd><input type='submit' value='{$recoverpasswordform_label_submit}' /></dd>
+</dl>
+</form>
+
+<p id='recoverpassword_msg'>{$recoverpassword_msg}</p>
+
+<a href='index.php' id='recoverpassword_back'>{$recoverpasswordform_label_back}</a>
+</div>
+</body>
+</html>
diff --git a/trunk/templates/default/redirect.tpl b/trunk/templates/default/redirect.tpl
new file mode 100644 (file)
index 0000000..f3801ed
--- /dev/null
@@ -0,0 +1,11 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+    <META http-equiv="refresh" content="0; URL={$url}">
+    <title>LdapSaisie - Redirection</title>
+  </head>
+<body>
+</body>
+</html>
diff --git a/trunk/templates/default/select.tpl b/trunk/templates/default/select.tpl
new file mode 100644 (file)
index 0000000..800acdb
--- /dev/null
@@ -0,0 +1,35 @@
+<div class='LSobject-select' id='LSobject-select-main-div'>
+  <h1 id='title'>
+    {$pagetitle}
+  </h1>
+
+  <form action='{$LSview_search.action}' method='post' class='LSview_search LSselect_search btn' id='LSselect_search_form'>
+    {foreach from=$LSview_search_hidden_fields item=field_value key=field_name}
+      <input type='hidden' name='{$field_name}' value='{$field_value}' />
+    {/foreach}
+    
+    {if $LSsession_subDn!=""}
+      <label id='LSselect_topDn_label'>{$label_level}
+        <select name='LSselect_topDn' id='LSselect_topDn'>
+          {html_options values=$LSsession_subDn_indexes output=$LSsession_subDn_names selected=$LSselect_topDn}
+        </select>
+      </label>
+    {/if}
+    <div class='LSselect_search'>
+      <input type='text' name='LSview_pattern' class='LSview_search' value="{$LSview_search_pattern}"/>
+      <input type='submit' value='{$LSview_search.submit}' name='LSview_search_submit' class='LSview_search' />
+      <img src='{$LS_IMAGES_DIR}/refresh.png' alt='{$_refresh}' title='{$_refresh}' id='LSselect_refresh_btn' />
+      <p id='LSview_search_param'>
+        <label class='LSview_search'>{$LSview_search_approx_label} : <input type='checkbox' name='LSview_approx' class='LSview_search' {if $LSview_search_approx!=''}checked{/if} /></label>
+        <label class='LSview_search'>{$LSview_search_recur_label} : <input type='checkbox' name='LSview_recur' class='LSview_search' {if $LSview_search_recur!=''}checked{/if}/></label>
+      </p>
+    </div>
+  </form>
+  <div id='content'>
+    {include file='select_table.tpl'}
+  </div>
+</div>
+<script type='text/javascript'>
+LSselect_multiple = {$LSselect_multiple};
+varLSselect = new LSselect();
+</script>
diff --git a/trunk/templates/default/select_table.tpl b/trunk/templates/default/select_table.tpl
new file mode 100644 (file)
index 0000000..695c170
--- /dev/null
@@ -0,0 +1,32 @@
+<table class='LSobject-list' id='LSselect-object' caption='{$LSobject_list_objecttype}'>
+  <tr class='LSobject-list'>
+    <th class='LSobject-list LSobject-select-check'></th>
+    <th class='LSobject-list sortBy_displayValue'>{if $LSobject_list_orderby == 'displayValue'}<strong>{$LSobject_list_objectname}</strong><img src='{$LS_IMAGES_DIR}/{$LSobject_list_ordersense}.png' class='LSobject-list-ordersense' alt='{$LSobject_list_ordersense}'/>{else}{$LSobject_list_objectname}{/if}</th>
+    {if $LSobject_list_subDn}<th class='LSobject-list LSobject-list-subdn sortBy_subDn'>{if $LSobject_list_orderby == 'subDn'}<strong>{$label_level}</strong><img src='{$LS_IMAGES_DIR}/{$LSobject_list_ordersense}.png' class='LSobject-list-ordersense' alt='{$LSobject_list_ordersense}'/>{else}{$label_level}{/if}</th>{/if}
+  </tr>
+{assign var='bis' value=false}
+{foreach from=$LSobject_list item=object}
+    <tr class='LSobject-list{if $bis} LSobject-list-bis{assign var='bis' value=false}{else}{assign var='bis' value=true}{/if}'>
+        <td class='LSobject-list LSobject-select-check'><input type='{if $LSselect_multiple}checkbox{else}radio{/if}' name='LSobjects_selected[]' value='{$object.dn}' {if $object.select}checked{/if} class='LSobject-select' /></td>
+        <td class='LSobject-list LSobject-select-names'>{$object.displayValue}</td>
+        {if $LSobject_list_subDn}<td class='LSobject-list LSobject-select-level'>{$object.subDn}</td>{/if}
+    </tr>
+{foreachelse}
+    <tr class='LSobject-list'>
+      <td colspan='3' class='LSobject-list-without-result'>{$LSobject_list_without_result_label}</td>
+    </tr> 
+{/foreach}
+</table>
+{if $LSobject_list_nbpage}
+  <p class='LSobject-list-page'>
+  {section name=listpage loop=$LSobject_list_nbpage step=1}
+    {if $LSobject_list_currentpage == $smarty.section.listpage.index}
+      <strong class='LSobject-list-page'>{$LSobject_list_currentpage+1}</strong> 
+    {else}
+      <a href='select.php?LSobject={$LSobject_list_objecttype}&amp;multiple={$LSselect_multiple}&amp;page={$smarty.section.listpage.index}&amp;{$LSobject_list_filter}'  class='LSobject-list-page'>{$smarty.section.listpage.index+1}</a> 
+    {/if}
+  {/section}
+  </p>
+{/if}
+<div id='LSdebug_txt'>{$LSdebug_txt}</div>
+<div id='LSerror_txt'>{$LSerror_txt}</div>
diff --git a/trunk/templates/default/top.tpl b/trunk/templates/default/top.tpl
new file mode 100644 (file)
index 0000000..f6e5ed1
--- /dev/null
@@ -0,0 +1,51 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+  <head>
+    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
+    <title>LdapSaisie{if $pagetitle != ''} - {$pagetitle}{/if}</title>
+    <link rel="stylesheet" type="text/css" href="{$LS_CSS_DIR}/base.css" title="Normal" />
+    <link rel="stylesheet" type="text/css" href="{$LS_CSS_DIR}/base_print.css" media='print' title="Normal" />
+    {$LSsession_css}
+    {$LSsession_js}
+  </head>
+<body>
+<div id='LSjsConfig'>
+{$LSjsConfig}
+</div>
+<div id='LSinfos'>{$LSinfos}</div>
+<div id='LSerror'>
+{$LSerrors}
+</div>
+<div id='LSdebug'>
+  <span id='LSdebug_hidden'>X</span> 
+  <div id='LSdebug_infos'>{if $LSdebug != ''}{$LSdebug}{/if}</div>
+</div>
+
+<div id='main'>
+  <div id='left'>
+    <a href='index.php'><img src='{$LS_IMAGES_DIR}/logo.png' alt='Logo' id='logo'/></a>
+    
+    {if $LSsession_subDn!=""}
+      <form action="index.php" method='post' id='LSsession_topDn_form'>
+        <label>{$label_level}
+          <a href="index.php?LSsession_refresh"><img src='{$LS_IMAGES_DIR}/refresh.png' alt='{$_refresh}' title='{$_refresh}' /></a>
+          <select name='LSsession_topDn' id='LSsession_topDn'>
+            {html_options values=$LSsession_subDn_indexes output=$LSsession_subDn_names selected=$LSsession_subDn}
+          </select>
+        </label>
+      </form>
+    {/if}
+    <ul class='menu'>
+    {foreach from=$LSaccess item=label key=LSobject_type}
+      <li class='menu'><a href='view.php?LSobject={$LSobject_type}' class='menu'>{$label}</a></li>
+    {/foreach}
+    </ul>
+  </div>
+  <div id='right'>
+    
+    
+
+    <p id='status'>
+    Connecté en tant que <span id='user_name'>{$LSsession_username}</span></b> <a href='index.php?LSsession_logout'><img src='{$LS_IMAGES_DIR}/logout.png' alt='Logout' title='Logout' /></a>
+    </p>
diff --git a/trunk/templates/default/view.tpl b/trunk/templates/default/view.tpl
new file mode 100644 (file)
index 0000000..5e3ed6d
--- /dev/null
@@ -0,0 +1,29 @@
+{include file='top.tpl'}
+    {if $pagetitle != ''}<h1>{$pagetitle}</h1>{/if}
+    {if $LSview_actions != ''}
+    <ul class='LSview-actions'>
+      {foreach from=$LSview_actions item=item}
+        <li class='LSview-actions'><a href='{$item.url}' class='LSview-actions' ><img src='{$LS_IMAGES_DIR}/{$item.action}.png' alt='{$item.label}' title='{$item.label}' /> {$item.label}</a></li>
+      {/foreach}
+    </ul>
+    {/if}
+    {if $LSformElement_image!=''}
+    <div class='LSformElement_image'>
+      <a href='{$LSformElement_image.img}.png' rel='rien ici' title='comment' class='mb'><img src='{$LSformElement_image.img}' class='LSformElement_image LSsmoothbox' id='LSformElement_image_{$LSformElement_image.id}' /></a>
+    </div>
+    {/if}
+    <input type='hidden' name='LSform_objecttype' id='LSform_objecttype'  value='{$LSform_object.type}'/>
+    <input type='hidden' name='LSform_objectdn' id='LSform_objectdn'  value='{$LSform_object.dn}'/>
+    <dl class='LSform'>
+      {foreach from=$LSform_fields item=field}
+      <dt class='LSform'>{$field.label}</dt>
+      <dd class='LSform'>{$field.html}</dd>
+      {/foreach}
+    </dl>
+    
+    {if $LSrelations!=''}
+      {foreach from=$LSrelations item=item}
+        {include file='LSrelations.tpl'}
+      {/foreach}
+    {/if}
+{include file='bottom.tpl'}
diff --git a/trunk/templates/default/viewList.tpl b/trunk/templates/default/viewList.tpl
new file mode 100644 (file)
index 0000000..2ec4f39
--- /dev/null
@@ -0,0 +1,61 @@
+{include file='top.tpl'}
+      <form action='{$LSview_search.action}' method='post' class='LSview_search'>
+        {foreach from=$LSview_search_hidden_fields item=value key=name}
+          <input type='hidden' name='{$name}' value='{$value}' />
+        {/foreach}
+        <input type='text' name='LSview_pattern' class='LSview_search' value="{$LSview_search_pattern}"/>
+        <input type='submit' value='{$LSview_search.submit}' name='LSview_search_submit' class='LSview_search' />
+        <p id='LSview_search_param'>
+          <label class='LSview_search'>{$LSview_search_approx_label} : <input type='checkbox' name='LSview_approx' class='LSview_search' {if $LSview_search_approx!=''}checked{/if} /></label>
+          <label class='LSview_search'>{$LSview_search_recur_label} : <input type='checkbox' name='LSview_recur' class='LSview_search' {if $LSview_search_recur!=''}checked{/if}/></label>
+        </p>
+      </form>
+    <h1>
+      {$pagetitle}
+    </h1>
+    
+    {if $LSview_actions != ''}
+    <ul class='LSview-actions'>
+      {foreach from=$LSview_actions item=item}
+        <li class='LSview-actions'><a href='{$item.url}' class='LSview-actions'><img src='{$LS_IMAGES_DIR}/{$item.action}.png' alt='{$item.label}' title='{$item.label}' /> {$item.label}</a></li>
+      {/foreach}
+    </ul>
+    {/if}
+
+      <table class='LSobject-list'>
+        <tr class='LSobject-list'>
+          <th class='LSobject-list'><a href='view.php?LSobject={$LSobject_list_objecttype}&amp;orderby=displayValue'>{if $LSobject_list_orderby == 'displayValue'}<strong>{$LSobject_list_objectname}</strong><img src='{$LS_IMAGES_DIR}/{$LSobject_list_ordersense}.png' class='LSobject-list-ordersense' alt='{$LSobject_list_ordersense}'/>{else}{$LSobject_list_objectname}{/if}</a></th>
+          {if $LSobject_list_subDn}<th class='LSobject-list LSobject-list-subdn'><a href='view.php?LSobject={$LSobject_list_objecttype}&amp;orderby=subDn'>{if $LSobject_list_orderby == 'subDn'}<strong>{$label_level}</strong><img src='{$LS_IMAGES_DIR}/{$LSobject_list_ordersense}.png' class='LSobject-list-ordersense' alt='{$LSobject_list_ordersense}'/>{else}{$label_level}{/if}</a></th>{/if}
+          <th class='LSobject-list'>{$_Actions}</th>
+        </tr>
+        {assign var='bis' value=false}
+        {foreach from=$LSobject_list item=object}
+        <tr class='LSobject-list{if $bis} LSobject-list-bis{assign var='bis' value=false}{else}{assign var='bis' value=true}{/if}'>
+            <td class='LSobject-list LSobject-list-names'><a href='view.php?LSobject={$LSobject_list_objecttype}&amp;dn={$object.dn}'  class='LSobject-list'>{$object.displayValue}</a> </td>
+            {if $LSobject_list_subDn}<td class='LSobject-list'>{$object.subDn}</td>{/if}
+            <td class='LSobject-list LSobject-list-actions'>
+            {if $object.actions!=''}
+            {foreach from=$object.actions item=item}
+              <a href='{$item.url}'  class='LSobject-list-actions'><img src='{$LS_IMAGES_DIR}/{$item.action}.png' alt='{$item.label}' title='{$item.label}'/></a>
+            {/foreach}
+            {/if}
+            </td>
+        </tr>
+        {foreachelse}
+          <tr class='LSobject-list'>
+            <td colspan='3' class='LSobject-list-without-result'>{$LSobject_list_without_result_label}</td>
+          </tr>  
+        {/foreach}
+    </table>
+    {if $LSobject_list_nbpage}
+      <p class='LSobject-list-page'>
+      {section name=listpage loop=$LSobject_list_nbpage step=1}
+        {if $LSobject_list_currentpage == $smarty.section.listpage.index}
+          <strong class='LSobject-list-page'>{$LSobject_list_currentpage+1}</strong> 
+        {else}
+          <a href='view.php?LSobject={$LSobject_list_objecttype}&amp;page={$smarty.section.listpage.index}&amp;{$LSobject_list_filter}'  class='LSobject-list-page'>{$smarty.section.listpage.index+1}</a> 
+        {/if}
+      {/section}
+      </p>
+    {/if}
+{include file='bottom.tpl'}
diff --git a/trunk/templates/empty.tpl b/trunk/templates/empty.tpl
deleted file mode 100644 (file)
index 7043057..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-{include file='top.tpl'}
-{include file='bottom.tpl'}
diff --git a/trunk/templates/images/ASC.png b/trunk/templates/images/ASC.png
deleted file mode 100644 (file)
index f140f7d..0000000
Binary files a/trunk/templates/images/ASC.png and /dev/null differ
diff --git a/trunk/templates/images/DESC.png b/trunk/templates/images/DESC.png
deleted file mode 100644 (file)
index a2da817..0000000
Binary files a/trunk/templates/images/DESC.png and /dev/null differ
diff --git a/trunk/templates/images/add.png b/trunk/templates/images/add.png
deleted file mode 100644 (file)
index 1aa7f09..0000000
Binary files a/trunk/templates/images/add.png and /dev/null differ
diff --git a/trunk/templates/images/ajax-loader.gif b/trunk/templates/images/ajax-loader.gif
deleted file mode 100644 (file)
index b7710d8..0000000
Binary files a/trunk/templates/images/ajax-loader.gif and /dev/null differ
diff --git a/trunk/templates/images/calendar.png b/trunk/templates/images/calendar.png
deleted file mode 100644 (file)
index 6589138..0000000
Binary files a/trunk/templates/images/calendar.png and /dev/null differ
diff --git a/trunk/templates/images/clear.png b/trunk/templates/images/clear.png
deleted file mode 100644 (file)
index e6c8e8b..0000000
Binary files a/trunk/templates/images/clear.png and /dev/null differ
diff --git a/trunk/templates/images/close.png b/trunk/templates/images/close.png
deleted file mode 100644 (file)
index fcf3b38..0000000
Binary files a/trunk/templates/images/close.png and /dev/null differ
diff --git a/trunk/templates/images/copy.png b/trunk/templates/images/copy.png
deleted file mode 100644 (file)
index 8dd48c4..0000000
Binary files a/trunk/templates/images/copy.png and /dev/null differ
diff --git a/trunk/templates/images/create.png b/trunk/templates/images/create.png
deleted file mode 100644 (file)
index 4c3efdd..0000000
Binary files a/trunk/templates/images/create.png and /dev/null differ
diff --git a/trunk/templates/images/delete.png b/trunk/templates/images/delete.png
deleted file mode 100644 (file)
index 0e0953c..0000000
Binary files a/trunk/templates/images/delete.png and /dev/null differ
diff --git a/trunk/templates/images/fd_menu.png b/trunk/templates/images/fd_menu.png
deleted file mode 100644 (file)
index 4fc12fe..0000000
Binary files a/trunk/templates/images/fd_menu.png and /dev/null differ
diff --git a/trunk/templates/images/generate.png b/trunk/templates/images/generate.png
deleted file mode 100644 (file)
index 67de2c6..0000000
Binary files a/trunk/templates/images/generate.png and /dev/null differ
diff --git a/trunk/templates/images/help.png b/trunk/templates/images/help.png
deleted file mode 100644 (file)
index 5c87017..0000000
Binary files a/trunk/templates/images/help.png and /dev/null differ
diff --git a/trunk/templates/images/hide.png b/trunk/templates/images/hide.png
deleted file mode 100644 (file)
index 0cb777a..0000000
Binary files a/trunk/templates/images/hide.png and /dev/null differ
diff --git a/trunk/templates/images/imgbroken.png b/trunk/templates/images/imgbroken.png
deleted file mode 100644 (file)
index adeb879..0000000
Binary files a/trunk/templates/images/imgbroken.png and /dev/null differ
diff --git a/trunk/templates/images/loading.gif b/trunk/templates/images/loading.gif
deleted file mode 100644 (file)
index cc70a7a..0000000
Binary files a/trunk/templates/images/loading.gif and /dev/null differ
diff --git a/trunk/templates/images/login_fd.png b/trunk/templates/images/login_fd.png
deleted file mode 100644 (file)
index cab07c6..0000000
Binary files a/trunk/templates/images/login_fd.png and /dev/null differ
diff --git a/trunk/templates/images/logo.png b/trunk/templates/images/logo.png
deleted file mode 100644 (file)
index 9ac0079..0000000
Binary files a/trunk/templates/images/logo.png and /dev/null differ
diff --git a/trunk/templates/images/logout.png b/trunk/templates/images/logout.png
deleted file mode 100644 (file)
index 0010931..0000000
Binary files a/trunk/templates/images/logout.png and /dev/null differ
diff --git a/trunk/templates/images/mail.png b/trunk/templates/images/mail.png
deleted file mode 100644 (file)
index 7348aed..0000000
Binary files a/trunk/templates/images/mail.png and /dev/null differ
diff --git a/trunk/templates/images/modify.png b/trunk/templates/images/modify.png
deleted file mode 100644 (file)
index 663cbad..0000000
Binary files a/trunk/templates/images/modify.png and /dev/null differ
diff --git a/trunk/templates/images/person.png b/trunk/templates/images/person.png
deleted file mode 100755 (executable)
index 71038ed..0000000
Binary files a/trunk/templates/images/person.png and /dev/null differ
diff --git a/trunk/templates/images/puce.png b/trunk/templates/images/puce.png
deleted file mode 100644 (file)
index 7dcbe36..0000000
Binary files a/trunk/templates/images/puce.png and /dev/null differ
diff --git a/trunk/templates/images/refresh.png b/trunk/templates/images/refresh.png
deleted file mode 100644 (file)
index ff803be..0000000
Binary files a/trunk/templates/images/refresh.png and /dev/null differ
diff --git a/trunk/templates/images/remove.png b/trunk/templates/images/remove.png
deleted file mode 100644 (file)
index 00b654e..0000000
Binary files a/trunk/templates/images/remove.png and /dev/null differ
diff --git a/trunk/templates/images/rss.png b/trunk/templates/images/rss.png
deleted file mode 100644 (file)
index 677d87f..0000000
Binary files a/trunk/templates/images/rss.png and /dev/null differ
diff --git a/trunk/templates/images/url_add.png b/trunk/templates/images/url_add.png
deleted file mode 100644 (file)
index 2e94507..0000000
Binary files a/trunk/templates/images/url_add.png and /dev/null differ
diff --git a/trunk/templates/images/url_go.png b/trunk/templates/images/url_go.png
deleted file mode 100644 (file)
index 5cc2b0d..0000000
Binary files a/trunk/templates/images/url_go.png and /dev/null differ
diff --git a/trunk/templates/images/verify.png b/trunk/templates/images/verify.png
deleted file mode 100644 (file)
index 4c8204a..0000000
Binary files a/trunk/templates/images/verify.png and /dev/null differ
diff --git a/trunk/templates/images/view.png b/trunk/templates/images/view.png
deleted file mode 100644 (file)
index d072d3c..0000000
Binary files a/trunk/templates/images/view.png and /dev/null differ
diff --git a/trunk/templates/images/xmpp.png b/trunk/templates/images/xmpp.png
deleted file mode 100644 (file)
index e54ebeb..0000000
Binary files a/trunk/templates/images/xmpp.png and /dev/null differ
diff --git a/trunk/templates/images/zoom.png b/trunk/templates/images/zoom.png
deleted file mode 100644 (file)
index fd7f0b0..0000000
Binary files a/trunk/templates/images/zoom.png and /dev/null differ
diff --git a/trunk/templates/login.tpl b/trunk/templates/login.tpl
deleted file mode 100644 (file)
index 46d1387..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-  <head>
-    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-    <title>LdapSaisie{if $pagetitle != ''} - {$pagetitle}{/if}</title>
-    <link rel="stylesheet" type="text/css" href="templates/css/login.css" media="screen" title="Normal" />
-    {$LSsession_css}
-    {$LSsession_js}
-  </head>
-<body>
-<div id='LSinfos'>{$LSinfos}</div>
-<div id='LSerror'>
-{$LSerrors}
-</div>
-<div id='LSdebug'>
-  <a href='#' id='LSdebug_hidden'>X</a> 
-  <div id='LSdebug_infos'>{if $LSdebug != ''}{$LSdebug}{/if}</div>
-</div>
-<div class='loginform'>
-<img src='templates/images/logo.png' alt='Logo' id='loginform_logo' />
-<div id='loading_zone'></div>
-<form action='{$loginform_action}' method='post'>
-<dl class='loginform'>
-  <dt {$loginform_ldapserver_style}>{$loginform_label_ldapserver}</dt>
-  <dd {$loginform_ldapserver_style}>
-    <select name='LSsession_ldapserver' id='LSsession_ldapserver'>{html_options values=$loginform_ldapservers_index output=$loginform_ldapservers_name selected=$ldapServerId}</select>
-  </dd>
-  <dt class='loginform-level' id='LSsession_topDn_label' {$loginform_ldapserver_style}>{$loginform_label_level}</dt>
-  <dd class='loginform-level' {$loginform_ldapserver_style}><select name='LSsession_topDn' id='LSsession_topDn'>{html_options values=$loginform_topdn_index output=$loginform_topdn_name selected=$topDn}</select></dd>
-  <dt>{$loginform_label_user}</dt>
-  <dd><input type='text' name='LSsession_user' /></dd>
-  <dt>{$loginform_label_pwd}</dt>
-  <dd><input type='password' name='LSsession_pwd' /></dd>
-  <dd><input type='submit' value='{$loginform_label_submit}' /></dd>
-</dl>
-</form>
-<a href='index.php?LSsession_recoverPassword' id='LSsession_lostPassword'>{$loginform_label_lostpassword}</a>
-</div>
-</body>
-</html>
diff --git a/trunk/templates/modify.tpl b/trunk/templates/modify.tpl
deleted file mode 100644 (file)
index 6258a25..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-{include file='top.tpl'}
-    {if $pagetitle != ''}<h1>{$pagetitle}</h1>{/if}
-    {if $LSview_actions != ''}
-    <ul class='LSview-actions'>
-      {foreach from=$LSview_actions item=item}
-        <li class='LSview-actions'><a href='{$item.url}' class='LSview-actions'><img src='templates/images/{$item.action}.png' alt='{$item.label}' title='{$item.label}' /> {$item.label}</a></li>
-      {/foreach}
-    </ul>
-    {/if}
-    
-    {if $LSformElement_image!=''}
-    <div class='LSformElement_image{if $LSformElement_image_errors} LSformElement_image_errors{/if}'>
-      {if $LSformElement_image_actions!='' && !$LSformElement_image_errors}
-      <ul class='LSformElement_image_actions'>
-          <li><img src='templates/images/zoom.png' class='LSformElement_image_actions LSformElement_image_action_zoom' id='LSformElement_image_action_zoom_{$LSformElement_image.id}' /></li>
-        {foreach from=$LSformElement_image_actions item=item}
-          <li><img src='templates/images/{$item}.png' class='LSformElement_image_actions LSformElement_image_action_{$item}' id='LSformElement_image_action_{$item}_{$LSformElement_image.id}' /></li>
-        {/foreach}
-      </ul>
-      {/if}
-      <img src='{$LSformElement_image.img}' class='LSformElement_image LSsmoothbox' id='LSformElement_image_{$LSformElement_image.id}' />
-    </div>
-    {/if}
-    
-    <form action='{$LSform_action}' method='post' enctype="multipart/form-data" class='LSform'>
-    {$LSform_header}
-    <dl class='LSform'>
-      {foreach from=$LSform_fields item=field}
-      <dt class='LSform'>{$field.label}{if $field.help_info!=""} <img class='LStips' src="templates/images/help.png" alt='?' title="{$field.help_info}"/>{/if}</dt>
-      <dd class='LSform'>{$field.html}{if $field.add != ''} <span class='LSform-addfield'>+ Ajouter un champ</span>{/if}</dd>
-      {if $field.errors != ''}
-        {foreach from=$field.errors item=error}
-        <dd class='LSform LSform-errors'>{$error}</dd>
-        {/foreach}
-      {/if}
-      {/foreach}
-      <dd class='LSform'><input type='submit' value='{$LSform_submittxt}' class='LSform' /></dd>
-    </dl>
-    </form>
-{include file='bottom.tpl'}
diff --git a/trunk/templates/question.tpl b/trunk/templates/question.tpl
deleted file mode 100644 (file)
index 1fd13cf..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-{include file='top.tpl'}
-    {if $pagetitle != ''}<h1>{$pagetitle}</h1>{/if}
-    {if $LSview_actions != ''}
-    <p class='LSview-actions'>
-      {foreach from=$LSview_actions item=item}
-        <a href='{$item.url}' class='LSview-actions'><img src='templates/images/{$item.action}.png' alt='{$item.label}' title='{$item.label}' /></a>
-      {/foreach}
-    </p>
-    {/if}
-    
-    <p class='question'>{$question}</p>
-    {if $validation_txt!=''}<a href='{$validation_url}' class='question'>Valider</a>{/if}
-{include file='bottom.tpl'}
diff --git a/trunk/templates/recoverpassword.tpl b/trunk/templates/recoverpassword.tpl
deleted file mode 100644 (file)
index 2ebe205..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-  <head>
-    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-    <title>LdapSaisie{if $pagetitle != ''} - {$pagetitle}{/if}</title>
-    <link rel="stylesheet" type="text/css" href="templates/css/recoverpassword.css" media="screen" title="Normal" />
-    {$LSsession_css}
-    {$LSsession_js}
-  </head>
-<body>
-<div id='LSerror'>
-{$LSerrors}
-</div>
-<div id='LSdebug'>
-  <a href='#' id='LSdebug_hidden'>X</a> 
-  <div id='LSdebug_infos'>{if $LSdebug != ''}{$LSdebug}{/if}</div>
-</div>
-<div class='recoverpasswordform'>
-<img src='templates/images/logo.png' alt='Logo' id='recoverpasswordform_logo' />
-<div id='loading_zone'></div>
-<form action='{$recoverpasswordform_action}' method='post'>
-<dl class='recoverpasswordform'>
-  <dt {$recoverpasswordform_ldapserver_style}>{$recoverpasswordform_label_ldapserver}</dt>
-  <dd {$recoverpasswordform_ldapserver_style}>
-    <select name='LSsession_ldapserver' id='LSsession_ldapserver'>{html_options values=$recoverpasswordform_ldapservers_index output=$recoverpasswordform_ldapservers_name selected=$ldapServerId}</select>
-  </dd>
-  <dt>{$recoverpasswordform_label_user}</dt>
-  <dd><input type='text' name='LSsession_user' /></dd>
-  <dd><input type='submit' value='{$recoverpasswordform_label_submit}' /></dd>
-</dl>
-</form>
-
-<p id='recoverpassword_msg'>{$recoverpassword_msg}</p>
-
-<a href='index.php' id='recoverpassword_back'>{$recoverpasswordform_label_back}</a>
-</div>
-</body>
-</html>
diff --git a/trunk/templates/redirect.tpl b/trunk/templates/redirect.tpl
deleted file mode 100644 (file)
index f3801ed..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-  <head>
-    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-    <META http-equiv="refresh" content="0; URL={$url}">
-    <title>LdapSaisie - Redirection</title>
-  </head>
-<body>
-</body>
-</html>
diff --git a/trunk/templates/select.tpl b/trunk/templates/select.tpl
deleted file mode 100644 (file)
index 089b7ec..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-<div class='LSobject-select' id='LSobject-select-main-div'>
-  <h1 id='title'>
-    {$pagetitle}
-  </h1>
-
-  <form action='{$LSview_search.action}' method='post' class='LSview_search LSselect_search btn' id='LSselect_search_form'>
-    {foreach from=$LSview_search_hidden_fields item=field_value key=field_name}
-      <input type='hidden' name='{$field_name}' value='{$field_value}' />
-    {/foreach}
-    
-    {if $LSsession_subDn!=""}
-      <label id='LSselect_topDn_label'>{$label_level}
-        <select name='LSselect_topDn' id='LSselect_topDn'>
-          {html_options values=$LSsession_subDn_indexes output=$LSsession_subDn_names selected=$LSselect_topDn}
-        </select>
-      </label>
-    {/if}
-    <div class='LSselect_search'>
-      <input type='text' name='LSview_pattern' class='LSview_search' value="{$LSview_search_pattern}"/>
-      <input type='submit' value='{$LSview_search.submit}' name='LSview_search_submit' class='LSview_search' />
-      <img src='templates/images/refresh.png' alt='{$_refresh}' title='{$_refresh}' id='LSselect_refresh_btn' />
-      <p id='LSview_search_param'>
-        <label class='LSview_search'>{$LSview_search_approx_label} : <input type='checkbox' name='LSview_approx' class='LSview_search' {if $LSview_search_approx!=''}checked{/if} /></label>
-        <label class='LSview_search'>{$LSview_search_recur_label} : <input type='checkbox' name='LSview_recur' class='LSview_search' {if $LSview_search_recur!=''}checked{/if}/></label>
-      </p>
-    </div>
-  </form>
-  <div id='content'>
-    {include file='select_table.tpl'}
-  </div>
-</div>
-<script type='text/javascript'>
-LSselect_multiple = {$LSselect_multiple};
-varLSselect = new LSselect();
-</script>
diff --git a/trunk/templates/select_table.tpl b/trunk/templates/select_table.tpl
deleted file mode 100644 (file)
index 5c4e607..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<table class='LSobject-list' id='LSselect-object' caption='{$LSobject_list_objecttype}'>
-  <tr class='LSobject-list'>
-    <th class='LSobject-list LSobject-select-check'></th>
-    <th class='LSobject-list sortBy_displayValue'>{if $LSobject_list_orderby == 'displayValue'}<strong>{$LSobject_list_objectname}</strong><img src='templates/images/{$LSobject_list_ordersense}.png' class='LSobject-list-ordersense' alt='{$LSobject_list_ordersense}'/>{else}{$LSobject_list_objectname}{/if}</th>
-    {if $LSobject_list_subDn}<th class='LSobject-list LSobject-list-subdn sortBy_subDn'>{if $LSobject_list_orderby == 'subDn'}<strong>{$label_level}</strong><img src='templates/images/{$LSobject_list_ordersense}.png' class='LSobject-list-ordersense' alt='{$LSobject_list_ordersense}'/>{else}{$label_level}{/if}</th>{/if}
-  </tr>
-{assign var='bis' value=false}
-{foreach from=$LSobject_list item=object}
-    <tr class='LSobject-list{if $bis} LSobject-list-bis{assign var='bis' value=false}{else}{assign var='bis' value=true}{/if}'>
-        <td class='LSobject-list LSobject-select-check'><input type='{if $LSselect_multiple}checkbox{else}radio{/if}' name='LSobjects_selected[]' value='{$object.dn}' {if $object.select}checked{/if} class='LSobject-select' /></td>
-        <td class='LSobject-list LSobject-select-names'>{$object.displayValue}</td>
-        {if $LSobject_list_subDn}<td class='LSobject-list LSobject-select-level'>{$object.subDn}</td>{/if}
-    </tr>
-{foreachelse}
-    <tr class='LSobject-list'>
-      <td colspan='3' class='LSobject-list-without-result'>{$LSobject_list_without_result_label}</td>
-    </tr> 
-{/foreach}
-</table>
-{if $LSobject_list_nbpage}
-  <p class='LSobject-list-page'>
-  {section name=listpage loop=$LSobject_list_nbpage step=1}
-    {if $LSobject_list_currentpage == $smarty.section.listpage.index}
-      <strong class='LSobject-list-page'>{$LSobject_list_currentpage+1}</strong> 
-    {else}
-      <a href='select.php?LSobject={$LSobject_list_objecttype}&amp;multiple={$LSselect_multiple}&amp;page={$smarty.section.listpage.index}&amp;{$LSobject_list_filter}'  class='LSobject-list-page'>{$smarty.section.listpage.index+1}</a> 
-    {/if}
-  {/section}
-  </p>
-{/if}
-<div id='LSdebug_txt'>{$LSdebug_txt}</div>
-<div id='LSerror_txt'>{$LSerror_txt}</div>
diff --git a/trunk/templates/top.tpl b/trunk/templates/top.tpl
deleted file mode 100644 (file)
index 1e9ff81..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
- "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-  <head>
-    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-    <title>LdapSaisie{if $pagetitle != ''} - {$pagetitle}{/if}</title>
-    <link rel="stylesheet" type="text/css" href="templates/css/base.css" title="Normal" />
-    <link rel="stylesheet" type="text/css" href="templates/css/base_print.css" media='print' title="Normal" />
-    {$LSsession_css}
-    {$LSsession_js}
-  </head>
-<body>
-<div id='LSjsConfig'>
-{$LSjsConfig}
-</div>
-<div id='LSinfos'>{$LSinfos}</div>
-<div id='LSerror'>
-{$LSerrors}
-</div>
-<div id='LSdebug'>
-  <span id='LSdebug_hidden'>X</span> 
-  <div id='LSdebug_infos'>{if $LSdebug != ''}{$LSdebug}{/if}</div>
-</div>
-
-<div id='main'>
-  <div id='left'>
-    <a href='index.php'><img src='templates/images/logo.png' alt='Logo' id='logo'/></a>
-    
-    {if $LSsession_subDn!=""}
-      <form action="index.php" method='post' id='LSsession_topDn_form'>
-        <label>{$label_level}
-          <a href="index.php?LSsession_refresh"><img src='templates/images/refresh.png' alt='{$_refresh}' title='{$_refresh}' /></a>
-          <select name='LSsession_topDn' id='LSsession_topDn'>
-            {html_options values=$LSsession_subDn_indexes output=$LSsession_subDn_names selected=$LSsession_subDn}
-          </select>
-        </label>
-      </form>
-    {/if}
-    <ul class='menu'>
-    {foreach from=$LSaccess item=label key=LSobject_type}
-      <li class='menu'><a href='view.php?LSobject={$LSobject_type}' class='menu'>{$label}</a></li>
-    {/foreach}
-    </ul>
-  </div>
-  <div id='right'>
-    
-    
-
-    <p id='status'>
-    Connecté en tant que <span id='user_name'>{$LSsession_username}</span></b> <a href='index.php?LSsession_logout'><img src='templates/images/logout.png' alt='Logout' title='Logout' /></a>
-    </p>
diff --git a/trunk/templates/view.tpl b/trunk/templates/view.tpl
deleted file mode 100644 (file)
index 6ee9ee0..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-{include file='top.tpl'}
-    {if $pagetitle != ''}<h1>{$pagetitle}</h1>{/if}
-    {if $LSview_actions != ''}
-    <ul class='LSview-actions'>
-      {foreach from=$LSview_actions item=item}
-        <li class='LSview-actions'><a href='{$item.url}' class='LSview-actions' ><img src='templates/images/{$item.action}.png' alt='{$item.label}' title='{$item.label}' /> {$item.label}</a></li>
-      {/foreach}
-    </ul>
-    {/if}
-    {if $LSformElement_image!=''}
-    <div class='LSformElement_image'>
-      <a href='{$LSformElement_image.img}.png' rel='rien ici' title='comment' class='mb'><img src='{$LSformElement_image.img}' class='LSformElement_image LSsmoothbox' id='LSformElement_image_{$LSformElement_image.id}' /></a>
-    </div>
-    {/if}
-    <input type='hidden' name='LSform_objecttype' id='LSform_objecttype'  value='{$LSform_object.type}'/>
-    <input type='hidden' name='LSform_objectdn' id='LSform_objectdn'  value='{$LSform_object.dn}'/>
-    <dl class='LSform'>
-      {foreach from=$LSform_fields item=field}
-      <dt class='LSform'>{$field.label}</dt>
-      <dd class='LSform'>{$field.html}</dd>
-      {/foreach}
-    </dl>
-    
-    {if $LSrelations!=''}
-      {foreach from=$LSrelations item=item}
-        {include file='LSrelations.tpl'}
-      {/foreach}
-    {/if}
-{include file='bottom.tpl'}
diff --git a/trunk/templates/viewList.tpl b/trunk/templates/viewList.tpl
deleted file mode 100644 (file)
index a9acbe1..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-{include file='top.tpl'}
-      <form action='{$LSview_search.action}' method='post' class='LSview_search'>
-        {foreach from=$LSview_search_hidden_fields item=value key=name}
-          <input type='hidden' name='{$name}' value='{$value}' />
-        {/foreach}
-        <input type='text' name='LSview_pattern' class='LSview_search' value="{$LSview_search_pattern}"/>
-        <input type='submit' value='{$LSview_search.submit}' name='LSview_search_submit' class='LSview_search' />
-        <p id='LSview_search_param'>
-          <label class='LSview_search'>{$LSview_search_approx_label} : <input type='checkbox' name='LSview_approx' class='LSview_search' {if $LSview_search_approx!=''}checked{/if} /></label>
-          <label class='LSview_search'>{$LSview_search_recur_label} : <input type='checkbox' name='LSview_recur' class='LSview_search' {if $LSview_search_recur!=''}checked{/if}/></label>
-        </p>
-      </form>
-    <h1>
-      {$pagetitle}
-    </h1>
-    
-    {if $LSview_actions != ''}
-    <ul class='LSview-actions'>
-      {foreach from=$LSview_actions item=item}
-        <li class='LSview-actions'><a href='{$item.url}' class='LSview-actions'><img src='templates/images/{$item.action}.png' alt='{$item.label}' title='{$item.label}' /> {$item.label}</a></li>
-      {/foreach}
-    </ul>
-    {/if}
-
-      <table class='LSobject-list'>
-        <tr class='LSobject-list'>
-          <th class='LSobject-list'><a href='view.php?LSobject={$LSobject_list_objecttype}&amp;orderby=displayValue'>{if $LSobject_list_orderby == 'displayValue'}<strong>{$LSobject_list_objectname}</strong><img src='templates/images/{$LSobject_list_ordersense}.png' class='LSobject-list-ordersense' alt='{$LSobject_list_ordersense}'/>{else}{$LSobject_list_objectname}{/if}</a></th>
-          {if $LSobject_list_subDn}<th class='LSobject-list LSobject-list-subdn'><a href='view.php?LSobject={$LSobject_list_objecttype}&amp;orderby=subDn'>{if $LSobject_list_orderby == 'subDn'}<strong>{$label_level}</strong><img src='templates/images/{$LSobject_list_ordersense}.png' class='LSobject-list-ordersense' alt='{$LSobject_list_ordersense}'/>{else}{$label_level}{/if}</a></th>{/if}
-          <th class='LSobject-list'>{$_Actions}</th>
-        </tr>
-        {assign var='bis' value=false}
-        {foreach from=$LSobject_list item=object}
-        <tr class='LSobject-list{if $bis} LSobject-list-bis{assign var='bis' value=false}{else}{assign var='bis' value=true}{/if}'>
-            <td class='LSobject-list LSobject-list-names'><a href='view.php?LSobject={$LSobject_list_objecttype}&amp;dn={$object.dn}'  class='LSobject-list'>{$object.displayValue}</a> </td>
-            {if $LSobject_list_subDn}<td class='LSobject-list'>{$object.subDn}</td>{/if}
-            <td class='LSobject-list LSobject-list-actions'>
-            {if $object.actions!=''}
-            {foreach from=$object.actions item=item}
-              <a href='{$item.url}'  class='LSobject-list-actions'><img src='templates/images/{$item.action}.png' alt='{$item.label}' title='{$item.label}'/></a>
-            {/foreach}
-            {/if}
-            </td>
-        </tr>
-        {foreachelse}
-          <tr class='LSobject-list'>
-            <td colspan='3' class='LSobject-list-without-result'>{$LSobject_list_without_result_label}</td>
-          </tr>  
-        {/foreach}
-    </table>
-    {if $LSobject_list_nbpage}
-      <p class='LSobject-list-page'>
-      {section name=listpage loop=$LSobject_list_nbpage step=1}
-        {if $LSobject_list_currentpage == $smarty.section.listpage.index}
-          <strong class='LSobject-list-page'>{$LSobject_list_currentpage+1}</strong> 
-        {else}
-          <a href='view.php?LSobject={$LSobject_list_objecttype}&amp;page={$smarty.section.listpage.index}&amp;{$LSobject_list_filter}'  class='LSobject-list-page'>{$smarty.section.listpage.index+1}</a> 
-        {/if}
-      {/section}
-      </p>
-    {/if}
-{include file='bottom.tpl'}