Use http:// or https:// in URLs based on URL of current page
This commit is contained in:
parent
b80db8db05
commit
3793bac300
@ -1,4 +1,7 @@
|
|||||||
<?php include("../header_top.php"); ?>
|
<?php
|
||||||
|
include_once("../common.php");
|
||||||
|
include("../header_top.php");
|
||||||
|
?>
|
||||||
<title>aCal - aclindsay.com</title>
|
<title>aCal - aclindsay.com</title>
|
||||||
<?php include("../header_bottom.php"); ?>
|
<?php include("../header_bottom.php"); ?>
|
||||||
|
|
||||||
@ -29,7 +32,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li><a href="http://tools.ietf.org/html/rfc2445">iCalendar specification</a></li>
|
<li><a href="http://tools.ietf.org/html/rfc2445">iCalendar specification</a></li>
|
||||||
<li><a href="http://dojotoolkit.org">Dojo Toolkit</a></li>
|
<li><a href="http://dojotoolkit.org">Dojo Toolkit</a></li>
|
||||||
<li><a href="http://aclindsay.com/resume/">My Resume</a></li>
|
<li><a href="<?php echo $base_url; ?>/resume/">My Resume</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
include_once("common.php");
|
||||||
/**
|
/**
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
* @subpackage Default_Theme
|
* @subpackage Default_Theme
|
||||||
@ -11,7 +12,7 @@ get_header();
|
|||||||
|
|
||||||
<div id="main">
|
<div id="main">
|
||||||
<h2 class="center">Error 404 - Page Not Found</h2>
|
<h2 class="center">Error 404 - Page Not Found</h2>
|
||||||
<p>Oops, the page you are looking for does not exist. You may search using the search box, or visit the <a href="http://aclindsay.com">homepage</a> to get back on track.</p>
|
<p>Oops, the page you are looking for does not exist. You may search using the search box, or visit the <a href="<?php echo $base_url; ?>">homepage</a> to get back on track.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
1
aclindsa-wordpress-theme/common.php
Symbolic link
1
aclindsa-wordpress-theme/common.php
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../common.php
|
@ -1,4 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
include_once("common.php");
|
||||||
/**
|
/**
|
||||||
* @package WordPress
|
* @package WordPress
|
||||||
* @subpackage Default_Theme
|
* @subpackage Default_Theme
|
||||||
@ -12,7 +13,7 @@
|
|||||||
|
|
||||||
<title><?php wp_title('«', true, 'right'); ?> Blog - aclindsay.com</title>
|
<title><?php wp_title('«', true, 'right'); ?> Blog - aclindsay.com</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="http://aclindsay.com/css/stylesheet.css" type="text/css" media="screen" />
|
<link rel="stylesheet" href="<?php echo $base_url; ?>/css/stylesheet.css" type="text/css" media="screen" />
|
||||||
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
|
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
|
||||||
|
|
||||||
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
|
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
|
||||||
@ -22,7 +23,7 @@
|
|||||||
<body <?php body_class(); ?>>
|
<body <?php body_class(); ?>>
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<div id="header-inner">
|
<div id="header-inner">
|
||||||
<div id="title"><a href="http://aclindsay.com">aclindsay<span id="title-inner">.com</span></a></div>
|
<div id="title"><a href="<?php echo $base_url; ?>">aclindsay<span id="title-inner">.com</span></a></div>
|
||||||
<?php include("tabs.php"); ?>
|
<?php include("tabs.php"); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
11
common.php
Normal file
11
common.php
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?php
|
||||||
|
function get_protocol() {
|
||||||
|
$protocol = "http";
|
||||||
|
if ( (!empty($_SERVER['HTTPS'] && $_SERVER['HTTPS'] !== 'off') ||
|
||||||
|
$_SERVER['SERVER_PORT'] == 443) )
|
||||||
|
$protocol = "https";
|
||||||
|
return $protocol."://";
|
||||||
|
}
|
||||||
|
$protocol = get_protocol();
|
||||||
|
$base_url = $protocol.$_SERVER['HTTP_HOST'];
|
||||||
|
?>
|
@ -1,11 +1,14 @@
|
|||||||
<?php include("../header_top.php"); ?>
|
<?php
|
||||||
|
include_once("../common.php");
|
||||||
|
include("../header_top.php");
|
||||||
|
?>
|
||||||
<title>Bad Request - aclindsay.com</title>
|
<title>Bad Request - aclindsay.com</title>
|
||||||
<?php include("../header_bottom.php"); ?>
|
<?php include("../header_bottom.php"); ?>
|
||||||
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h2 class="center">Error 400 - Bad Request</h2>
|
<h2 class="center">Error 400 - Bad Request</h2>
|
||||||
<p>This HTTP request was malformed, and could not be processed. You may attempt to reload this page, but the software you are using (your browser) may be at fault.</p>
|
<p>This HTTP request was malformed, and could not be processed. You may attempt to reload this page, but the software you are using (your browser) may be at fault.</p>
|
||||||
<p>If you believe you are seeing this page in error, please <a href="http://aclindsay.com/contact/">contact me</a>.</p>
|
<p>If you believe you are seeing this page in error, please <a href="<?php echo $base_url; ?>/contact/">contact me</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include("../footer.php"); ?>
|
<?php include("../footer.php"); ?>
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
<?php include("../header_top.php"); ?>
|
<?php
|
||||||
|
include_once("../common.php");
|
||||||
|
include("../header_top.php");
|
||||||
|
?>
|
||||||
<title>Authorization Required - aclindsay.com</title>
|
<title>Authorization Required - aclindsay.com</title>
|
||||||
<?php include("../header_bottom.php"); ?>
|
<?php include("../header_bottom.php"); ?>
|
||||||
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h2 class="center">Error 401 - Authorization Required</h2>
|
<h2 class="center">Error 401 - Authorization Required</h2>
|
||||||
<p>The page you are requesting requires authorization. Please refresh this page and provide your login credentials, if you have them, or continue browsing with our <a href="http://aclindsay.com">homepage</a>.</p>
|
<p>The page you are requesting requires authorization. Please refresh this page and provide your login credentials, if you have them, or continue browsing with our <a href="<?php echo $base_url; ?>">homepage</a>.</p>
|
||||||
<p>If you believe you are seeing this page in error, please <a href="http://aclindsay.com/contact/">contact me</a>.</p>
|
<p>If you believe you are seeing this page in error, please <a href="<?php echo $base_url; ?>/contact/">contact me</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include("../footer.php"); ?>
|
<?php include("../footer.php"); ?>
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
<?php include("../header_top.php"); ?>
|
<?php
|
||||||
|
include_once("../common.php");
|
||||||
|
include("../header_top.php");
|
||||||
|
?>
|
||||||
<title>Forbidden - aclindsay.com</title>
|
<title>Forbidden - aclindsay.com</title>
|
||||||
<?php include("../header_bottom.php"); ?>
|
<?php include("../header_bottom.php"); ?>
|
||||||
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h2 class="center">Error 403 - Forbidden</h2>
|
<h2 class="center">Error 403 - Forbidden</h2>
|
||||||
<p>The page you are requesting will not be returned. Refreshing the page won't help either. Please use your browser's back buttons to return to the page you came from, or continue browsing with our <a href="http://aclindsay.com">homepage</a>.</p>
|
<p>The page you are requesting will not be returned. Refreshing the page won't help either. Please use your browser's back buttons to return to the page you came from, or continue browsing with our <a href="<?php echo $base_url; ?>">homepage</a>.</p>
|
||||||
<p>If you believe you are seeing this page in error, please <a href="http://aclindsay.com/contact/">contact me</a>.</p>
|
<p>If you believe you are seeing this page in error, please <a href="<?php echo $base_url; ?>/contact/">contact me</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include("../footer.php"); ?>
|
<?php include("../footer.php"); ?>
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
<?php include("../header_top.php"); ?>
|
<?php
|
||||||
|
include_once("../common.php");
|
||||||
|
include("../header_top.php");
|
||||||
|
?>
|
||||||
<title>Page Not Found - aclindsay.com</title>
|
<title>Page Not Found - aclindsay.com</title>
|
||||||
<?php include("../header_bottom.php"); ?>
|
<?php include("../header_bottom.php"); ?>
|
||||||
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h2 class="center">Error 404 - Page Not Found</h2>
|
<h2 class="center">Error 404 - Page Not Found</h2>
|
||||||
<p>Oops, the page you are looking for does not exist. You may use your browser's back button to return to the page from which you came, or visit the <a href="http://aclindsay.com">homepage</a>.</p>
|
<p>Oops, the page you are looking for does not exist. You may use your browser's back button to return to the page from which you came, or visit the <a href="<?php echo $base_url; ?>">homepage</a>.</p>
|
||||||
<p>If you believe you are seeing this page in error, or are searching for a page which no longer exists (but may still be linked to by other sites), please <a href="http://aclindsay.com/contact/">contact me</a>. I will do my best to point you in the right direction.</p>
|
<p>If you believe you are seeing this page in error, or are searching for a page which no longer exists (but may still be linked to by other sites), please <a href="<?php echo $base_url; ?>/contact/">contact me</a>. I will do my best to point you in the right direction.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include("../footer.php"); ?>
|
<?php include("../footer.php"); ?>
|
||||||
|
@ -1,10 +1,13 @@
|
|||||||
<?php include("../header_top.php"); ?>
|
<?php
|
||||||
|
include_once("../common.php");
|
||||||
|
include("../header_top.php");
|
||||||
|
?>
|
||||||
<title>Internal Server Error - aclindsay.com</title>
|
<title>Internal Server Error - aclindsay.com</title>
|
||||||
<?php include("../header_bottom.php"); ?>
|
<?php include("../header_bottom.php"); ?>
|
||||||
|
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<h2 class="center">Error 500 - Internal Server Error</h2>
|
<h2 class="center">Error 500 - Internal Server Error</h2>
|
||||||
<p>Oops, the server encountered an error while processing your request for this page. Please refresh the page and try again. If the error persists, please <a href="http://aclindsay.com/contact">contact me</a>.</p>
|
<p>Oops, the server encountered an error while processing your request for this page. Please refresh the page and try again. If the error persists, please <a href="<?php echo $base_url; ?>/contact">contact me</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php include("../footer.php"); ?>
|
<?php include("../footer.php"); ?>
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
<?php include_once("common.php"); ?>
|
||||||
|
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||||
<meta http-equiv="content-language" content="en-US" />
|
<meta http-equiv="content-language" content="en-US" />
|
||||||
<meta name="owner" content="Aaron Lindsay" />
|
<meta name="owner" content="Aaron Lindsay" />
|
||||||
@ -6,8 +8,8 @@
|
|||||||
<meta name="keywords" content="aaron charles lindsay, aaron lindsay, aaron, charles, lindsay, linux, kernel, programming, technology, git, python, c, ARM, assembly, go, resume, computer science, cs, lutheran, eagle scout" />
|
<meta name="keywords" content="aaron charles lindsay, aaron lindsay, aaron, charles, lindsay, linux, kernel, programming, technology, git, python, c, ARM, assembly, go, resume, computer science, cs, lutheran, eagle scout" />
|
||||||
<meta name="description" content="The personal website of Aaron Lindsay. Contains his personal blog, contact information, resume, calendar, and other miscellaneous things related to his web presence." />
|
<meta name="description" content="The personal website of Aaron Lindsay. Contains his personal blog, contact information, resume, calendar, and other miscellaneous things related to his web presence." />
|
||||||
|
|
||||||
<link rel="shortcut icon" href="http://aclindsay.com/favicon.ico" />
|
<link rel="shortcut icon" href="<?php echo $base_url; ?>/favicon.ico" />
|
||||||
<link rel="stylesheet" type="text/css" href="http://aclindsay.com/css/stylesheet.css" media="all" />
|
<link rel="stylesheet" type="text/css" href="<?php echo $base_url; ?>/css/stylesheet.css" media="all" />
|
||||||
|
|
||||||
<meta name="google-site-verification" content="qMjHgibWhOFUqaXZLyo0U3dfLcYiFuXIc-DzIKYBLi4" />
|
<meta name="google-site-verification" content="qMjHgibWhOFUqaXZLyo0U3dfLcYiFuXIc-DzIKYBLi4" />
|
||||||
|
|
||||||
@ -15,7 +17,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<div id="header-inner">
|
<div id="header-inner">
|
||||||
<div id="title"><a href="http://aclindsay.com">aclindsay<span id="title-inner">.com</span></a></div>
|
<div id="title"><a href="<?php echo $base_url; ?>">aclindsay<span id="title-inner">.com</span></a></div>
|
||||||
<?php include("tabs.php"); ?>
|
<?php include("tabs.php"); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
<?php include("header_top.php"); ?>
|
<?php
|
||||||
|
include_once("common.php");
|
||||||
|
include("header_top.php");
|
||||||
|
?>
|
||||||
<title>The Homepage of Aaron Lindsay - aclindsay.com</title>
|
<title>The Homepage of Aaron Lindsay - aclindsay.com</title>
|
||||||
<?php include("header_bottom.php"); ?>
|
<?php include("header_bottom.php"); ?>
|
||||||
|
|
||||||
@ -7,13 +10,13 @@
|
|||||||
<h2>The Homepage of Aaron Lindsay</h2>
|
<h2>The Homepage of Aaron Lindsay</h2>
|
||||||
|
|
||||||
<p>Welcome to my personal website!</p>
|
<p>Welcome to my personal website!</p>
|
||||||
<p>Here you will find assorted digital things associated with me: a <a href="http://aclindsay.com/blog/">blog</a> about personal, technological and programming-related topics, a few of the <a href="http://aclindsay.com/projects/">projects</a> on which I have worked, and other miscellany which includes my <a href="http://aclindsay.com/resume/">resume</a>, <a href="http://aclindsay.com/calendar/">calendar</a>, and <a href="http://aclindsay.com/contact/">contact information</a>.</p>
|
<p>Here you will find assorted digital things associated with me: a <a href="<?php echo $base_url; ?>/blog/">blog</a> about personal, technological and programming-related topics, a few of the <a href="<?php echo $base_url; ?>/projects/">projects</a> on which I have worked, and other miscellany which includes my <a href="<?php echo $base_url; ?>/resume/">resume</a>, <a href="<?php echo $base_url; ?>/calendar/">calendar</a>, and <a href="<?php echo $base_url; ?>/contact/">contact information</a>.</p>
|
||||||
|
|
||||||
<h3>About Me</h3>
|
<h3>About Me</h3>
|
||||||
<p>The ten-word summary: I am a Lutheran Eagle Scout who enjoys <strike style="text-decoration:line-through;">tinkering with</strike> <a href="http://www.catb.org/jargon/html/H/hacker.html">hacking</a> things.</p>
|
<p>The ten-word summary: I am a Lutheran Eagle Scout who enjoys <strike style="text-decoration:line-through;">tinkering with</strike> <a href="http://www.catb.org/jargon/html/H/hacker.html">hacking</a> things.</p>
|
||||||
</div>
|
</div>
|
||||||
<div id="sidebar">
|
<div id="sidebar">
|
||||||
<center><img src="http://aclindsay.com/graphics/aaron.jpg" alt="Aaron at Angel's Rest near Pearisburg, VA" title="Aaron at Angel's Rest near Pearisburg, VA" style="padding: .5em; width: 90%;" />
|
<center><img src="<?php echo $base_url; ?>/graphics/aaron.jpg" alt="Aaron at Angel's Rest near Pearisburg, VA" title="Aaron at Angel's Rest near Pearisburg, VA" style="padding: .5em; width: 90%;" />
|
||||||
<ul>
|
<ul>
|
||||||
<li><h4 style="margin: 1em 0 .5em 0;">Find me on:</h4></li>
|
<li><h4 style="margin: 1em 0 .5em 0;">Find me on:</h4></li>
|
||||||
<li><a href="https://github.com/aclindsa">Github</a></li>
|
<li><a href="https://github.com/aclindsa">Github</a></li>
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
<?php include("../header_top.php"); ?>
|
<?php
|
||||||
|
include_once("../common.php");
|
||||||
|
include("../header_top.php");
|
||||||
|
?>
|
||||||
<title>Projects - aclindsay.com</title>
|
<title>Projects - aclindsay.com</title>
|
||||||
<?php include("../header_bottom.php"); ?>
|
<?php include("../header_bottom.php"); ?>
|
||||||
|
|
||||||
@ -12,7 +15,7 @@
|
|||||||
<h3>Personal</h3>
|
<h3>Personal</h3>
|
||||||
<p>Most self-respecting geeks I know tend to leave personal projects in their wake in varying stages of completion. Here is a woefully incomplete and out-of-date listing of mine:</p>
|
<p>Most self-respecting geeks I know tend to leave personal projects in their wake in varying stages of completion. Here is a woefully incomplete and out-of-date listing of mine:</p>
|
||||||
<p><a href="http://aedrix.org">Aedrix</a>, a simple OS kernel which runs on ARM (inclusing the Raspberry Pi) and x86.</p>
|
<p><a href="http://aedrix.org">Aedrix</a>, a simple OS kernel which runs on ARM (inclusing the Raspberry Pi) and x86.</p>
|
||||||
<p>An <a href="http://aclindsay.com/blog/2011/06/the-sorry-state-of-open-source-dropbox-clones/">open-source Dropbox clone</a> written in python, <a href="https://github.com/aclindsa/asink">Asink</a>.</p>
|
<p>An <a href="<?php echo $base_url; ?>/blog/2011/06/the-sorry-state-of-open-source-dropbox-clones/">open-source Dropbox clone</a> written in python, <a href="https://github.com/aclindsa/asink">Asink</a>.</p>
|
||||||
<p>One project which I would love to actually work on if I ever had the time, can be found at <a href="http://acal.aclindsay.com">acal.aclindsay.com</a>. </p>
|
<p>One project which I would love to actually work on if I ever had the time, can be found at <a href="http://acal.aclindsay.com">acal.aclindsay.com</a>. </p>
|
||||||
<p>I volunteer some of my computers' idle time to the <a href="http://www.worldcommunitygrid.org/">World Community Grid</a>. It's easy, and helps to do things such as "find drugs that can disable three particular proteins associated with neuroblastoma, one of the most frequently occurring solid tumors in children" via the <a href="http://www.worldcommunitygrid.org/research/hfcc/overview.do">Help Fight Childhood Cancer</a> project.</p>
|
<p>I volunteer some of my computers' idle time to the <a href="http://www.worldcommunitygrid.org/">World Community Grid</a>. It's easy, and helps to do things such as "find drugs that can disable three particular proteins associated with neuroblastoma, one of the most frequently occurring solid tumors in children" via the <a href="http://www.worldcommunitygrid.org/research/hfcc/overview.do">Help Fight Childhood Cancer</a> project.</p>
|
||||||
<p>My <a href="https://github.com/aclindsa">github page</a> has several small projects I have worked on over time.</p>
|
<p>My <a href="https://github.com/aclindsa">github page</a> has several small projects I have worked on over time.</p>
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
<?php include("../header_top.php"); ?>
|
<?php
|
||||||
|
include_once("../common.php");
|
||||||
|
include("../header_top.php");
|
||||||
|
?>
|
||||||
<title>Aaron Lindsay - Resume - aclindsay.com</title>
|
<title>Aaron Lindsay - Resume - aclindsay.com</title>
|
||||||
<?php include("../header_bottom.php"); ?>
|
<?php include("../header_bottom.php"); ?>
|
||||||
|
|
||||||
@ -83,10 +86,10 @@ Virginia Polytechnic Institute and State University (Virginia Tech), Blacksburg,
|
|||||||
<div id="sidebar">
|
<div id="sidebar">
|
||||||
<h4>Other Formats</h4>
|
<h4>Other Formats</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="http://aclindsay.com/resume/AaronLindsay-Resume.pdf">Resume (pdf)</a></li>
|
<li><a href="<?php echo $base_url; ?>/resume/AaronLindsay-Resume.pdf">Resume (pdf)</a></li>
|
||||||
<li><a href="http://aclindsay.com/resume/AaronLindsay-Resume.tex">Resume (LaTeX)</a></li>
|
<li><a href="<?php echo $base_url; ?>/resume/AaronLindsay-Resume.tex">Resume (LaTeX)</a></li>
|
||||||
<li><a href="http://aclindsay.com/resume/AaronLindsay-Resume.txt">Resume (plain text)</a></li>
|
<li><a href="<?php echo $base_url; ?>/resume/AaronLindsay-Resume.txt">Resume (plain text)</a></li>
|
||||||
<li style="margin-top: 1em;">Note: All contact information has been removed from the above - please <a href="http://aclindsay.com/contact">contact me via email</a>.</li>
|
<li style="margin-top: 1em;">Note: All contact information has been removed from the above - please <a href="<?php echo $base_url; ?>/contact">contact me via email</a>.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
<?php include("../header_top.php"); ?>
|
<?php
|
||||||
|
include_once("../common.php");
|
||||||
|
include("../header_top.php");
|
||||||
|
?>
|
||||||
<title>SVG Parser - aclindsay.com</title>
|
<title>SVG Parser - aclindsay.com</title>
|
||||||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/dojo/1.5.0/dojo/dojo.xd.js"></script>
|
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/dojo/1.5.0/dojo/dojo.xd.js"></script>
|
||||||
<?php include("../header_bottom.php"); ?>
|
<?php include("../header_bottom.php"); ?>
|
||||||
@ -11,7 +14,7 @@
|
|||||||
but didn't cover many cases (example: gradient transformations). Therefore, if you wanted to use existing SVG
|
but didn't cover many cases (example: gradient transformations). Therefore, if you wanted to use existing SVG
|
||||||
files with dojox.gfx, you had to convert the file by hand. This was extremely tedious, so I have developed a converter tool
|
files with dojox.gfx, you had to convert the file by hand. This was extremely tedious, so I have developed a converter tool
|
||||||
with which you may convert existing SVG files into Javascript code ready to be used with dojox.gfx. If you have any comments or
|
with which you may convert existing SVG files into Javascript code ready to be used with dojox.gfx. If you have any comments or
|
||||||
suggestions for improvement, feel free to <a href="http://aclindsay.com/contact">contact me</a>.</p>
|
suggestions for improvement, feel free to <a href="<?php echo $base_url; ?>/contact">contact me</a>.</p>
|
||||||
<fieldset style="border: solid black 1px;padding: 1em;"><legend>SVG (XML)</legend>
|
<fieldset style="border: solid black 1px;padding: 1em;"><legend>SVG (XML)</legend>
|
||||||
<textarea id="input" rows="10" style="width: 100%" wrap="off"></textarea>
|
<textarea id="input" rows="10" style="width: 100%" wrap="off"></textarea>
|
||||||
<button onclick="submit()">Convert To Javascript</button>
|
<button onclick="submit()">Convert To Javascript</button>
|
||||||
@ -23,7 +26,7 @@
|
|||||||
function submit(){
|
function submit(){
|
||||||
var data = dojo.byId("input").value;
|
var data = dojo.byId("input").value;
|
||||||
dojo.rawXhrPost({
|
dojo.rawXhrPost({
|
||||||
url: "http://aclindsay.com/svgparser/parser/index.php",
|
url: "<?php echo $base_url; ?>/svgparser/parser/index.php",
|
||||||
handleAs: "text",
|
handleAs: "text",
|
||||||
postData: data,
|
postData: data,
|
||||||
|
|
||||||
|
9
tabs.php
9
tabs.php
@ -1,3 +1,4 @@
|
|||||||
|
<?php include_once("common.php"); ?>
|
||||||
<div id="tabs">
|
<div id="tabs">
|
||||||
<ul>
|
<ul>
|
||||||
<?php
|
<?php
|
||||||
@ -13,13 +14,13 @@ $base_domain = $_SERVER['HTTP_HOST'] == "aclindsay.com";
|
|||||||
foreach ($tabs as $name => $url) {
|
foreach ($tabs as $name => $url) {
|
||||||
if ($url == "/") {
|
if ($url == "/") {
|
||||||
if ($base_domain && $_SERVER['REQUEST_URI'] == "/")
|
if ($base_domain && $_SERVER['REQUEST_URI'] == "/")
|
||||||
echo "\t\t<li><a href=\"http://aclindsay.com/\" class=\"current\">Home</a></li>\n";
|
echo "\t\t<li><a href=\"".$base_url."/\" class=\"current\">Home</a></li>\n";
|
||||||
else
|
else
|
||||||
echo "\t\t<li><a href=\"http://aclindsay.com/\">Home</a></li>\n";
|
echo "\t\t<li><a href=\"".$base_url."/\">Home</a></li>\n";
|
||||||
} else if (strncmp($url, $_SERVER['REQUEST_URI'], strlen($url)) == 0)
|
} else if (strncmp($url, $_SERVER['REQUEST_URI'], strlen($url)) == 0)
|
||||||
echo "\t\t<li><a href=\"http://aclindsay.com".$url."\" class=\"current\">".$name."</a></li>\n";
|
echo "\t\t<li><a href=\"".$base_url."".$url."\" class=\"current\">".$name."</a></li>\n";
|
||||||
else
|
else
|
||||||
echo "\t\t<li><a href=\"http://aclindsay.com".$url."\">".$name."</a></li>\n";
|
echo "\t\t<li><a href=\"".$base_url."".$url."\">".$name."</a></li>\n";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -1,11 +1,14 @@
|
|||||||
<?php include("../header_top.php"); ?>
|
<?php
|
||||||
|
include("../common.php");
|
||||||
|
include("../header_top.php");
|
||||||
|
?>
|
||||||
<title>The Wedding of Aaron Lindsay and Elizabeth Pressman</title>
|
<title>The Wedding of Aaron Lindsay and Elizabeth Pressman</title>
|
||||||
<?php include("../header_bottom.php"); ?>
|
<?php include("../header_bottom.php"); ?>
|
||||||
|
|
||||||
<h1>Ceremony</h1>
|
<h1>Ceremony</h1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The ceremony will be held in <a href="http://wedding.aclindsay.com/asheville">Asheville</a> at the church Aaron grew up in, <a href="http://stmarkslutheran.net">St. Mark's Lutheran Church</a>, and will be presided over by the Rev. Christopher Webb and the Rev. Jim Abbott. The ceremony will begin at 4pm.
|
The ceremony will be held in <a href="<?php echo $base_url; ?>/asheville">Asheville</a> at the church Aaron grew up in, <a href="http://stmarkslutheran.net">St. Mark's Lutheran Church</a>, and will be presided over by the Rev. Christopher Webb and the Rev. Jim Abbott. The ceremony will begin at 4pm.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<center>
|
<center>
|
||||||
|
1
wedding/common.php
Symbolic link
1
wedding/common.php
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../common.php
|
@ -1,3 +1,4 @@
|
|||||||
|
<?php include_once("common.php"); ?>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||||
<meta http-equiv="content-language" content="en-US" />
|
<meta http-equiv="content-language" content="en-US" />
|
||||||
<meta name="owner" content="Aaron Lindsay and Elizabeth Pressman" />
|
<meta name="owner" content="Aaron Lindsay and Elizabeth Pressman" />
|
||||||
@ -6,13 +7,13 @@
|
|||||||
<meta name="keywords" content="aaron charles lindsay, aaron lindsay, aaron, charles, lindsay, elizabeth snow pressman, elizabeth pressman, elizabeth, snow, pressman, elizabeth snow lindsay, elizabeth lindsay" />
|
<meta name="keywords" content="aaron charles lindsay, aaron lindsay, aaron, charles, lindsay, elizabeth snow pressman, elizabeth pressman, elizabeth, snow, pressman, elizabeth snow lindsay, elizabeth lindsay" />
|
||||||
<meta name="description" content="Aaron Lindsay and Elizabeth Pressman's wedding website. Here you will find pictures, information about the cermony and reception, registry information, directions, and general information about Asheville." />
|
<meta name="description" content="Aaron Lindsay and Elizabeth Pressman's wedding website. Here you will find pictures, information about the cermony and reception, registry information, directions, and general information about Asheville." />
|
||||||
|
|
||||||
<link rel="shortcut icon" href="http://wedding.aclindsay.com/favicon.ico" />
|
<link rel="shortcut icon" href="<?php echo $base_url; ?>/favicon.ico" />
|
||||||
<link rel="stylesheet" href="http://aclindsay.com/wedding/stylesheet.css" type="text/css" media="screen" />
|
<link rel="stylesheet" href="<?php echo $base_url; ?>/stylesheet.css" type="text/css" media="screen" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<div id="header">
|
<div id="header">
|
||||||
<img src="http://wedding.aclindsay.com/img/ae_onrocks.png" />
|
<img src="<?php echo $base_url; ?>/img/ae_onrocks.png" />
|
||||||
<div id="header-inner">
|
<div id="header-inner">
|
||||||
<div id="header-aaron">Aaron Charles Lindsay</div>
|
<div id="header-aaron">Aaron Charles Lindsay</div>
|
||||||
<div id="header-and">and</div>
|
<div id="header-and">and</div>
|
||||||
@ -22,12 +23,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="nav">
|
<div id="nav">
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="http://wedding.aclindsay.com">Home</a></li>
|
<li><a href="<?php echo $base_url; ?>">Home</a></li>
|
||||||
<li><a href="http://wedding.aclindsay.com/wedding_party">Wedding Party</a></li>
|
<li><a href="<?php echo $base_url; ?>/wedding_party">Wedding Party</a></li>
|
||||||
<li><a href="http://wedding.aclindsay.com/ceremony">Ceremony and Reception</a></li>
|
<li><a href="<?php echo $base_url; ?>/ceremony">Ceremony and Reception</a></li>
|
||||||
<li><a href="http://wedding.aclindsay.com/pictures">Pictures</a></li>
|
<li><a href="<?php echo $base_url; ?>/pictures">Pictures</a></li>
|
||||||
<li><a href="http://wedding.aclindsay.com/asheville">Asheville</a></li>
|
<li><a href="<?php echo $base_url; ?>/asheville">Asheville</a></li>
|
||||||
<li><a href="http://wedding.aclindsay.com/registry">Registry</a></li>
|
<li><a href="<?php echo $base_url; ?>/registry">Registry</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
<h2>The Proposal</h2>
|
<h2>The Proposal</h2>
|
||||||
|
|
||||||
<img src="http://wedding.aclindsay.com/img/proposal.png" style="float: left;" />
|
<img src="<?php echo $base_url; ?>/img/proposal.png" style="float: left;" />
|
||||||
<p>Eventually, Aaron decided that it was time to pop the question. He took Elizabeth back up to Mountain Lake (one of our earlier trips that we both have fond memories of, and which played a part in us getting together in college). We hiked around the lake, and after having lunch, we wandered around the grounds, and eventually wound up at the <a href="http://www.flickr.com/photos/aclindsay/5626430362/in/set-72157626388833485/lightbox/">gazebo</a> which played a big role in Dirty Dancing. After dancing in the gazebo, Aaron pulled <a href="http://www.flickr.com/photos/aclindsay/6738099291/in/set-72157626388833485/lightbox/">the ring</a> out of his backpack, got down on one knee, and stammered out 7 words: "Elizabeth Snow Pressman, will you marry me?" Elizabeth said "Yes, of course!"</p>
|
<p>Eventually, Aaron decided that it was time to pop the question. He took Elizabeth back up to Mountain Lake (one of our earlier trips that we both have fond memories of, and which played a part in us getting together in college). We hiked around the lake, and after having lunch, we wandered around the grounds, and eventually wound up at the <a href="http://www.flickr.com/photos/aclindsay/5626430362/in/set-72157626388833485/lightbox/">gazebo</a> which played a big role in Dirty Dancing. After dancing in the gazebo, Aaron pulled <a href="http://www.flickr.com/photos/aclindsay/6738099291/in/set-72157626388833485/lightbox/">the ring</a> out of his backpack, got down on one knee, and stammered out 7 words: "Elizabeth Snow Pressman, will you marry me?" Elizabeth said "Yes, of course!"</p>
|
||||||
|
|
||||||
<?php include("footer.php"); ?>
|
<?php include("footer.php"); ?>
|
||||||
|
@ -24,44 +24,44 @@ h2 {
|
|||||||
<h2>The Girls</h2>
|
<h2>The Girls</h2>
|
||||||
|
|
||||||
<div class="person">
|
<div class="person">
|
||||||
<img src="http://wedding.aclindsay.com/img/jen_g.jpg" />
|
<img src="<?php echo $base_url; ?>/img/jen_g.jpg" />
|
||||||
<p><strong>Jen Goodson, Maid of Honor.</strong> Jen and Elizabeth met in the NC State marching band Freshman year of college and quickly became friends. They lived together Sophomore year. Jen is currently working at Progress Energy as a mechanical engineer in Raleigh. </p>
|
<p><strong>Jen Goodson, Maid of Honor.</strong> Jen and Elizabeth met in the NC State marching band Freshman year of college and quickly became friends. They lived together Sophomore year. Jen is currently working at Progress Energy as a mechanical engineer in Raleigh. </p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="person">
|
<div class="person">
|
||||||
<img src="http://wedding.aclindsay.com/img/laura.jpg" />
|
<img src="<?php echo $base_url; ?>/img/laura.jpg" />
|
||||||
<p><strong>Laura Seitz, Bridesmaid.</strong> Laura and Elizabeth met as suitemates Elizabeth's Sophomore year of college, and practically lived in the same room. They went on to live together Elizabeth's senior year. Laura is currently working at Nordstrom in Raleigh.</p>
|
<p><strong>Laura Seitz, Bridesmaid.</strong> Laura and Elizabeth met as suitemates Elizabeth's Sophomore year of college, and practically lived in the same room. They went on to live together Elizabeth's senior year. Laura is currently working at Nordstrom in Raleigh.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="person">
|
<div class="person">
|
||||||
<img src="http://wedding.aclindsay.com/img/jen_b.jpg" />
|
<img src="<?php echo $base_url; ?>/img/jen_b.jpg" />
|
||||||
<p><strong>Jen Bolous, Bridesmaid.</strong> Jen and Elizabeth met in a History class Freshman year of college. They soon discovered they were both studying to be Spanish teachers and were both from Asheville, NC. Jen is currently working as a Spanish teacher at Daniels Middle in Raleigh. </p>
|
<p><strong>Jen Bolous, Bridesmaid.</strong> Jen and Elizabeth met in a History class Freshman year of college. They soon discovered they were both studying to be Spanish teachers and were both from Asheville, NC. Jen is currently working as a Spanish teacher at Daniels Middle in Raleigh. </p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="person">
|
<div class="person">
|
||||||
<img src="http://wedding.aclindsay.com/img/beth.jpg" />
|
<img src="<?php echo $base_url; ?>/img/beth.jpg" />
|
||||||
<p><strong>Beth Deering, Bridesmaid.</strong> Elizabeth and Beth met at Mars Hill band camp in middle school. Despite going to different schools they remained very close throughout high school. Beth is currently working as a nanny in Weaverville, NC.</p>
|
<p><strong>Beth Deering, Bridesmaid.</strong> Elizabeth and Beth met at Mars Hill band camp in middle school. Despite going to different schools they remained very close throughout high school. Beth is currently working as a nanny in Weaverville, NC.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2>The Guys</h2>
|
<h2>The Guys</h2>
|
||||||
|
|
||||||
<div class="person">
|
<div class="person">
|
||||||
<img src="http://wedding.aclindsay.com/img/christopher.jpg" />
|
<img src="<?php echo $base_url; ?>/img/christopher.jpg" />
|
||||||
<p><strong>Christopher Lindsay, Best Man.</strong> The brother of the groom. Christopher and Elizabeth are also good friends and have known eachother since Elizabeth was in 8th grade and Christopher was in 6th. Christopher is graduating in May with a Biology degree from Virginia Tech, and will be going to medical school in the fall.</p>
|
<p><strong>Christopher Lindsay, Best Man.</strong> The brother of the groom. Christopher and Elizabeth are also good friends and have known eachother since Elizabeth was in 8th grade and Christopher was in 6th. Christopher is graduating in May with a Biology degree from Virginia Tech, and will be going to medical school in the fall.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="person">
|
<div class="person">
|
||||||
<img src="http://wedding.aclindsay.com/img/jacob.jpg" />
|
<img src="<?php echo $base_url; ?>/img/jacob.jpg" />
|
||||||
<p><strong>Jacob Pressman, Groomsman.</strong> The brother of the bride. Jacob and Aaron have known each other for quite some time, and Aaron likes to think he's part of the reason Jacob decided to go to Virginia Tech. Jacob is studying Electrical Engineering at Tech, and plans to graduate in 2015.</p>
|
<p><strong>Jacob Pressman, Groomsman.</strong> The brother of the bride. Jacob and Aaron have known each other for quite some time, and Aaron likes to think he's part of the reason Jacob decided to go to Virginia Tech. Jacob is studying Electrical Engineering at Tech, and plans to graduate in 2015.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="person">
|
<div class="person">
|
||||||
<img src="http://wedding.aclindsay.com/img/jon.jpg" />
|
<img src="<?php echo $base_url; ?>/img/jon.jpg" />
|
||||||
<p><strong>Jon Waldron, Groomsman.</strong> Jon and Aaron met as RAs in Miles Hall at Virginia Tech. They shared a hall and a few interesting memories as RAs in Miles. Jon is currently working towards an MS in Clinical Psychology at VT.</p>
|
<p><strong>Jon Waldron, Groomsman.</strong> Jon and Aaron met as RAs in Miles Hall at Virginia Tech. They shared a hall and a few interesting memories as RAs in Miles. Jon is currently working towards an MS in Clinical Psychology at VT.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="person">
|
<div class="person">
|
||||||
<img src="http://wedding.aclindsay.com/img/chris.jpg" />
|
<img src="<?php echo $base_url; ?>/img/chris.jpg" />
|
||||||
<p><strong>Chris Bodkins, Groomsman.</strong> Aaron also met Chris on the RA staff in Miles. They have enjoyed being roommates for the past year. Chris is graduating from Virginia Tech this spring with a degree in Finance. Chris is originally from McGaheysville, VA.</p>
|
<p><strong>Chris Bodkins, Groomsman.</strong> Aaron also met Chris on the RA staff in Miles. They have enjoyed being roommates for the past year. Chris is graduating from Virginia Tech this spring with a degree in Finance. Chris is originally from McGaheysville, VA.</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user