diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..e4f883e Binary files /dev/null and b/.DS_Store differ diff --git a/gravatar.png b/gravatar.png new file mode 100644 index 0000000..a3c1448 Binary files /dev/null and b/gravatar.png differ diff --git a/homeicon.png b/homeicon.png new file mode 100644 index 0000000..ff6d217 Binary files /dev/null and b/homeicon.png differ diff --git a/wordrupal.css b/wordrupal.css new file mode 100644 index 0000000..1ae8257 --- /dev/null +++ b/wordrupal.css @@ -0,0 +1,237 @@ +.wordrupal-top-menu +{ +height:28px; +min-height:28px; +width:100%; +min-width:960px; +position:absolute; +top:0px; +left:0px; +border-bottom:solid #393939 1px; +margin:0px; +float:left; +background-color:#464646; +} + +.wordrupal-top-menu > li +{ +float:left; +padding-right:12px; +padding-left:12px; +list-style:none; +line-height:30px; +font-size:13px; +border-right: 1px solid #333; +} + +.wordrupal-top-menu a +{ +color:#cccccc !important; +text-decoration:none; +} + + + + + +.wordrupal-first-menu +{ +position:absolute; +top:60px; +height:70px; +width: 146px; +left:0px; +border-bottom:solid #393939 1px; +margin:0px; +float:left; +background-color:#ffffff; +} + +.wordrupal-first-menu > li +{ +padding-left:4px; +list-style:none; +line-height:20px; +font-size:12px; +border-right: 1px solid #333; +} + +.wordrupal-first-menu a +{ +color:#21759b !important; +text-decoration:none; +} + +.wordrupal-first-menu a:hover, .wordrupal-first-menu li:hover +{ +color:#000000 !important; +background-color:#eaf2fa; +text-decoration:none; +} + + +.wordrupal-second-menu +{ +position:absolute; +top:130px; +left:0px; +width: 146px; +margin:0px; +float:left; +background-color:#ececec; +font-weight: bold; +} + +.wordrupal-second-menu > li +{ +padding-left:4px; +list-style:none; +height:30px; +font-size:12px; +border-right: 4px solid #dfdfdf; +border-top:solid #f9f9f9 1px; +border-bottom:solid #dfdfdf 1px; +padding: 5px 5px; +font-weight:bold; +} + +.wordrupal-second-menu a +{ +color:#21759b !important; +text-decoration:none; +} + +.wordrupal-second-menu a:hover, .wordrupal-second-menu li:hover +{ +color:#ff0000 !important; +background-color:#dfdfdf; +text-decoration:none; +} + +#icon1 +{ +width:20px;height:20px;margin-top:4px;background-image: url(http://andymartha.com/caffeine-monitor/wp-includes/images/admin-bar-sprite.png?d=20111130);background-position: 0px -76px;background-repeat: no-repeat; +} + +#icon2 +{ +width:20px;height:20px;margin-top:4px;background-image: url(http://andymartha.com/caffeine-monitor/wp-includes/images/admin-bar-sprite.png?d=20111130);background-position: -2px -159px;background-repeat: no-repeat; +} + +#icon3 +{ +width:20px;height:20px;margin-top:4px;background-image: url(http://andymartha.com/caffeine-monitor/wp-includes/images/admin-bar-sprite.png?d=20111130);background-position: -1px -134px;background-repeat: no-repeat; +} + +#icon4 +{ +width:20px;height:20px;margin-top:4px;background-image: url(http://andymartha.com/caffeine-monitor/wp-includes/images/admin-bar-sprite.png?d=20111130);background-position: -2px -182px;background-repeat: no-repeat; +} + +#icon5 +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -269px -33px;background-repeat: no-repeat; +} + +#icon5:hover +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -269px 0px;background-repeat: no-repeat; +} + +#icon6 +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -119px -33px;background-repeat: no-repeat; +} + +#icon6:hover +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -119px 0px;background-repeat: no-repeat; +} + +#icon7 +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -89px -33px;background-repeat: no-repeat; +} + +#icon7:hover +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -89px 0px;background-repeat: no-repeat; +} + +#icon8 +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -149px -33px;background-repeat: no-repeat; +} + +#icon8:hover +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -149px 0px;background-repeat: no-repeat; +} + +#icon9 +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -29px -33px;background-repeat: no-repeat; +} + +#icon9:hover +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -29px 0px;background-repeat: no-repeat; +} + +#icon10 +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: 1px -33px;background-repeat: no-repeat; +} + +#icon10:hover +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: 1px 0px;background-repeat: no-repeat; +} + +#icon11 +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -179px -33px;background-repeat: no-repeat; +} + +#icon11:hover +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -179px 0px;background-repeat: no-repeat; +} + +#icon12 +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -300px -33px;background-repeat: no-repeat; +} + +#icon12:hover +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -300px 0px;background-repeat: no-repeat; +} + +#icon13 +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -209px -33px;background-repeat: no-repeat; +} + +#icon13:hover +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -209px 0px;background-repeat: no-repeat; +} + +#icon14 +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -239px -33px;background-repeat: no-repeat; +} + +#icon14:hover +{ +position:relative; float:left; height:28px; width:28px; background-image: url(http://andymartha.com/caffeine-monitor/wp-admin/images/menu.png?ver=20120201);background-position: -239px 0px;background-repeat: no-repeat; +} + +#homeicon +{ +position:absolute; top:28px; left:0px; float:left; height:31px; width:160px; +} + + + diff --git a/wordrupal.info b/wordrupal.info new file mode 100644 index 0000000..a672f3d --- /dev/null +++ b/wordrupal.info @@ -0,0 +1,11 @@ +name = wordrupal +description = "This module changes Drupal into Wordpress to fool your friends." +core = 7.x +configure = admin/config/wordrupal + +; Information added by drupal.org packaging script on 2012-11-01 +version = "7.x-1.0-rc5" +core = "7.x" +project = "wordrupal" +datestamp = "1351786623" + diff --git a/wordrupal.js b/wordrupal.js new file mode 100644 index 0000000..8871d32 --- /dev/null +++ b/wordrupal.js @@ -0,0 +1,10 @@ +(function ($) { + Drupal.behaviors.interact = { + attach: function (context, settings) { +$('#section-footer').html('
'); +$('#section-content').css('margin-left', '140px'); +$('.site-name').css('margin-left', '140px'); +$("a:contains('Drupal Camp')").html('WORDPRESS CAMP ANTARTICA'); + } + } + })(jQuery); \ No newline at end of file diff --git a/wordrupal.module b/wordrupal.module new file mode 100644 index 0000000..69f054f --- /dev/null +++ b/wordrupal.module @@ -0,0 +1,65 @@ +This module changes Drupal into Wordpress to fool your friends.'); + case 'admin/settings/wordrupal': + return t('This module changes Drupal into Wordpress to fool your friends.'); + } +} + + +/** + * Implements hook_init(). + */ +function wordrupal_init() { + if ($_GET['q'] == "wordrupal") + { + drupal_add_css(drupal_get_path('module', 'wordrupal') . '/wordrupal.css'); + drupal_add_js(drupal_get_path('module', 'wordrupal') . '/wordrupal.js'); + drupal_set_message('Hello PhotoMatt!'); + } +} + + +/** + * Implements hook_menu(). + */ +function wordrupal_menu() { + $items = array(); + + $items['wordrupal'] = array( + 'title' => 'Welcome to your new WordPress site!', + 'page callback' => 'wordrupal_render_array', + 'access callback' => TRUE, + 'type' => MENU_NORMAL_ITEM, + ); + return $items; +} + +/** + * Menu callback; page callback returning a render array. + */ +function wordrupal_render_array() { + $build = array( + 'string_paragraph' => array( + '#type' => 'markup', + '#markup' => 'If you need help getting started, check out our documentation on First Steps with WordPress. If youd rather dive right in, here are a few things most people do first when they set up a new WordPress site. If you need help, use the Help tabs in the upper right corner to get information on how to use your current screen and where to go for more assistance.
', + ), + 'why_render_arrays' => array( + '#items' => array('This is a render array', 'This is a module generated list.'), + '#title' => 'Whatever camp this is, both CMS systems are great', + '#theme' => 'item_list', + ), + ); +return $build; +} \ No newline at end of file