From 5ca959fa688255a8de61f89fe2751eb4d24a6912 Mon Sep 17 00:00:00 2001 From: Florian Schaal <florian@schaal-24.de> Date: Tue, 22 Mar 2016 09:22:07 -0400 Subject: [PATCH] fixed typo --- interface/web/admin/list/directive_snippets.list.php | 88 ++++++++++++++++++++++++++----------------- 1 files changed, 53 insertions(+), 35 deletions(-) diff --git a/interface/web/admin/list/directive_snippets.list.php b/interface/web/admin/list/directive_snippets.list.php index 593ff80..c41bcd5 100644 --- a/interface/web/admin/list/directive_snippets.list.php +++ b/interface/web/admin/list/directive_snippets.list.php @@ -13,66 +13,84 @@ // Name of the list -$liste["name"] = "directive_snippets"; +$liste["name"] = "directive_snippets"; // Database table -$liste["table"] = "directive_snippets"; +$liste["table"] = "directive_snippets"; // Index index field of the database table -$liste["table_idx"] = "directive_snippets_id"; +$liste["table_idx"] = "directive_snippets_id"; // Search Field Prefix -$liste["search_prefix"] = "search_"; +$liste["search_prefix"] = "search_"; // Records per page -$liste["records_per_page"] = "15"; +$liste["records_per_page"] = "15"; // Script File of the list -$liste["file"] = "directive_snippets_list.php"; +$liste["file"] = "directive_snippets_list.php"; // Script file of the edit form -$liste["edit_file"] = "directive_snippets_edit.php"; +$liste["edit_file"] = "directive_snippets_edit.php"; // Script File of the delete script -$liste["delete_file"] = "directive_snippets_del.php"; +$liste["delete_file"] = "directive_snippets_del.php"; // Paging Template -$liste["paging_tpl"] = "templates/paging.tpl.htm"; +$liste["paging_tpl"] = "templates/paging.tpl.htm"; // Enable auth -$liste["auth"] = "yes"; +$liste["auth"] = "yes"; /***************************************************** * Suchfelder *****************************************************/ -$liste["item"][] = array( 'field' => "active", - 'datatype' => "VARCHAR", - 'formtype' => "SELECT", - 'op' => "=", - 'prefix' => "", - 'suffix' => "", - 'width' => "", - 'value' => array('y' => "<div id=\"ir-Yes\" class=\"swap\"><span>Yes</span></div>",'n' => "<div class=\"swap\" id=\"ir-No\"><span>No</span></div>")); +$liste["item"][] = array( 'field' => "active", + 'datatype' => "VARCHAR", + 'formtype' => "SELECT", + 'op' => "=", + 'prefix' => "", + 'suffix' => "", + 'width' => "", + 'value' => array('y' => "<div id=\"ir-Yes\" class=\"swap\"><span>".$app->lng('yes_txt')."</span></div>", 'n' => "<div class=\"swap\" id=\"ir-No\"><span>".$app->lng('no_txt')."</span></div>")); -$liste["item"][] = array( 'field' => "name", - 'datatype' => "VARCHAR", - 'formtype' => "TEXT", - 'op' => "like", - 'prefix' => "%", - 'suffix' => "%", - 'width' => "", - 'value' => ""); +$liste["item"][] = array( 'field' => "name", + 'datatype' => "VARCHAR", + 'formtype' => "TEXT", + 'op' => "like", + 'prefix' => "%", + 'suffix' => "%", + 'width' => "", + 'value' => ""); -$liste["item"][] = array( 'field' => "type", - 'datatype' => "VARCHAR", - 'formtype' => "SELECT", - 'op' => "=", - 'prefix' => "", - 'suffix' => "", - 'width' => "", - 'value' => array('apache' => 'Apache', 'nginx' => 'nginx', 'php' => 'PHP', 'proxy' => 'Proxy')); +$liste["item"][] = array( 'field' => "type", + 'datatype' => "VARCHAR", + 'formtype' => "SELECT", + 'op' => "=", + 'prefix' => "", + 'suffix' => "", + 'width' => "", + 'value' => array('apache' => 'Apache', 'nginx' => 'nginx', 'php' => 'PHP', 'proxy' => 'Proxy')); + +$liste["item"][] = array( 'field' => "customer_viewable", + 'datatype' => "VARCHAR", + 'formtype' => "SELECT", + 'op' => "=", + 'prefix' => "", + 'suffix' => "", + 'width' => "", + 'value' => array('y' => "<div id=\"ir-Yes\" class=\"swap\"><span>".$app->lng('yes_txt')."</span></div>", 'n' => "<div class=\"swap\" id=\"ir-No\"><span>".$app->lng('no_txt')."</span></div>")); + +$liste["item"][] = array( 'field' => "master_directive_snippets_id", + 'datatype' => "BOOLEAN", + 'formtype' => "SELECT", + 'op' => "IS", + 'prefix' => "", + 'suffix' => "", + 'width' => "", + 'value' => array(0 => $app->lng('select_directive_snippet_txt'), 1 => $app->lng('select_master_directive_snippet_txt'))); -?> \ No newline at end of file +?> -- Gitblit v1.9.1