function editTitle($s) { if ($s != $this->slab) { $this->isEdited = true; } $this->title = $s; $this->slab = cleanSlabTitle($s, $this->slabId); }
function performMove() { if ($_GET['action'] == 'reordercat' || $_GET['action'] == 'reorderinfo') { $catName = strtolower(stripslashes($_GET['cat'])); $catName = cleanSlabTitle($catName); $par = explode(',', $_GET['param']); if (is_numeric($par[0]) && is_numeric($par[1])) { $par[0] = (int) $par[0]; $par[1] = (int) $par[1]; reorder($catName, $par[0], $par[1]); saveRazorArray(); $_SESSION['opencat'] = $catName; } } }