New file |
| | |
| | | since i don't have the time to develope this module at the moment i want to explain how the database is constructed, so that someone else is able to contiue on this module.
|
| | |
|
| | | First of all: Why do we need this module?
|
| | | -----------------------------------------
|
| | | At the moment it is possible for a customer to register every domain, even subdomains belonging to other customers!
|
| | | With the "domain"-module it is possible to assign domains to customers and to implement domain-robot-tools.
|
| | |
|
| | | The next step would be to implement selector boxes to other modules like "dns", "mail", etc. where the customer can only select domains which belong to him.
|
| | |
|
| | | THE TABLES:
|
| | | -----------
|
| | |
|
| | | domain
|
| | | ______
|
| | |
|
| | | - domain_provider_id: reference to table domain_provider; over which provider was the domain ordered!
|
| | | - provider_domain_id: reference-id from the domain-provider
|
| | | - ...
|
| | | - added_at: record creation date
|
| | | - connected_at: date at which the domain was connected - important for billing!
|
| | | - disconnected_at: empty by default. Date when the domain was canceled.
|
| | | - status: status-info from the registrar
|
| | |
|
| | |
|
| | | domain_handle
|
| | | -------------
|
| | | most registrars work with handles. In this table we assign handles from different registrars (DENIC, etc.) to the ispc-clients
|
| | |
|
| | |
|
| | | domain_provider
|
| | | ---------------
|
| | | the domainprovider is the one where the domains are ordere at (Hetzner, 1und1, HostEurope, etc.)
|
| | |
|
| | | - provider: name of the Provider
|
| | | - is_extern: BOOL; Only True if the client has ordered the domain somewhere else on his own and want's to use the domain on the ISPC-Server. - IMPORTANT FOR DOMAIN-BILLING!
|
| | | - domainrobot_interface: for future development - describes the Providers domainrobot-interface: could be NULL, EMAIL, SOAP, XML, etc.
|
| | |
|
| | | domain_tld
|
| | | ----------
|
| | | all available TopLevelDomains
|
| | |
|
| | | - tld: The TopLevelDomain (without dot: e.g.: "de" NOT ".de")
|
| | | - domain_provider: reference to table domain_provider; which provider is responsible for registration
|
| | | - domain_registrar: who is the domain registrar (DENIC, EURID, etc.); same name as in domain_handle - IMPORTANT for Table domain_handle: e.g.: When the domain test.de is ordered only DENIC-Handles from the Customer are displayed and valid!
|
| | |
|
| | |
|
| | |
|
| | | cheers
|
| | |
|
| | | if you have any question you can contact me over the forum.
|
| | | http://www.howtoforge.com/forums/member.php?u=50859
|
| | |
|
| | | 2009-04-11 |
New file |
| | |
| | | <?php
|
| | |
|
| | | /*
|
| | | Copyright (c) 2007, Till Brehm, projektfarm Gmbh
|
| | | All rights reserved.
|
| | |
|
| | | Redistribution and use in source and binary forms, with or without modification,
|
| | | are permitted provided that the following conditions are met:
|
| | |
|
| | | * Redistributions of source code must retain the above copyright notice,
|
| | | this list of conditions and the following disclaimer.
|
| | | * Redistributions in binary form must reproduce the above copyright notice,
|
| | | this list of conditions and the following disclaimer in the documentation
|
| | | and/or other materials provided with the distribution.
|
| | | * Neither the name of ISPConfig nor the names of its contributors
|
| | | may be used to endorse or promote products derived from this software without
|
| | | specific prior written permission.
|
| | |
|
| | | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
| | | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| | | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
| | | IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
| | | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
| | | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| | | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| | | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| | | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
| | | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| | | */
|
| | |
|
| | | /******************************************
|
| | | * Begin Form configuration
|
| | | ******************************************/
|
| | |
|
| | | $list_def_file = "list/domain.list.php";
|
| | | $tform_def_file = "form/domain.tform.php";
|
| | |
|
| | | /******************************************
|
| | | * End Form configuration
|
| | | ******************************************/
|
| | |
|
| | | require_once('../../lib/config.inc.php');
|
| | | require_once('../../lib/app.inc.php');
|
| | |
|
| | | //* Check permissions for module
|
| | | $app->auth->check_module_permissions('domain');
|
| | |
|
| | | $app->uses('tpl,tform,tform_actions');
|
| | | $app->load('tform_actions');
|
| | |
|
| | | class page_action extends tform_actions {
|
| | |
|
| | | function onBeforeDelete() {
|
| | | global $app; $conf;
|
| | | |
| | | if($app->tform->checkPerm($this->id,'d') == false) $app->error($app->lng('error_no_delete_permission'));
|
| | | |
| | | // Delete all records that belog to this domain.
|
| | | $app->db->query("DELETE FROM domain WHERE domain_id = $domain_id");
|
| | | }
|
| | | }
|
| | |
|
| | | $page = new page_action;
|
| | | $page->onDelete();
|
| | |
|
| | | ?> |
New file |
| | |
| | | <?php
|
| | | /*
|
| | | Copyright (c) 2007, Till Brehm, projektfarm Gmbh
|
| | | All rights reserved.
|
| | |
|
| | | Redistribution and use in source and binary forms, with or without modification,
|
| | | are permitted provided that the following conditions are met:
|
| | |
|
| | | * Redistributions of source code must retain the above copyright notice,
|
| | | this list of conditions and the following disclaimer.
|
| | | * Redistributions in binary form must reproduce the above copyright notice,
|
| | | this list of conditions and the following disclaimer in the documentation
|
| | | and/or other materials provided with the distribution.
|
| | | * Neither the name of ISPConfig nor the names of its contributors
|
| | | may be used to endorse or promote products derived from this software without
|
| | | specific prior written permission.
|
| | |
|
| | | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
| | | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| | | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
| | | IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
| | | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
| | | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| | | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
|
| | | OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
| | | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
| | | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| | | */
|
| | |
|
| | |
|
| | | /******************************************
|
| | | * Begin Form configuration
|
| | | ******************************************/
|
| | |
|
| | | $tform_def_file = "form/domain.tform.php";
|
| | |
|
| | | /******************************************
|
| | | * End Form configuration
|
| | | ******************************************/
|
| | |
|
| | | require_once('../../lib/config.inc.php');
|
| | | require_once('../../lib/app.inc.php');
|
| | |
|
| | | //* Check permissions for module
|
| | | $app->auth->check_module_permissions('domain');
|
| | |
|
| | | // Loading classes
|
| | | $app->uses('tpl,tform,tform_actions');
|
| | | $app->load('tform_actions');
|
| | |
|
| | | class page_action extends tform_actions {
|
| | |
|
| | | function onShowNew() {
|
| | | global $app, $conf;
|
| | | |
| | | if($_SESSION["s"]["user"]["typ"] != 'admin') {
|
| | | $app->error($app->tform->wordbook["onlyforadmin_txt"]);
|
| | | }
|
| | | |
| | | parent::onShowNew();
|
| | | }
|
| | | |
| | | function onShowEnd() {
|
| | | global $app, $conf;
|
| | |
|
| | | if($_SESSION["s"]["user"]["typ"] != 'admin') {
|
| | | $app->error($app->tform->wordbook["onlyforadmin_txt"]);
|
| | | }
|
| | |
|
| | | // Fill the client select field
|
| | | $sql = "SELECT groupid, name FROM sys_group WHERE client_id > 0";
|
| | | $clients = $app->db->queryAllRecords($sql);
|
| | | $client_select = "<option value='0'></option>";
|
| | | if(is_array($clients)) {
|
| | | foreach( $clients as $client) {
|
| | | $selected = @($client["groupid"] == $this->dataRecord["sys_groupid"])?'SELECTED':'';
|
| | | $client_select .= "<option value='$client[groupid]' $selected>$client[name]</option>\r\n";
|
| | | }
|
| | | }
|
| | | $app->tpl->setVar("client_group_id",$client_select);
|
| | | |
| | | parent::onShowEnd();
|
| | | }
|
| | | |
| | | function onSubmit() {
|
| | | global $app, $conf;
|
| | | |
| | | parent::onSubmit();
|
| | | }
|
| | | |
| | | function onAfterInsert() {
|
| | | global $app, $conf;
|
| | | |
| | | }
|
| | | |
| | | function onBeforeUpdate () {
|
| | | global $app, $conf;
|
| | | |
| | | }
|
| | | |
| | | function onAfterUpdate() {
|
| | | global $app, $conf;
|
| | | |
| | | }
|
| | | |
| | | function onAfterDelete() {
|
| | | global $app, $conf;
|
| | | |
| | | }
|
| | | |
| | | }
|
| | |
|
| | | $page = new page_action;
|
| | | $page->onLoad();
|
| | |
|
| | | ?> |
New file |
| | |
| | | <?php
|
| | | require_once('../../lib/config.inc.php');
|
| | | require_once('../../lib/app.inc.php');
|
| | |
|
| | | /******************************************
|
| | | * Begin Form configuration
|
| | | ******************************************/
|
| | |
|
| | | $list_def_file = "list/domain.list.php";
|
| | |
|
| | | /******************************************
|
| | | * End Form configuration
|
| | | ******************************************/
|
| | |
|
| | | //* Check permissions for module
|
| | | $app->auth->check_module_permissions('domain');
|
| | |
|
| | | $app->uses('listform_actions');
|
| | |
|
| | | $app->listform_actions->SQLOrderBy = 'ORDER BY domain';
|
| | | $app->listform_actions->onLoad();
|
| | |
|
| | | ?> |
New file |
| | |
| | | <?php
|
| | |
|
| | | /*
|
| | | Form Definition
|
| | |
|
| | | Tabledefinition
|
| | |
|
| | | Datatypes:
|
| | | - INTEGER (Forces the input to Int)
|
| | | - DOUBLE
|
| | | - CURRENCY (Formats the values to currency notation)
|
| | | - VARCHAR (no format check, maxlength: 255)
|
| | | - TEXT (no format check)
|
| | | - DATE (Dateformat, automatic conversion to timestamps)
|
| | |
|
| | | Formtype:
|
| | | - TEXT (Textfield)
|
| | | - TEXTAREA (Textarea)
|
| | | - PASSWORD (Password textfield, input is not shown when edited)
|
| | | - SELECT (Select option field)
|
| | | - RADIO
|
| | | - CHECKBOX
|
| | | - CHECKBOXARRAY
|
| | | - FILE
|
| | |
|
| | | VALUE:
|
| | | - Wert oder Array
|
| | |
|
| | | Hint:
|
| | | The ID field of the database table is not part of the datafield definition.
|
| | | The ID field must be always auto incement (int or bigint).
|
| | |
|
| | |
|
| | | */
|
| | |
|
| | | $form["title"] = "Domain";
|
| | | $form["description"] = "";
|
| | | $form["name"] = "domain";
|
| | | $form["action"] = "domain_edit.php";
|
| | | $form["db_table"] = "domain";
|
| | | $form["db_table_idx"] = "domain_id";
|
| | | $form["db_history"] = "yes";
|
| | | $form["tab_default"] = "domain";
|
| | | $form["list_default"] = "domain_list.php";
|
| | | $form["auth"] = 'yes'; // yes / no
|
| | |
|
| | | $form["auth_preset"]["userid"] = 0; // 0 = id of the user, > 0 id must match with id of current user
|
| | | $form["auth_preset"]["groupid"] = 0; // 0 = default groupid of the user, > 0 id must match with groupid of current user
|
| | | $form["auth_preset"]["perm_user"] = 'riud'; //r = read, i = insert, u = update, d = delete
|
| | | $form["auth_preset"]["perm_group"] = 'riud'; //r = read, i = insert, u = update, d = delete
|
| | | $form["auth_preset"]["perm_other"] = ''; //r = read, i = insert, u = update, d = delete
|
| | |
|
| | | // Clients may not change the website basic settings if they are not resellers
|
| | | if($app->auth->has_clients($_SESSION['s']['user']['userid']) || $app->auth->is_admin()) {
|
| | | $domain_edit_readonly = false;
|
| | | } else {
|
| | | $domain_edit_readonly = true;
|
| | | }
|
| | |
|
| | |
|
| | | $form["tabs"]['domain'] = array (
|
| | | 'title' => "Domain",
|
| | | 'width' => 100,
|
| | | 'template' => "templates/domain_edit.htm",
|
| | | 'readonly' => $domain_edit_readonly,
|
| | | 'fields' => array (
|
| | | ##################################
|
| | | # Begin Datatable fields
|
| | | ##################################
|
| | | 'domain' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'TEXT',
|
| | | 'validators' => array ( 0 => array ( 'type' => 'NOTEMPTY',
|
| | | 'errmsg'=> 'domain_error_empty'),
|
| | | 1 => array ( 'type' => 'UNIQUE',
|
| | | 'errmsg'=> 'domain_error_unique'),
|
| | | 2 => array ( 'type' => 'REGEX',
|
| | | 'regex' => '/^[\w\.\-]{2,64}\.[a-zA-Z]{2,10}$/',
|
| | | 'errmsg'=> 'domain_error_regex'),
|
| | | ),
|
| | | 'default' => '',
|
| | | 'value' => '',
|
| | | 'width' => '30',
|
| | | 'maxlength' => '255'
|
| | | ),
|
| | | 'tld' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'SELECT',
|
| | | 'default' => '',
|
| | | 'datasource' => array ( 'type' => 'SQL',
|
| | | 'querystring' => "SELECT tld FROM domain_tld ORDER BY tld",
|
| | | 'keyfield'=> 'tld',
|
| | | 'valuefield'=> 'tld'
|
| | | ),
|
| | | 'value' => ''
|
| | | ),
|
| | | 'domain_provider_id' => array (
|
| | | 'datatype' => 'INTEGER',
|
| | | 'formtype' => 'SELECT',
|
| | | 'default' => '',
|
| | | 'datasource' => array ( 'type' => 'SQL',
|
| | | 'querystring' => "SELECT domain_provider_id, provider FROM domain_provider ORDER BY domain_provider_id",
|
| | | 'keyfield'=> 'domain_provider_id',
|
| | | 'valuefield'=> 'provider'
|
| | | ),
|
| | | 'value' => ''
|
| | | ),
|
| | | 'handle_desc' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'SELECT',
|
| | | 'default' => '',
|
| | | 'datasource' => array ( 'type' => 'SQL',
|
| | | 'querystring' => "SELECT handle FROM domain_handle ORDER BY handle",
|
| | | 'keyfield'=> 'handle',
|
| | | 'valuefield'=> 'handle'
|
| | | ),
|
| | | 'value' => ''
|
| | | ),
|
| | | 'handle_admin_c' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'SELECT',
|
| | | 'default' => '',
|
| | | 'datasource' => array ( 'type' => 'SQL',
|
| | | 'querystring' => "SELECT handle FROM domain_handle ORDER BY handle",
|
| | | 'keyfield'=> 'handle',
|
| | | 'valuefield'=> 'handle'
|
| | | ),
|
| | | 'value' => ''
|
| | | ),
|
| | | 'handle_tech_c' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'SELECT',
|
| | | 'default' => '',
|
| | | 'datasource' => array ( 'type' => 'SQL',
|
| | | 'querystring' => "SELECT handle FROM domain_handle ORDER BY handle",
|
| | | 'keyfield'=> 'handle',
|
| | | 'valuefield'=> 'handle'
|
| | | ),
|
| | | 'value' => ''
|
| | | ),
|
| | | 'handle_zone_c' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'SELECT',
|
| | | 'default' => '',
|
| | | 'datasource' => array ( 'type' => 'SQL',
|
| | | 'querystring' => "SELECT handle FROM domain_handle ORDER BY handle",
|
| | | 'keyfield'=> 'handle',
|
| | | 'valuefield'=> 'handle'
|
| | | ),
|
| | | 'value' => ''
|
| | | ),
|
| | | 'status' => array (
|
| | | 'datatype' => 'VARCHAR',
|
| | | 'formtype' => 'SELECT',
|
| | | 'default' => 'y',
|
| | | 'value' => array('connect' => 'connect', 'failed' => 'failed', 'free' => 'free', 'invalid' => 'invalid')
|
| | | ),
|
| | |
|
| | | ##################################
|
| | | # ENDE Datatable fields
|
| | | ##################################
|
| | | )
|
| | | );
|
| | |
|
| | | ?> |
New file |
| | |
| | | <?php
|
| | | require_once('../../lib/config.inc.php');
|
| | | require_once('../../lib/app.inc.php');
|
| | |
|
| | | /******************************************
|
| | | * Begin Form configuration
|
| | | ******************************************/
|
| | |
|
| | | $list_def_file = "list/handle.list.php";
|
| | |
|
| | | /******************************************
|
| | | * End Form configuration
|
| | | ******************************************/
|
| | |
|
| | | //* Check permissions for module
|
| | | $app->auth->check_module_permissions('domain');
|
| | |
|
| | | $app->uses('listform_actions');
|
| | |
|
| | | $app->listform_actions->SQLOrderBy = 'ORDER BY handle';
|
| | | $app->listform_actions->onLoad();
|
| | |
|
| | | ?> |
New file |
| | |
| | | <?php |
| | | $wb['Domain'] = 'Domain'; |
| | | ?> |
New file |
| | |
| | | <?php |
| | | $wb["client_group_id_txt"] = 'Registered for'; |
| | | $wb["domain_txt"] = 'Domain'; |
| | | $wb["domain_hint_txt"] = 'Format: domain.tld'; |
| | | $wb["tld_txt"] = 'TLD'; |
| | | $wb["domain_provider_id_txt"] = 'Domain-Provider'; |
| | | $wb["provider_domain_id_txt"] = 'Reg-ID'; |
| | | $wb["handle_desc_txt"] = 'Desc-C'; |
| | | $wb["handle_admin_c_txt"] = 'Admin-C'; |
| | | $wb["handle_tech_c_txt"] = 'Tech-C'; |
| | | $wb["handle_zone_c_txt"] = 'Zone-C'; |
| | | $wb["added_at_txt"] = 'Added at'; |
| | | $wb["connected_at_txt"] = 'Connected at'; |
| | | $wb["disconnected_at_txt"] = 'Disconnected at'; |
| | | $wb["status_txt"] = 'Status'; |
| | | $wb["date_hint_txt"] = 'Date Format: YYYY-MM-DD'; |
| | | ?> |
New file |
| | |
| | | <?php |
| | | $wb["list_head_txt"] = 'Domains'; |
| | | $wb["domain_id_txt"] = 'ID'; |
| | | $wb["domain_txt"] = 'Domain'; |
| | | $wb["tld_txt"] = 'TLD'; |
| | | $wb["connected_at_txt"] = 'Connected'; |
| | | $wb["disconnected_at_txt"] = 'Disconnected'; |
| | | $wb["status_txt"] = 'Status'; |
| | | $wb["add_new_record_txt"] = 'Add new domain'; |
| | | ?> |
New file |
| | |
| | | <?php
|
| | |
|
| | | $module["name"] = "domain";
|
| | | $module["title"] = "Domain";
|
| | | $module["template"] = "module.tpl.htm";
|
| | | $module["startpage"] = "domain/domain_list.php";
|
| | | $module["tab_width"] = '';
|
| | |
|
| | | /*
|
| | | Websites menu
|
| | | */
|
| | |
|
| | | $items[] = array( 'title' => "Domain",
|
| | | 'target' => 'content',
|
| | | 'link' => 'domain/domain_list.php');
|
| | |
|
| | |
|
| | | $items[] = array( 'title' => "TLD",
|
| | | 'target' => 'content',
|
| | | 'link' => 'domain/tld_list.php');
|
| | |
|
| | |
|
| | | $items[] = array( 'title' => "Handle",
|
| | | 'target' => 'content',
|
| | | 'link' => 'domain/handle_list.php');
|
| | |
|
| | | $items[] = array( 'title' => "Domain-Provider",
|
| | | 'target' => 'content',
|
| | | 'link' => 'domain/provider_list.php');
|
| | |
|
| | | $module["nav"][] = array( 'title' => 'Domain',
|
| | | 'open' => 1,
|
| | | 'items' => $items);
|
| | |
|
| | | // clean up
|
| | | unset($items);
|
| | |
|
| | | ?> |
New file |
| | |
| | | <?php
|
| | |
|
| | | /*
|
| | | Datatypes:
|
| | | - INTEGER
|
| | | - DOUBLE
|
| | | - CURRENCY
|
| | | - VARCHAR
|
| | | - TEXT
|
| | | - DATE
|
| | | */
|
| | |
|
| | |
|
| | |
|
| | | // Name of the list
|
| | | $liste["name"] = "domain";
|
| | |
|
| | | // Database table
|
| | | $liste["table"] = "domain";
|
| | |
|
| | | // Index index field of the database table
|
| | | $liste["table_idx"] = "domain_id";
|
| | |
|
| | | // Search Field Prefix
|
| | | $liste["search_prefix"] = "search_";
|
| | |
|
| | | // Records per page
|
| | | $liste["records_per_page"] = 30;
|
| | |
|
| | | // Script File of the list
|
| | | $liste["file"] = "domain_list.php";
|
| | |
|
| | | // Script file of the edit form
|
| | | $liste["edit_file"] = "domain_edit.php";
|
| | |
|
| | | // Script File of the delete script
|
| | | $liste["delete_file"] = "domain_del.php";
|
| | |
|
| | | // Paging Template
|
| | | $liste["paging_tpl"] = "templates/paging.tpl.htm";
|
| | |
|
| | | // Enable auth
|
| | | $liste["auth"] = "yes";
|
| | |
|
| | |
|
| | | /*****************************************************
|
| | | * Suchfelder
|
| | | *****************************************************/
|
| | |
|
| | | $liste["item"][] = array( 'field' => "domain",
|
| | | 'datatype' => "VARCHAR",
|
| | | 'formtype' => "TEXT",
|
| | | 'op' => "like",
|
| | | 'prefix' => "%",
|
| | | 'suffix' => "%",
|
| | | 'width' => "",
|
| | | 'value' => "");
|
| | |
|
| | |
|
| | | ?> |
New file |
| | |
| | | <?php
|
| | |
|
| | | /*
|
| | | Datatypes:
|
| | | - INTEGER
|
| | | - DOUBLE
|
| | | - CURRENCY
|
| | | - VARCHAR
|
| | | - TEXT
|
| | | - DATE
|
| | | */
|
| | |
|
| | |
|
| | |
|
| | | // Name of the list
|
| | | $liste["name"] = "domain_handle";
|
| | |
|
| | | // Database table
|
| | | $liste["table"] = "domain_handle";
|
| | |
|
| | | // Index index field of the database table
|
| | | $liste["table_idx"] = "domain_handle_id";
|
| | |
|
| | | // Search Field Prefix
|
| | | $liste["search_prefix"] = "search_";
|
| | |
|
| | | // Records per page
|
| | | $liste["records_per_page"] = 30;
|
| | |
|
| | | // Script File of the list
|
| | | $liste["file"] = "handle_list.php";
|
| | |
|
| | | // Script file of the edit form
|
| | | $liste["edit_file"] = "handle_edit.php";
|
| | |
|
| | | // Script File of the delete script
|
| | | $liste["delete_file"] = "handle_del.php";
|
| | |
|
| | | // Paging Template
|
| | | $liste["paging_tpl"] = "templates/paging.tpl.htm";
|
| | |
|
| | | // Enable auth
|
| | | $liste["auth"] = "yes";
|
| | |
|
| | |
|
| | | /*****************************************************
|
| | | * Suchfelder
|
| | | *****************************************************/
|
| | |
|
| | | ?> |
New file |
| | |
| | | <?php
|
| | |
|
| | | /*
|
| | | Datatypes:
|
| | | - INTEGER
|
| | | - DOUBLE
|
| | | - CURRENCY
|
| | | - VARCHAR
|
| | | - TEXT
|
| | | - DATE
|
| | | */
|
| | |
|
| | |
|
| | |
|
| | | // Name of the list
|
| | | $liste["name"] = "domain_provider";
|
| | |
|
| | | // Database table
|
| | | $liste["table"] = "domain_provider";
|
| | |
|
| | | // Index index field of the database table
|
| | | $liste["table_idx"] = "domain_provider_id";
|
| | |
|
| | | // Search Field Prefix
|
| | | $liste["search_prefix"] = "search_";
|
| | |
|
| | | // Records per page
|
| | | $liste["records_per_page"] = 30;
|
| | |
|
| | | // Script File of the list
|
| | | $liste["file"] = "provider_list.php";
|
| | |
|
| | | // Script file of the edit form
|
| | | $liste["edit_file"] = "provider_edit.php";
|
| | |
|
| | | // Script File of the delete script
|
| | | $liste["delete_file"] = "provider_del.php";
|
| | |
|
| | | // Paging Template
|
| | | $liste["paging_tpl"] = "templates/paging.tpl.htm";
|
| | |
|
| | | // Enable auth
|
| | | $liste["auth"] = "yes";
|
| | |
|
| | |
|
| | | /*****************************************************
|
| | | * Suchfelder
|
| | | *****************************************************/
|
| | |
|
| | | ?> |
New file |
| | |
| | | <?php
|
| | |
|
| | | /*
|
| | | Datatypes:
|
| | | - INTEGER
|
| | | - DOUBLE
|
| | | - CURRENCY
|
| | | - VARCHAR
|
| | | - TEXT
|
| | | - DATE
|
| | | */
|
| | |
|
| | |
|
| | |
|
| | | // Name of the list
|
| | | $liste["name"] = "domain_tld";
|
| | |
|
| | | // Database table
|
| | | $liste["table"] = "domain_tld";
|
| | |
|
| | | // Index index field of the database table
|
| | | $liste["table_idx"] = "domain_tld_id";
|
| | |
|
| | | // Search Field Prefix
|
| | | $liste["search_prefix"] = "search_";
|
| | |
|
| | | // Records per page
|
| | | $liste["records_per_page"] = 30;
|
| | |
|
| | | // Script File of the list
|
| | | $liste["file"] = "tld_list.php";
|
| | |
|
| | | // Script file of the edit form
|
| | | $liste["edit_file"] = "tld_edit.php";
|
| | |
|
| | | // Script File of the delete script
|
| | | $liste["delete_file"] = "tld_del.php";
|
| | |
|
| | | // Paging Template
|
| | | $liste["paging_tpl"] = "templates/paging.tpl.htm";
|
| | |
|
| | | // Enable auth
|
| | | $liste["auth"] = "yes";
|
| | |
|
| | |
|
| | | /*****************************************************
|
| | | * Suchfelder
|
| | | *****************************************************/
|
| | |
|
| | | ?> |
New file |
| | |
| | | <?php
|
| | | require_once('../../lib/config.inc.php');
|
| | | require_once('../../lib/app.inc.php');
|
| | |
|
| | | /******************************************
|
| | | * Begin Form configuration
|
| | | ******************************************/
|
| | |
|
| | | $list_def_file = "list/provider.list.php";
|
| | |
|
| | | /******************************************
|
| | | * End Form configuration
|
| | | ******************************************/
|
| | |
|
| | | //* Check permissions for module
|
| | | $app->auth->check_module_permissions('domain');
|
| | |
|
| | | $app->uses('listform_actions');
|
| | |
|
| | | $app->listform_actions->SQLOrderBy = 'ORDER BY provider_id';
|
| | | $app->listform_actions->onLoad();
|
| | |
|
| | | ?> |
New file |
| | |
| | | <h2><tmpl_var name="list_head_txt"></h2>
|
| | | <p><tmpl_var name="list_desc_txt"></p>
|
| | |
|
| | | <div class="panel panel_domain">
|
| | |
|
| | | <div class="pnl_formsarea">
|
| | | <fieldset class="inlineLabels">
|
| | | <tmpl_if name="is_admin">
|
| | | <div class="ctrlHolder">
|
| | | <label for="client_group_id">{tmpl_var name='client_group_id_txt'}</label>
|
| | | <select name="client_group_id" id="client_group_id" class="selectInput">
|
| | | {tmpl_var name='client_group_id'}
|
| | | </select>
|
| | | </div>
|
| | | </tmpl_if>
|
| | |
|
| | | <div class="ctrlHolder">
|
| | | <label for="domain">{tmpl_var name='domain_txt'}</label>
|
| | | <input name="domain" id="domain" value="{tmpl_var name='domain'}" size="30" maxlength="255" type="text" class="textInput" />
|
| | | <p class="formHint">{tmpl_var name='domain_hint_txt'}</p>
|
| | | </div>
|
| | | <div class="ctrlHolder">
|
| | | <label for="tld">{tmpl_var name='tld_txt'}</label>
|
| | | <select name="tld" id="tld" class="selectInput formLengthHalf">
|
| | | {tmpl_var name='tld'}
|
| | | </select>
|
| | | </div>
|
| | | <div class="ctrlHolder">
|
| | | <label for="domain_provider_id">{tmpl_var name='domain_provider_id_txt'}</label>
|
| | | <select name="domain_provider_id" id="domain_provider_id" class="selectInput">
|
| | | {tmpl_var name='domain_provider_id'}
|
| | | </select>
|
| | | </div>
|
| | | <div class="ctrlHolder">
|
| | | <label for="provider_domain_id">{tmpl_var name='provider_domain_id_txt'}</label>
|
| | | <input name="provider_domain_id" id="provider_domain_id" value="{tmpl_var name='provider_domain_id'}" size="30" maxlength="255" type="text" class="textInput formLengthHalf" />
|
| | | </div>
|
| | | <div class="ctrlHolder">
|
| | | <label for="handle_desc">{tmpl_var name='handle_desc_txt'}</label>
|
| | | <select name="handle_desc" id="handle_desc" class="selectInput">
|
| | | {tmpl_var name='handle_desc'}
|
| | | </select>
|
| | | </div>
|
| | | <div class="ctrlHolder">
|
| | | <label for="handle_admin_c">{tmpl_var name='handle_admin_c_txt'}</label>
|
| | | <select name="handle_admin_c" id="handle_admin_c" class="selectInput">
|
| | | {tmpl_var name='handle_admin_c'}
|
| | | </select>
|
| | | </div>
|
| | | <div class="ctrlHolder">
|
| | | <label for="handle_tech_c">{tmpl_var name='handle_tech_c_txt'}</label>
|
| | | <select name="handle_tech_c" id="handle_tech_c" class="selectInput">
|
| | | {tmpl_var name='handle_tech_c'}
|
| | | </select>
|
| | | </div>
|
| | | <div class="ctrlHolder">
|
| | | <label for="handle_zone_c">{tmpl_var name='handle_zone_c_txt'}</label>
|
| | | <select name="handle_zone_c" id="handle_zone_c" class="selectInput">
|
| | | {tmpl_var name='handle_zone_c'}
|
| | | </select>
|
| | | </div>
|
| | | <div class="ctrlHolder">
|
| | | <label for="added_at">{tmpl_var name='added_at_txt'}</label>
|
| | | <input name="added_at" id="added_at" value="{tmpl_var name='added_at'}" size="30" maxlength="255" type="text" class="textInput formLengthHalf" disabled="disabled" />
|
| | | <p class="formHint">{tmpl_var name='date_hint_txt'}</p>
|
| | | </div>
|
| | | <div class="ctrlHolder">
|
| | | <label for="connected_at">{tmpl_var name='connected_at_txt'}</label>
|
| | | <input name="connected_at" id="connected_at" value="{tmpl_var name='connected_at'}" size="30" maxlength="255" type="text" class="textInput formLengthHalf" />
|
| | | <p class="formHint">{tmpl_var name='date_hint_txt'}</p>
|
| | | </div>
|
| | | <div class="ctrlHolder">
|
| | | <label for="disconnected_at">{tmpl_var name='disconnected_at_txt'}</label>
|
| | | <input name="disconnected_at" id="disconnected_at" value="{tmpl_var name='disconnected_at'}" size="30" maxlength="255" type="text" class="textInput formLengthHalf" />
|
| | | <p class="formHint">{tmpl_var name='date_hint_txt'}</p>
|
| | | </div>
|
| | | <div class="ctrlHolder">
|
| | | <label for="status">{tmpl_var name='status_txt'}</label>
|
| | | <select name="status" id="status" class="selectInput formLengthHalf">
|
| | | {tmpl_var name='status'}
|
| | | </select>
|
| | | </div>
|
| | |
|
| | | </fieldset>
|
| | |
|
| | | <input type="hidden" name="id" value="{tmpl_var name='id'}">
|
| | |
|
| | | <div class="buttonHolder buttons">
|
| | | <button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onClick="submitForm('pageForm','domain/domain_edit.php');"><span>{tmpl_var name='btn_save_txt'}</span></button>
|
| | | <button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onClick="loadContent('domain/domain_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
|
| | | </div>
|
| | | </div>
|
| | | |
| | | </div>
|
New file |
| | |
| | | <h2><tmpl_var name="list_head_txt"></h2>
|
| | | <p><tmpl_var name="list_desc_txt"></p>
|
| | |
|
| | | <div class="panel panel_list_handle">
|
| | |
|
| | | <div class="pnl_toolsarea">
|
| | | <fieldset><legend>Tools</legend>
|
| | | <div class="buttons">
|
| | | <button class="iconstxt icoAdd" type="button" onClick="loadContent('domain/handle_edit.php');">
|
| | | <span>{tmpl_var name="add_new_record_txt"}</span>
|
| | | </button>
|
| | | </div>
|
| | | </fieldset>
|
| | | </div>
|
| | |
|
| | | <div class="pnl_listarea">
|
| | | <fieldset><legend><tmpl_var name="list_head_txt"></legend>
|
| | | <table class="list">
|
| | | <thead>
|
| | | <tr>
|
| | | <th class="tbl_col_handle_id" scope="col"><tmpl_var name="handle_id_txt"></th>
|
| | | <th class="tbl_col_domain_registrar" scope="col"><tmpl_var name="domain_registrar_txt"></th>
|
| | | <th class="tbl_col_handle" scope="col"><tmpl_var name="handle_txt"></th>
|
| | | <th class="tbl_col_buttons" scope="col"> </th>
|
| | | </tr>
|
| | | <tr>
|
| | | <td class="tbl_col_handle_id"></td>
|
| | | <td class="tbl_col_domain_registrar"></td>
|
| | | <td class="tbl_col_handle"></td>
|
| | | <td class="tbl_col_buttons"><div class="buttons"><button type="button" class="icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onClick="submitForm('pageForm','sites/web_domain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></td>
|
| | | </tr>
|
| | | </thead>
|
| | | <tbody>
|
| | | <tmpl_loop name="records">
|
| | | <tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
|
| | | <td class="tbl_col_handle_id"><a href="#" onClick="loadContent('domain/handle_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="handle_id"}</a></td>
|
| | | <td class="tbl_col_domain_registrar">{tmpl_var name="domain_registrar"}</td>
|
| | | <td class="tbl_col_handle"><a href="#" onClick="loadContent('domain/handle_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="handle"}</a></td>
|
| | | <td class="tbl_col_buttons">
|
| | | <div class="buttons icons16"> |
| | | <a class="icons16 icoDelete" href="javascript: del_record('domain/handle_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name='delete_txt'}</span></a>
|
| | | </div>
|
| | | </td>
|
| | | </tr>
|
| | | </tmpl_loop>
|
| | | </tbody>
|
| | | <tfoot>
|
| | | <tr>
|
| | | <td class="tbl_footer tbl_paging" colspan="8"><tmpl_var name="paging"></td>
|
| | | </tr>
|
| | | </tfoot>
|
| | | </table>
|
| | | </fieldset>
|
| | | </div>
|
| | |
|
| | | </div>
|
New file |
| | |
| | | <h2><tmpl_var name="list_head_txt"></h2>
|
| | | <p><tmpl_var name="list_desc_txt"></p>
|
| | |
|
| | | <div class="panel panel_list_domain">
|
| | |
|
| | | <div class="pnl_toolsarea">
|
| | | <fieldset><legend>Tools</legend>
|
| | | <div class="buttons">
|
| | | <button class="iconstxt icoAdd" type="button" onClick="loadContent('domain/domain_edit.php');">
|
| | | <span>{tmpl_var name="add_new_record_txt"}</span>
|
| | | </button>
|
| | | </div>
|
| | | </fieldset>
|
| | | </div>
|
| | |
|
| | | <div class="pnl_listarea">
|
| | | <fieldset><legend><tmpl_var name="list_head_txt"></legend>
|
| | | <table class="list">
|
| | | <thead>
|
| | | <tr>
|
| | | <th class="tbl_col_domain_id" scope="col"><tmpl_var name="domain_id_txt"></th>
|
| | | <th class="tbl_col_domain" scope="col"><tmpl_var name="domain_txt"></th>
|
| | | <th class="tbl_col_tld" scope="col"><tmpl_var name="tld_txt"></th>
|
| | | <th class="tbl_col_connected_at" scope="col"><tmpl_var name="connected_at_txt"></th>
|
| | | <th class="tbl_col_disconnected_at" scope="col"><tmpl_var name="disconnected_at_txt"></th>
|
| | | <th class="tbl_col_status" scope="col"><tmpl_var name="status_txt"></th>
|
| | | <th class="tbl_col_buttons" scope="col"> </th>
|
| | | </tr>
|
| | | <tr>
|
| | | <td class="tbl_col_domain_id"></td>
|
| | | <td class="tbl_col_domain"><input type="text" name="search_domain" value="{tmpl_var name='search_domain'}" /></td>
|
| | | <td class="tbl_col_tld"><input type="text" name="search_tld" value="{tmpl_var name='search_tld'}" /></td>
|
| | | <td class="tbl_col_connected_at"></td>
|
| | | <td class="tbl_col_disconnected_at"></td>
|
| | | <td class="tbl_col_status"></td>
|
| | | <td class="tbl_col_buttons"><div class="buttons"><button type="button" class="icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onClick="submitForm('pageForm','sites/web_domain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></td>
|
| | | </tr>
|
| | | </thead>
|
| | | <tbody>
|
| | | <tmpl_loop name="records">
|
| | | <tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
|
| | | <td class="tbl_col_domain_id"><a href="#" onClick="loadContent('domain/domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="domain_id"}</a></td>
|
| | | <td class="tbl_col_domain"><a href="#" onClick="loadContent('domain/domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="domain"}</a></td>
|
| | | <td class="tbl_col_tld"><a href="#" onClick="loadContent('domain/tld_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="tld"}</a></td>
|
| | | <td class="tbl_col_connected_at">{tmpl_var name="connected_at"}</td>
|
| | | <td class="tbl_col_disconnected_at">{tmpl_var name="disconnected_at"}</td>
|
| | | <td class="tbl_col_status">{tmpl_var name="status"}</td>
|
| | | <td class="tbl_col_buttons">
|
| | | <div class="buttons icons16"> |
| | | <a class="icons16 icoDelete" href="javascript: del_record('domain/domain_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name='delete_txt'}</span></a>
|
| | | </div>
|
| | | </td>
|
| | | </tr>
|
| | | </tmpl_loop>
|
| | | </tbody>
|
| | | <tfoot>
|
| | | <tr>
|
| | | <td class="tbl_footer tbl_paging" colspan="8"><tmpl_var name="paging"></td>
|
| | | </tr>
|
| | | </tfoot>
|
| | | </table>
|
| | | </fieldset>
|
| | | </div>
|
| | |
|
| | | </div>
|
New file |
| | |
| | | <h2><tmpl_var name="list_head_txt"></h2>
|
| | | <p><tmpl_var name="list_desc_txt"></p>
|
| | |
|
| | | <div class="panel panel_list_domain">
|
| | |
|
| | | <div class="pnl_toolsarea">
|
| | | <fieldset><legend>Tools</legend>
|
| | | <div class="buttons">
|
| | | <button class="iconstxt icoAdd" type="button" onClick="loadContent('domain/domain_edit.php');">
|
| | | <span>{tmpl_var name="add_new_record_txt"}</span>
|
| | | </button>
|
| | | </div>
|
| | | </fieldset>
|
| | | </div>
|
| | |
|
| | | <div class="pnl_listarea">
|
| | | <fieldset><legend><tmpl_var name="list_head_txt"></legend>
|
| | | <table class="list">
|
| | | <thead>
|
| | | <tr>
|
| | | <th class="tbl_col_domain_id" scope="col"><tmpl_var name="domain_id_txt"></th>
|
| | | <th class="tbl_col_domain" scope="col"><tmpl_var name="domain_txt"></th>
|
| | | <th class="tbl_col_tld" scope="col"><tmpl_var name="tld_txt"></th>
|
| | | <th class="tbl_col_connected_at" scope="col"><tmpl_var name="connected_at_txt"></th>
|
| | | <th class="tbl_col_disconnected_at" scope="col"><tmpl_var name="disconnected_at_txt"></th>
|
| | | <th class="tbl_col_status" scope="col"><tmpl_var name="status_txt"></th>
|
| | | <th class="tbl_col_buttons" scope="col"> </th>
|
| | | </tr>
|
| | | <tr>
|
| | | <td class="tbl_col_domain_id"></td>
|
| | | <td class="tbl_col_domain"><input type="text" name="search_domain" value="{tmpl_var name='search_domain'}" /></td>
|
| | | <td class="tbl_col_tld"><input type="text" name="search_tld" value="{tmpl_var name='search_tld'}" /></td>
|
| | | <td class="tbl_col_connected_at"></td>
|
| | | <td class="tbl_col_disconnected_at"></td>
|
| | | <td class="tbl_col_status"></td>
|
| | | <td class="tbl_col_buttons"><div class="buttons"><button type="button" class="icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onClick="submitForm('pageForm','sites/web_domain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></td>
|
| | | </tr>
|
| | | </thead>
|
| | | <tbody>
|
| | | <tmpl_loop name="records">
|
| | | <tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
|
| | | <td class="tbl_col_domain_id"><a href="#" onClick="loadContent('domain/domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="domain_id"}</a></td>
|
| | | <td class="tbl_col_domain"><a href="#" onClick="loadContent('domain/domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="domain"}</a></td>
|
| | | <td class="tbl_col_tld"><a href="#" onClick="loadContent('domain/tld_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="tld"}</a></td>
|
| | | <td class="tbl_col_connected_at">{tmpl_var name="connected_at"}</td>
|
| | | <td class="tbl_col_disconnected_at">{tmpl_var name="disconnected_at"}</td>
|
| | | <td class="tbl_col_status">{tmpl_var name="status"}</td>
|
| | | <td class="tbl_col_buttons">
|
| | | <div class="buttons icons16"> |
| | | <a class="icons16 icoDelete" href="javascript: del_record('domain/domain_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name='delete_txt'}</span></a>
|
| | | </div>
|
| | | </td>
|
| | | </tr>
|
| | | </tmpl_loop>
|
| | | </tbody>
|
| | | <tfoot>
|
| | | <tr>
|
| | | <td class="tbl_footer tbl_paging" colspan="8"><tmpl_var name="paging"></td>
|
| | | </tr>
|
| | | </tfoot>
|
| | | </table>
|
| | | </fieldset>
|
| | | </div>
|
| | |
|
| | | </div>
|
New file |
| | |
| | | <h2><tmpl_var name="list_head_txt"></h2>
|
| | | <p><tmpl_var name="list_desc_txt"></p>
|
| | |
|
| | | <div class="panel panel_list_domain">
|
| | |
|
| | | <div class="pnl_toolsarea">
|
| | | <fieldset><legend>Tools</legend>
|
| | | <div class="buttons">
|
| | | <button class="iconstxt icoAdd" type="button" onClick="loadContent('domain/domain_edit.php');">
|
| | | <span>{tmpl_var name="add_new_record_txt"}</span>
|
| | | </button>
|
| | | </div>
|
| | | </fieldset>
|
| | | </div>
|
| | |
|
| | | <div class="pnl_listarea">
|
| | | <fieldset><legend><tmpl_var name="list_head_txt"></legend>
|
| | | <table class="list">
|
| | | <thead>
|
| | | <tr>
|
| | | <th class="tbl_col_domain_id" scope="col"><tmpl_var name="domain_id_txt"></th>
|
| | | <th class="tbl_col_domain" scope="col"><tmpl_var name="domain_txt"></th>
|
| | | <th class="tbl_col_tld" scope="col"><tmpl_var name="tld_txt"></th>
|
| | | <th class="tbl_col_connected_at" scope="col"><tmpl_var name="connected_at_txt"></th>
|
| | | <th class="tbl_col_disconnected_at" scope="col"><tmpl_var name="disconnected_at_txt"></th>
|
| | | <th class="tbl_col_status" scope="col"><tmpl_var name="status_txt"></th>
|
| | | <th class="tbl_col_buttons" scope="col"> </th>
|
| | | </tr>
|
| | | <tr>
|
| | | <td class="tbl_col_domain_id"></td>
|
| | | <td class="tbl_col_domain"><input type="text" name="search_domain" value="{tmpl_var name='search_domain'}" /></td>
|
| | | <td class="tbl_col_tld"><input type="text" name="search_tld" value="{tmpl_var name='search_tld'}" /></td>
|
| | | <td class="tbl_col_connected_at"></td>
|
| | | <td class="tbl_col_disconnected_at"></td>
|
| | | <td class="tbl_col_status"></td>
|
| | | <td class="tbl_col_buttons"><div class="buttons"><button type="button" class="icons16 icoFilter" name="Filter" id="Filter" value="{tmpl_var name="filter_txt"}" onClick="submitForm('pageForm','sites/web_domain_list.php');"><span>{tmpl_var name="filter_txt"}</span></button></div></td>
|
| | | </tr>
|
| | | </thead>
|
| | | <tbody>
|
| | | <tmpl_loop name="records">
|
| | | <tr class="tbl_row_<tmpl_if name='__EVEN__'}even<tmpl_else>uneven</tmpl_if>">
|
| | | <td class="tbl_col_domain_id"><a href="#" onClick="loadContent('domain/domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="domain_id"}</a></td>
|
| | | <td class="tbl_col_domain"><a href="#" onClick="loadContent('domain/domain_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="domain"}</a></td>
|
| | | <td class="tbl_col_tld"><a href="#" onClick="loadContent('domain/tld_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="tld"}</a></td>
|
| | | <td class="tbl_col_connected_at">{tmpl_var name="connected_at"}</td>
|
| | | <td class="tbl_col_disconnected_at">{tmpl_var name="disconnected_at"}</td>
|
| | | <td class="tbl_col_status">{tmpl_var name="status"}</td>
|
| | | <td class="tbl_col_buttons">
|
| | | <div class="buttons icons16"> |
| | | <a class="icons16 icoDelete" href="javascript: del_record('domain/domain_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name='delete_txt'}</span></a>
|
| | | </div>
|
| | | </td>
|
| | | </tr>
|
| | | </tmpl_loop>
|
| | | </tbody>
|
| | | <tfoot>
|
| | | <tr>
|
| | | <td class="tbl_footer tbl_paging" colspan="8"><tmpl_var name="paging"></td>
|
| | | </tr>
|
| | | </tfoot>
|
| | | </table>
|
| | | </fieldset>
|
| | | </div>
|
| | |
|
| | | </div>
|
New file |
| | |
| | | <?php
|
| | | require_once('../../lib/config.inc.php');
|
| | | require_once('../../lib/app.inc.php');
|
| | |
|
| | | /******************************************
|
| | | * Begin Form configuration
|
| | | ******************************************/
|
| | |
|
| | | $list_def_file = "list/tld.list.php";
|
| | |
|
| | | /******************************************
|
| | | * End Form configuration
|
| | | ******************************************/
|
| | |
|
| | | //* Check permissions for module
|
| | | $app->auth->check_module_permissions('domain');
|
| | |
|
| | | $app->uses('listform_actions');
|
| | |
|
| | | $app->listform_actions->SQLOrderBy = 'ORDER BY tld';
|
| | | $app->listform_actions->onLoad();
|
| | |
|
| | | ?> |