Skip to content

Commit be40ba3

Browse files
committed
Fixed some typos.
1 parent b5a23a1 commit be40ba3

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

interface/web/client/templates/client_edit_limits.htm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,15 @@
113113
<td class="frmText11" width="280">{tmpl_var name='limit_dns_record_txt'}:</td>
114114
<td class="frmText11" width="220"><input name="limit_dns_record" type="text" class="text" value="{tmpl_var name='limit_dns_record'}" size="10" maxlength="10"></td>
115115
</tr>
116+
<tmpl_if name='is_reseller' op='!=' value='1'>
116117
<tr>
117118
<td><h2>Clients</h2></td>
118119
</tr>
119120
<tr>
120121
<td class="frmText11" width="280">{tmpl_var name='limit_client_txt'}:</td>
121122
<td class="frmText11" width="220"><input name="limit_client" type="text" class="text" value="{tmpl_var name='limit_client'}" size="10" maxlength="10"></td>
122123
</tr>
124+
</tmpl_if>
123125
<tr>
124126
<td class="frmText11">&nbsp;</td>
125127
<td class="frmText11">&nbsp;</td>

server/mods-enabled/client_module.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
Copyright (c) 2007, Till Brehm, projektfarm Gmbh
4+
Copyright (c) 2008, Till Brehm, projektfarm Gmbh
55
All rights reserved.
66
77
Redistribution and use in source and binary forms, with or without modification,
@@ -28,7 +28,7 @@
2828
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2929
*/
3030

31-
class web_module {
31+
class client_module {
3232

3333
var $module_name = 'client_module';
3434
var $class_name = 'client_module';

server/plugins-enabled/mail_plugin.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function user_insert($event_name,$data) {
5757
global $app, $conf;
5858

5959
// Create the maildir, if it does not exist
60-
if(!is_dir($data['new']['maildir']) {
60+
if(!is_dir($data['new']['maildir'])) {
6161
mkdir($data['new']['maildir']);
6262
exec('chown '.$mail_config['mailuser_name'].':'.$mail_config['mailuser_group'].' '.escapeshellcmd($data['new']['maildir']));
6363
$app->log('Created Maildir: '.$data['new']['maildir'],LOGLEVEL_DEBUG);
@@ -73,7 +73,7 @@ function user_update($event_name,$data) {
7373
$mail_config = $app->getconf->get_server_config($conf["server_id"], 'mail');
7474

7575
// Create the maildir, if it does not exist
76-
if(!is_dir($data['new']['maildir']) {
76+
if(!is_dir($data['new']['maildir'])) {
7777
mkdir($data['new']['maildir']);
7878
exec('chown '.$mail_config['mailuser_name'].':'.$mail_config['mailuser_group'].' '.escapeshellcmd($data['new']['maildir']));
7979
$app->log('Created Maildir: '.$data['new']['maildir'],LOGLEVEL_DEBUG);

0 commit comments

Comments
 (0)