Commit 25122186 authored by shammash's avatar shammash Committed by lechuck

updated constructor to 1.6.4

parent a4593bc6
......@@ -7,20 +7,11 @@
<?php get_header(); ?>
<div id="content" class="box shadow opacity <?php the_constructor_layout_class() ?>">
<div id="container" >
<div id="posts">
<div <?php post_class(); ?>>
<div class="title opacity box">
<h1 class="center"><a href="#" title="<?php _e('Error 404 - Not Found', 'constructor'); ?>"><?php _e('Error 404 - Not Found', 'constructor'); ?></a></h1>
</div>
<div class="entry">
<p class="center"><?php _e('Sorry, but you are looking for something that isn&#8217;t here.', 'constructor'); ?></p>
<p><?php get_search_form() ?></p>
</div>
<div class="footer">
<div class="line"></div>
</div>
</div>
</div>
<article <?php post_class(); ?>>
<h1 class="opacity box center"><a href="#" title="<?php _e('Error 404 - Not Found', 'constructor'); ?>"><?php _e('Error 404 - Not Found', 'constructor'); ?></a></h1>
<p><?php _e('Sorry, but you are looking for something that isn&#8217;t here.', 'constructor'); ?></p>
<p><?php get_search_form() ?></p>
</article>
</div><!-- id='container' -->
<script type="text/javascript">
// focus on search field after it has loaded
......
......@@ -33,55 +33,6 @@ $constructor_modules = array(
require_once CONSTRUCTOR_DIRECTORY .'/libs/Constructor/Admin.php';
/**
* Replace scandir()
*
* @category PHP
* @package PHP_Compat
* @link http://php.net/function.scandir
* @author Aidan Lister <aidan@php.net>
* @version $Revision: 1.18 $
* @since PHP 5
* @require PHP 4.0.0 (user_error)
*/
if (!function_exists('scandir')) {
function scandir($directory, $sorting_order = 0)
{
if (!is_string($directory)) {
user_error('scandir() expects parameter 1 to be string, ' .
gettype($directory) . ' given', E_USER_WARNING);
return;
}
if (!is_int($sorting_order) && !is_bool($sorting_order)) {
user_error('scandir() expects parameter 2 to be long, ' .
gettype($sorting_order) . ' given', E_USER_WARNING);
return;
}
if (!is_dir($directory) || (false === $fh = @opendir($directory))) {
user_error('scandir() failed to open dir: Invalid argument', E_USER_WARNING);
return false;
}
$files = array ();
while (false !== ($filename = readdir($fh))) {
$files[] = $filename;
}
closedir($fh);
if ($sorting_order == 1) {
rsort($files);
} else {
sort($files);
}
return $files;
}
}
$admin = new Constructor_Admin();
$admin -> init($constructor_modules);
.colorpicker {
width: 356px;
height: 176px;
overflow: hidden;
position: absolute;
background: url(../images/background.png);
font-family: Arial, Helvetica, sans-serif;
display: none;
}
.colorpicker_color {
width: 150px;
height: 150px;
left: 14px;
top: 13px;
position: absolute;
background: #f00;
overflow: hidden;
cursor: crosshair;
}
.colorpicker_color div {
position: absolute;
top: 0;
left: 0;
width: 150px;
height: 150px;
background: url(../images/overlay.png);
}
.colorpicker_color div div {
position: absolute;
top: 0;
left: 0;
width: 11px;
height: 11px;
overflow: hidden;
background: url(../images/select.gif);
margin: -5px 0 0 -5px;
}
.colorpicker_hue {
position: absolute;
top: 13px;
left: 171px;
width: 35px;
height: 150px;
cursor: n-resize;
}
.colorpicker_hue div {
position: absolute;
width: 35px;
height: 9px;
overflow: hidden;
background: url(../images/indic.gif) left top;
margin: -4px 0 0 0;
left: 0px;
}
.colorpicker_new_color {
position: absolute;
width: 60px;
height: 30px;
left: 213px;
top: 13px;
background: #f00;
}
.colorpicker_current_color {
position: absolute;
width: 60px;
height: 30px;
left: 283px;
top: 13px;
background: #f00;
}
.colorpicker input {
background-color: transparent;
border: 1px solid transparent;
position: absolute;
font-size: 10px;
font-family: Arial, Helvetica, sans-serif;
color: #898989;
top: 4px;
right: 11px;
text-align: right;
margin: 0;
padding: 0;
height: 11px;
}
.colorpicker_hex {
position: absolute;
width: 72px;
height: 22px;
background: url(../images/hex.png) top;
left: 212px;
top: 142px;
}
.colorpicker_hex input {
right: 6px;
}
.colorpicker_field {
height: 22px;
width: 62px;
background-position: top;
position: absolute;
}
.colorpicker_field span {
position: absolute;
width: 12px;
height: 22px;
overflow: hidden;
top: 0;
right: 0;
cursor: n-resize;
}
.colorpicker_rgb_r {
background-image: url(../images/rgb_r.png);
top: 52px;
left: 212px;
}
.colorpicker_rgb_g {
background-image: url(../images/rgb_g.png);
top: 82px;
left: 212px;
}
.colorpicker_rgb_b {
background-image: url(../images/rgb_b.png);
top: 112px;
left: 212px;
}
.colorpicker_hsb_h {
background-image: url(../images/hsb_h.png);
top: 52px;
left: 282px;
}
.colorpicker_hsb_s {
background-image: url(../images/hsb_s.png);
top: 82px;
left: 282px;
}
.colorpicker_hsb_b {
background-image: url(../images/hsb_b.png);
top: 112px;
left: 282px;
}
.colorpicker_submit {
position: absolute;
width: 22px;
height: 22px;
background: url(../images/submit.png) top;
left: 322px;
top: 142px;
overflow: hidden;
}
.colorpicker_focus {
background-position: center;
}
.colorpicker_hex.colorpicker_focus {
background-position: bottom;
}
.colorpicker_submit.colorpicker_focus {
background-position: bottom;
}
.colorpicker_slider {
background-position: bottom;
}
.colorpicker {
width: 356px;
height: 176px;
overflow: hidden;
position: absolute;
background: url(../images/background.png);
font-family: Arial, Helvetica, sans-serif;
display: none;
}
.colorpicker_color {
width: 150px;
height: 150px;
left: 14px;
top: 13px;
position: absolute;
background: #f00;
overflow: hidden;
cursor: crosshair;
}
.colorpicker_color div {
position: absolute;
top: 0;
left: 0;
width: 150px;
height: 150px;
background: url(../images/overlay.png);
}
.colorpicker_color div div {
position: absolute;
top: 0;
left: 0;
width: 11px;
height: 11px;
overflow: hidden;
background: url(../images/select.gif);
margin: -5px 0 0 -5px;
}
.colorpicker_hue {
position: absolute;
top: 13px;
left: 171px;
width: 35px;
height: 150px;
cursor: n-resize;
}
.colorpicker_hue div {
position: absolute;
width: 35px;
height: 9px;
overflow: hidden;
background: url(../images/indic.gif) left top;
margin: -4px 0 0 0;
left: 0px;
}
.colorpicker_new_color {
position: absolute;
width: 60px;
height: 30px;
left: 213px;
top: 13px;
background: #f00;
}
.colorpicker_current_color {
position: absolute;
width: 60px;
height: 30px;
left: 283px;
top: 13px;
background: #f00;
}
.colorpicker input {
background-color: transparent;
border: 1px solid transparent;
position: absolute;
font-size: 10px;
font-family: Arial, Helvetica, sans-serif;
color: #898989;
top: 4px;
right: 11px;
text-align: right;
margin: 0;
padding: 0;
height: 11px;
}
.colorpicker_hex {
position: absolute;
width: 72px;
height: 22px;
background: url(../images/hex.png) top;
left: 212px;
top: 142px;
}
.colorpicker_hex input {
right: 6px;
}
.colorpicker_field {
height: 22px;
width: 62px;
background-position: top;
position: absolute;
}
.colorpicker_field span {
position: absolute;
width: 12px;
height: 22px;
overflow: hidden;
top: 0;
right: 0;
cursor: n-resize;
}
.colorpicker_rgb_r {
background-image: url(../images/rgb_r.png);
top: 52px;
left: 212px;
}
.colorpicker_rgb_g {
background-image: url(../images/rgb_g.png);
top: 82px;
left: 212px;
}
.colorpicker_rgb_b {
background-image: url(../images/rgb_b.png);
top: 112px;
left: 212px;
}
.colorpicker_hsb_h {
background-image: url(../images/hsb_h.png);
top: 52px;
left: 282px;
}
.colorpicker_hsb_s {
background-image: url(../images/hsb_s.png);
top: 82px;
left: 282px;
}
.colorpicker_hsb_b {
background-image: url(../images/hsb_b.png);
top: 112px;
left: 282px;
}
.colorpicker_submit {
position: absolute;
width: 22px;
height: 22px;
background: url(../images/submit.png) top;
left: 322px;
top: 142px;
overflow: hidden;
}
.colorpicker_focus {
background-position: center;
}
.colorpicker_hex.colorpicker_focus {
background-position: bottom;
}
.colorpicker_submit.colorpicker_focus {
background-position: bottom;
}
.colorpicker_slider {
background-position: bottom;
}
......@@ -7,18 +7,24 @@
* @todo More flexible
*/
return array(
'Aclonica',
//'Allan',// 700 weight
'Allerta',
'"Allerta Stencil"',
'Amaranth',
'"Annie Use Your Telescope"',
'"Anonymous Pro"',
'Anton',
'"Architects Daughter"',
'Arimo', // Regular / Italic / Bold / Bold Italic
'Arvo', // Regular / Italic / Bold / Bold Italic
'Artifika',
'Asset',
'Astloch',
'Bentham',
'Bevan',
'"Bigshot One"',
'Brawler',
//'Buda', // 300 weight
'Cabin',
//'"Cabin Sketch"',// 700 weight
......@@ -26,6 +32,9 @@ return array(
'Candal',
'Cantarell', // Regular / Italic / Bold / Bold Italic
'Cardo',
'"Carter One"',
'Caudex',
'"Cedarville Cursive"',
'"Cherry Cream Soda"',
'Chewy',
//'Coda',// 800 weight
......@@ -37,16 +46,24 @@ return array(
'"Crimson Text"',
'Crushed',
'Cuprum',
'Damion',
'"Dancing Script"',
'"Dawning of a New Day"',
'"Didact Gothic"',
'"Droid Sans"', // Regular / Bold
'"Droid Sans Mono"',
'"Droid Serif"',
'"EB Garamond"',
'"Expletus Sans"',
'"Fontdiner Swanky"',
'"Francois One"',
'Geo',
'"Goblin One"',
'"Goudy Bookletter 1911"',
'"Gravitas One"',
'Gruppo',
'"Hammersmith One"',
'"Holtwood One SC"',
'"Homemade Apple"',
// "IM Fell" family
'"IM Fell English"',
......@@ -56,57 +73,106 @@ return array(
'"Irish Grover"',
'"Josefin Sans"',
'"Josefin Slab"',
'Judson',
'Jura',
'"Just Another Hand"',
'"Just Me Again Down Here"',
'Kameron',
'Kenia',
'Kranky',
'Kreon',
'Kristi',
'"La Belle Aurore"',
'Lato',
'"League Script"',
'Lekton',
'Limelight',
'Lobster',
'"Lobster Two"',
'Lora',
'"Luckiest Guy"',
'Mako',
'"Maven Pro"',
'Meddon',
'MedievalSharp',
'Megrim',
'Merriweather',
'Metrophobic',
'Michroma',
'Miltonian',
'"Miltonian Tattoo"',
'Molengo',
'Monofett',
'"Mountains of Christmas"',
'Muli',
'Neucha',
'Neuton',
'"News Cycle"',
'Nobile',
//'Nova', // 100 weight
'"Nova Square"',
'"Nova Oval"',
'"Nova Cut"',
'"Nova Round"',
'"Nova Script"',
'"Nova Mono"',
'Nunito',
'"OFL Sorts Mill Goudy TT"',
'"Old Standard TT"',
'Orbitron',
'Oswald',
'"PT Sans"',
'"PT Serif"',
'"Over the Rainbow"',
'Pacifico',
'"Paytone One"',
'"Permanent Marker"',
'Philosopher',
'Play',
'"Playfair Display"',
'Podkova',
'"PT Sans"',
'"PT Serif"',
'Puritan',
'Quattrocento',
'"Quattrocento Sans"',
'Radley',
//'Raleway', // 100 weight
'Redressed',
'"Reenie Beanie"',
'"Rock Salt"',
'Rokkitt',
'"Ruslan Display"',
'Schoolbell',
'"Shadows Into Light"',
'Shanti',
'"Sigmar One"',
'"Six Caps"',
'Slackey',
'Smythe',
//'Sniglet', // 800 weight
'"Special Elite"',
'"Sue Ellen Francisco"',
'Sunshiney',
'Syncopate',
'"Swanky and Moo Moo"',
'Tangerine',
'"Tenor Sans"',
'"Terminal Dosis Light"',
'"The Girl Next Door"',
'Tinos',
'Ubuntu',
'Ultra',
//'UnifrakturCook', // 700 weight
'UnifrakturMaguntia',
'Unkempt',
'VT323',
'Varela',
'Vibur',
'Vollkorn',
'VT323',
'"Waiting for the Sunrise"',
'"Walter Turncoat"',
'Wallpoet',
'"Wire One"',
'"Yanone Kaffeesatz"',
'Zeyada'
);
?>
\ No newline at end of file
......@@ -46,19 +46,24 @@ $css_file = $theme_path .'/style.css';
font-size:1.2em;
}</pre>
<?php _e('Sidebar', 'constructor');?>
<pre>.sidebar{
<pre>aside {
font-size:1.4em;
}</pre>
<?php _e('Content', 'constructor');?>
<pre>.hentry .title { /* post title */
<pre>.hentry header { /* post title */
border:0;
}