added 'add external plugin' button to IITC plugins preference. ensures that the scripts are always copied to the correct folder.

This commit is contained in:
Philipp Schaefer
2014-02-12 14:53:31 +01:00
parent 5e723ca328
commit 2054b5f790
8 changed files with 93 additions and 10 deletions

View File

@ -158,19 +158,17 @@ From here you can remove/disable individual plugins or IITC itself.
END
),
'mobile-plugins' => Array ( "IITC Mobile: Is it possible to add other plugins to IITC Mobile?",
'mobile-plugins' => Array ( "IITC Mobile: Is it possible to add external plugins to IITC Mobile?",
<<<'END'
Yes it is!
<ul>
<li>Create a folder named "IITC_Mobile" in your home directory.</li>
<li>Inside this folder, create a new folder named "plugins".</li>
<li>Copy all your additional plugins to this folder.</li>
<li>You should see your plugins listed above the official plugins.</li>
<li>Navigate to the IITC Plugins preference screen and click the (+) icon at the top right. You can select the script using a file explorer of your choice.</li>
<li>IITCm creates a new folder in your home directory, named "IITC_Mobile". Inside this folder you'll find a "plugins" folder where all external plugins are copied to.</li>
</ul>
Note:
<ul>
<li>The filename has to end with *.user.js.</li>
<li>If you don't know where to find your home directory: Enable dev-mode in the settings and follow the hint.</li>
<li>You need a file explorer app installed to add external plugins</li>
</ul>
END
),