summaryrefslogtreecommitdiff
path: root/convert_r1_to_r2.sh
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-04-17 16:23:19 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-04-17 16:23:19 +0000
commit87312ca44f0b0d3080a2b8b8ef649eef92b70390 (patch)
tree7997cb65684384907037515985a22ccae8e43e1b /convert_r1_to_r2.sh
parent1fbaec5df1b4b7e52d73f0626e1a5125656d5599 (diff)
downloadinstall-87312ca44f0b0d3080a2b8b8ef649eef92b70390.tar.gz
install-87312ca44f0b0d3080a2b8b8ef649eef92b70390.tar.bz2
install-87312ca44f0b0d3080a2b8b8ef649eef92b70390.zip
more kernel_config renames - themes related config settings
Diffstat (limited to 'convert_r1_to_r2.sh')
-rw-r--r--convert_r1_to_r2.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/convert_r1_to_r2.sh b/convert_r1_to_r2.sh
index 0ce1f33..548bdde 100644
--- a/convert_r1_to_r2.sh
+++ b/convert_r1_to_r2.sh
@@ -454,6 +454,26 @@ then
find tidbits/ -name "*.tpl" -exec perl -i -wpe 's/\bfeature_tasks\b/tidbits_tasks/g' {} \;
find tidbits/ -name "*.tpl" -exec perl -i -wpe 's/\busermenu\b/tidbits_usermenu/g' {} \;
find tidbits/ -name "*.tpl" -exec perl -i -wpe 's/\buser_bookmarks\b/tidbits_bookmarks/g' {} \;
+
+ echo themes
+ find . -name "*.php" -not -name "upgrade_inc.php" -exec perl -i -wpe 's/\bslide_style\b/site_slide_style/g' {} \;
+ find . -name "*.php" -not -name "upgrade_inc.php" -exec perl -i -wpe 's/\btop_bar_dropdown\b/site_top_bar_dropdown/g' {} \;
+ find . -name "*.php" -not -name "upgrade_inc.php" -exec perl -i -wpe 's/\bmodallgroups\b/site_show_all_modules_always/g' {} \;
+ find . -name "*.php" -not -name "upgrade_inc.php" -exec perl -i -wpe 's/\bdisable_jstabs\b/site_disable_jstabs/g' {} \;
+ find . -name "*.php" -not -name "upgrade_inc.php" -exec perl -i -wpe 's/\bbot_bar\b/site_bot_bar/g' {} \;
+ find . -name "*.php" -not -name "upgrade_inc.php" -exec perl -i -wpe 's/\btop_bar\b/site_top_bar/g' {} \;
+ find . -name "*.php" -not -name "upgrade_inc.php" -exec perl -i -wpe 's/\bleft_column\b/site_left_column/g' {} \;
+ find . -name "*.php" -not -name "upgrade_inc.php" -exec perl -i -wpe 's/\bright_column\b/site_right_column/g' {} \;
+
+ find . -name "*.tpl" -not -name "upgrade_inc.php" -exec perl -i -wpe 's/\bslide_style\b/site_slide_style/g' {} \;
+ find . -name "*.tpl" -not -name "upgrade_inc.php" -exec perl -i -wpe 's/\btop_bar_dropdown\b/site_top_bar_dropdown/g' {} \;
+ find . -name "*.tpl" -not -name "upgrade_inc.php" -exec perl -i -wpe 's/\bmodallgroups\b/site_show_all_modules_always/g' {} \;
+ find . -name "*.tpl" -not -name "upgrade_inc.php" -exec perl -i -wpe 's/\bdisable_jstabs\b/site_disable_jstabs/g' {} \;
+ find . -name "*.tpl" -not -name "upgrade_inc.php" -exec perl -i -wpe "s/isFeatureActive\(\s*'top_bar'/isFeatureActive( 'site_top_bar'/g" {} \;
+ find . -name "*.tpl" -not -name "upgrade_inc.php" -exec perl -i -wpe "s/isFeatureActive\(\s*'bot_bar'/isFeatureActive( 'site_bot_bar'/g" {} \;
+ find . -name "*.tpl" -not -name "upgrade_inc.php" -exec perl -i -wpe 's/\bleft_column\b/site_left_column/g' {} \;
+ find . -name "*.tpl" -not -name "upgrade_inc.php" -exec perl -i -wpe 's/\bright_column\b/site_right_column/g' {} \;
+
fi
if [ $PERMS ]