Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- layerinfo "type" = "theme";
- layerinfo "name" = "Custom layout & theme layer for EE";
- layerinfo source_viewable = 1;
- set text_module_customtext = "Credits & Style Info";
- function Page::print_global_title() {
- if ($.global_title) {
- """<h1 id="title">
- <span><a href="https://mm-writes.dreamwidth.org" title="The best-kept secret on teh Webs">Everything Else</a></span></h1>""";
- }
- }
- function FriendsPage::print_global_title() {
- var string title = $.friends_title ? $.friends_title : $.global_title;
- """<h1 id="title">
- <span><a href="https://mm-writes.dreamwidth.org/" title="Most recent posts on Everything Else">Everything Else</a></span></h1>""";
- }
- function Page::print_head_title()
- {
- if ($this isa FriendsPage) {
- print """<title>""" + $this->view_title() + $*text_default_separator + $.global_title + """</title>\n""";
- }
- elseif ($this isa RecentPage) {
- print """<title>""" + $.global_title + """</title>\n""";
- }
- else {
- print """<title>""" + $this->view_title() + $*text_default_separator + $.global_title + """</title>\n""";
- }
- }
- function Page::print()
- {
- """<!DOCTYPE html>
- <head><meta http-equiv="X-UA-Compatible" content="IE=Edge" />
- <meta name="viewport" content="width=device-width, initial-scale=1" />
- <meta name="description" content="Opinion mixed with opining, complaining, fine dining, little explanation, some whining, often cloudy with chance of scattered rhyming" />
- <meta name="google-site-verification" content="7tpATdbXYm4az3zU1r46yP1ysmdCZzWp4FSKV1VxL7E" />
- <link rel="shortcut icon" href="http://www.iconj.com/ico/3/7/37i07y859q.ico" type="image/x-icon" />
- """;
- $this->print_head();
- $this->print_stylesheets();
- $this->print_head_title();
- println "</head>";
- $this->print_wrapper_start();
- $this->print_control_strip();
- """
- <div id="container">
- <div id="header">
- <div id="top"></div>""";
- $this->print_global_title();
- """
- <a name="top"> </a>
- """;
- $this->print_global_subtitle();"""
- </div>
- """;
- $this->print_module_section("one");
- """
- <div id="wrap">
- <div id="content">
- """;
- $this->print_body();
- """
- <div class="top"><a href="#top" title="Jump to top of page">Top of Page</a></div>
- </div>
- """;
- $this->print_module_section("two");
- """
- </div><div style="clear:both;"></div>
- </div>
- <div id="footer">
- """;
- $this->print_module_section("three");
- """
- </div>
- """;
- $this->print_wrapper_end();
- """
- </html>
- """;
- }
- function print_module_customtext() {
- var Page p = get_page();
- open_module("customtext2", $*text_module_customtext, $*text_module_customtext_url);
- """<div class="module-typelist2">
- <div class="module-content">
- <ul class="module-list">
- <li class="module-list-item"><a href="https://style_test.dreamwidth.org/" title="And it really is...quite...elegant!">'Elegant Grunge' WP Layout (ported by Alis Dee)</a></li>
- <li class="module-list-item"><a href="https://pastebin.com/raw/Xmjjdpu7" title="widescreen version">Current CSS</a> (some images via <a href="http://ninetydegrees.dreamwidth.org">90°</a>)</li>
- <li class="module-list-item"><a href="https://www.dreamwidth.org/customize/advanced/layersource?id=116552&fmt=html" title="I like to play with the s2">Custom Theme Layer</a> (some s2 via <a href="http://ninetydegrees.dreamwidth.org">90°</a>)</li>
- </ul></div></div>
- <div class="module-typelist2">
- <h2 class="module-header1">Style Management</h2>
- <div class="module-content">
- <ul class="module-list">
- <li class="module-list-item"><a href="https://style-tester.dreamwidth.org/" title="Just another CSS playground">Style Tester</a></li>
- <li class="module-list-item"><a href="https://www.dreamwidth.org/customize/advanced/layersource?id=5927&fmt=html" title="For those little moments when I want to set fire to my style sheet">Transmog Base Style</a></li>
- <li class="module-list-item"><a href="https://s.dreamwidth.org/stc/??css/components/quick-reply.css,controlstrip.css,controlstrip-dark.css,jquery/jquery.ui.button.css,jquery/jquery.ui.dialog.css,jquery/jquery.ui.theme.smoothness.css?v=1448242651" title="Controlstrip, hovermenus">DW Components</a></li>
- <li class="module-list-item"><a href="http://www.raffoul.ca/users/masterslacker/ljhtmlparser.php" title="Converts raw code into raw-er code">LJ/DW HTML Mod Tool</a></li>
- </ul></div></div>
- <div class="module-typelist2">
- <h2 class="module-header1">Win 10 Re-installs</h2>
- <div class="module-content">
- <ul class="module-list">
- <li class="module-list-item"><a href="https://www.voidtools.com/Everything-1.3.4.686.x86.zip" title="Everything/Void Tools">Everything</a></li>
- <li class="module-list-item"><a href="https://notepad-plus-plus.org/repository/6.x/6.8.8/npp.6.8.8.Installer.exe" title="Notepad++">Notepad++</a></li>
- <li class="module-list-item"><a href="http://www.oldapps.com/fast_stone_capture.php?old_fscapture=17?download" title="FSCapture 5.3">FSCapture 5.3</a></li>
- <li class="module-list-item"><a href="https://addons.mozilla.org/en-us/firefox/collections/emnem/marahmarie/" title="My Firefox add-ons">Firefox Add-ons</a></li>
- <li class="module-list-item"><a href="https://greasyfork.org/scripts/2242-google-redone/code/Google%20Redone.user.js" title="Google Redone: needs some redoing">Google Redone</a></li>
- <li style="visibility:hidden"> <!-- GoStats Simple HTML Based Code --><a target="_blank" title="" href="https://gostats.com"><img alt=""
- src="https://ssl.gostats.com/bin/count/a_369968/t_5/i_1/ssl_c3.gostats.com/counter.png" style="border:0" /></a></li></ul></div></div>
- """;
- close_module();
- }
- # code by ninetydegrees/foxfirefey
- function print_module_navlinks() {
- var Page p = get_page();
- var string[] navlinks_order = [];
- var string{} navlinks_urls = {};
- var string{} navlinks_text = {};
- $navlinks_order =
- [
- "userinfo",
- "tags",
- "archive",
- "journals",
- "communities",
- "networkpc",
- ];
- $navlinks_urls =
- { "userinfo" => "https://mm-writes.dreamwidth.org/profile",
- "tags" => "https://mm-writes.dreamwidth.org/tag",
- "archive" => "https://mm-writes.dreamwidth.org/calendar",
- "journals" => "https://mm-writes.dreamwidth.org/read?show=P",
- "communities" => "https://mm-writes.dreamwidth.org/read?show=C",
- "networkpc" => "https://mm-writes.dreamwidth.org/network?show=PC",
- };
- $navlinks_text =
- { "userinfo" => "Profile",
- "tags" => "Tags",
- "archive" => "Archive",
- "journals" => "People",
- "communities" => "Places",
- "networkpc" => "Plains",
- };
- open_module("navlinks", "", "");
- var string[] links = [];
- foreach var string k ($navlinks_order) {
- if ($navlinks_urls{$k} != "") {
- var string css = """ class="$k" """;
- if ($p.view == $k) { $css = """ class="current $k" """; }
- $links[size $links] = """<a href="$navlinks_urls{$k}"$css>$navlinks_text{$k}</a>""";
- }
- }
- print_module_list($links);
- close_module();
- }
- function print_module_customtext() {
- var Page p = get_page();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement