From: cajus Date: Fri, 12 Aug 2005 14:09:00 +0000 (+0000) Subject: Fixed layout X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1dc3eb61be90d7814f0f1a14cf9d7b0a1205f6bd;p=gosa.git Fixed layout git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1127 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/ogroups/class_phonequeue.inc b/plugins/admin/ogroups/class_phonequeue.inc index a68a4bd8e..400502e09 100644 --- a/plugins/admin/ogroups/class_phonequeue.inc +++ b/plugins/admin/ogroups/class_phonequeue.inc @@ -133,12 +133,14 @@ class phonequeue extends plugin $smarty->assign("goFonQueueLanguageOptions",array('de'=>_('German'),'ur'=>_('Uruguai'))); $smarty->assign("goFonQueueAnnounceHoldtimeOptions",array('no'=>_("No"),'yes'=>_('Yes'))); - $smarty->assign("goFonQueueStrategyOptions",array('ringall' =>_("ring all available channels until one answers"), - 'roundrobin' =>_("take turns ringing each available interface"), - 'leastrecent'=>_("ring interface which was least recently called by this queue"), - 'fewestcalls'=>_("ring the one with fewest completed calls from this queue"), - 'random' =>_("ring random interface"), - 'rrmemory' =>_("round robin with memory, remember where we left off last ring pass"))); + $types= array('ringall' =>_("ring all"), + 'roundrobin' =>_("round robin"), + 'leastrecent'=>_("least recently called"), + 'fewestcalls'=>_("fewest completed calls"), + 'random' =>_("random"), + 'rrmemory' =>_("round robin with memory")); + sort($types); + $smarty->assign("goFonQueueStrategyOptions", $types); foreach($this->attributes as $key => $val){ $smarty->assign($val,$this->$val); diff --git a/plugins/admin/ogroups/phonequeue.tpl b/plugins/admin/ogroups/phonequeue.tpl index dafb6fb42..2efbc828b 100644 --- a/plugins/admin/ogroups/phonequeue.tpl +++ b/plugins/admin/ogroups/phonequeue.tpl @@ -1,34 +1,41 @@
-

- - {t}Generic queue setup{/t} -

- - - -
- {t}Phone Number{/t} - - + + + + - - - - - - - - - - @@ -137,7 +134,7 @@ {t}Queue sound file setup{/t} -
+ + + + + + + + + +
+ -
+
+
+ +
  - - -
+

 {t}Options{/t}

{t}Language{/t} - {html_options options=$goFonQueueLanguageOptions selected=$goFonQueueLanguage} @@ -55,7 +62,7 @@ {t}Strategy{/t} - {html_options options=$goFonQueueStrategyOptions selected=$goFonQueueStrategy} @@ -84,48 +91,38 @@ {t}Announce holdtime{/t} - {html_options options=$goFonQueueAnnounceHoldtimeOptions selected=$goFonQueueAnnounceHoldtime}
- + {t}Allow the called user to transfer his call{/t}
- + {t}Allows calling user to transfer call{/t}
- + {t}Allow the called to hangup by pressing *{/t}
- + {t}Allows calling to hangup by pressing *{/t}
- + {t}Ring instead of playing background music{/t}
+