\n" ."\t\t
\n" ."\t\n" ."\n"; if (isset($importlabeloutput)) { $labelsoutput.= $importlabeloutput; return; } if ($subaction == "exportmulti") { $labelsoutput.="\n"; $labelsoutput .="" .""; } //NEW SET if ($action == "newlabelset" || $action == "editlabelset") { if ($action == "editlabelset") { $query = "SELECT label_name,".db_table_name('labelsets').".lid, languages FROM ".db_table_name('labelsets')." WHERE lid=".$lid; $result=db_execute_assoc($query); while ($row=$result->FetchRow()) {$lbname=$row['label_name']; $lblid=$row['lid']; $langids=$row['languages'];} } $labelsoutput.=""; //CSS Firefox 2 transition fix } //LABEL ANSWERS - SHOW THE MASK FOR EDITING THE LABELS $js_admin_includes[]='scripts/updateset.js'; $qulabelset = "SELECT * FROM ".db_table_name('labelsets')." WHERE lid=$lid"; $rslabelset = db_execute_assoc($qulabelset) or safe_die($connect->ErrorMsg()); $rwlabelset=$rslabelset->FetchRow(); $lslanguages=explode(" ", trim($rwlabelset['languages'])); $labelsoutput.= PrepareEditorScript(); $maxquery = "SELECT max(sortorder) as maxsortorder FROM ".db_table_name('labels')." WHERE lid=$lid and language='{$lslanguages[0]}'"; $maxresult = db_execute_assoc($maxquery) or safe_die($connect->ErrorMsg()); $msorow=$maxresult->FetchRow(); $maxsortorder=$msorow['maxsortorder']+1; // labels table $labelsoutput.= "\t\n"; $labelsoutput.= "