summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c5089b8)
raw | patch | inline | side by side (parent: c5089b8)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 19 Mar 2007 11:37:50 +0000 (11:37 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 19 Mar 2007 11:37:50 +0000 (11:37 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5818 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_pluglist.inc | patch | blob | history | |
include/sieve/templates/element_size.tpl | patch | blob | history | |
include/sieve/templates/select_test_type.tpl | patch | blob | history |
index f6267beb2fdf5cce01e29f6cb9de856a5a4b4343..8a354af6a81024f6c8abdec8c96bb8eb43ffac10 100644 (file)
/* Fill info part of pluglist */
$classes= get_declared_classes();
- foreach (get_declared_classes() as $cname){
- if (method_exists($cname, 'plInfo')){
- $this->info[$cname]= @call_user_func(array($cname, 'plInfo'));
- }
- }
+
+ foreach ($classes as $cname){
+ $cmethods = get_class_methods($cname);
+ if (in_array_ics('plInfo',$cmethods)){
+ $this->info[$cname]= @call_user_func(array($cname, 'plInfo'));
+ }
+ }
/* Provide field for 'all' */
$this->info['all']= array();
index def994dff2b4cd3bdbba0924fa09c7ccbabb4b1c..aedb7c39e95e253cb22e14a30b2bae82ea3a6d05 100644 (file)
<select name='Value_Unit_{$ID}' title='{t}Select value unit{/t}'>
{html_options options=$Units selected=$Value_Unit}
</select>
- <input type='submit'>
</td>
</tr>
</table>
diff --git a/include/sieve/templates/select_test_type.tpl b/include/sieve/templates/select_test_type.tpl
index 39ab2f7cac75a31d8096d0d33f29df3d2cbe777a..e08fea0e21ddea0e9b33bc75e49c0752296fc8b6 100644 (file)
<select name='test_type_to_add_{$ID}'>
{html_options options=$test_types_to_add}
</select>
-<input type='submit' name='add_type'>
+
+<p class='seperator'> </p>
+<br>
+<div class='seperator' style='text-align:right; width:100%;'>
+ <input type='submit' name='does_nothing' value='{t}Abort{/t}'>
+
+ <input type='submit' name='add_type' value='{t}Next{/t}'>
+</div>