I am calling the CPanel Branding::applist function through the xmlapi to determine which features can be utilized in my program. The application requires that Forwarders and Domain Forwarders be on separate screens, but in the xml returned it will always return the forwarders feature as long as one of the two are still selected as an allowed feature in the package.
The code above shows the section of xml I am referring. The feature tag will always show both even if you have one or the other unselected.Code:<items> <description>$LANG{'TForwarders'}</description> <feature>forwarders || emaildomainfwd</feature> <file>forwardersemail</file> <group>mail</group> <height>32</height> <imgtype>icon</imgtype> <itemdesc>$LANG{'NavForwarders'}</itemdesc> <itemorder>5</itemorder> <origin>x3 (System)</origin> <searchtext>$LANG{'forwarders-searchtxt'}</searchtext> <subtype>img</subtype> <type>image</type> <url>mail/fwds.html</url> <width>32</width> </items>
Is there any way to determine if one or the other is not selected in the feature package through the CPanel api?



LinkBack URL
About LinkBacks
Reply With Quote





