@@ -68,15 +68,20 @@ function open_framework_js_alter(&$javascript) {
6868}
6969
7070function open_framework_preprocess_page (&$ vars ) {
71- // Font Awesome
71+ // Bootstrap 2.3.1
72+ drupal_add_css (drupal_get_path ('theme ' , 'open_framework ' ) . '/packages/bootstrap-2.3.1/css/bootstrap.min.css ' , array ('group ' => CSS_DEFAULT , 'media ' => 'all ' , 'weight ' => 10 , 'preprocess ' => TRUE ));
73+ drupal_add_css (drupal_get_path ('theme ' , 'open_framework ' ) . '/packages/bootstrap-2.3.1/css/bootstrap-responsive.min.css ' , array ('group ' => CSS_DEFAULT , 'media ' => 'all ' , 'weight ' => 15 , 'preprocess ' => TRUE ));
74+ drupal_add_js (drupal_get_path ('theme ' , 'open_framework ' ) . '/packages/bootstrap-2.3.1/js/bootstrap.min.js ' , array ('group ' => JS_DEFAULT , 'weight ' => 10 , 'preprocess ' => TRUE ));
75+
76+ // Font Awesome version selection
7277 $ font_awesome_version = theme_get_setting ('font_awesome_version ' );
7378
7479 if ($ font_awesome_version == 'font-awesome-3 ' ) {
75- drupal_add_css (drupal_get_path ('theme ' , 'open_framework ' ) . '/packages/font-awesome-3.2.1/css/font-awesome.min.css ' , array ('group ' => CSS_DEFAULT , 'media ' => 'all ' , 'weight ' => 500 , 'preprocess ' => TRUE ));
80+ drupal_add_css (drupal_get_path ('theme ' , 'open_framework ' ) . '/packages/font-awesome-3.2.1/css/font-awesome.min.css ' , array ('group ' => CSS_DEFAULT , 'media ' => 'all ' , 'weight ' => 20 , 'preprocess ' => TRUE ));
7681 }
7782
7883 if ($ font_awesome_version == 'font-awesome-4 ' ) {
79- drupal_add_css (drupal_get_path ('theme ' , 'open_framework ' ) . '/packages/font-awesome-4.3.0/css/font-awesome.min.css ' , array ('group ' => CSS_DEFAULT , 'media ' => 'all ' , 'weight ' => 500 , 'preprocess ' => TRUE ));
84+ drupal_add_css (drupal_get_path ('theme ' , 'open_framework ' ) . '/packages/font-awesome-4.3.0/css/font-awesome.min.css ' , array ('group ' => CSS_DEFAULT , 'media ' => 'all ' , 'weight ' => 20 , 'preprocess ' => TRUE ));
8085 }
8186
8287 // Add page template suggestions based on the aliased path. For instance, if the current page has an alias of about/history/early, we'll have templates of:
0 commit comments