From dd0130670fe3cab4c7e2c1ab4f3bf0d2b2d512b0 Mon Sep 17 00:00:00 2001
From: Denny Bortfeldt <denny@bortfeldt.net>
Date: Mon, 27 Jun 2016 18:02:16 -0400
Subject: [PATCH] When uploading a logo which is smaller than the current ispconfig one, then the logo will be on the left side of the header. In my opinion it will look better when it's centered. You could vote about it ;)
---
interface/web/admin/list/users.list.php | 111 ++++++++++++++++++++++++++++---------------------------
1 files changed, 56 insertions(+), 55 deletions(-)
diff --git a/interface/web/admin/list/users.list.php b/interface/web/admin/list/users.list.php
index 2a3ce49..53e3f44 100644
--- a/interface/web/admin/list/users.list.php
+++ b/interface/web/admin/list/users.list.php
@@ -1,78 +1,79 @@
<?php
-
/*
- Datentypen:
- - INTEGER (Wandelt Ausdr�cke in Int um)
- - DOUBLE
- - CURRENCY (Formatiert Zahlen nach W�hrungsnotation)
- - VARCHAR (kein weiterer Format Check)
- - TEXT (kein weiterer Format Check)
- - DATE (Datumsformat, Timestamp Umwandlung)
+ Datatypes:
+ - INTEGER
+ - DOUBLE
+ - CURRENCY
+ - VARCHAR
+ - TEXT
+ - DATE
*/
+//* Name of the list
+$liste['name'] = 'users';
+//* Database table
+$liste['table'] = 'sys_user';
-// Name der Liste
-$liste["name"] = "users";
+//* Primary index column
+$liste['table_idx'] = 'userid';
-// Datenbank Tabelle
-$liste["table"] = "sys_user";
+//* Search column prefix
+$liste['search_prefix'] = 'search_';
-// Index Feld der datenbank
-$liste["table_idx"] = "userid";
+//* Records per page
+$liste['records_per_page'] = "15";
-// Search Field Prefix
-$liste["search_prefix"] = "search_";
+//* Script file for list
+$liste['file'] = 'users_list.php';
-// Eintr�ge pro Seite
-$liste["records_per_page"] = 15;
+//* Script file to edit
+$liste['edit_file'] = 'users_edit.php';
-// Script File der Liste
-$liste["file"] = "users_list.php";
+//* Script file to delete
+$liste['delete_file'] = 'users_del.php';
-// Script File der Liste
-$liste["edit_file"] = "users_edit.php";
+//* Paging template
+$liste['paging_tpl'] = 'templates/paging.tpl.htm';
-// Script File der Liste
-$liste["delete_file"] = "users_del.php";
-
-// Paging Template
-$liste["paging_tpl"] = "templates/paging.tpl.htm";
-
-// Script File der Liste
-$liste["auth"] = "no";
+//* Enable auth
+$liste['auth'] = 'no';
/*****************************************************
* Suchfelder
*****************************************************/
-$liste["item"][] = array( 'field' => "username",
- 'datatype' => "VARCHAR",
- 'op' => "like",
- 'prefix' => "%",
- 'suffix' => "%",
- 'width' => "");
+$liste["item"][] = array( 'field' => "client_id",
+ 'datatype' => "INTEGER",
+ 'formtype' => "TEXT",
+ 'op' => "=",
+ 'prefix' => "",
+ 'suffix' => "",
+ 'width' => "",
+ 'value' => "");
-$liste["item"][] = array( 'field' => "vorname",
- 'datatype' => "VARCHAR",
- 'op' => "like",
- 'prefix' => "%",
- 'suffix' => "%",
- 'width' => "");
+$liste["item"][] = array( 'field' => "active",
+ 'datatype' => "VARCHAR",
+ 'formtype' => "SELECT",
+ 'op' => "=",
+ 'prefix' => "",
+ 'suffix' => "",
+ 'width' => "",
+ 'value' => array('1' => "<div id=\"ir-Yes\" class=\"swap\"><span>".$app->lng('yes_txt')."</span></div>", '0' => "<div class=\"swap\" id=\"ir-No\"><span>".$app->lng('no_txt')."</span></div>"));
-$liste["item"][] = array( 'field' => "name",
- 'datatype' => "VARCHAR",
- 'op' => "like",
- 'prefix' => "%",
- 'suffix' => "%",
- 'width' => "");
+$liste['item'][] = array( 'field' => 'username',
+ 'datatype' => 'VARCHAR',
+ 'op' => 'like',
+ 'prefix' => '%',
+ 'suffix' => '%',
+ 'width' => '');
-$liste["item"][] = array( 'field' => "ort",
- 'datatype' => "VARCHAR",
- 'op' => "like",
- 'prefix' => "%",
- 'suffix' => "%",
- 'width' => "");
+$liste['item'][] = array( 'field' => 'groups',
+ 'datatype' => 'VARCHAR',
+ 'op' => 'like',
+ 'prefix' => '%',
+ 'suffix' => '%',
+ 'width' => '');
-?>
\ No newline at end of file
+?>
--
Gitblit v1.9.1