1
0

Use functions (not global variables) for protocol and base_url

This commit is contained in:
2014-01-24 22:44:19 -05:00
parent 98e62cf748
commit 0bcbf328da
24 changed files with 55 additions and 53 deletions

View File

@ -7,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="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="<?php echo $base_url; ?>/favicon.ico" />
<link rel="stylesheet" href="<?php echo $base_url; ?>/stylesheet.css" type="text/css" media="screen" />
<link rel="shortcut icon" href="<?php echo get_base_url(); ?>/favicon.ico" />
<link rel="stylesheet" href="<?php echo get_base_url(); ?>/stylesheet.css" type="text/css" media="screen" />
</head>
<body>
<div id="content">
<div id="header">
<img src="<?php echo $base_url; ?>/img/ae_onrocks.png" />
<img src="<?php echo get_base_url(); ?>/img/ae_onrocks.png" />
<div id="header-inner">
<div id="header-aaron">Aaron Charles Lindsay</div>
<div id="header-and">and</div>
@ -23,12 +23,12 @@
</div>
<div id="nav">
<ul>
<li><a href="<?php echo $base_url; ?>">Home</a></li>
<li><a href="<?php echo $base_url; ?>/wedding_party">Wedding Party</a></li>
<li><a href="<?php echo $base_url; ?>/ceremony">Ceremony and Reception</a></li>
<li><a href="<?php echo $base_url; ?>/pictures">Pictures</a></li>
<li><a href="<?php echo $base_url; ?>/asheville">Asheville</a></li>
<li><a href="<?php echo $base_url; ?>/registry">Registry</a></li>
<li><a href="<?php echo get_base_url(); ?>">Home</a></li>
<li><a href="<?php echo get_base_url(); ?>/wedding_party">Wedding Party</a></li>
<li><a href="<?php echo get_base_url(); ?>/ceremony">Ceremony and Reception</a></li>
<li><a href="<?php echo get_base_url(); ?>/pictures">Pictures</a></li>
<li><a href="<?php echo get_base_url(); ?>/asheville">Asheville</a></li>
<li><a href="<?php echo get_base_url(); ?>/registry">Registry</a></li>
</ul>
</div>
<div id="main">