$object->addSoftkey(2, Aastra_get_label('Kick', $language), $XML_SERVER . '&action=kick&page=' . $page . '&confno=' . $confno . '&mode=' . $mode); } if ($page != 1) { $object->addSoftkey(3, Aastra_get_label('Previous', $language), $XML_SERVER . '&action=display&page=' . ($page - 1) . '&confno=' . $confno . '&mode=' . $mode); } if ($page != $last) { $object->addSoftkey(8, Aastra_get_label('Next', $language), $XML_SERVER . '&action=display&page=' . ($page + 1) . '&confno=' . $confno . '&mode=' . $mode); } $object->addSoftkey('9', Aastra_get_label('Back', $language), $XML_SERVER . '&confno=' . $confno); $object->addSoftkey(10, Aastra_get_label('Exit', $language), 'SoftKey:Exit'); } } # Test the refresh if (Aastra_is_Refresh_supported()) { $object->setRefresh('5', $XML_SERVER . '&action=refresh&page=' . $page . '&confno=' . $confno . '&mode=' . $mode); $new = $object->generate(); } else { $refresh = 1; if ($nb_softkeys == 6) { $object->addSoftkey(3, Aastra_get_label('Refresh', $language), $XML_SERVER . '&action=display&page=' . $page . '&confno=' . $confno . '&mode=' . $mode); } else { $object->addSoftkey(6, Aastra_get_label('Refresh', $language), $XML_SERVER . '&action=display&page=' . $page . '&confno=' . $confno . '&mode=' . $mode); } } # Test refresh if ($refresh == 0) { $old = @file_get_contents(AASTRA_PATH_CACHE . $header['mac'] . '.meetme'); if ($new != $old) { $refresh = 1; } }