* Login to mobile version to enable sidebar * Swipe right to display your old dashboard * Modified `home.inc.php` to default to news at all times again * Modified sidebar implementation to change via config setting * Modified mobile navigation bar and header * Added `sidebar_prop.tpl` file for both themes Some breaking changes might be introduced here if you are running your own template implementation. Please ensure that `home/default.tpl` will display the news posts. `sidebar.tpl` is now `sidebar_prop.tpl`. If the files are missing you will get a PHP error. Check your logs what file is missing and create them from my original samples. Fixes #283
9 lines
213 B
Smarty
9 lines
213 B
Smarty
{section name=news loop=$NEWS}
|
|
<div data-role="collapsible-set">
|
|
<div data-role="collapsible" data-collapsed="true">
|
|
<h3>{$NEWS[news].header}</h3>
|
|
<p>{$NEWS[news].content}</p>
|
|
</div>
|
|
</div>
|
|
{/section}
|