Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html dir="ltr" lang="en-US">
- <head>
- <meta charset="UTF-8" />
- <!--[if IE]><![endif]-->
- <!--[if lt IE 9]>
- <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
- <![endif]-->
- <title>Working Group for Peace & Demilitarization in Asia & the Pacific | </title>
- <link rel="profile" href="http://gmpg.org/xfn/11" />
- <link rel="stylesheet" href="http://www.asiapacificinitiative.org/wp-content/themes/presswork/style.css" type="text/css" media="screen" />
- <!-- PressWork Theme Option CSS -->
- <style type="text/css" id="pw_style_preview">
- body { font-family: Nobile; font-size: 13px; }
- h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-family: Nobile; }
- #body-wrapper { color: #444444; width: 1290px; padding: 0px; background-color: #ffffff; }
- #headerbanner, #footer { width: 1290px; }
- #headerbanner li.mainl#header_image { background-size: 1290px; }
- #main-wrapper > li { margin: 0 15px; }
- #main-wrapper .el3 { *margin-left: 30px; }
- #firstsidebar { width: 300px; }
- #secondsidebar { width: 180px; }
- #maincontent { width: 960px; }
- body.fullwidth #maincontent { width: 1290px; }
- .siteheader a { color: #3ba576; }
- .siteheader a:hover { color: #da652b; }
- #description { color: #444444; }
- a { color: #2b904e; }
- a:hover { color: #4fb859; }
- #nav nav ul { background: #ffffff; }
- #nav nav a { color: #3e86da }
- #nav nav a:hover, #nav nav .sub-menu li, #nav nav li:hover { color: #3ba576; background: #ffffff; }
- #subnav nav ul { background: #FFFFFF; }
- #subnav nav a { color: #222222 }
- #subnav nav a:hover, #subnav nav .sub-menu li, #subnav nav li:hover { color: #222222; background: #EEEEEE; }
- #footer nav ul { background: #FFFFFF; }
- #footer nav a { color: #222222 }
- #footer nav a:hover, #footer nav .sub-menu li, #footer nav li:hover { color: #222222; background: #EEEEEE; }
- h1.catheader { color: #3b3b3b; }
- article .meta { color: #888888; }
- article .posttitle, article .posttitle a { color: #222222; }
- article .posttitle a:hover { color: #222222; }
- article .content-col { padding-left: 165px; }
- @media only screen and (max-device-width: 768px), only screen and (max-width: 768px) {
- #body-wrapper { width: 720px !important; padding: 0 10px; }
- body.fullwidth #maincontent, #headerbanner, #footer { width: 720px !important; }
- #header_image { background-size: 720px !important; height: 89.3023255814px !important; }
- #maincontent { width: 525.813953488px !important; }
- #firstsidebar { width: 167.441860465px !important; }
- #secondsidebar { width: 85.4651162791px !important; }
- }
- @media only screen and (max-width: 480px), only screen and (max-device-width: 480px) {
- #body-wrapper { width: 420px !important; padding: 0 10px; }
- body.fullwidth #maincontent, #headerbanner, #footer { width: 420px !important; }
- #maincontent { width: 420px !important; }
- #header_image { background-size: 420px !important; height: 52.0930232558px !important; }
- .home article { width: 100%; }
- #firstsidebar, #secondsidebar { float: none; width: 100% !important; }
- #main-wrapper > li { margin: 0 !important; }
- #extendedfooter .bottom-widget { width: 100%; margin: 0 0 20px; }
- }
- </style>
- <!-- eof PressWork Theme Option CSS -->
- <link rel="pingback" href="http://www.asiapacificinitiative.org/xmlrpc.php" />
- <link rel="shortcut icon" type="image/x-icon" href="http://www.asiapacificinitiative.org/wp-content/themes/presswork/admin/images/favicon.ico" />
- <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame -->
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta name="viewport" content="width=device-width" />
- <style type="text/css">
- #wpadminbar .quicklinks li:hover ul ul {
- left: auto;
- }
- </style>
- <link rel="alternate" type="application/rss+xml" title="Working Group for Peace & Demilitarization in Asia & the Pacific » Feed" href="http://www.asiapacificinitiative.org/?feed=rss2" />
- <link rel="alternate" type="application/rss+xml" title="Working Group for Peace & Demilitarization in Asia & the Pacific » Comments Feed" href="http://www.asiapacificinitiative.org/?feed=comments-rss2" />
- <link rel='stylesheet' id='admin-bar-css' href='http://www.asiapacificinitiative.org/wp-includes/css/admin-bar.css?ver=3.4.1' type='text/css' media='all' />
- <link rel='stylesheet' id='adminbar_search_css-css' href='http://www.asiapacificinitiative.org/wp-content/plugins/enhanced-admin-bar-with-codex-search/css/adminbar_search.css?ver=3.4.1' type='text/css' media='all' />
- <link rel='stylesheet' id='pw_toolbox-css' href='http://www.asiapacificinitiative.org/wp-content/themes/presswork/admin/css/toolbox-styles.css?ver=3.4.1' type='text/css' media='all' />
- <link rel='stylesheet' id='farbtastic-css' href='http://www.asiapacificinitiative.org/wp-admin/css/farbtastic.css?ver=1.3u1' type='text/css' media='all' />
- <link rel='stylesheet' id='pw_google_font-css' href='http://fonts.googleapis.com/css?family=Quattrocento%7CDroid+Sans%7CDroid+Serif%7CLobster%7CPT+Sans%7CYanone+Kaffeesatz%7CArvo%7CUbuntu%7COpen+Sans%7CPacifico%7CCalligraffitti%7CReenie+Beanie%7CCrafty+Girls%7CTangerine%7COswald%7CShadows+Into+Light%7CNobile%7CRaleway%7CRock+Salt%7CCopse&ver=3.4.1' type='text/css' media='all' />
- <script type='text/javascript' src='http://www.asiapacificinitiative.org/wp-includes/js/jquery/jquery.js?ver=1.7.2'></script>
- <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://www.asiapacificinitiative.org/xmlrpc.php?rsd" />
- <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://www.asiapacificinitiative.org/wp-includes/wlwmanifest.xml" />
- <meta name="generator" content="WordPress 3.4.1" />
- <style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>
- <style type="text/css" media="print">#wpadminbar { display:none; }</style>
- <style type="text/css" media="screen">
- html { margin-top: 28px !important; }
- * html body { margin-top: 28px !important; }
- </style>
- <style type="text/css">
- #header_image { background: url(http://www.asiapacificinitiative.org/wp-content/uploads/2012/08/cropped-Copy-of-peace-cranes2.jpg); height: 160px; width: 1290px; }
- </style>
- <style type="text/css" id="custom-background-css">
- body.custom-background { background-color: #ffffff; }
- </style>
- </head>
- <!--[if lt IE 7 ]> <body class="home blog logged-in admin-bar custom-background ie6"> <![endif]-->
- <!--[if IE 7 ]> <body class="home blog logged-in admin-bar custom-background ie7"> <![endif]-->
- <!--[if IE 8 ]> <body class="home blog logged-in admin-bar custom-background ie8"> <![endif]-->
- <!--[if IE 9 ]> <body class="home blog logged-in admin-bar custom-background ie9"> <![endif<]-->
- <!--[if (gt IE 9)|!(IE)]><!--> <body class="home blog logged-in admin-bar custom-background"> <!--<![endif]-->
- <div id="body-wrapper" class="clearfix">
- <header id="header-main" role="banner"> <!-- begin header -->
- <ul id="headerbanner" class="clearfix">
- <li id="blogname" class="mainl">
- <div class="handle hand"><span></span>Blog Name<a href="javascript:void(0)" class="delete_element" data-pw-ids="blogname" data-pw-selectors="header_option"></a></div> <h1 id="site-title" class="siteheader"><a href="http://www.asiapacificinitiative.org/">Working Group for Peace & Demilitarization in Asia & the Pacific</a></h1>
- </li>
- <li id="header_image" class="mainl"><div class="handle hand"><span></span>Header Image<a href="javascript:void(0)" class="delete_element" data-pw-ids="header_image" data-pw-selectors="header_option"></a></div></li>
- <li id="nav" class="mainl"><div class="handle hand"><span></span>Primary Nav Menu<a href="javascript:void(0)" class="delete_element" data-pw-ids="nav" data-pw-selectors="header_option"></a></div><nav class="clear fl" role="navigation"><h3 class="assistive-text">Main menu</h3><ul id="menu-main" class="menu"><li id="menu-item-26" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-26"><a href="http://asiapacificinitiative.org">Home</a></li>
- <li id="menu-item-16" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-16"><a href="http://www.asiapacificinitiative.org/?page_id=14">About Us</a>
- <ul class="sub-menu">
- <li id="menu-item-28" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-28"><a href="http://www.asiapacificinitiative.org/?page_id=20">Mission Statement</a></li>
- <li id="menu-item-27" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-27"><a href="http://www.asiapacificinitiative.org/?page_id=23">Member Groups & Endorsing Organizations</a></li>
- </ul>
- </li>
- <li id="menu-item-10" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-10"><a href="http://www.asiapacificinitiative.org/?cat=3">Learn More</a>
- <ul class="sub-menu">
- <li id="menu-item-11" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-11"><a href="http://www.asiapacificinitiative.org/?cat=10">Resources by Issue</a></li>
- <li id="menu-item-12" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-12"><a href="http://www.asiapacificinitiative.org/?cat=9">Resources by Region</a></li>
- </ul>
- </li>
- <li id="menu-item-9" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-9"><a href="http://www.asiapacificinitiative.org/?cat=4">In the News</a></li>
- <li id="menu-item-6" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-6"><a href="http://www.asiapacificinitiative.org/?cat=5">Get Involved</a>
- <ul class="sub-menu">
- <li id="menu-item-7" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-7"><a href="http://www.asiapacificinitiative.org/?cat=7">Action Items</a></li>
- <li id="menu-item-8" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-8"><a href="http://www.asiapacificinitiative.org/?cat=8">Events Near You</a></li>
- </ul>
- </li>
- </ul></nav></li> </ul> <!-- end headerbanner -->
- <div id="social-icons" class="small"></div> </header> <!-- end header -->
- <ul id="main-wrapper">
- <li id="maincontent" role="main"> <!-- begin maincontent -->
- <div class="handle hand"><span></span>Main Content</div><aside id="search-2" class="content-widget widget_search"><form role="search" method="get" id="searchform" action="http://www.asiapacificinitiative.org/" >
- <label class="assistive-text" for="s">Search for:</label>
- <input type="search" placeholder="Search..." value="" name="s" id="s" />
- </form></aside> <aside id="recent-posts-2" class="content-widget widget_recent_entries"> <header><h1 class="catheader">Recent Posts</h1></header> <ul>
- <li><a href="http://www.asiapacificinitiative.org/?p=1" title="Hello world!">Hello world!</a></li>
- </ul>
- </aside><aside id="recent-comments-2" class="content-widget widget_recent_comments"><header><h1 class="catheader">Recent Comments</h1></header><ul id="recentcomments"><li class="recentcomments"><a href='http://wordpress.org/' rel='external nofollow' class='url'>Mr WordPress</a> on <a href="http://www.asiapacificinitiative.org/?p=1#comment-1">Hello world!</a></li></ul></aside><aside id="archives-2" class="content-widget widget_archive"><header><h1 class="catheader">Archives</h1></header> <ul>
- <li><a href='http://www.asiapacificinitiative.org/?m=201208' title='August 2012'>August 2012</a></li>
- </ul>
- </aside><aside id="categories-2" class="content-widget widget_categories"><header><h1 class="catheader">Categories</h1></header> <ul>
- <li class="cat-item cat-item-1"><a href="http://www.asiapacificinitiative.org/?cat=1" title="View all posts filed under Uncategorized">Uncategorized</a>
- </li>
- </ul>
- </aside><aside id="meta-2" class="content-widget widget_meta"><header><h1 class="catheader">Meta</h1></header> <ul>
- <li><a href="http://www.asiapacificinitiative.org/wp-admin/">Site Admin</a></li> <li><a href="http://www.asiapacificinitiative.org/wp-login.php?action=logout&_wpnonce=4e44ef8f0f">Log out</a></li>
- <li><a href="http://www.asiapacificinitiative.org/?feed=rss2" title="Syndicate this site using RSS 2.0">Entries <abbr title="Really Simple Syndication">RSS</abbr></a></li>
- <li><a href="http://www.asiapacificinitiative.org/?feed=comments-rss2" title="The latest comments to all posts in RSS">Comments <abbr title="Really Simple Syndication">RSS</abbr></a></li>
- <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress.org</a></li>
- </ul>
- </aside>
- <article id="post-1" class="post-1 post type-post status-publish format-standard hentry category-uncategorized pw pw1 odd">
- <div>
- <header>
- <hgroup>
- <h1 class="posttitle"><a href="http://www.asiapacificinitiative.org/?p=1" title="Permalink to Hello world!" rel="bookmark">Hello world!</a></h1>
- <h2 class="meta">
- by <a href="http://www.asiapacificinitiative.org/?author=1" title="Posts by admin" rel="author">admin</a> • August 2, 2012 • <a href="http://www.asiapacificinitiative.org/?p=1#comments" title="Comment on Hello world!">1 Comment</a> </h2>
- </hgroup>
- </header>
- <div class="storycontent">
- <p class="excerpt">Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!</p><a href="http://www.asiapacificinitiative.org/?p=1" class="more-link">Read more →</a> </div>
- </div>
- </article>
- <div id="indexposts" class="clear fl">
- </div> </li> <!-- end #maincontent -->
- <li id="firstsidebar" role="complementary" class="el2"> <!-- begin firstsidebar -->
- <div class="handle hand"><span></span>First Sidebar<a href="javascript:void(0)" class="delete_element" data-pw-ids="firstsidebar" data-pw-selectors="layout_option"></a></div><aside class="side-widget widget_search"><form role="search" method="get" id="searchform" action="http://www.asiapacificinitiative.org/" >
- <label class="assistive-text" for="s">Search for:</label>
- <input type="search" placeholder="Search..." value="" name="s" id="s" />
- </form></aside><aside class="side-widget pw_featured_posts"><header><h3>Featured Posts</h3></header> <article id="post-1" class="post-1 post type-post status-publish format-standard hentry category-uncategorized side-featured odd">
- <div>
- <header>
- <h1 class="posttitle"><a href="http://www.asiapacificinitiative.org/?p=1" title="Permalink to Hello world!" rel="bookmark">Hello world!</a></h1>
- <div class="meta">
- August 2, 2012 </div>
- </header>
- <div class="storycontent">
- <p class="excerpt">Welcome to WordPress. This is your first post. Edit or delete it, then start...</p> </div>
- </div>
- </article>
- </aside><aside class="side-widget pw_twitter_feed"><header><h3>Latest Tweets</h3></header><ul class='mytweets'><li>RT @<a class=" " href="https://twitter.com/UberFacts">UberFacts</a>: More children ages 5 to 14 die <em>from</em> playing baseball than any other sport.</li><li>RT @<a class=" " href="https://twitter.com/UberFacts">UberFacts</a>: More children ages 5 to 14 die <em>from</em> playing baseball than any other sport.</li><li>RT @<a class=" " href="https://twitter.com/GhettoEnglish">GhettoEnglish</a>: "Girl Bye" = Your stupidity has resulted in my irritation with you therefore I'm dismissing you <em>from</em> my presence.</li></ul> <p class="clear"><a href="http://twitter.com/">Follow Us</a></p>
- </aside><aside class="warning clearfix fl"><p>Add your own widgets to the First Sidebar <a href="http://www.asiapacificinitiative.org/wp-admin/widgets.php">here</a></p></aside></li> <!-- end firstsidebar -->
- </ul> <!-- end #main-wrapper ul -->
- <footer id="footer-main" class="clearfix fl" role="contentinfo"> <!-- begin footer -->
- <ul id="footer" class="clearfix">
- <li id="extendedfooter" class="foot" role="complementary"><div class="handle hand"><span></span>Extended Footer<a href="javascript:void(0)" class="delete_element" data-pw-ids="extendedfooter" data-pw-selectors="footer_option"></a></div><div class="warning clear fl"><p>Add widgets to the Extended Footer <a href="http://www.asiapacificinitiative.org/wp-admin/widgets.php">here</a></p></div></li><li id="copyright" class="foot"><div class="handle hand"><span></span>Copyright<a href="javascript:void(0)" class="delete_element" data-pw-ids="copyright" data-pw-selectors="footer_option"></a></div>© 2012 <a href="http://www.asiapacificinitiative.org">Working Group for Peace & Demilitarization in Asia & the Pacific</a>. All Rights Reserved. Created using <a href="http://presswork.me">PressWork</a>.</li> </ul> <!-- end #footer -->
- </footer> <!-- end footer -->
- </div> <!-- end #body-wrapper -->
- <div id="pw_toolbox">
- <div id="pw_toolbox_controls">
- <div class="open_toolbox options clear fl" data-pw-toolbox-name="options" title="PressWork Options"></div>
- <div class="open_toolbox layout clear fl" data-pw-toolbox-name="layout" title="Layout Options"></div>
- <div class="open_toolbox color clear fl" data-pw-toolbox-name="color" title="Color Options"></div>
- <div class="open_toolbox fonts clear fl" data-pw-toolbox-name="fonts" title="Font Options"></div>
- <div class="open_toolbox social clear fl" data-pw-toolbox-name="social" title="Social Options"></div>
- <div id="savetheme" class="clear fl" title="Save Button"></div>
- </div>
- <form method="post" name="themeform" id="themeform" autocomplete="off">
- <div id="options" class="pw_toolbox_content">
- <div class="pw_toolbox_arrow"></div>
- <h4>PressWork Settings</h4>
- <div class="closewindow">X</div>
- <table class="themeoptions">
- <tr><th>Drag & Drop Editor</th><td>
- <a href="javascript:void(0)" class="save_option green-button active" id="dragdrop">ON</a>
- </td></tr>
- <tr><th>Hooks</th><td><a href="javascript:void(0)" class="save_option green-button" id="hooks">OFF</a></td></tr>
- <tr><th>Functions</th><td><a href="javascript:void(0)" class="save_option green-button" id="functions">OFF</a></td></tr>
- <tr><th>Reset all options</th><td><a href="javascript:void(0)" class="green-button" id="reset_options">Reset</a></td></tr>
- </table>
- </div>
- <div id="layout" class="pw_toolbox_content">
- <div class="pw_toolbox_arrow"></div>
- <h4>Layout</h4>
- <div class="closewindow">X</div>
- <div class="lower_box">
- <label>Main Content</label><input type="text" class="layout_widths" data-pw-ids="maincontent" name="content_width" size="4" id="content_width" value="960" />
- <label>First Sidebar</label><input type="text" class="layout_widths" data-pw-ids="firstsidebar" name="first_sidebar_width" size="4" id="first_sidebar_width" value="300" />
- <label>Second Sidebar</label><input type="text" class="layout_widths" name="second_sidebar_width" size="4" id="second_sidebar_width" data-pw-ids="secondsidebar" value="180" />
- <br />
- <label>Body Margins</label><input type="text" class="margins" data-pw-ids="body-wrapper" name="body_margins" size="4" id="body_margins" value="0" />
- <label>Content Margins</label><input type="text" class="margins" data-pw-ids="main-wrapper > li" name="content_margins" size="4" id="content_margins" value="30" />
- <div class="styled-select clearfix">
- <select id="layoutselect">
- <option value="header">Header</option>
- <option value="layout">Main Content</option>
- <option value="footer">Footer</option>
- </select>
- </div>
- <div class="pw-items">
- <div class="addoption header-item"><span>Logo</span><a href="javascript:void(0)" class="add-item" data-pw-ids="header_logo" data-pw-selectors="headerbanner|header">Add</a></div> <div class="addoption header-item"><span>Header Image</span><a href="javascript:void(0)" class="add-item disabled" data-pw-ids="header_image" data-pw-selectors="headerbanner|header">Add</a></div> <div class="addoption header-item"><span>Blog Name</span><a href="javascript:void(0)" class="add-item disabled" data-pw-ids="blogname" data-pw-selectors="headerbanner|header">Add</a></div> <div class="addoption header-item"><span>Description</span><a href="javascript:void(0)" class="add-item" data-pw-ids="description" data-pw-selectors="headerbanner|header">Add</a></div> <div class="addoption header-item"><span>Primary Menu</span><a href="javascript:void(0)" class="add-item disabled" data-pw-ids="nav" data-pw-selectors="headerbanner|header">Add</a></div> <div class="addoption header-item"><span>Secondary Menu</span><a href="javascript:void(0)" class="add-item" data-pw-ids="subnav" data-pw-selectors="headerbanner|header">Add</a></div> <div class="addoption header-item"><span>Widgetized Area</span><a href="javascript:void(0)" class="add-item" data-pw-ids="headerarea" data-pw-selectors="headerbanner|header">Add</a></div> <div class="addoption layout-item"><span>First Sidebar</span><a href="javascript:void(0)" class="add-item disabled" data-pw-ids="firstsidebar" data-pw-selectors="main-wrapper|layout">Add</a></div> <div class="addoption layout-item"><span>Second Sidebar</span><a href="javascript:void(0)" class="add-item" data-pw-ids="secondsidebar" data-pw-selectors="main-wrapper|layout">Add</a></div> <div class="addoption footer-item"><span>Footer Menu</span><a href="javascript:void(0)" class="add-item" data-pw-ids="footernav" data-pw-selectors="footer|footer">Add</a></div> <div class="addoption footer-item"><span>Extended Footer</span><a href="javascript:void(0)" class="add-item disabled" data-pw-ids="extendedfooter" data-pw-selectors="footer|footer">Add</a></div> <div class="addoption footer-item"><span>Copyright</span><a href="javascript:void(0)" class="add-item disabled" data-pw-ids="copyright" data-pw-selectors="footer|footer">Add</a></div> <table class="pw-inputs header-inputs">
- <tr><td><label for="the_header_logo">Logo Image URL</label></td><td><input type="text" name="header_logo" id="the_header_logo" class="header-item" value="http://www.asiapacificinitiative.org/wp-content/themes/presswork/admin/images/logo_front.png" /></td></tr>
- <tr><td><label for="favicon">Favicon URL</label></td><td><input type="text" name="favicon" id="favicon" value="http://www.asiapacificinitiative.org/wp-content/themes/presswork/admin/images/favicon.ico" /></td></tr>
- </table>
- </div>
- </div>
- </div>
- <div id="color" class="pw_toolbox_content">
- <div class="pw_toolbox_arrow"></div>
- <h4>Colors</h4>
- <div class="closewindow">X</div>
- <div class="lower_box">
- <div class="styled-select">
- <select id="colorselect">
- <option value="siteheader">Blog Name</option>
- <option value="description">Description</option>
- <option value="links">Links</option>
- <option value="text">Main Text</option>
- <option value="nav">Primary Menu</option>
- <option value="subnav">Secondary Menu</option>
- <option value="footernav">Footer Menu</option>
- <option value="category_header">Category Header</option>
- <option value="post_title">Post Title</option>
- <option value="post_meta">Post Meta</option>
- <option value="page_background">Page Background</option>
- </select>
- </div>
- <table class="themeoptions">
- <tr class="color-item siteheader-item"><th>Color</th><td><input type="text" class="colorpicker" name="siteheader_color" data-pw-selectors=".siteheader a|color" size="7" maxlength="7" value="#3ba576" /></td></tr> <tr class="color-item siteheader-item"><th>Hover Color</th><td><input type="text" class="colorpicker" name="siteheader_color_hover" data-pw-selectors=".siteheader a:hover|color" size="7" maxlength="7" value="#da652b" /></td></tr> <tr class="color-item description-item"><th>Color</th><td><input type="text" class="colorpicker" name="description_color" data-pw-selectors="#description|color" size="7" maxlength="7" value="#444444" /></td></tr> <tr class="color-item links-item"><th>Color</th><td><input type="text" class="colorpicker" name="a_color" data-pw-selectors="a|color" size="7" maxlength="7" value="#2b904e" /></td></tr> <tr class="color-item links-item"><th>Hover Color</th><td><input type="text" class="colorpicker" name="a_color_hover" data-pw-selectors="a:hover|color" size="7" maxlength="7" value="#4fb859" /></td></tr> <tr class="color-item text-item"><th>Color</th><td><input type="text" class="colorpicker" name="main_text_color" data-pw-selectors="#body-wrapper|color" size="7" maxlength="7" value="#444444" /></td></tr> <tr class="color-item nav-item"><th>Color</th><td><input type="text" class="colorpicker" name="nav_color" data-pw-selectors="#nav nav a|color" size="7" maxlength="7" value="#3e86da" /></td></tr> <tr class="color-item nav-item"><th>Hover Color</th><td><input type="text" class="colorpicker" name="nav_color_hover" data-pw-selectors="#nav nav a:hover|color" size="7" maxlength="7" value="#3ba576" /></td></tr> <tr class="color-item nav-item"><th>BG Color</th><td><input type="text" class="colorpicker" name="nav_background_color" data-pw-selectors="#nav nav ul|background-color" size="7" maxlength="7" value="#ffffff" /></td></tr> <tr class="color-item nav-item"><th>BG Hover Color</th><td><input type="text" class="colorpicker" name="nav_background_color_hover" data-pw-selectors="#nav nav a:hover, #nav nav .sub-menu li, #nav nav li:hover|background-color" size="7" maxlength="7" value="#ffffff" /></td></tr> <tr class="color-item subnav-item"><th>Color</th><td><input type="text" class="colorpicker" name="subnav_color" data-pw-selectors="#subnav nav a|color" size="7" maxlength="7" value="#222222" /></td></tr> <tr class="color-item subnav-item"><th>Hover Color</th><td><input type="text" class="colorpicker" name="subnav_color_hover" data-pw-selectors="#subnav nav a:hover|color" size="7" maxlength="7" value="#222222" /></td></tr> <tr class="color-item subnav-item"><th>BG Color</th><td><input type="text" class="colorpicker" name="subnav_background_color" data-pw-selectors="#subnav nav ul|background-color" size="7" maxlength="7" value="#FFFFFF" /></td></tr> <tr class="color-item subnav-item"><th>BG Hover Color</th><td><input type="text" class="colorpicker" name="subnav_background_color_hover" data-pw-selectors="#subnav nav a:hover, #subnav nav .sub-menu li, #subnav nav li:hover|background-color" size="7" maxlength="7" value="#EEEEEE" /></td></tr> <tr class="color-item footernav-item"><th>Color</th><td><input type="text" class="colorpicker" name="footernav_color" data-pw-selectors="#footernav nav a|color" size="7" maxlength="7" value="#222222" /></td></tr> <tr class="color-item footernav-item"><th>Hover Color</th><td><input type="text" class="colorpicker" name="footernav_color_hover" data-pw-selectors="#footernav nav a:hover|color" size="7" maxlength="7" value="#222222" /></td></tr> <tr class="color-item footernav-item"><th>BG Color</th><td><input type="text" class="colorpicker" name="footernav_background_color" data-pw-selectors="#footernav nav ul|background-color" size="7" maxlength="7" value="#FFFFFF" /></td></tr> <tr class="color-item footernav-item"><th>BG Hover Color</th><td><input type="text" class="colorpicker" name="footernav_background_color_hover" data-pw-selectors="#footernav nav a:hover, #footernav nav .sub-menu li, #footernav nav li:hover|background-color" size="7" maxlength="7" value="#EEEEEE" /></td></tr> <tr class="color-item category_header-item"><th>Category Header</th><td><input type="text" class="colorpicker" name="category_header_color" data-pw-selectors="h1.catheader|color" size="7" maxlength="7" value="#3b3b3b" /></td></tr> <tr class="color-item post_title-item"><th>Color</th><td><input type="text" class="colorpicker" name="post_title_color" data-pw-selectors="article .posttitle, article .posttitle a|color" size="7" maxlength="7" value="#222222" /></td></tr> <tr class="color-item post_title-item"><th>Hover Color</th><td><input type="text" class="colorpicker" name="post_title_color_hover" data-pw-selectors="article .posttitle a:hover|color" size="7" maxlength="7" value="#222222" /></td></tr> <tr class="color-item post_meta-item"><th>Color</th><td><input type="text" class="colorpicker" name="post_meta_color" data-pw-selectors="article .meta|color" size="7" maxlength="7" value="#888888" /></td></tr> <tr class="color-item page_background-item"><th>BG Color</th><td><input type="text" class="colorpicker" name="page_background_color" data-pw-selectors="#body-wrapper|background-color" size="7" maxlength="7" value="#ffffff" /></td></tr> </table>
- <div id="picker"></div>
- </div>
- </div>
- <div id="fonts" class="pw_toolbox_content">
- <div class="pw_toolbox_arrow"></div>
- <h4>Fonts</h4>
- <div class="closewindow">X</div>
- <table class="themeoptions">
- <tr ><th>Headers</th><td>
- <div class="font-select"><input type="hidden" name="headers_font" value="Nobile" />
- <a href="javascript:void(0)" class="styled-select current" data-pw-selectors="#body-wrapper h1, #body-wrapper h2, #body-wrapper h3, #body-wrapper h4, #body-wrapper h5, #body-wrapper h6, #body-wrapper h1 a, #body-wrapper h2 a, #body-wrapper h3 a, #body-wrapper h4 a, #body-wrapper h5 a, #body-wrapper h6 a" style="font-family: Nobile;">Nobile</a>
- <div class="font-preview">
- <a href="javascript:void(0)" style="font-family: Quattrocento;">Quattrocento</a>
- <a href="javascript:void(0)" style="font-family: Droid Sans;">Droid Sans</a>
- <a href="javascript:void(0)" style="font-family: Droid Serif;">Droid Serif</a>
- <a href="javascript:void(0)" style="font-family: Lobster;">Lobster</a>
- <a href="javascript:void(0)" style="font-family: PT Sans;">PT Sans</a>
- <a href="javascript:void(0)" style="font-family: Yanone Kaffeesatz;">Yanone Kaffeesatz</a>
- <a href="javascript:void(0)" style="font-family: Arvo;">Arvo</a>
- <a href="javascript:void(0)" style="font-family: Ubuntu;">Ubuntu</a>
- <a href="javascript:void(0)" style="font-family: Open Sans;">Open Sans</a>
- <a href="javascript:void(0)" style="font-family: Pacifico;">Pacifico</a>
- <a href="javascript:void(0)" style="font-family: Calligraffitti;">Calligraffitti</a>
- <a href="javascript:void(0)" style="font-family: Reenie Beanie;">Reenie Beanie</a>
- <a href="javascript:void(0)" style="font-family: Crafty Girls;">Crafty Girls</a>
- <a href="javascript:void(0)" style="font-family: Tangerine;">Tangerine</a>
- <a href="javascript:void(0)" style="font-family: Oswald;">Oswald</a>
- <a href="javascript:void(0)" style="font-family: Shadows Into Light;">Shadows Into Light</a>
- <a href="javascript:void(0)" class="selected" style="font-family: Nobile;">Nobile</a>
- <a href="javascript:void(0)" style="font-family: Raleway;">Raleway</a>
- <a href="javascript:void(0)" style="font-family: Rock Salt;">Rock Salt</a>
- <a href="javascript:void(0)" style="font-family: Copse;">Copse</a>
- </div></div></td></tr> <tr ><th>Body</th><td>
- <div class="font-select"><input type="hidden" name="body_font" value="Nobile" />
- <a href="javascript:void(0)" class="styled-select current" data-pw-selectors="#body-wrapper" style="font-family: Nobile;">Nobile</a>
- <div class="font-preview">
- <a href="javascript:void(0)" style="font-family: Quattrocento;">Quattrocento</a>
- <a href="javascript:void(0)" style="font-family: Droid Sans;">Droid Sans</a>
- <a href="javascript:void(0)" style="font-family: Droid Serif;">Droid Serif</a>
- <a href="javascript:void(0)" style="font-family: Lobster;">Lobster</a>
- <a href="javascript:void(0)" style="font-family: PT Sans;">PT Sans</a>
- <a href="javascript:void(0)" style="font-family: Yanone Kaffeesatz;">Yanone Kaffeesatz</a>
- <a href="javascript:void(0)" style="font-family: Arvo;">Arvo</a>
- <a href="javascript:void(0)" style="font-family: Ubuntu;">Ubuntu</a>
- <a href="javascript:void(0)" style="font-family: Open Sans;">Open Sans</a>
- <a href="javascript:void(0)" style="font-family: Pacifico;">Pacifico</a>
- <a href="javascript:void(0)" style="font-family: Calligraffitti;">Calligraffitti</a>
- <a href="javascript:void(0)" style="font-family: Reenie Beanie;">Reenie Beanie</a>
- <a href="javascript:void(0)" style="font-family: Crafty Girls;">Crafty Girls</a>
- <a href="javascript:void(0)" style="font-family: Tangerine;">Tangerine</a>
- <a href="javascript:void(0)" style="font-family: Oswald;">Oswald</a>
- <a href="javascript:void(0)" style="font-family: Shadows Into Light;">Shadows Into Light</a>
- <a href="javascript:void(0)" class="selected" style="font-family: Nobile;">Nobile</a>
- <a href="javascript:void(0)" style="font-family: Raleway;">Raleway</a>
- <a href="javascript:void(0)" style="font-family: Rock Salt;">Rock Salt</a>
- <a href="javascript:void(0)" style="font-family: Copse;">Copse</a>
- </div></div></td></tr> <tr><th>Font Size</th><td><input type="text" name="body_font_size" id="body_font_size" value="13" size="4" /> px</td></tr>
- </table>
- <p>Fonts by <a href="http://www.google.com/webfonts?subset=latin&sort=pop" target="_blank">Google</a></p>
- </div>
- <div id="social" class="pw_toolbox_content">
- <div class="pw_toolbox_arrow"></div>
- <h4>Social</h4>
- <div class="closewindow">X</div>
- <table class="themeoptions">
- <tr><th>Twitter</th><td><input type="text" placeholder="Username (without @)" name="twitter" value="" /></td></tr> <tr><th>Facebook</th><td><input type="text" placeholder="Username" name="facebook" value="" /></td></tr> <tr><th>Flickr</th><td><input type="text" placeholder="User ID" name="flickr" value="" /></td></tr> <tr><th>Google +</th><td><input type="text" placeholder="User ID" name="googleplus" value="" /></td></tr> <tr><th>LinkedIn</th><td><input type="text" placeholder="Username" name="linkedin" value="" /></td></tr> <tr><th>StumbleUpon</th><td><input type="text" placeholder="Username" name="stumbleupon" value="" /></td></tr> </table>
- </div>
- <input type="hidden" name="layout_option" id="layout_option" value="maincontent,firstsidebar" />
- <input type="hidden" name="header_option" id="header_option" value="blogname,header_image,nav" />
- <input type="hidden" name="footer_option" id="footer_option" value="extendedfooter,copyright" />
- <input type="hidden" id="presswork_nonce" name="presswork_nonce" value="40c27b862e" /><input type="hidden" name="_wp_http_referer" value="/" /> </form>
- </div>
- <div id="ajaxloader"></div>
- <div id="save_message">PressWork Updated</div>
- <script type='text/javascript' src='http://www.asiapacificinitiative.org/wp-includes/js/admin-bar.js?ver=3.4.1'></script>
- <script type='text/javascript' src='http://www.asiapacificinitiative.org/wp-includes/js/jquery/ui/jquery.ui.core.min.js?ver=1.8.20'></script>
- <script type='text/javascript' src='http://www.asiapacificinitiative.org/wp-includes/js/jquery/ui/jquery.ui.widget.min.js?ver=1.8.20'></script>
- <script type='text/javascript' src='http://www.asiapacificinitiative.org/wp-includes/js/jquery/ui/jquery.ui.mouse.min.js?ver=1.8.20'></script>
- <script type='text/javascript' src='http://www.asiapacificinitiative.org/wp-includes/js/jquery/ui/jquery.ui.sortable.min.js?ver=1.8.20'></script>
- <script type='text/javascript' src='http://www.asiapacificinitiative.org/wp-admin/js/farbtastic.js?ver=3.4.1'></script>
- <!-- PressWork Toolbox Scripts -->
- <script type="text/javascript">
- /* <![CDATA[ */
- (function($) {
- $("#savetheme").click(function() {
- $("#themeform").trigger("submit");
- $(this).removeClass("remember");
- return false;
- });
- $("#themeform").submit(function() {
- var nonce = $("input#presswork_nonce").val(),
- loader = $("#ajaxloader"),
- message = $("#save_message"),
- data = {
- action: 'save_theme_options',
- nonce: nonce,
- option: $(this).serialize(),
- };
- message.hide();
- loader.show();
- $.post('http://www.asiapacificinitiative.org/wp-admin/admin-ajax.php', data,
- function(response){
- loader.hide();
- message.fadeIn();
- setTimeout(function() { message.fadeOut(); }, 5000);
- });
- return false;
- });
- $("#colorselect").change(function() {
- colorselect();
- });
- $("#layoutselect").change(function() {
- layoutselect();
- });
- $('.font-select a').click(function() {
- var section_to_show = $(this).next(),
- already_visible = $('.font-preview:visible');
- section_to_show.slideToggle('slow');
- already_visible.slideUp('slow');
- });
- $(".font-preview a").bind({
- click: function(){
- var el = $(this),
- fontSelect = el.parents('.font-select'),
- fontPreview = el.parents('.font-preview'),
- thisText = el.text();
- fontSelect
- .children('a.current').text(thisText).css('font-family', thisText)
- .end()
- .children('input').val(thisText);
- fontPreview
- .children('a.selected').removeClass('selected')
- .end()
- .parents('.font-preview').slideUp('slow');
- el.addClass('selected');
- },
- mouseenter: function(){
- var el = $(this),
- to_style = el.parents('.font-select').children('a.current').data("pw-selectors"),
- this_font = el.text();
- //console.log('to_style: ' + to_style + ', this_font: ' + this_font);
- if(!el.parent('.font-preview').is(':animated'))
- $(to_style).css({ fontFamily : this_font });
- },
- mouseleave: function(){
- var el = $(this),
- current = el.parents('.font-select').children('a.current'),
- to_style = current.data("pw-selectors"),
- original_option = current.text();
- // console.log('to_style: ' + to_style + ', original_option: ' + original_option);
- if(!el.parent('.font-preview').is(':animated'))
- $(to_style).css({ fontFamily : original_option});
- }
- });
- $("#the_header_logo").change(function() {
- $("#header_logo img").attr("src", $(this).val());
- });
- function colorselect() {
- $(".color-item").show().not("." + $("#colorselect").val() + "-item").hide();
- }
- colorselect();
- function layoutselect() {
- var value = $("#layoutselect").val();
- $(".addoption").show().not("."+value+"-item").hide();
- $("."+value+"-inputs").show();
- $(".pw-inputs").not("."+value+"-inputs").hide();
- }
- layoutselect();
- if($(".colorpicker").val()=="") $(".colorpicker").val("#")
- var f = $.farbtastic('#picker');
- $('.colorpicker')
- .each(function() { f.linkTo(this); })
- .focus(function() { f.linkTo(this); })
- .change(function() { if($(this).val()=="") $(this).val("#"); change_styles(); });
- $(".farbtastic").mouseup(function() {
- change_styles();
- $("#savetheme").addClass("remember");
- });
- function change_styles() {
- $(".colorpicker:visible").each(function() {
- var el = $(this),
- col = el.val(),
- style = el.data("pw-selectors").split('|'),
- addstyle = style[0] + " { " + style[1] + ": " + col + "; }\n";
- $("#pw_style_preview").append(addstyle);
- });
- }
- $("#body_font_size").change(function() {
- var size = $(this).val();
- $('body').css("font-size", size+"px");
- });
- $(".add-item").click(function(){
- var el = $(this);
- if(el.hasClass("disabled")) {
- // nothing
- } else {
- el.addClass("disabled");
- var nonce = $("input#presswork_nonce").val(),
- loader = $("#ajaxloader"),
- wrap = el.data("pw-selectors").split("|"),
- main = $("#"+wrap[0]),
- item = el.data("pw-ids"),
- data = {
- action: 'add_element',
- element: item,
- option: wrap[1],
- nonce: nonce,
- };
- loader.show();
- $.post('http://www.asiapacificinitiative.org/wp-admin/admin-ajax.php', data,
- function(response){
- loader.hide();
- if(response) {
- main.append(response);
- if(wrap[1]=="layout") {
- var last = main.find("li#"+item),
- newfull = parseInt($('.layout_widths[data-pw-ids="'+item+'"]').val()),
- contentMargins = parseInt($('#content_margins').val()),
- bodyWrapper = $("#body-wrapper"),
- full = bodyWrapper.width(),
- total_new = full + newfull + contentMargins;
- last.css({ margin: "0 "+contentMargins/2+"px", width: newfull });
- $("body").removeClass("fullwidth");
- bodyWrapper.stop(true,true).animate({
- width: total_new
- }, function() { last.show(); });
- $("#headerbanner, #footer").animate({ width: total_new });
- $("#header_image").animate({ backgroundSize: total_new });
- }
- $("#"+wrap[1]+"_option").val( main.sortable("toArray") );
- $("#savetheme").addClass("remember");
- }
- });
- }
- });
- $(".save_option").click(function() {
- if($(this).hasClass("active")) {
- var value = "off";
- } else {
- var value = "on";
- }
- var theID = $(this).attr("id"),
- loader = $("#ajaxloader"),
- data = {
- action: 'save_option',
- option: value,
- id: theID
- };
- loader.show();
- $.post('http://www.asiapacificinitiative.org/wp-admin/admin-ajax.php', data,
- function(response){
- setTimeout(function() { location.reload(); }, 1000);
- });
- });
- $("#reset_options").click(function() {
- var message = "Are you sure you want to reset the theme options?";
- if(confirm(message)) {
- var loader = $("#ajaxloader"),
- data = {
- action: 'reset_theme_options'
- };
- loader.show();
- $.post('http://www.asiapacificinitiative.org/wp-admin/admin-ajax.php', data,
- function(response){
- setTimeout(function() { location.reload(); }, 1000);
- });
- } else {
- return false;
- }
- });
- $(".layout_widths").change(function(){
- var value = $(this).val(),
- id = $(this).data("pw-ids"),
- current = $("#"+id).width(),
- bodyWrapper = $("#body-wrapper"),
- headerFooter = $("#headerbanner, #footer"),
- headerImage = $("#header_image"),
- full = bodyWrapper.width(),
- newfull = parseInt(full) - parseInt(current) + parseInt(value);
- if(value>current) {
- bodyWrapper.stop(true,true).animate({
- width: newfull
- },
- function() {
- $("#"+id).stop(true,true).animate({
- width: value
- });
- headerFooter.animate({ width: newfull });
- headerImage.animate({ backgroundSize: newfull });
- });
- } else {
- $("#"+id).stop(true,true).animate({
- width: value
- },
- function() {
- bodyWrapper.stop(true,true).animate({
- width: newfull
- });
- headerFooter.animate({ width: newfull });
- headerImage.animate({ backgroundSize: newfull });
- });
- }
- });
- $(".margins").change(function(){
- var value = $(this).val(),
- id = $(this).data("pw-ids");
- if(id!="body-wrapper") {
- var bodyWrapper = $("#body-wrapper"),
- headerFooter = $("#headerbanner, #footer"),
- headerImage = $("#header_image"),
- current = $("#"+id).css("margin-right").replace("px", ""),
- full = bodyWrapper.width(),
- n = $("#"+id).length-1,
- newfull = parseInt(full) - (parseInt(current*2)* n) + (parseInt(value)* n),
- newvalue = "0 " + (value/2);
- if((value/2)>current) {
- bodyWrapper.stop(true,true).animate({
- width: newfull
- },
- function() {
- $("#"+id).css({
- margin: newvalue+"px"
- });
- });
- } else {
- $("#"+id).css({
- margin: newvalue+"px"
- });
- bodyWrapper.stop(true,true).animate({
- width: newfull
- });
- }
- headerFooter.animate({ width: newfull });
- headerImage.animate({ backgroundSize: newfull });
- } else {
- $("#"+id).css({
- padding: value+"px"
- });
- }
- });
- $("#social .themeoptions input").change(function() {
- var value = $(this).val(),
- el = $(this).attr('name');
- if(value=='') {
- $("#social-icons a."+el+"-icon").remove();
- } else if($("#social-icons a."+el+"-icon").length==0) {
- var theURL;
- if(el=="twitter") theURL = "http://twitter.com/"+value;
- if(el=="facebook") theURL = "http://facebook.com/"+value;
- if(el=="flickr") theURL = "http://flickr.com/photos/"+value;
- if(el=="linkedin") theURL = "http://www.linkedin.com/in/"+value;
- if(el=="stumbleupon") theURL = "http://www.stumbleupon.com/stumbler/"+value;
- if(el=="googleplus") theURL = "https://plus.google.com/"+value;
- $("#social-icons").append("<a href='"+theURL+"' class='"+el+"-icon'></a>");
- }
- });
- $(".open_toolbox").click(function() {
- var button = $(this),
- it = $(this).data("pw-toolbox-name"),
- par = $("#"+it);
- if(button.hasClass("open")) {
- par.stop(true,true).fadeOut('fast');
- button.removeClass("open");
- return;
- }
- $(".open_toolbox").removeClass("open");
- button.addClass("open");
- if($(".pw_toolbox_content").not(par).is(".open")) {
- $(".pw_toolbox_content.open").fadeOut('fast', function() {
- if(!par.hasClass("open")) par.stop(true,true).fadeIn().addClass("open");
- }).removeClass("open");
- } else {
- par.stop(true,true).fadeIn().addClass("open");
- }
- });
- $(".closewindow").click(function() {
- $(".pw_toolbox_content").fadeOut('fast');
- $(".open_toolbox").removeClass("open");
- });
- $(".delete_element").live("click", function(){
- var nonce = $("input#presswork_nonce").val(),
- loader = $("#ajaxloader"),
- main = $("#main-wrapper"),
- el = $(this),
- element = $(this).data("pw-ids"),
- option = $(this).data("pw-selectors"),
- data = {
- action: 'delete_element',
- element: element,
- option: option,
- nonce: nonce,
- };
- loader.show();
- $('.add-item[data-pw-ids="'+element+'"]').removeClass("disabled");
- $.post('http://www.asiapacificinitiative.org/wp-admin/admin-ajax.php', data,
- function(response){
- loader.hide();
- if(option=="layout_option") {
- var theitem = el.parent().parent(),
- newfull = theitem.width(),
- bodyWrapper = $("#body-wrapper"),
- full = bodyWrapper.width(),
- new_width = full - newfull - parseInt($('#content_margins').val());
- theitem.remove();
- $("#header_image").animate({ backgroundSize: new_width });
- bodyWrapper.stop(true,true).animate({
- width: new_width
- },
- function() {
- $("#headerbanner, #footer").css({ width: new_width });
- });
- var parent = "main-wrapper";
- }
- if(option=="header_option") {
- var theitem = el.parent().parent(),
- parent = "headerbanner";
- theitem.remove();
- }
- if(option=="footer_option") {
- var theitem = el.parent().parent(),
- parent = "footer";
- theitem.remove();
- }
- $("#"+option).val( $("#"+parent).sortable("toArray") );
- $("#savetheme").addClass("remember");
- });
- });
- $("#main-wrapper")
- .sortable({
- placeholder: 'placeholder',
- handle: "div.handle",
- forcePlaceholderSize: true,
- update: function(){
- $("#layout_option").val( $(this).sortable("toArray") );
- }
- })
- $("#headerbanner")
- .sortable({
- placeholder: 'placeholder',
- handle: "div.handle",
- forcePlaceholderSize: true,
- update: function(){
- $("#header_option").val( $(this).sortable("toArray") );
- }
- })
- $("#footer")
- .sortable({
- placeholder: 'placeholder',
- handle: "div.handle",
- forcePlaceholderSize: true,
- update: function(){
- $("#footer_option").val( $(this).sortable("toArray") );
- }
- })
- $("#themeform input, #themeform #fonts select").change(function() {
- $("#savetheme").addClass("remember");
- });
- // ask the user to confirm the window closing
- window.onbeforeunload = function() {
- if($('#savetheme').hasClass("remember")) {
- return "If you leave this page you will lose your changes.";
- }
- }
- })(jQuery);
- /* ]]> */
- </script>
- <!-- eof PressWork Toolbox Scripts -->
- <!-- PressWork Video Resizer Script -->
- <script type="text/javascript">
- /* <![CDATA[ */
- (function($) {
- $("object, embed, .format-video iframe").each(function() {
- var origVideo = $(this),
- aspectRatio = origVideo.attr("height") / origVideo.attr("width"),
- wrapWidth = origVideo.parents().find("p:last").width();
- if(origVideo.attr("width") > wrapWidth) {
- origVideo
- .attr("width", wrapWidth)
- .attr("height", (wrapWidth * aspectRatio));
- }
- });
- })(jQuery);
- /* ]]> */
- </script>
- <!-- eof PressWork Video Resizer Script -->
- <script type="text/javascript">
- (function() {
- var request, b = document.body, c = 'className', cs = 'customize-support', rcs = new RegExp('(^|\\s+)(no-)?'+cs+'(\\s+|$)');
- request = true;
- b[c] = b[c].replace( rcs, '' );
- b[c] += ( window.postMessage && request ? ' ' : ' no-' ) + cs;
- }());
- </script>
- <div id="wpadminbar" class="nojq nojs" role="navigation">
- <div class="quicklinks">
- <ul id="wp-admin-bar-root-default" class="ab-top-menu">
- <li id="wp-admin-bar-wp-logo" class="menupop"><a class="ab-item" tabindex="10" aria-haspopup="true" href="http://www.asiapacificinitiative.org/wp-admin/about.php" title="About WordPress"><span class="ab-icon"></span></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-wp-logo-default" class="ab-submenu">
- <li id="wp-admin-bar-about" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/about.php">About WordPress</a> </li></ul><ul id="wp-admin-bar-wp-logo-external" class="ab-sub-secondary ab-submenu">
- <li id="wp-admin-bar-wporg" class=""><a class="ab-item" tabindex="10" href="http://wordpress.org/">WordPress.org</a> </li>
- <li id="wp-admin-bar-documentation" class=""><a class="ab-item" tabindex="10" href="http://codex.wordpress.org/">Documentation</a> </li>
- <li id="wp-admin-bar-support-forums" class=""><a class="ab-item" tabindex="10" href="http://wordpress.org/support/">Support Forums</a> </li>
- <li id="wp-admin-bar-feedback" class=""><a class="ab-item" tabindex="10" href="http://wordpress.org/support/forum/requests-and-feedback">Feedback</a> </li></ul></div> </li>
- <li id="wp-admin-bar-site-name" class="menupop"><a class="ab-item" tabindex="10" aria-haspopup="true" href="http://www.asiapacificinitiative.org/wp-admin/">Working Group for Peace & Demilitari…</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-site-name-default" class="ab-submenu">
- <li id="wp-admin-bar-dashboard" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/">Dashboard</a> </li></ul><ul id="wp-admin-bar-appearance" class=" ab-submenu">
- <li id="wp-admin-bar-themes" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/themes.php">Themes</a> </li>
- <li id="wp-admin-bar-customize" class=" hide-if-no-customize"><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/customize.php?url=http%3A%2F%2Fwww.asiapacificinitiative.org%2F">Customize</a> </li>
- <li id="wp-admin-bar-widgets" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/widgets.php">Widgets</a> </li>
- <li id="wp-admin-bar-menus" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/nav-menus.php">Menus</a> </li>
- <li id="wp-admin-bar-background" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/themes.php?page=custom-background">Background</a> </li>
- <li id="wp-admin-bar-header" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/themes.php?page=custom-header">Header</a> </li></ul></div> </li>
- <li id="wp-admin-bar-comments" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/edit-comments.php" title="0 comments awaiting moderation"><span class="ab-icon"></span><span id="ab-awaiting-mod" class="ab-label awaiting-mod pending-count count-0">0</span></a> </li>
- <li id="wp-admin-bar-new-content" class="menupop"><a class="ab-item" tabindex="10" aria-haspopup="true" href="http://www.asiapacificinitiative.org/wp-admin/post-new.php" title="Add New"><span class="ab-icon"></span><span class="ab-label">New</span></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-new-content-default" class="ab-submenu">
- <li id="wp-admin-bar-new-post" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/post-new.php">Post</a> </li>
- <li id="wp-admin-bar-new-media" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/media-new.php">Media</a> </li>
- <li id="wp-admin-bar-new-link" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/link-add.php">Link</a> </li>
- <li id="wp-admin-bar-new-page" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/post-new.php?post_type=page">Page</a> </li>
- <li id="wp-admin-bar-new-user" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/user-new.php">User</a> </li></ul></div> </li>
- <li id="wp-admin-bar-presswork-menu" class="menupop"><a class="ab-item" tabindex="10" aria-haspopup="true" href="http://www.asiapacificinitiative.org/wp-admin/themes.php?page=PressWork">PressWork</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-presswork-menu-default" class="ab-submenu">
- <li id="wp-admin-bar-presswork-admin" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/themes.php?page=PressWork">PW Admin</a> </li>
- <li id="wp-admin-bar-presswork-themes" class=""><a class="ab-item" tabindex="10" href="http://presswork.me/category/themes/">Browse Our Themes</a> </li></ul></div> </li>
- <li id="wp-admin-bar-dsgnwrks_help_menu" class="menupop"><a class="ab-item" tabindex="10" aria-haspopup="true" href="#">
- <strong style="display:none;">Search the Codex</strong>
- <form target="_blank" method="get" action="http://wordpress.org/search/do-search.php" class="alignleft dw_search" >
- <input type="text" onblur="this.value=(this.value=='') ? 'Search the Codex' : this.value;" onfocus="this.value=(this.value=='Search the Codex') ? '' : this.value;" value="Search the Codex" name="search" class="text dw_search_input" >
- <input type="submit" value="Go" class="button dw_search_go" /></form></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-dsgnwrks_help_menu-default" class="ab-submenu">
- <li id="wp-admin-bar-plugins_stuff" class="menupop"><a class="ab-item" tabindex="10" aria-haspopup="true" href="http://www.asiapacificinitiative.org/wp-admin/plugins.php">Plugins</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-plugins_stuff-default" class="ab-submenu">
- <li id="wp-admin-bar-plugins_stuff_search" class=""><a class="ab-item" tabindex="10" href="#">
- <strong style="display:none;">Search Plugins</strong>
- <form method="get" action="http://www.asiapacificinitiative.org/wp-admin/plugin-install.php?tab=search" class="alignleft dw_search" >
- <input type="hidden" name="tab" value="search"/>
- <input type="hidden" name="type" value="term"/>
- <input type="text" placeholder="Search Plugins" onblur="this.value=(this.value=='') ? 'Search Plugins' : this.value;" onfocus="this.value=(this.value=='Search Plugins') ? '' : this.value;" value="Search Plugins" name="s" value="Search Plugins" class="text dw_search_input" />
- <input type="submit" value="Go" class="button dw_search_go" /></form></a> </li>
- <li id="wp-admin-bar-plugins_stuff_upload" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/plugin-install.php?tab=upload">Upload Plugin</a> </li></ul></div> </li>
- <li id="wp-admin-bar-themes_stuff" class="menupop"><a class="ab-item" tabindex="10" aria-haspopup="true" href="http://www.asiapacificinitiative.org/wp-admin/themes.php">Themes</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-themes_stuff-default" class="ab-submenu">
- <li id="wp-admin-bar-themes_stuff_search" class=""><a class="ab-item" tabindex="10" href="#">
- <strong style="display:none;">Search Themes</strong>
- <form method="get" action="http://www.asiapacificinitiative.org/wp-admin/theme-install.php?tab=search" class="alignleft dw_search" >
- <input type="hidden" name="tab" value="search"/>
- <input type="hidden" name="type" value="term"/>
- <input type="text" placeholder="Search Themes" onblur="this.value=(this.value=='') ? 'Search Themes' : this.value;" onfocus="this.value=(this.value=='Search Themes') ? '' : this.value;" value="Search Themes" name="s" value="Search Themes" class="text dw_search_input" />
- <input type="submit" value="Go" class="button dw_search_go" /></form></a> </li>
- <li id="wp-admin-bar-themes_stuff_upload" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/theme-install.php?tab=upload">Upload Theme</a> </li></ul></div> </li>
- <li id="wp-admin-bar-media_stuff" class="menupop"><a class="ab-item" tabindex="10" aria-haspopup="true" href="http://www.asiapacificinitiative.org/wp-admin/upload.php">Media</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-media_stuff-default" class="ab-submenu">
- <li id="wp-admin-bar-media_stuff_search" class=""><a class="ab-item" tabindex="10" href="#">
- <strong style="display:none;">Search Media</strong>
- <form method="get" action="http://www.asiapacificinitiative.org/wp-admin/upload.php?tab=search" class="alignleft dw_search" >
- <input type="text" placeholder="Search Media" onblur="this.value=(this.value=='') ? 'Search Media' : this.value;" onfocus="this.value=(this.value=='Search Media') ? '' : this.value;" value="Search Media" name="s" value="Search Media" class="text dw_search_input" />
- <input type="submit" value="Go" class="button dw_search_go" /></form></a> </li>
- <li id="wp-admin-bar-media_stuff_upload" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/media-new.php">Upload Media</a> </li></ul></div> </li>
- <li id="wp-admin-bar-user_stuff" class="menupop"><a class="ab-item" tabindex="10" aria-haspopup="true" href="http://www.asiapacificinitiative.org/wp-admin/users.php">Users</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-user_stuff-default" class="ab-submenu">
- <li id="wp-admin-bar-user_stuff_search" class=""><a class="ab-item" tabindex="10" href="#">
- <strong style="display:none;">Search Users</strong>
- <form method="get" action="http://www.asiapacificinitiative.org/wp-admin/users.php?tab=search" class="alignleft dw_search" >
- <input type="text" placeholder="Search Users" onblur="this.value=(this.value=='') ? 'Search Users' : this.value;" onfocus="this.value=(this.value=='Search Users') ? '' : this.value;" value="Search Users" name="s" value="Search Users" class="text dw_search_input" />
- <input type="submit" value="Go" class="button dw_search_go" /></form></a> </li>
- <li id="wp-admin-bar-user_stuff_add" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/user-new.php">Add New User</a> </li></ul></div> </li>
- <li id="wp-admin-bar-eab-new-post" class="menupop"><a class="ab-item" tabindex="10" aria-haspopup="true" href="http://www.asiapacificinitiative.org/wp-admin/edit.php?post_type=post">Posts</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-eab-new-post-default" class="ab-submenu">
- <li id="wp-admin-bar-eab-new-post_search_post" class=""><a class="ab-item" tabindex="10" href="#">
- <strong style="display:none;">Search Posts</strong>
- <form method="get" action="http://www.asiapacificinitiative.org/wp-admin/edit.php" class="alignleft dw_search" >
- <input type="hidden" name="post_status" value="all"/>
- <input type="hidden" name="post_type" value="post"/>
- <input type="text" placeholder="Search Posts" onblur="this.value=(this.value=='') ? 'Search Posts' : this.value;" onfocus="this.value=(this.value=='Search Posts') ? '' : this.value;" value="Search Posts" name="s" value="Search Posts" class="text dw_search_input" /><input type="submit" value="Go" class="button dw_search_go" /></form></a> </li>
- <li id="wp-admin-bar-eab-new-post_addnew_post" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/post-new.php?post_type=post">Add New Post</a> </li></ul></div> </li>
- <li id="wp-admin-bar-eab-new-page" class="menupop"><a class="ab-item" tabindex="10" aria-haspopup="true" href="http://www.asiapacificinitiative.org/wp-admin/edit.php?post_type=page">Pages</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-eab-new-page-default" class="ab-submenu">
- <li id="wp-admin-bar-eab-new-page_search_page" class=""><a class="ab-item" tabindex="10" href="#">
- <strong style="display:none;">Search Pages</strong>
- <form method="get" action="http://www.asiapacificinitiative.org/wp-admin/edit.php" class="alignleft dw_search" >
- <input type="hidden" name="post_status" value="all"/>
- <input type="hidden" name="post_type" value="page"/>
- <input type="text" placeholder="Search Pages" onblur="this.value=(this.value=='') ? 'Search Pages' : this.value;" onfocus="this.value=(this.value=='Search Pages') ? '' : this.value;" value="Search Pages" name="s" value="Search Pages" class="text dw_search_input" /><input type="submit" value="Go" class="button dw_search_go" /></form></a> </li>
- <li id="wp-admin-bar-eab-new-page_addnew_page" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/post-new.php?post_type=page">Add New Page</a> </li></ul></div> </li>
- <li id="wp-admin-bar-settings_stuff" class="menupop"><a class="ab-item" tabindex="10" aria-haspopup="true" href="http://www.asiapacificinitiative.org/wp-admin/options-general.php">Settings</a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-settings_stuff-default" class="ab-submenu">
- <li id="wp-admin-bar-settings_stuff_writing" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/options-writing.php">Writing</a> </li>
- <li id="wp-admin-bar-settings_stuff_reading" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/options-reading.php">Reading</a> </li>
- <li id="wp-admin-bar-settings_stuff_discussion" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/options-discussion.php">Discussion</a> </li>
- <li id="wp-admin-bar-settings_stuff_media" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/options-media.php">Media</a> </li>
- <li id="wp-admin-bar-settings_stuff_privacy" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/options-privacy.php">Privacy</a> </li>
- <li id="wp-admin-bar-settings_stuff_permalinks" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/options-permalink.php">Permalinks</a> </li></ul></div> </li></ul></div> </li></ul><ul id="wp-admin-bar-top-secondary" class="ab-top-secondary ab-top-menu">
- <li id="wp-admin-bar-search" class=" admin-bar-search"><div class="ab-item ab-empty-item" tabindex="-1"><form action="http://www.asiapacificinitiative.org/" method="get" id="adminbarsearch"><input class="adminbar-input" name="s" id="adminbar-search" tabindex="10" type="text" value="" maxlength="150" /><input type="submit" class="adminbar-button" value="Search"/></form></div> </li>
- <li id="wp-admin-bar-my-account" class="menupop with-avatar"><a class="ab-item" tabindex="10" aria-haspopup="true" href="http://www.asiapacificinitiative.org/wp-admin/profile.php" title="My Account">Howdy, admin<img alt='' src='http://1.gravatar.com/avatar/3634ed56ae53cbaee8936d561c0046e2?s=16&d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D16&r=G' class='avatar avatar-16 photo' height='16' width='16' /></a><div class="ab-sub-wrapper"><ul id="wp-admin-bar-user-actions" class=" ab-submenu">
- <li id="wp-admin-bar-user-info" class=""><a class="ab-item" tabindex="-1" href="http://www.asiapacificinitiative.org/wp-admin/profile.php"><img alt='' src='http://1.gravatar.com/avatar/3634ed56ae53cbaee8936d561c0046e2?s=64&d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D64&r=G' class='avatar avatar-64 photo' height='64' width='64' /><span class='display-name'>admin</span></a> </li>
- <li id="wp-admin-bar-edit-profile" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-admin/profile.php">Edit My Profile</a> </li>
- <li id="wp-admin-bar-logout" class=""><a class="ab-item" tabindex="10" href="http://www.asiapacificinitiative.org/wp-login.php?action=logout&_wpnonce=4e44ef8f0f">Log Out</a> </li></ul></div> </li></ul> </div>
- </div>
- <!-- PressWork framework created by c.bavota & Brendan Sera-Shriar - http://presswork.me -->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement