Skip to content

Commit

Permalink
refs #1717 : modified - set the head to html5.
Browse files Browse the repository at this point in the history
 - small footprints but great move.
  • Loading branch information
inureyes committed Dec 16, 2014
1 parent ceef648 commit 08fa796
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 39 deletions.
14 changes: 7 additions & 7 deletions interface/common/control/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
} else {
$blogContentMenuItem['network'] = array();
if($context->getProperty('service.reader') == true) array_push($blogContentMenuItem['network'],array('menu'=>'reader','title'=>_t('바깥 글 읽기'),'link'=>'/owner/network/reader'));
}
}
if(Acl::check('group.administrators')) {
$blogContentMenuItem['skin'] = array(
array('menu'=>'skin','title'=>_t('스킨 선택'),'link'=>'/owner/skin'),
Expand Down Expand Up @@ -255,10 +255,10 @@

/***** Start header output *****/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $context->getProperty('blog.language','ko');?>">
<!DOCTYPE html>
<html lang="<?php echo $context->getProperty('blog.language','ko');?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo htmlspecialchars($context->getProperty('blog.title'));?> &gt; <?php echo $blogMenu['title'];?></title>
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $context->getProperty('service.path')?>/resources/control/basic.css" />
<?php
Expand Down Expand Up @@ -399,7 +399,7 @@
<div id="main-menu-box">
<ul id="main-menu">
<li id="menu-textcube"><a href="<?php echo $context->getProperty('uri.blog').'/control';?>" title="<?php echo _t('센터로 이동합니다.');?>"><span class="text"><?php echo _t('텍스트큐브');?></span></a></li>
<?php //echo User::changeBlog();?>
<?php //echo User::changeBlog();?>
<?php
foreach($blogTopMenuItem as $menuItem) {
?>
Expand Down Expand Up @@ -464,7 +464,7 @@
" class=\"selected{$firstChildClass}\"" : ($firstChildClass ? " class=\"$firstChildClass\"" : ''));?>><?php
}
if($contentMenuItem['menu'] != 'divider') {
?><a href="<?php
?><a href="<?php
echo $context->getProperty('uri.blog').
$contentMenuItem['link'].
($contentMenuItem['menu'] == 'post' && isset($currentCategory) ? '?category='.$currentCategory : '');
Expand Down Expand Up @@ -534,7 +534,7 @@
($contentMenuItem['menu'] == 'user' && strpos($blogMenu['contentMenu'],'user') !== false) ||
($blogMenu['contentMenu'] == 'edit' && $contentMenuItem['menu'] == 'post')) ? " class=\"selected{$firstChildClass}\"" : ($firstChildClass ? " class=\"$firstChildClass\"" : ''));?>><?php
if($contentMenuItem['menu'] == 'divider') {?><span class="divider"><?php echo $contentMenuItem['title'];?></span><?php
} else {?><a href="<?php
} else {?><a href="<?php
echo $context->getProperty('uri.blog').
$contentMenuItem['link'].
($contentMenuItem['menu'] == 'post' && isset($currentCategory) ? '?category='.$currentCategory : '');
Expand Down
14 changes: 7 additions & 7 deletions interface/common/owner/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
} else {
$blogContentMenuItem['network'] = array();
if($context->getProperty('service.reader') == true) array_push($blogContentMenuItem['network'],array('menu'=>'reader','title'=>_t('바깥 글 읽기'),'link'=>'/owner/network/reader'));
}
}
if(Acl::check('group.administrators')) {
$blogContentMenuItem['skin'] = array(
array('menu'=>'skin','title'=>_t('스킨 선택'),'link'=>'/owner/skin'),
Expand Down Expand Up @@ -257,10 +257,10 @@

/***** Start header output *****/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo (isset($blog['language']) ? $blog['language'] : "ko");?>">
<!DOCTYPE html>
<html lang="<?php echo $context->getProperty('blog.language','ko');?>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo htmlspecialchars($context->getProperty('blog.title'));?> &gt; <?php echo $blogMenu['title'];?></title>
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $context->getProperty('service.path').$context->getProperty('panel.skin');?>/basic.css" />
<?php
Expand Down Expand Up @@ -432,7 +432,7 @@
<div id="main-menu-box">
<ul id="main-menu">
<li id="menu-textcube"><a href="<?php echo $context->getProperty('uri.blog').'/owner/center/dashboard';?>" title="<?php echo _t('센터로 이동합니다.');?>"><span class="text"><?php echo _t('텍스트큐브');?></span></a></li>
<?php //echo User::changeBlog();?>
<?php //echo User::changeBlog();?>
<?php
foreach($blogTopMenuItem as $menuItem) {
?>
Expand Down Expand Up @@ -500,7 +500,7 @@
" class=\"selected{$firstChildClass}\"" : ($firstChildClass ? " class=\"$firstChildClass\"" : ''));?>><?php
}
if($contentMenuItem['menu'] != 'divider') {
?><a href="<?php
?><a href="<?php
echo $context->getProperty('uri.blog').
$contentMenuItem['link'].
($contentMenuItem['menu'] == 'post' && isset($currentCategory) ? '?category='.$currentCategory : '');
Expand Down Expand Up @@ -570,7 +570,7 @@
($contentMenuItem['menu'] == 'user' && strpos($blogMenu['contentMenu'],'user') !== false) ||
($blogMenu['contentMenu'] == 'edit' && $contentMenuItem['menu'] == 'post')) ? " class=\"selected{$firstChildClass}\"" : ($firstChildClass ? " class=\"$firstChildClass\"" : ''));?>><?php
if($contentMenuItem['menu'] == 'divider') {?><span class="divider"><?php echo $contentMenuItem['title'];?></span><?php
} else {?><a href="<?php
} else {?><a href="<?php
echo $context->getProperty('uri.blog').
$contentMenuItem['link'].
($contentMenuItem['menu'] == 'post' && isset($currentCategory) ? '?category='.$currentCategory : '');
Expand Down
11 changes: 5 additions & 6 deletions interface/common/owner/headerForPopupEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
}
unset($tempPlugin);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $context->getProperty('blog.language','ko');?>">
<!DOCTYPE html>
<html lang="<?php echo $context->getProperty('blog.language','ko');?>">
<head>
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo htmlspecialchars($context->getProperty('blog.title'));?> &gt; <?php echo _t('글관리');?></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $context->getProperty('service.path').$context->getProperty('panel.skin');?>/basic.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $context->getProperty('service.path').$context->getProperty('panel.skin');?>/post.css" />
<link rel="stylesheet" type="text/css" media="screen" href="<?php echo $context->getProperty('service.path').$context->getProperty('panel.skin');?>/popup-editor.css" />
Expand Down Expand Up @@ -89,7 +89,7 @@
<script type="text/javascript" src="<?php echo $context->getProperty('service.path');?>/resources/script/common2.js"></script>
<script type="text/javascript" src="<?php echo $context->getProperty('service.path');?>/resources/script/gallery.js"></script>
<script type="text/javascript" src="<?php echo $context->getProperty('service.path');?>/resources/script/owner.js"></script>
<script type="text/javascript" src="<?php echo $context->getProperty('service.path');?>/resources/script/editor3.js"></script>
<script type="text/javascript" src="<?php echo $context->getProperty('service.path');?>/resources/script/editor3.js"></script>
<?php echo fireEvent('ShowAdminHeader', ''); ?>
</head>
<body id="body-entry" class="popup-editor">
Expand All @@ -98,6 +98,5 @@
<div id="layout-header">
<h1><?php echo _t('텍스트큐브 관리 페이지');?></h1>
</div>

