mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
23 lines
345 B
PHP
23 lines
345 B
PHP
|
<?php
|
||
|
|
||
|
class Dialog extends WidgetBase
|
||
|
{
|
||
|
function load()
|
||
|
{
|
||
|
$this->addjs('dialog.js');
|
||
|
}
|
||
|
|
||
|
static function fill($html = '', $scroll = false)
|
||
|
{
|
||
|
RPC::call('movim_fill', 'dialog', $html);
|
||
|
|
||
|
if($scroll) {
|
||
|
RPC::call('Dialog.addScroll');
|
||
|
}
|
||
|
}
|
||
|
|
||
|
function display()
|
||
|
{
|
||
|
}
|
||
|
}
|