SleePy Public Git Projects
Repositories
Main Site
GitHub Profile
SD-SimpleDesk
Code
Commits
Branches
Tags
Search
Tree:
d5a8381
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-2.1.xml
Basic stuff to cover install on a 2.1 alpha 1
emanuele
commited
d5a8381
at 2012-10-25 05:35:24
install-2.1.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/ManageMaintenance.php"><!-- at the same time we modify the post settings, make sure we check and update SD's if necessary --> <operation> <search position="replace"><![CDATA[ $smcFunc['db_change_column']('{db_prefix}messages', 'body', array('type' => 'mediumtext'));]]></search> <add><![CDATA[ { $smcFunc['db_change_column']('{db_prefix}messages', 'body', array('type' => 'mediumtext')); $smcFunc['db_change_column']('{db_prefix}helpdesk_ticket_replies', 'body', array('type' => 'mediumtext')); }]]></add> </operation> <operation> <search position="replace"><![CDATA[ $smcFunc['db_change_column']('{db_prefix}messages', 'body', array('type' => 'text'));]]></search> <add><![CDATA[ { $smcFunc['db_change_column']('{db_prefix}messages', 'body', array('type' => 'text')); $smcFunc['db_change_column']('{db_prefix}helpdesk_ticket_replies', 'body', array('type' => 'text')); }]]></add> </operation> <!-- @todo: add the check for tickets longer than xxx chars --> </file> <file name="$sourcedir/ManageLanguages.php"><!-- Language file handling --> <operation> <search position="after"><![CDATA[ // Check we have themes with a path and a name - just in case - and add the path.]]></search> <add><![CDATA[ // Add SimpleDesk to the list of possible places to look. $themes['shd'] = array('name' => 'SimpleDesk', 'theme_dir' => $settings['default_theme_dir'] . '/languages/sd_language'); $lang_dirs['shd'] = $settings['default_theme_dir'] . '/languages/sd_language'; $themes['shd_plugins'] = array('name' => 'SimpleDesk Plugins', 'theme_dir' => $settings['default_theme_dir'] . '/languages/sd_plugins_lang'); $lang_dirs['shd_plugins'] = $settings['default_theme_dir'] . '/languages/sd_plugins_lang'; ]]></add> </operation> </file> </modification>