|
| 1 | +<?xml version="1.0" encoding="utf-8" standalone="yes" ?> |
| 2 | +<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?> |
| 3 | +<!-- |
| 4 | + For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. |
| 5 | + Although MODs are checked before being allowed in the MODs Database there is no guarantee that there |
| 6 | + are no security problems within the MOD. No support will be given for MODs not found within the MODs |
| 7 | + Database which can be found at http://www.phpbb.com/mods/ |
| 8 | +--> |
| 9 | +<!-- @id $Id$ --> |
| 10 | +<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd"> |
| 11 | + <header> |
| 12 | + <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> |
| 13 | + <title lang="en">Support Toolkit ACP link</title> |
| 14 | + <description lang="en">Adds a link in the ACP to the Support Toolkit</description> |
| 15 | + |
| 16 | + <author-group> |
| 17 | + <author> |
| 18 | + <username>Erik Frèrerejean</username> |
| 19 | + <realname>Erik Frèrerejean</realname> |
| 20 | + <homepage>http://www.erikfrerejean.nl</homepage> |
| 21 | + |
| 22 | + <contributions-group> |
| 23 | + <contributions status="current" from="2009-01-21" position="Developer" /> |
| 24 | + </contributions-group> |
| 25 | + </author> |
| 26 | + <author> |
| 27 | + <username>iWisdom</username> |
| 28 | + <realname>Phil Crumm</realname> |
| 29 | + <homepage>http://p3net.net</homepage> |
| 30 | + |
| 31 | + <contributions-group> |
| 32 | + <contributions status="current" from="2010-01-19" position="Developer" /> |
| 33 | + </contributions-group> |
| 34 | + </author> |
| 35 | + <author> |
| 36 | + <username>EXreaction</username> |
| 37 | + <realname>Nathan Guse</realname> |
| 38 | + <homepage>http://www.lithiumstudios.org/</homepage> |
| 39 | + |
| 40 | + <contributions-group> |
| 41 | + <contributions status="past" from="2009-01-21" to="2009-10-31" position="Developer" /> |
| 42 | + </contributions-group> |
| 43 | + </author> |
| 44 | + </author-group> |
| 45 | + |
| 46 | + <mod-version>2.0.0-dev</mod-version> |
| 47 | + |
| 48 | + <installation> |
| 49 | + <level>easy</level> |
| 50 | + <time>60</time> |
| 51 | + <target-version>3.1.0</target-version> |
| 52 | + </installation> |
| 53 | + </header> |
| 54 | + |
| 55 | + <action-group> |
| 56 | + <open src="adm/index.php"> |
| 57 | + <edit> |
| 58 | + <find><![CDATA['S_CONTENT_FLOW_END' => ($user->]]></find> |
| 59 | + <action type="after-add"><![CDATA[ //-- Support Toolkit |
| 60 | + //-- Add: |
| 61 | + 'U_STK_INDEX' => ($user->data['user_type'] == USER_FOUNDER) ? append_sid("{$phpbb_root_path}stk/index.$phpEx", false, true, $user->session_id) : '', |
| 62 | + //-- End Support Toolkit]]></action> |
| 63 | + </edit> |
| 64 | + </open> |
| 65 | + |
| 66 | + <open src="adm/style/overall_header.html"> |
| 67 | + <edit> |
| 68 | + <find><![CDATA[<p><a href="{U_ADM_INDEX}">{L_ADMIN_INDEX}</a>]]></find> |
| 69 | + <inline-edit> |
| 70 | + <inline-find><![CDATA[<p>]]></inline-find> |
| 71 | + <inline-action type="after-add"><![CDATA[<!-- IF U_STK_INDEX --><a href="{U_STK_INDEX}">{L_SUPPORT_TOOL_KIT_INDEX}</a> • <!-- ENDIF -->]]></inline-action> |
| 72 | + </inline-edit> |
| 73 | + </edit> |
| 74 | + </open> |
| 75 | + |
| 76 | + <open src="language/en/acp/common.php"> |
| 77 | + <edit> |
| 78 | + <find><![CDATA['WARNING' => 'Warning',]]></find> |
| 79 | + <action type="after-add"><![CDATA[ //-- Support Toolkit |
| 80 | + //-- Add: |
| 81 | + 'SUPPORT_TOOL_KIT_INDEX' => 'Support Toolkit Index', |
| 82 | + //-- End Support Toolkit]]></action> |
| 83 | + </edit> |
| 84 | + </open> |
| 85 | + </action-group> |
| 86 | +</mod> |
0 commit comments