summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5e2e1c9)
raw | patch | inline | side by side (parent: 5e2e1c9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 21 Mar 2006 06:50:55 +0000 (06:50 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 21 Mar 2006 06:50:55 +0000 (06:50 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2866 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/connectivity/class_opengwAccount.inc | patch | blob | history | |
plugins/personal/connectivity/opengw.tpl | patch | blob | history |
diff --git a/plugins/personal/connectivity/class_opengwAccount.inc b/plugins/personal/connectivity/class_opengwAccount.inc
index 9e9ce7f6dd424053425fcec2e43b2c7172eae901..b7ea6b6c31f4b7bf084eab02b2584e8e1beb9773 100644 (file)
$smarty->assign($ar,array());
}
$smarty->assign("OGWstate"," disabled ");
- foreach(array("LocationTeam","TemplateUser","is_locked","validTeams","opengwAccount","is_account","OGWPassword") as $ar){
+ foreach(array("LocationTeam","TemplateUser","is_locked","validTeams","opengwAccount","is_account"/*,"OGWPassword"*/) as $ar){
$smarty->assign($ar,"");
$smarty->assign($ar."CHK","");
$smarty->assign($ar."ACL"," disabled ");
/* Show main page */
$smarty->assign("OGWstate"," disabled ");
- foreach(array("LocationTeam","TemplateUser","is_locked","validTeams","opengwAccount","OGWPassword") as $ar){
+ foreach(array("LocationTeam","TemplateUser","is_locked","validTeams","opengwAccount"/*,"OGWPassword"*/) as $ar){
$smarty->assign($ar."ACL",chkacl($this->acl,$ar));
}
}
}
+ /*
if($this->SetPassword == false){
if($_SESSION['js'] == 1){
$smarty->assign("OGWPasswordACL"," disabled ");
$smarty->assign("OGWPassword",$this->OGWPassword);
$smarty->assign("OGWPasswordCHK"," checked ");
}
+ */
$display.= $smarty->fetch (get_template_path('opengw.tpl', TRUE, dirname(__FILE__)));
return ($display);
}
/* get post data */
if($this->is_account){
+ /*
if(isset($_POST['SetPassword'])){
$this->SetPassword =true;
}else{
unset($this->info['password']);
}
}
+ */
/* Get selected team chkboxes */
$this->info['TeamIDis'] = array();
index fbda05dac48feb939258ae9bf2db3f29aa15c9ca..5744875a91b016032d5065137c1b3ab0e0472476 100644 (file)
<input type="checkbox" value="1" name="is_locked" {$is_lockedCHK}
{if $is_lockedACL!="" || $OGWstate!=""}
disabled
- {/if}>
- </td>
- </tr>
- <tr>
- <td valign="top">
- <input type="checkbox" name="SetPassword" value="1" {$OGWPasswordCHK} onClick="changeState('OGWPassword');"
- {if $OGWstate!=""}
- disabled
- {/if}>
- {t}Set password{/t}
- </td>
- <td valign="top">
- <input type="text" name="OGWPassword" value="{$OGWPassword}" id="OGWPassword"
- {if $OGWPasswordACL!="" || $OGWstate!=""}
- disabled
{/if}>
</td>
</tr>