function _DEFAULT($client) { mosMenuBar::startTable(); if ($client == "admin") { mosMenuBar::custom('publish', 'publish.png', 'publish_f2.png', 'Padrão', true); mosMenuBar::spacer(); } else { mosMenuBar::makeDefault(); mosMenuBar::spacer(); mosMenuBar::assign(); mosMenuBar::spacer(); } mosMenuBar::deleteList(); mosMenuBar::spacer(); mosMenuBar::editHtmlX('edit_source'); mosMenuBar::spacer(); mosMenuBar::editCssX('edit_css'); mosMenuBar::spacer(); mosMenuBar::addNew(); mosMenuBar::spacer(); mosMenuBar::help('screen.templates'); mosMenuBar::endTable(); }
function _DEFAULT($client) { mosMenuBar::startTable(); if ($client == "admin") { mosMenuBar::custom('publish', 'publish.png', 'publish_f2.png', T_('Default'), true); mosMenuBar::spacer(); $client = '.' . $client; } else { mosMenuBar::makeDefault(); mosMenuBar::spacer(); mosMenuBar::assign(); mosMenuBar::spacer(); } mosMenuBar::addNew(); mosMenuBar::spacer(); mosMenuBar::editHtmlX('edit_source'); mosMenuBar::spacer(); mosMenuBar::editCssX('edit_css'); mosMenuBar::spacer(); mosMenuBar::deleteList(); mosMenuBar::spacer(); mosMenuBar::help('manager' . $client); mosMenuBar::endTable(); }