mirror of
https://github.com/e107inc/e107.git
synced 2025-03-14 01:19:44 +01:00
Use "Custom Fields" for the tab in "Pages". Fix for type=file returning a bad URL.
This commit is contained in:
parent
5cbe8df761
commit
97ce92c8ab
@ -189,6 +189,10 @@
|
||||
break;
|
||||
|
||||
case "file":
|
||||
if(empty($value))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
return ($raw) ? $tp->toFile($value, array('raw'=>1)) : $tp->toFile($value);
|
||||
break;
|
||||
|
||||
|
@ -374,7 +374,7 @@ Morbi porta leo iaculis, hendrerit lorem interdum, porta dui. Integer tempor con
|
||||
<field name="chapter_visibility">0</field>
|
||||
<field name="chapter_fields">{
|
||||
"__tabs__": {
|
||||
"additional": "Additional"
|
||||
"additional": "Custom Fields"
|
||||
},
|
||||
"mybbarea": {
|
||||
"title": "Rich Text",
|
||||
|
@ -154,7 +154,7 @@ $sc_style['CPAGENAV|default']['post'] = '</div>';
|
||||
|
||||
$PAGE_TEMPLATE['customfields']['body'] = '
|
||||
|
||||
<div class="col-md-5 pull-right" style="margin-right:-15px">
|
||||
<div class="col-xs-12 col-md-5 pull-right" style="margin-right:-15px">
|
||||
<table class="table table-striped table-bordered">
|
||||
<tr>
|
||||
<th class="text-center" colspan="2">Custom Fields</th>
|
||||
|
Loading…
x
Reference in New Issue
Block a user