diff --git a/js/personAdmin/personInUp.js b/js/personAdmin/personInUp.js index 03b19d2..0e3bad2 100644 --- a/js/personAdmin/personInUp.js +++ b/js/personAdmin/personInUp.js @@ -15,7 +15,7 @@ * de_activate / de/activate the formular fields for input * updateForm / calls de_activate and controls the checkboxes */ -function personInUp ( +function personForm ( upId, inId, submitId, person, newPerson, arrRight, arrDown) { this.updBox = upId; diff --git a/libs/c_personAdmin.php b/libs/c_personAdmin.php index b94f96a..23c4271 100644 --- a/libs/c_personAdmin.php +++ b/libs/c_personAdmin.php @@ -97,15 +97,15 @@ class c_personAdmin extends c_picToolSavant return $this->fetch ('personAdmin/personSearch1.tpl.php'); } - function personInUp () + function personForm () { - return $this->fetch ('personAdmin/personInUp.tpl.php'); + return $this->fetch ('personAdmin/personForm.tpl.php'); } function show () { $this->assign ('personSearch1', $this->personSearch1 ()); - $this->assign ('personInUp', $this->personInUp ()); + $this->assign ('personForm', $this->personForm ()); $this->display ('personAdmin/personAdmin.tpl.php'); } diff --git a/templates/personAdmin/personAdmin.tpl.php b/templates/personAdmin/personAdmin.tpl.php index 9991537..8a90430 100644 --- a/templates/personAdmin/personAdmin.tpl.php +++ b/templates/personAdmin/personAdmin.tpl.php @@ -15,7 +15,7 @@ - @@ -43,7 +43,7 @@ =$this->personSearch1?>
var_dump ($_REQUEST) ?>diff --git a/templates/personAdmin/personInUp.tpl.php b/templates/personAdmin/personInUp.tpl.php index b72c941..5e4c123 100644 --- a/templates/personAdmin/personInUp.tpl.php +++ b/templates/personAdmin/personInUp.tpl.php @@ -3,10 +3,10 @@ submit_str = '=_('submit')?>'; delete_str = '=_('delete')?>'; - pInUp = new personInUp ( + pForm = new personForm ( 'update', 'insert', 'send', person, newPerson, arrRight, arrDown); - function personInUpInit () + function personFormInit () { var tCam = document.getElementById ('title_photographer'); var tCamImg = tCam.getElementsByTagName ('img')[0]; @@ -26,19 +26,19 @@