summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6b10ed3)
raw | patch | inline | side by side (parent: 6b10ed3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 May 2005 12:21:04 +0000 (12:21 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 24 May 2005 12:21:04 +0000 (12:21 +0000) |
diff --git a/plugins/personal/connectivity/class_connectivity.inc b/plugins/personal/connectivity/class_connectivity.inc
index ed5943db31f30d09c2302bdc5f088ffa289933e3..6c760ad67045cdaf8cf79092c035c219abcd7a92 100644 (file)
}
}
if (!$enabled){
- $display= "<img src=\"images/stop.png\" align=center> <b>".
+ $display= "<img alt=\"\" src=\"images/stop.png\" align=\"middle\"> <b>".
_("This account has no connectivity extensions.")."</b>";
$display.= back_to_main();
return ($display);
index f511faf677010ee216c043b2d3a2ffc86dccb8d4..d8ab9df487cdf5a825f92fd9fd34971a5e83d1aa 100644 (file)
$display.= "<input type=submit name=\"edit_finish\" value=\""._("Finish")."\">\n";
$display.= " ";
$display.= "<input type=submit name=\"edit_cancel\" value=\""._("Cancel")."\">\n";
- $info= "<img align=\"center\" src=\"".get_template_path('images/closedlock.png').
+ $info= "<img align=\"middle\" src=\"".get_template_path('images/closedlock.png').
"\"> ".$ui->dn." ";
} else {
- $info= "<img align=\"center\" src=\"".get_template_path('images/openlock.png').
+ $info= "<img align=\"middle\" src=\"".get_template_path('images/openlock.png').
"\"> ".$ui->dn." ";
if ($editacl != "#none#"){
- $info.= "<img align=\"center\" src=\"".get_template_path('images/lamp.png').
+ $info.= "<img align=\"middle\" src=\"".get_template_path('images/lamp.png').
"\">"._("Click the 'Edit' button below to change informations in this dialog");
$display.= "<input type=submit name=\"edit\" value=\""._("Edit")."\">\n";
}
diff --git a/plugins/personal/samba/class_sambaAccount.inc b/plugins/personal/samba/class_sambaAccount.inc
index 60d6977b34b8c1b886290aa4ebb46732ff7d5b79..23b11d53bec1f465de09292de332c2361fde8077 100644 (file)
/* Set checkboxes to checked or unchecked state */
$smarty->assign("tslogin", $this->mungedObject->getTsLogin()?"checked":"");
$smarty->assign("tsloginACL", chkacl($this->acl,"tslogin"));
+
$smarty->assign("inherit", $this->mungedObject->getInheritMode()?"checked":"");
$smarty->assign("inheritACL", chkacl($this->acl,"inherit"));
+
+
$smarty->assign("connectclientdrives",
$this->mungedObject->getConnectClientDrives()?"checked":"");
$smarty->assign("connectclientdrivesACL", chkacl($this->acl,"connectclientdrives"));
index fa69000ed8c1a40e285a975d33a35f176fd3af66..6fa18b40394530ae85230d8acf0472324ab998d7 100644 (file)
<tr>
<td>{t}Initial program{/t}</td>
<td>
- <input name="CtxInitialProgram" id="CtxInitialProgram" size=35 maxlength=60 {$CtxInitialProgramACL} value="{$CtxInitialProgram}" {$CtxInitialProgramMode}>
+ <input name="CtxInitialProgram" id="CtxInitialProgram" size=35 maxlength=60 {if $CtxInitialProgramACL==""}{$CtxInitialProgramMode}{/if} value="{$CtxInitialProgram}" {$CtxInitialProgramACL}>
</td>
</tr>
<tr>
<td>{t}Working directory{/t}</td>
<td>
- <input name="CtxWorkDirectory" id="CtxWorkDirectory" size=35 maxlength=60 {$CtxWorkDirectoryACL} value="{$CtxWorkDirectory}" {$CtxInitialProgramMode}>
+ <input name="CtxWorkDirectory" id="CtxWorkDirectory" size=35 maxlength=60 {if $CtxWorkDirectoryACL==""}{$CtxInitialProgramMode}{/if} value="{$CtxWorkDirectory}" {$CtxInitialProgramACL}>
</td>
</tr>
</table>
{t}Connection{/t}
</td>
<td>
- <input name="CtxMaxConnectionTime" id="CtxMaxConnectionTime" size=5 maxlength=5 {$CtxMaxConnectionTimeACL} value="{$CtxMaxConnectionTime}" {$CtxMaxConnectionTimeMode}>
+ <input name="CtxMaxConnectionTime" id="CtxMaxConnectionTime" size=5 maxlength=5 {if $CtxMaxConnectionTimeACL==""}{$CtxMaxConnectionTimeMode}{/if} value="{$CtxMaxConnectionTime}" {$CtxMaxConnectionTimeACL}>
</td>
</tr>
<tr>
{t}Disconnection{/t}
</td>
<td>
- <input name="CtxMaxDisconnectionTime" id="CtxMaxDisconnectionTime" size=5 maxlength=5 {$CtxMaxDisconnectionTimeACL} value="{$CtxMaxDisconnectionTime}" {$CtxMaxDisconnectionTimeMode}>
+ <input name="CtxMaxDisconnectionTime" id="CtxMaxDisconnectionTime" size=5 maxlength=5 {if $CtxMaxDisconnectionTimeACL ==""}{$CtxMaxDisconnectionTimeMode}{/if} value="{$CtxMaxDisconnectionTime}" {$CtxMaxDisconnectionTimeACL}>
</td>
</tr>
<tr>
{t}IDLE{/t}
</td>
<td>
- <input name="CtxMaxIdleTime" id="CtxMaxIdleTime" size=5 maxlength=5 {$CtxMaxIdleTimeACL} value="{$CtxMaxIdleTime}" {$CtxMaxIdleTimeMode}>
+ <input name="CtxMaxIdleTime" id="CtxMaxIdleTime" size=5 maxlength=5 {if $CtxMaxIdleTimeACL==""}{$CtxMaxIdleTimeMode}{/if} value="{$CtxMaxIdleTime}" {$CtxMaxIdleTimeACL}>
</td>
</tr>
</table>