Index: trunk/kernel/admin_templates/help.tpl
===================================================================
diff -u -r1662 -r1938
--- trunk/kernel/admin_templates/help.tpl (.../help.tpl) (revision 1662)
+++ trunk/kernel/admin_templates/help.tpl (.../help.tpl) (revision 1938)
@@ -7,7 +7,7 @@
Index: trunk/kernel/units/help/help_tag_processor.php
===================================================================
diff -u -r1662 -r1938
--- trunk/kernel/units/help/help_tag_processor.php (.../help_tag_processor.php) (revision 1662)
+++ trunk/kernel/units/help/help_tag_processor.php (.../help_tag_processor.php) (revision 1938)
@@ -75,6 +75,14 @@
return $ret;
}
+
+ function GetIcon($params)
+ {
+ $icon_var = getArrayValue($params,'var_name');
+ $icon = $this->Application->GetVar($icon_var);
+ if(!$icon) $icon = getArrayValue($params,'default_icon');
+ return $icon;
+ }
}
?>
\ No newline at end of file
Index: trunk/core/units/help/help_tag_processor.php
===================================================================
diff -u -r1662 -r1938
--- trunk/core/units/help/help_tag_processor.php (.../help_tag_processor.php) (revision 1662)
+++ trunk/core/units/help/help_tag_processor.php (.../help_tag_processor.php) (revision 1938)
@@ -75,6 +75,14 @@
return $ret;
}
+
+ function GetIcon($params)
+ {
+ $icon_var = getArrayValue($params,'var_name');
+ $icon = $this->Application->GetVar($icon_var);
+ if(!$icon) $icon = getArrayValue($params,'default_icon');
+ return $icon;
+ }
}
?>
\ No newline at end of file