Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改站点名称 #64

Merged
merged 2 commits into from
Jul 23, 2014
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
修改title
  • Loading branch information
Yannyezixin committed Jul 23, 2014
commit 339194151d2904793434d1b9b57582d7cfe678f7
4 changes: 3 additions & 1 deletion backend/app/config/freshman.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@
'initRelevanceNumber' => 0,
'relevanceNumber' => 6,

'substrLength' => 90
'substrLength' => 90,

'freshmanTitle' => '广工新生专题网'
);
4 changes: 2 additions & 2 deletions backend/app/views/Front/Content.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@extends('Front.Template.Front')

@section('title')
{{ $article['title']}} -- 广工大新生网
{{ $article['title']}} -- {{ Config::get('freshman.freshmanTitle')}}
@stop

@section('styles') @parent
Expand All @@ -15,7 +15,7 @@
<p class="cnav">
<span class="nav_bg">
</span>
&nbsp;&nbsp;新生专题网>
&nbsp;&nbsp;{{ Config::get('freshman.freshmanTitle')}}>
{{ $currentCatagory['catagory']}}
</p>
<div class="contain_passage">
Expand Down
2 changes: 1 addition & 1 deletion backend/app/views/Front/Index.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@extends ('Front.Template.Front')

@section('title')
新生专题网--你的广工指南
{{ Config::get('freshman.freshmanTitle')}}
@stop

@section('style')
Expand Down
4 changes: 2 additions & 2 deletions backend/app/views/Front/List.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@section('title')
@foreach($catagoriesList as $catagory)
@if($catagory['id'] == $chooseCatagoryId)
{{ $catagory['catagory']}} -- 广工大新生网
{{ $catagory['catagory']}} -- {{ Config::get('freshman.freshmanTitle')}}
@endif
@endforeach
@stop
Expand All @@ -20,7 +20,7 @@
<span class="nav_bg">

</span>
&nbsp;&nbsp;新生专题网>
&nbsp;&nbsp;{{ Config::get('freshman.freshmanTitle') }}>
{{ $getCatagory['catagory']}}
</p>
<div class="contain_passage">
Expand Down