This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
<HTML> | |
<head> | |
<META http-equiv="Content-Type" content="text/html; charset=utf8"> | |
<META http-equiv="Content-Style-Type" content="text/css"> | |
<TITLE></TITLE> | |
</head> | |
<BODY> | |
<DIV class="main" align="left"> | |
<SCRIPT language="JavaScript"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | |
<HTML> | |
<head> | |
<META http-equiv="Content-Type" content="text/html; charset=utf8"> | |
<META http-equiv="Content-Style-Type" content="text/css"> | |
<TITLE></TITLE> | |
</head> | |
<BODY> | |
<DIV class="main" align="left"> | |
<SCRIPT language="JavaScript"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php ////////// ?> | |
<?php // Head タグに設置する Open Graph の設定 ?> | |
<?php ////////// ?> | |
<?php $CurrentURL = BASE_URL . DIR_REL . View::getViewPath() . '/'; | |
global $c; | |
// ページタイトルを取得 | |
$pageTitleforSocial = htmlspecialchars($c->getCollectionName(), ENT_COMPAT, APP_CHARSET); | |
// ページ・サムネイルのページ属性 thumbnail を取得 | |
$PageThumbnaillfb = LibraryFileBlockController::getFile($c->getAttribute('thumbnail')->fID); | |
$PageThumbnailSrc = $PageThumbnaillfb->getURL(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php defined('C5_EXECUTE') or die("Access Denied."); | |
// Summary setting | |
$NumChar = 64; // Number of summary characters | |
$Tail= '…'; // Read more tails | |
$AdvertisementKeyword='PR:'; // Advertisement title | |
?> | |
<div id="rssSummaryList<?php echo intval($bID)?>" class="rssSummaryList"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php defined('C5_EXECUTE') or die("Access Denied."); | |
// 設定一覧 | |
$NumChar = 64; // 説明文の文字数 | |
$Tail= '…'; // 省略した場合に付ける記号 | |
$AdvertisementKeyword='PR:'; // 広告だと思われるRSS記事に付いているキーワード | |
?> | |
<div id="rssSummaryList<?php echo intval($bID)?>" class="rssSummaryList"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//defined('C5_EXECUTE') or die("Access Denied."); | |
ini_set("display_errors","0"); | |
if (version_compare($_REQUEST['APP_VERSION'], '5.3.9', '>')) { | |
// we support the new xml method. otherwise just return old school | |
header('Content-Type: text/xml'); | |
if (version_compare($_REQUEST['APP_VERSION'], '5.6.2', '>')) { // 5.6.2.1日本語版ユーザー → 5.6.3.1日本語版へ ?> | |
<update> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function getCacheKey($mixed) { | |
if ($mixed instanceof Page) { | |
return urlencode(trim($mixed->cID, '/')); | |
} else if ($mixed instanceof Request) { | |
return urlencode(trim($mixed->cID, '/')); | |
} else if ($mixed instanceof PageCacheRecord) { | |
return $mixed->getCacheRecordKey(); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Alias "[RELATIVE PATH OF CONCRETE FOLDER]" "[FULL SERVER PATH TO YOUR CONCRETE5 CORE]" | |
<Directory [FULL SERVER PATH TO EACH WEB AREA]> | |
<IfModule sapi_apache2.c> | |
php_admin_value open_basedir "[FULL SERVER PATH TO EACH WEB AREA]:[FULL SERVER PATH TO YOUR CONCRETE5 CORE]:/tmp" | |
</IfModule> | |
<IfModule mod_php5.c> | |
php_admin_value open_basedir "[FULL SERVER PATH TO EACH WEB AREA]:[FULL SERVER PATH TO YOUR CONCRETE5 CORE]:/tmp" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$week = array("(日) ", "(月) ", "(火) ", "(水) ", "(木) ", "(金) ", "(土)"); | |
$event_start = strtotime($c->getCollectionAttributeValue("event_start")); | |
$event_start_d = date('Y年m月d日 ', $event_start); | |
$event_start_w = date("w", $event_start); | |
$event_end = strtotime($c->getCollectionAttributeValue("event_end")); | |
$event_end_d = date('Y年m月d日 ', $event_end); | |
$event_end_w = date("w", $event_end); | |
if($event_start){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1><?php | |
$c = Page::getCurrentPage(); | |
$nh = Loader::helper('navigation'); | |
// concrete5 第4階層以降であれば、第3階層 のページタイトルを表示させる。 | |
// [現在のページタイトル] - [第3階層のページタイトル] | |
// ページ属性 display_secondary_title がチェックされていれば第3階層のタイトルを表示しない | |
// $trail [0] はトップ | |
// $trail [1] は第2階層 | |
echo h($c->getCollectionName()); | |
if (!$c->getAttribute('display_secondary_title')){ |
OlderNewer