summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8cad8eb)
raw | patch | inline | side by side (parent: 8cad8eb)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 Nov 2007 07:23:09 +0000 (07:23 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 21 Nov 2007 07:23:09 +0000 (07:23 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7834 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiHookEntry.inc | patch | blob | history | |
plugins/admin/fai/faiHook.tpl | patch | blob | history | |
plugins/admin/fai/faiHookEntry.tpl | patch | blob | history |
index 0d12d8e35adc7f73b1999081e392b1b6fd955952..5a23ea4979aecc181caf441685565ed654044bd0 100644 (file)
}
$smarty->assign($name."ACL",$acl);
}
-
+
+ if(get_magic_quotes_gpc()){
+ $smarty->assign("FAIscript" , htmlentities(stripslashes($this->FAIscript)));
+ }else{
+ $smarty->assign("FAIscript" , htmlentities($this->FAIscript));
+ }
$display.= $smarty->fetch(get_template_path('faiHookEntry.tpl', TRUE));
return($display);
}
index 95ceba6fb3408037c29487ca61f6b24adcb21144..6768ad92dab28754a54b2c96a271d5eb1d950139 100644 (file)
<tr>
<td>
<h2><img class="center" alt="" src="images/fai_hook.png" align="middle" title="{t}Objects{/t}">
- <LABEL for="SubObject">
- {t}List of hook scripts{/t}
- </LABEL>
+ {t}List of hook scripts{/t}
</h2>
<table width="100%" summary=''>
<tr>
index 7d6bc4415096c752a169450ab9472de45617d01a..882da267d23f1c423939a51f4556e87555bb8f63 100644 (file)
{t}Task{/t}
</LABEL>
{render acl=$FAItaskACL}
- <select name="FAItask" title="{t}Choose an existing FAI task{/t}">
+ <select id="FAItask" name="FAItask" title="{t}Choose an existing FAI task{/t}">
{html_options values=$tasks output=$tasks selected=$FAItask}
</select>
{/render}
<tr>
<td>
{render acl=$FAIscriptACL}
- <textarea name="FAIscript" style="width:100%;height:300px;" id="FAIscript" >{$FAIscript}</textarea>
+ <textarea name="FAIscript" style="width:100%;height:300px;" id="FAIscript"
+ rows=20 cols=120>{$FAIscript}</textarea>
{/render}
</td>
</tr>