Exemplo n.º 1
0
function webyep_audio($sFieldName, $sLinkContent)
{
    global $goApp;
    $o = new WYAudioElement($sFieldName, $sLinkContent);
    $s = $o->sDisplay();
    if ($goApp->bEditMode) {
        echo $o->sEditButtonHTML();
        if (!$s) {
            $s = $o->sName;
        }
    }
    echo $s;
}