summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 97ff41d)
raw | patch | inline | side by side (parent: 97ff41d)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 17 Oct 2008 13:15:50 +0000 (13:15 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 17 Oct 2008 13:15:50 +0000 (13:15 +0000) |
-Added missing language ACL
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12730 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12730 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/gofon/gofon/conference/class_phoneConferenceGeneric.inc | patch | blob | history | |
gosa-plugins/gofon/gofon/conference/generic.tpl | patch | blob | history |
diff --git a/gosa-plugins/gofon/gofon/conference/class_phoneConferenceGeneric.inc b/gosa-plugins/gofon/gofon/conference/class_phoneConferenceGeneric.inc
index afd83c515d02fe93afce04a71aea602f187e7c6a..471dfef11026346106a6dbbdcda7a45b8eb7e24c 100644 (file)
if(isset($_POST['phoneConferenceGeneric'])){
/* Get selected language */
- if(isset($_POST['language']) && isset($this->languages[get_post('language')])){
+ if($this->acl_is_writeable("language") && isset($_POST['language']) && isset($this->languages[get_post('language')])){
$this->language = get_post('language');
}
"description" => _("Description"),
"goFonPIN" => _("Conference PIN"),
+ "language" => _("Language"),
+
"goFonHomeServer" => _("Home server"),
"goFonConferenceOptionP" => _("Preset PIN"),
"goFonConferenceOptionr" => _("Record conference"),
diff --git a/gosa-plugins/gofon/gofon/conference/generic.tpl b/gosa-plugins/gofon/gofon/conference/generic.tpl
index d4b5468d06547035d0e97a99bbb3dc4599a6411c..901e5c080dd8846de2c15ca54414e7ee8f3dcaf0 100644 (file)
<td>{t}Language{/t}
</td>
<td>
+{render acl=$languageACL}
<select name="language" title="{t}Select language{/t}">
{html_options options=$languages selected=$language}
</select>
+{/render}
</td>
</tr>
</table>