Florian Schaal
2015-06-22 8f5b513ed53ab241fc496e5728c61705e7503348
option to set the company name in the page title
28 files modified
42 ■■■■■ changed files
install/tpl/system.ini.master 1 ●●●● patch | view | raw | blame | history
interface/web/admin/form/system_config.tform.php 6 ●●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/ar_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/bg_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/br_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/cz_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/de_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/el_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/en_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/es_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/fi_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/fr_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/hr_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/hu_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/id_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/it_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/ja_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/nl_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/pl_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/pt_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/ro_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/ru_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/se_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/sk_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/lib/lang/tr_system_config.lng 1 ●●●● patch | view | raw | blame | history
interface/web/admin/templates/system_config_misc_edit.htm 7 ●●●●● patch | view | raw | blame | history
interface/web/index.php 3 ●●●● patch | view | raw | blame | history
interface/web/themes/default/templates/main.tpl.htm 2 ●●● patch | view | raw | blame | history
install/tpl/system.ini.master
@@ -40,6 +40,7 @@
new_domain_html=Please contact our support to create a new domain for you.
[misc]
company_name=
dashboard_atom_url_admin=http://www.ispconfig.org/atom
dashboard_atom_url_reseller=http://www.ispconfig.org/atom
dashboard_atom_url_client=http://www.ispconfig.org/atom
interface/web/admin/form/system_config.tform.php
@@ -460,6 +460,12 @@
        //#################################
        // Begin Datatable fields
        //#################################
        'company_name' => array (
            'datatype' => 'VARCHAR',
            'formtype' => 'TEXT',
            'default' => '',
            'value'  => ''
        ),
        'dashboard_atom_url_admin' => array (
            'datatype' => 'VARCHAR',
            'formtype' => 'TEXT',
interface/web/admin/lib/lang/ar_system_config.lng
@@ -71,4 +71,5 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/bg_system_config.lng
@@ -71,4 +71,5 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/br_system_config.lng
@@ -71,4 +71,5 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/cz_system_config.lng
@@ -71,5 +71,6 @@
$wb['No'] = 'Ne';
$wb['min_password_length_txt'] = 'Minimální délka hesla';
$wb['min_password_strength_txt'] = 'Minimální síla hesla';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/de_system_config.lng
@@ -72,4 +72,5 @@
$wb['No'] = 'Nein';
$wb['min_password_length_txt'] = 'Minimale Passwortlänge';
$wb['min_password_strength_txt'] = 'Minimale Passwortstärke';
$wb["company_name_txt"] = "Firmenname fuer den Seitentitel";
?>
interface/web/admin/lib/lang/el_system_config.lng
@@ -71,4 +71,5 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/en_system_config.lng
@@ -79,4 +79,5 @@
$wb["default_dnsserver_txt"] = 'Default DNS Server';
$wb["default_slave_dnsserver_txt"] = 'Default Secondary DNS Server';
$wb["default_dbserver_txt"] = 'Default Database Server';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/es_system_config.lng
@@ -76,4 +76,5 @@
$wb['default_dnsserver_txt'] = 'Servidor DNS por defecto';
$wb['default_slave_dnsserver_txt'] = 'Servidor DNS secundario por defecto';
$wb['default_dbserver_txt'] = 'Servidor de bases de datos por defecto';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/fi_system_config.lng
@@ -71,4 +71,5 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/fr_system_config.lng
@@ -71,4 +71,5 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/hr_system_config.lng
@@ -71,6 +71,7 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/hu_system_config.lng
@@ -71,4 +71,5 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/id_system_config.lng
@@ -71,4 +71,5 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/it_system_config.lng
@@ -71,4 +71,5 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/ja_system_config.lng
@@ -71,4 +71,5 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/nl_system_config.lng
@@ -74,4 +74,5 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/pl_system_config.lng
@@ -71,4 +71,5 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/pt_system_config.lng
@@ -71,4 +71,5 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/ro_system_config.lng
@@ -71,4 +71,5 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/ru_system_config.lng
@@ -71,4 +71,5 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/se_system_config.lng
@@ -71,4 +71,5 @@
$wb['No'] = 'Nej';
$wb['min_password_length_txt'] = 'Minsta lösenordslängd';
$wb['min_password_strength_txt'] = 'Minsta lösenordsstyrka';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/sk_system_config.lng
@@ -71,4 +71,5 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/lib/lang/tr_system_config.lng
@@ -71,4 +71,5 @@
$wb['No'] = 'No';
$wb['min_password_length_txt'] = 'Minimum password length';
$wb['min_password_strength_txt'] = 'Minimum password strength';
$wb["company_name_txt"] = "Company Name for the page title";
?>
interface/web/admin/templates/system_config_misc_edit.htm
@@ -12,9 +12,16 @@
                <div class="col-sm-9" id="used_logo">{tmpl_var name='used_logo'}</div>
            </div>
            <div class="form-group">
                <label for="page_title" class="col-sm-3 control-label">{tmpl_var name='company_name_txt'}</label>
                <div class="col-sm-9"><input type="text" name="company_name" id="company_name" value="{tmpl_var name='company_name'}" size="" maxlength="" class="form-control" /></div></div>
            <div class="form-group">
                <label for="dashboard_atom_url_admin" class="col-sm-3 control-label">{tmpl_var name='dashboard_atom_url_admin_txt'}</label>
                <div class="col-sm-9"><input type="text" name="dashboard_atom_url_admin" id="dashboard_atom_url_admin" value="{tmpl_var name='dashboard_atom_url_admin'}" size="" maxlength="" class="form-control" /></div></div>
            <div class="form-group">
                <label for="dashboard_atom_url_admin" class="col-sm-3 control-label">{tmpl_var name='dashboard_atom_url_admin_txt'}</label>
                <div class="col-sm-9"><input type="text" name="dashboard_atom_url_admin" id="dashboard_atom_url_admin" value="{tmpl_var name='dashboard_atom_url_admin'}" size="" maxlength="" class="form-control" /></div></div>
            <div class="form-group">
            <div class="form-group">
                <label for="dashboard_atom_url_reseller" class="col-sm-3 control-label">{tmpl_var name='dashboard_atom_url_reseller_txt'}</label>
                <div class="col-sm-9"><input type="text" name="dashboard_atom_url_reseller" id="dashboard_atom_url_reseller" value="{tmpl_var name='dashboard_atom_url_reseller'}" size="" maxlength="" class="form-control" /></div></div>
            <div class="form-group">
interface/web/index.php
old mode 100755 new mode 100644
@@ -102,8 +102,7 @@
$app->tpl->setVar('base64_logo_txt', $base64_logo_txt);
// Title
$server_config = $app->getconf->get_server_config(1, 'server');
$app->tpl->setVar('server_name', $server_config['hostname']);
$app->tpl->setVar('company_name', $sys_config['company_name']. ' :: ');
$app->tpl_defaults();
$app->tpl->pparse();
interface/web/themes/default/templates/main.tpl.htm
@@ -3,7 +3,7 @@
<head>
  <meta charset='utf-8' />
  <title><tmpl_var name="server_name"> :: <tmpl_var name="app_title"> [<tmpl_var name="app_version">]</title>
  <title><tmpl_var name="company_name"><tmpl_var name="app_title"> <tmpl_var name="app_version"></title>
  <meta name='viewport' content='width=device-width, user-scalable=yes'>
  <meta name='description' lang='en' content='' />