fixed other bug in use of themes
parent
d19c735430
commit
9fe291b0ed
|
|
@ -123,7 +123,6 @@ $theme = new themes;
|
||||||
$row['Date_Added'] = $formatedDate;
|
$row['Date_Added'] = $formatedDate;
|
||||||
$row['Permalink'] = $permalink;
|
$row['Permalink'] = $permalink;
|
||||||
$row['postType'] = $postType;
|
$row['postType'] = $postType;
|
||||||
|
|
||||||
switch ($postType){
|
switch ($postType){
|
||||||
case "1":
|
case "1":
|
||||||
$row['Title'] = $register["title"];
|
$row['Title'] = $register["title"];
|
||||||
|
|
@ -220,7 +219,7 @@ $theme = new themes;
|
||||||
$row['Date_Added'] = $formatedDate;
|
$row['Date_Added'] = $formatedDate;
|
||||||
$row['Permalink'] = $permalink;
|
$row['Permalink'] = $permalink;
|
||||||
$postType = $tumble->getType($register["id_post"]);
|
$postType = $tumble->getType($register["id_post"]);
|
||||||
$theme->set('postType',$postType);
|
$row['postType'] = $postType;
|
||||||
switch ($postType) {
|
switch ($postType) {
|
||||||
case "1":
|
case "1":
|
||||||
$row['Title'] = $register["title"];
|
$row['Title'] = $register["title"];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue