summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e28f40c)
raw | patch | inline | side by side (parent: e28f40c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Aug 2006 10:43:05 +0000 (10:43 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 11 Aug 2006 10:43:05 +0000 (10:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4486 594d385d-05f5-0310-b6e9-bd551577e9d8
index 4ec220be551b28193731719c6d999a5d3af27071..963e3df67e8e7ccdf29027bc61ed80fc238bdecf 100644 (file)
$Copy_Paste.= "<input type='image' name='editPaste' class='center'
src='".$img."' alt='"._("Paste")."' title='".$this->GetCurrentDn()."'> ";
}else{
- $Copy_Paste.= "<img class='center' src='images/cant_editpaste.png' alt='"._("Can't paste")."'> ";
+ $Copy_Paste.= "<img class='center' src='images/cant_editpaste.png' alt=\""._("Can't paste")."\" > ";
}
return ($Copy_Paste);
diff --git a/plugins/gofon/phoneaccount/class_phoneAccount.inc b/plugins/gofon/phoneaccount/class_phoneAccount.inc
index b38336fe90e1a65f25d0ed81968c0a774355b28e..d838312154e979e75fac618dd529a1e18fdcb193 100644 (file)
var $has_mailAccount= FALSE;
/* Attributes */
- var $telephoneNumber = "";
+ var $telephoneNumber = array();
var $goFonHardware = "";
var $goFonFormat = "";
var $goFonPIN = "";
/* Fill arrays */
$smarty->assign ("goFonHardware", $this->goFonHardware);
if (!count($this->phoneNumbers)){
- $smarty->assign ("phoneNumbers", array(""));
+ $smarty->assign ("phoneNumbers", array());
} else {
$smarty->assign ("phoneNumbers", $this->phoneNumbers);
}
diff --git a/plugins/personal/connectivity/class_kolabAccount.inc b/plugins/personal/connectivity/class_kolabAccount.inc
index 6ef94120074c3b3c3d0a48e6cda475cc2bf209f8..318a118b958b2edc85201a82504280a7dd8c84c9 100644 (file)
changeState('add".$nr."'); \n changeState('remove".$nr."'); \n";
$invitation.= "<tr><td>";
- if($this->is_account){
+ if(($this->is_account) && !preg_match("/disabled/",$acl)){
$dis = " ";
}else{
$dis = " disabled ";
} else {
$name= preg_replace('/:.*$/', '', $entry);
$mode= preg_replace('/^[^:]*: */', '', $entry);
- $invitation.= "<input name=\"address$nr\" size=16 maxlength=60 $acl value=\"$name\" id='address".$nr."' ".$dis.">";
+ $invitation.= "<input name=\"address$nr\" size=16 maxlength=60 value=\"$name\" id='address".$nr."' ".$dis.">";
}
$invitation.= "</td>";
/* Add mode switch */
- $invitation.= "<td><select size=\"1\" name=\"policy$nr\" $acl id='policy".$nr."' ".$dis.">";
+ $invitation.= "<td><select size=\"1\" name=\"policy$nr\" id='policy".$nr."' ".$dis.">";
foreach($policies as $key => $value){
if ($key == $mode){
$invitation.= "<option value=\"$key\" selected>$value</option>";
index 56ef2bbc3cbc96f89b78eac31a495d051bf9b6ac..23107ccc7a0d9f9ed85741b16a65c6cba56fcad8 100644 (file)
<option disabled> </option>
</select>
<br>
- <input name="delegate_address" size=30 align=middle maxlength=60 {if !$kolabState} disabled {/if}
- {$kolabDelegateACL} value="" id="delegate_address">
- <input type=submit value="{t}Add{/t}" name="add_delegation" {if !$kolabState} disabled {/if}
- {$kolabDelegateACL} id="add_delegation">
- <input type=submit value="{t}Delete{/t}" name="delete_delegation" {if !$kolabState} disabled {/if}
- {$kolabDelegateACL} id="delete_delegation">
+ <input name="delegate_address" size=30 align=middle maxlength=60 {if !$kolabState || $kolabDelegateACL !=""} disabled {/if}
+ value="" id="delegate_address">
+ <input type=submit value="{t}Add{/t}" name="add_delegation" {if !$kolabState || $kolabDelegateACL !=""} disabled {/if}
+ id="add_delegation">
+ <input type=submit value="{t}Delete{/t}" name="delete_delegation" {if !$kolabState || $kolabDelegateACL !=""} disabled {/if}
+ id="delete_delegation">
<p>
<b>{t}Mail size{/t}</b><br>
- <input type="checkbox" id='unrestrictedMailSize' name="unrestrictedMailSize" value="1" {if !$kolabState} disabled {/if}
- {$unrestrictedMailSizeACL} {$unrestrictedMailSizeState}> {t}No mail size restriction for this account{/t}
+ <input type="checkbox" id='unrestrictedMailSize' name="unrestrictedMailSize" value="1" {if !$kolabState || $unrestrictedMailSizeACL !=""} disabled {/if} {$unrestrictedMailSizeState}> {t}No mail size restriction for this account{/t}
</p>
</td>
<td rowspan=2 style="border-left:1px solid #A0A0A0">
<table summary="">
<tr>
<td><LABEL for="calFBURL">{t}URL{/t}</LABEL></td>
- <td><input id="calFBURL" name="calFBURL" size=30 maxlength=60 {$calFBURLACL} value="{$calFBURL}" {if !$kolabState} disabled {/if}></td>
+ <td><input id="calFBURL" name="calFBURL" size=30 maxlength=60 value="{$calFBURL}" {if !$kolabState || $calFBURLACL !=""} disabled {/if}></td>
</tr>
<tr>
<td><LABEL for="kolabFreeBusyFuture">{t}Future{/t}</LABEL></td>
- <td><input id="kolabFreeBusyFuture" name="kolabFreeBusyFuture" size=5 maxlength=6 i {if !$kolabState} disabled {/if}{$kolabFreeBusyFutureACL} value="{$kolabFreeBusyFuture}"> {t}days{/t}</td>
+ <td><input id="kolabFreeBusyFuture" name="kolabFreeBusyFuture" size=5 maxlength=6 {if !$kolabState || $kolabFreeBusyFutureACL != ""} disabled {/if} value="{$kolabFreeBusyFuture}"> {t}days{/t}</td>
</tr>
</table>
index b8243cda6af70964a8235cf08e897c5ba47f3827..911f173ccb0869191153f3ea11b4548528cbd495 100644 (file)
<td>
<table summary="" border=0 width="100%" cellpadding=0>
<tr><td colspan=2>
- <input type="checkbox" name="filterF" id="filterF" value="F" {$filterF} {$gosaProxyAcctFlagsACL} {$pstate}>
+ <input type="checkbox" name="filterF" id="filterF" value="F" {$filterF} {if $gosaProxyAcctFlagsACL!="" || $pstate!=""} disabled {/if}>
{t}Filter unwanted content (i.e. pornographic or violence related){/t}
</td></tr>
<tr>
<td width="50%">
- <input type="checkbox" name="filterT" id="filterT" value="T" {$filterT} {$Working_allowedACL} {$pstate}
+ <input type="checkbox" name="filterT" id="filterT" value="T" {$filterT} {if $gosaProxyAcctFlagsACL!="" || $pstate!=""} disabled {/if}
onClick="{$ProxyWorkingStateChange}">
<LABEL for="startHour">{t}Limit proxy access to working time{/t}</LABEL>
<br>
index c3fdd6ebf716c741418cf58f99993483d9ff7135..0f02daef40dd1d361fc74989531e759c2db5d911 100644 (file)
{if $selectmode == ""}
<input type="image" name="chooseBase" src="images/folder.png" class="center" title="{t}Select a base{/t}">
{else}
- <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}">
+ <img src="images/folder_gray.png" class="center" title="{t}Select a base{/t}" alt=''>
{/if}
</td>
</tr>