<hr class="hidden" />

<hr class="hidden" />
38 changes: 19 additions & 19 deletions skin/blog/periwinkle/skin.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>[##_title_##] <s_page_title> :: [##_page_post_title_##]</s_page_title></title>
<meta http-equiv="Keywords" content="[##_meta_http_equiv_keywords_##]" />
<meta name="description" content="[##_desc_##]">
<meta name="author" content="[##_blogger_##]">
<meta name="author" content="[##_blogger_##]">
<!--<link href="./css/bootstrap.css" rel="stylesheet">-->
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
<link href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
Expand Down Expand Up @@ -38,7 +38,7 @@ <h3 class="page-header"><a href="[##_blog_link_##]">[##_title_##]</a></h3>
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button>
<a class="navbar-brand" href="[##_blog_link_##]"><i class="fa fa-home"></i> Blog</a>
</div>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="menuCover"><a href="[##_blog_link_##]cover"><i class="fa fa-th-large"></i> Cover</a></li>
Expand All @@ -59,7 +59,7 @@ <h3 class="page-header"><a href="[##_blog_link_##]">[##_title_##]</a></h3>
<li><a href="[##_owner_url_##]/entry/post"><i class="fa fa-pencil-square-o"></i><span class="owner"> Write a Post</span></a></li>
</ul>
</div>

</nav>
</div>
</div>
Expand Down Expand Up @@ -128,7 +128,7 @@ <h4><i class="fa fa-search"></i> [##_tblist_count_##] Trackbacks : Results for
<hgroup class="page-header">
<h2><i class="fa fa-map-marker"></i> Lines <small>Instant myself</small></h2>
</hgroup>
<a href="[##_line_rssurl_##]" class="feed"><img src="./images/rss_12.png" alt="RSS Icon" /></a>
<a href="[##_line_rssurl_##]" class="feed"><img src="./images/rss_12.png" alt="RSS Icon" /></a>
<a href="[##_line_atomurl_##]" class="feed"><img src="./images/atom_12.png" alt="ATOM Icon" /></a>
</header>
<article>
Expand Down Expand Up @@ -176,7 +176,7 @@ <h2><i class="fa fa-map-marker"></i> Log via location <small>Where posts are rel
</section>
</s_local>
<s_tag> <!-- Tag list section ................................................................ -->
<section class="tag entry_post panel panel-default">
<section class="tag entry_post panel panel-default">
<header>
<hgroup class="page-header">
<h2><i class="fa fa-tags"></i> Tag Cloud <small>Keywords with size based on popularity</small></h2>
Expand Down Expand Up @@ -204,15 +204,15 @@ <h2>
<article>
<s_guest_input_form>
<fieldset>

<s_guest_member>
<s_guest_form>
<div class="form-inline">
<div class="form-group">
<label for="[##_guest_input_name_##]">Your Name <em>(required)</em></label>
<input type="text" class="form-control guest-input-name input-sm" id="[##_guest_input_name_##]" name="[##_guest_input_name_##]" value="[##_guest_name_##]" maxlength="20" required="required" placeholder="Your Name" />
</div>

<div class="form-group">
<label for="[##_guest_input_password_##]">Password <em>(required)</em></label>
<input type="password" class="form-control input-sm" id="[##_guest_input_password_##]" name="[##_guest_input_password_##]" value="[##_guest_password_##]" required="required" placeholder="Password" />
Expand All @@ -230,7 +230,7 @@ <h2>
<div class="form-group">
<textarea class="form-control" name="[##_guest_textarea_body_##]" rows="3" required="required" placeholder="Your Message"></textarea>
</div>

<button type="submit" class="btn btn-primary submit button" value="Submit" onclick="[##_guest_onclick_submit_##]">Submit</button>
</fieldset>
</s_guest_input_form>
Expand All @@ -250,8 +250,8 @@ <h2>
<dd class="content">
<dl class="comment-link">
<dd class="regdate label label-default"><i class="fa fa-clock-o"></i> <time>[##_guest_rep_date_##]</time></dd>
<dd class="permalink"><a href="[##_guest_rep_link_##]" title="Permanent link" class="button label label-info"><i class="fa fa-chain"></i> Permalink</a></dd>
<dd class="delete"><a href="#" onclick="[##_guest_rep_onclick_delete_##]" label="Modify/Delete" class="button label label-danger"><abbr title="Modify or Delete"><i class="fa fa-check-circle-o"></i> M/D</abbr></a></dd>
<dd class="permalink"><a href="[##_guest_rep_link_##]" title="Permanent link" class="button label label-info"><i class="fa fa-chain"></i> Permalink</a></dd>
<dd class="delete"><a href="#" onclick="[##_guest_rep_onclick_delete_##]" label="Modify/Delete" class="button label label-danger"><abbr title="Modify or Delete"><i class="fa fa-check-circle-o"></i> M/D</abbr></a></dd>
<dd class="write"><a href="#" onclick="[##_guest_rep_onclick_reply_##]" label="Write reply" class="button label label-success"><i class="fa fa-share-square-o"></i> Reply</a></dd>
</dl>
<p>[##_guest_rep_desc_##]</p>
Expand Down Expand Up @@ -376,7 +376,7 @@ <h3><a href="[##_article_rep_link_##]"><i class="fa fa-pencil-square-o"></i> [##
<header>
<div class="page-header">
<h3>
<a href="[##_article_rep_link_##]"><i class="fa fa-pencil-square-o"></i> [##_article_rep_title_##]</a>
<a href="[##_article_rep_link_##]"><i class="fa fa-pencil-square-o"></i> [##_article_rep_title_##]</a>
</h3>
</div>
</header>
Expand Down Expand Up @@ -421,15 +421,15 @@ <h3>
<ul class="list-group row">
<li class="list-group-item col-xs-5 col-md-3">
<a id="[##_article_rep_tb_cnt_id_##]" href="#tb" onclick="[##_article_rep_tb_link_##]" label="Show/hide responses" class="button">
<i class="glyphicon glyphicon-link"> </i>
<i class="glyphicon glyphicon-link"> </i>
<s_tb_count>
Trackbacks<span class="navbar-new">[##_article_rep_tb_cnt_##]</span>
</s_tb_count>
</a>
</li>
<li class="list-group-item col-xs-5 col-md-3">
<a id="[##_article_rep_rp_cnt_id_##]" href="#rp" onclick="[##_article_rep_rp_link_##]" title="Show/hide commments" class="button">
<i class="glyphicon glyphicon-leaf"> </i>
<i class="glyphicon glyphicon-leaf"> </i>
<s_rp_count>
Comments<span class="navbar-new">[##_article_rep_rp_cnt_##]</span>
</s_rp_count>
Expand Down Expand Up @@ -531,7 +531,7 @@ <h3><i class="fa fa-copy"></i> Comments List</h3>
</article>
</section>
</s_rp_container>
<s_rp_input_form> <!-- Write form for comments ...................................... -->
<s_rp_input_form> <!-- Write form for comments ...................................... -->
<section class="write comments">
<header>
<hgroup class="page-header">
Expand Down Expand Up @@ -563,7 +563,7 @@ <h3><i class="fa fa-file-text-o"></i> Comments <small>Leave your comment</small>
<div class="form-group">
<textarea class="form-control" name="[##_rp_input_comment_##]" rows="3" required="required" placeholder="Your Message"></textarea>
</div>

<button type="submit" class="btn btn-primary submit button" value="Submit" onclick="[##_rp_onclick_submit_##]">Submit</button>
</fieldset>
</article>
Expand Down Expand Up @@ -593,7 +593,7 @@ <h3><i class="fa fa-file-text-o"></i> Comments <small>Leave your comment</small>

</div>
<div class="col-md-3 column">
<aside id="sidebar">
<aside id="sidebar">
<!-- Sidebar (first) -->
<s_sidebar>
<s_sidebar_element>
Expand Down Expand Up @@ -649,7 +649,7 @@ <h4><i class="fa fa-cloud"></i> Tag Cloud</h4>
</s_random_tags>
</ul>
</li>
</ol>
</ol>
</section>
</s_sidebar_element>
<s_sidebar_element>
Expand Down Expand Up @@ -819,7 +819,7 @@ <h4><i class="fa fa-leaf"></i> Site Stats</h4>
</section>
</s_sidebar_element>
</s_sidebar>

<!-- Sidebar (second) -->
<s_sidebar>
<s_sidebar_element>
Expand Down Expand Up @@ -860,7 +860,7 @@ <h4><i class="fa fa-rss"></i> Feeds</h4>
<i class="fa fa-heart-o"></i> <span> [##_title_##]</span>
</div>
<div class="panel-body">
Powered by <a href="http://www.textcube.org" onclick="window.open(this.href); return false">[##_textcube_name_##] [##_textcube_version_##]</a>,
Powered by <a href="http://www.textcube.org" onclick="window.open(this.href); return false">[##_textcube_name_##] [##_textcube_version_##]</a>,
Persona skin designed by <a href="http://forest.nubimaru.com">inureyes</a> edited by <a href="http://blog.2pink.net">LonnieNa</a>
</div>
</div>
Expand Down

0 comments on commit 08fa796

Please # to comment.