開発メンバー募集中
開発者からテンプレートデザイナーまで募集を致しております。
ご興味のある方は、お問い合わせ下さい。
ID #1056

タイトルを変更する

デフォルトでは、このサイトの場合
phpMyFAQ.JP 日本語サイト -  powered by phpMyFAQ 2.*.*
phpMyFAQ.JP 日本語サイト - powered by phpMyFAQ
phpMyFAQ.JP 日本語サイト - 投稿日時のズレをなおす

と、なってます。この並びを変更します ( Ver2.6.* , Ver2.7.0beta3 対応)

#
###-- OPEN -----------------
#
 index.php

#
##-- Find ------------------
# about Line273
//
// Found a record ID?
//
$id = PMF_Filter::filterInput(INPUT_GET, 'id', FILTER_VALIDATE_INT);
if (!is_null($id)) {
    $title           = ' - ' . $faq->getRecordTitle($id);
    $keywords        = ' ' . $faq->getRecordKeywords($id);
    $metaDescription = $faq->getRecordPreview($id);
} else {
    $id              = '';
    $title           = ' -  powered by phpMyFAQ ' . $faqconfig->get('main.currentVersion');

#
#---- Replace With ------------------------
#


if (isset($_REQUEST['id']) && is_numeric($_REQUEST['id']) == true) {
    $id       = (int)$_REQUEST['id'];
//    $title    = ' - ' . $faq->getRecordTitle($id);
    $title    =  $faq->getRecordTitle($id) .' - '. $faqconfig->get('main.titleFAQ');
    $keywords = ' ' . $faq->getRecordKeywords($id);
} else {
    $id       = '';
//    $title    = ' -  powered by phpMyFAQ ' . $faqconfig->get('main.currentVersion');
    $title    = $faqconfig->get('main.titleFAQ') .' - FAQシステム構築' ;


#
##-- Find ------------------
# About Line290


$solution_id = PMF_Filter::filterInput(INPUT_GET, 'solution_id', FILTER_VALIDATE_INT);
if (!is_null($solution_id)) {
    $title    = ' -  powered by phpMyFAQ ' . $faqconfig->get('main.currentVersion');

#
#---- Replace With ------------------------
#
//    $title       = ' -  powered by phpMyFAQ '.$faqconfig->get('main.currentVersion');
    $title    = ' - FAQシステム構築 - '  . $faqconfig->get('main.titleFAQ');

#
##-- Find ------------------
# About Line440

$main_template_vars = array(
    'title'               => $faqconfig->get('main.titleFAQ').$title,

#
#---- Replace With ------------------------
#

//    'title'             => $faqconfig->get('main.titleFAQ').$title,
    'title'             => $title ,

タグ: 改造

関連エントリー: -



Comments

コメントはまだありません


Add Comment