commit
0ae6f571da
29 changed files with 742 additions and 600 deletions
|
@ -12,6 +12,7 @@ use Friendica\Core\Config;
|
|||
use Friendica\Core\PConfig;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
use Friendica\Object\Photo;
|
||||
|
||||
$frio = "view/theme/frio";
|
||||
|
||||
|
@ -79,9 +80,8 @@ function frio_uninstall() {
|
|||
* @param App $a Unused but required by hook definition
|
||||
* @param array $body_info The item and its html output
|
||||
*/
|
||||
function frio_item_photo_links(App $a, &$body_info) {
|
||||
require_once('include/Photo.php');
|
||||
|
||||
function frio_item_photo_links(App $a, &$body_info)
|
||||
{
|
||||
$phototypes = Photo::supportedTypes();
|
||||
$occurence = 1;
|
||||
$p = bb_find_open_close($body_info['html'], "<a", ">");
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
|
||||
use Friendica\App;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Object\Photo;
|
||||
|
||||
function frost_init(App $a) {
|
||||
$a->videowidth = 400;
|
||||
|
@ -45,8 +46,8 @@ function frost_uninstall() {
|
|||
logger("uninstalled theme frost");
|
||||
}
|
||||
|
||||
function frost_item_photo_links(App $a, &$body_info) {
|
||||
require_once('include/Photo.php');
|
||||
function frost_item_photo_links(App $a, &$body_info)
|
||||
{
|
||||
$phototypes = Photo::supportedTypes();
|
||||
|
||||
$occurence = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue