'._("Follow Me").'
'._('Choose a user/extension:').'
'; } elseif ($action == 'delGRP') { echo '
'._("Follow Me").' '.$account.' '._("deleted").'!
'; } else { if ($extdisplay) { // We need to populate grplist with the existing extension list. $thisgrp = findmefollow_get(ltrim($extdisplay,'GRP-'), 1); $grpliststr = isset($thisgrp['grplist']) ? $thisgrp['grplist'] : ''; $grplist = explode("-", $grpliststr); $strategy = isset($thisgrp['strategy']) ? $thisgrp['strategy'] : ''; $grppre = isset($thisgrp['grppre']) ? $thisgrp['grppre'] : ''; $grptime = isset($thisgrp['grptime']) ? $thisgrp['grptime'] : ''; $goto = isset($thisgrp['postdest']) ? $thisgrp['postdest'] : ''; $annmsg = isset($thisgrp['annmsg']) ? $thisgrp['annmsg'] : ''; $dring = isset($thisgrp['dring']) ? $thisgrp['dring'] : ''; $remotealert = isset($thisgrp['remotealert']) ? $thisgrp['remotealert'] : ''; $needsconf = isset($thisgrp['needsconf']) ? $thisgrp['needsconf'] : ''; $toolate = isset($thisgrp['toolate']) ? $thisgrp['toolate'] : ''; $ringing = isset($thisgrp['ringing']) ? $thisgrp['ringing'] : ''; $pre_ring = isset($thisgrp['pre_ring']) ? $thisgrp['pre_ring'] : ''; $ddial = isset($thisgrp['ddial']) ? $thisgrp['ddial'] : ''; unset($grpliststr); unset($thisgrp); $delButton = " "; echo "
"._("Follow Me").": ".ltrim($extdisplay,'GRP-')."
"; // Copied straight out of old code,let's see if it works? // if (isset($amp_conf["AMPEXTENSIONS"]) && ($amp_conf["AMPEXTENSIONS"] == "deviceanduser")) { $editURL = $_SERVER['PHP_SELF'].'?display=users&extdisplay='.ltrim($extdisplay,'GRP-'); $EXTorUSER = "User"; } else { $editURL = $_SERVER['PHP_SELF'].'?display=extensions&extdisplay='.ltrim($extdisplay,'GRP-'); $EXTorUSER = "Extension"; } echo "Edit ".$EXTorUSER." ".ltrim($extdisplay,'GRP-')."
"; echo "".$delButton."
"; } ?>