SleePy Public Git Projects
Repositories
Main Site
GitHub Profile
SD-SimpleDesk
Code
Commits
Branches
Tags
Search
Tree:
a5641a8
Branches
Tags
master
smf21
1.0.1
2.0.0
v.21/2.1.1
v2.1/2.1-RC1
v2.1/2.1-RC2
v2.1/2.1.0
v2.1/2.1.1
v2.1/2.1.2
v2.1/2.1.3
SD-SimpleDesk
install-xml
install-parsebbc.xml
! Wiki links should be parsed in regular posts too. [Bug 705]
gruffen
commited
a5641a8
at 2011-05-27 04:38:57
install-parsebbc.xml
Blame
History
Raw
<?xml version="1.0"?> <!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification"> <modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/"> <id>SimpleDeskTeam:SimpleDesk</id> <version>2.0</version> <file name="$sourcedir/Subs.php"><!-- bbcode handler changes --> <operation><!-- expand the quote link= parameter --> <search position="before"><![CDATA[(?:topic|threadid)=[\dmsg#\./]{1,40}(?:;start=[\dmsg#\./]{1,40})?]]></search> <add><![CDATA[|action=helpdesk;sa=ticket;ticket=[\dmsg#\./]{1,40}(?:;start=[\dmsg#\./]{1,40})?]]></add> </operation> <operation><!-- Force the log of disabled tags to be reset if we're calling it in such a condition as it is being re-evaluated anyway --> <search position="before"><![CDATA[ if (!empty($modSettings['disabledBBC'])) {]]></search> <add><![CDATA[ $disabled = array(); // SimpleDesk added! Forces reset of $disabled if we're calling in an unusual way ]]></add> </operation> <operation><!-- Add wikistyle links for tickets --> <search position="after"><![CDATA[ // Shall we take the time to cache this?]]></search> <add><![CDATA[ // Add SimpleDesk wikilinks if (!empty($modSettings['helpdesk_active']) && !empty($modSettings['shd_allow_wikilinks']) && function_exists('shd_parse_wikilinks')) shd_parse_wikilinks($message); ]]></add> </operation> </file> </modification>