summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b50e7c6)
raw | patch | inline | side by side (parent: b50e7c6)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 Mar 2008 08:24:25 +0000 (08:24 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 12 Mar 2008 08:24:25 +0000 (08:24 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9697 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/admin/departments/class_departmentManagement.inc | patch | blob | history | |
gosa-core/plugins/admin/departments/tabs_department.inc | patch | blob | history |
diff --git a/gosa-core/plugins/admin/departments/class_departmentManagement.inc b/gosa-core/plugins/admin/departments/class_departmentManagement.inc
index abd57aae80bf8a88dbfa51c9bad4dc84286bc694..e587e20064b08357c927b01993544e0bfcc35e77 100644 (file)
/***************
- Handle recursive move (Return output for an iframe)
+ Handle tagging/recursive move (Return output for an iframe)
***************/
-
/* initiate recursive remove (Is called from iframe, generates output)*/
if(isset($_GET['PerformRecMove'])){
$this->deptabs->move_me();
/*************
MOVED ?
- Check if this department is moved
+ Check if this department has to be moved
*************/
if(!isset($_POST['dep_move_confirm']) && $this->deptabs->am_i_moved()){
return($smarty->fetch(get_template_path("dep_move_confirm.tpl",TRUE)));
diff --git a/gosa-core/plugins/admin/departments/tabs_department.inc b/gosa-core/plugins/admin/departments/tabs_department.inc
index 4788b8accb42d7532e918e4295dceaca5fd6d0f6..4f29396fc667200f41fc85716481a4df794e2224 100644 (file)
}
+ /*! \brief Check if the department must must be moved
+ return Boolean TRUE if we have to move the dep, else FALSE
+ */
function am_i_moved()
{
if($this->moved) return(FALSE);
return(FALSE);
}
-
+
+ /*! \brief Checks if the department was moved successfully
+ @return Boolean TRUE if the dep was already moved.
+ */
function move_done()
{
return($this->moved);
}
+ /*! \brief Initiate recursive move
+ */
function move_me()
{
if(!$this->am_i_moved()) return;