Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
webprofile-jwg2024
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Siti Aisah
webprofile-jwg2024
Commits
75d1b329
Commit
75d1b329
authored
Jan 06, 2021
by
Bagus Pambudi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
c2898b70
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
11 deletions
+11
-11
app/Http/Controllers/Webprofile/Backend/CategoryController.php
+1
-1
app/Http/Controllers/Webprofile/Front/AgendaController.php
+2
-2
app/Http/Controllers/Webprofile/Front/ArchiveController.php
+3
-3
app/Http/Controllers/Webprofile/Front/CategoryController.php
+5
-5
No files found.
app/Http/Controllers/Webprofile/Backend/CategoryController.php
View file @
75d1b329
...
@@ -250,7 +250,7 @@ class CategoryController extends Controller
...
@@ -250,7 +250,7 @@ class CategoryController extends Controller
*/
*/
public
function
destroy
(
$id
)
public
function
destroy
(
$id
)
{
{
$data
=
$this
->
repo
->
findId
(
$id
,
[
'rEn'
,
'berita'
]);
$data
=
$this
->
repo
->
findId
(
$id
,
[
'rEn'
,
'
rDe'
,
'rSa'
,
'rZh'
,
'
berita'
]);
if
(
count
(
$data
->
berita
)
<=
0
)
{
if
(
count
(
$data
->
berita
)
<=
0
)
{
$this
->
repo
->
destroy
(
$data
);
$this
->
repo
->
destroy
(
$data
);
...
...
app/Http/Controllers/Webprofile/Front/AgendaController.php
View file @
75d1b329
...
@@ -35,11 +35,11 @@ class AgendaController extends Controller
...
@@ -35,11 +35,11 @@ class AgendaController extends Controller
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'ar'
)
{
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'ar'
)
{
$data
=
$this
->
getDataSa
(
$setting
);
$data
=
$this
->
getDataSa
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.archive'
,
$data
)
->
withTitle
(
'
Agenda
'
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.archive'
,
$data
)
->
withTitle
(
'
جدول أعمال
'
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'zh'
)
{
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'zh'
)
{
$data
=
$this
->
getDataZh
(
$setting
);
$data
=
$this
->
getDataZh
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.zh.archive'
,
$data
)
->
withTitle
(
'
Agenda
'
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.zh.archive'
,
$data
)
->
withTitle
(
'
议程
'
);
}
}
}
}
...
...
app/Http/Controllers/Webprofile/Front/ArchiveController.php
View file @
75d1b329
...
@@ -30,15 +30,15 @@ class ArchiveController extends Controller
...
@@ -30,15 +30,15 @@ class ArchiveController extends Controller
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'de'
)
{
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'de'
)
{
$data
=
$this
->
getDataDe
(
$setting
);
$data
=
$this
->
getDataDe
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.de.archive'
,
$data
)
->
withTitle
(
'Archiv
e
'
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.de.archive'
,
$data
)
->
withTitle
(
'Archiv'
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'ar'
)
{
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'ar'
)
{
$data
=
$this
->
getDataSa
(
$setting
);
$data
=
$this
->
getDataSa
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.archive'
,
$data
)
->
withTitle
(
'
Archive
'
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.archive'
,
$data
)
->
withTitle
(
'
أرشيف
'
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'zh'
)
{
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'zh'
)
{
$data
=
$this
->
getDataZh
(
$setting
);
$data
=
$this
->
getDataZh
(
$setting
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.zh.archive'
,
$data
)
->
withTitle
(
'
Archive
'
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.zh.archive'
,
$data
)
->
withTitle
(
'
封存
'
);
}
}
}
}
...
...
app/Http/Controllers/Webprofile/Front/CategoryController.php
View file @
75d1b329
...
@@ -22,23 +22,23 @@ class CategoryController extends Controller
...
@@ -22,23 +22,23 @@ class CategoryController extends Controller
if
(
Session
::
get
(
'selected_language'
)
==
'id'
)
{
if
(
Session
::
get
(
'selected_language'
)
==
'id'
)
{
$data
=
$this
->
getDataId
(
$setting
,
$category
);
$data
=
$this
->
getDataId
(
$setting
,
$category
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.archive'
,
$data
)
->
withTitle
(
'
Arsip
'
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.archive'
,
$data
)
->
withTitle
(
'
Kategori
'
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'en'
)
{
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'en'
)
{
$data
=
$this
->
getDataEn
(
$setting
,
$category
);
$data
=
$this
->
getDataEn
(
$setting
,
$category
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.en.archive'
,
$data
)
->
withTitle
(
'
Archive
'
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.en.archive'
,
$data
)
->
withTitle
(
'
Category
'
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'de'
)
{
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'de'
)
{
$data
=
$this
->
getDataDe
(
$setting
,
$category
);
$data
=
$this
->
getDataDe
(
$setting
,
$category
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.de.archive'
,
$data
)
->
withTitle
(
'
Archiv
e'
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.de.archive'
,
$data
)
->
withTitle
(
'
Kategori
e'
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'ar'
)
{
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'ar'
)
{
$data
=
$this
->
getDataSa
(
$setting
,
$category
);
$data
=
$this
->
getDataSa
(
$setting
,
$category
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.archive'
,
$data
)
->
withTitle
(
'
Archive
'
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.ar.archive'
,
$data
)
->
withTitle
(
'
الفئة
'
);
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'zh'
)
{
}
elseif
(
Session
::
get
(
'selected_language'
)
==
'zh'
)
{
$data
=
$this
->
getDataZh
(
$setting
,
$category
);
$data
=
$this
->
getDataZh
(
$setting
,
$category
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.zh.archive'
,
$data
)
->
withTitle
(
'
Archive
'
);
return
view
(
'webprofile.front.'
.
$setting
[
'theme'
]
.
'.zh.archive'
,
$data
)
->
withTitle
(
'
类别
'
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment