diff options
| author | Björn Geiger | 2011-04-12 15:00:09 +0200 |
|---|---|---|
| committer | Björn Geiger | 2011-04-12 15:00:09 +0200 |
| commit | c2b00cf9182521b9b5b018d85bda230bfee945de (patch) | |
| tree | ad225064ec6c4ee77eabe35cda0353c8f14f47c9 /application/modules/user | |
| parent | verschiedene Korrekturen (diff) | |
| download | pbs2-c2b00cf9182521b9b5b018d85bda230bfee945de.tar.gz pbs2-c2b00cf9182521b9b5b018d85bda230bfee945de.tar.xz pbs2-c2b00cf9182521b9b5b018d85bda230bfee945de.zip | |
2 nicht mehr benötigte Dateien entfernen
Diffstat (limited to 'application/modules/user')
| -rw-r--r-- | application/modules/user/views/scripts/group/showall.phtml | 105 | ||||
| -rw-r--r-- | application/modules/user/views/scripts/person/showall.phtml | 126 |
2 files changed, 0 insertions, 231 deletions
diff --git a/application/modules/user/views/scripts/group/showall.phtml b/application/modules/user/views/scripts/group/showall.phtml deleted file mode 100644 index 2e376b3..0000000 --- a/application/modules/user/views/scripts/group/showall.phtml +++ /dev/null @@ -1,105 +0,0 @@ -<h1>Groups Overview</h1> -<?php echo $this->searchform; ?> -<?php echo $this->formButton('addgroup', 'Add Group', array( - 'onclick' => 'self.location="/user/group/add"', - 'class' => 'addbutton')) -?> - -<div class='searchvars'> -<div class='head'>Available searchfilter:</div> -<div class='code'>title</div> -<div class='code'>description</div> -</div> - -<div class='listelement'><?php -if(count($this->groupList)==0) -echo "There are no groups" ?> <?php foreach ($this->groupList as $k => $group): ?> -<?php -$class=''; -if($group->getID() == $this->userIDsNamespace['groupID']) -$class= 'highlight checked'; -?> -<div class='element<?php echo " $class";?>'><?php if($group->getID() != $this->userIDsNamespace['groupID']) { - ?> -<div class='number'> - <div class='smallnumber'>Group</div> - <?php echo $k+1; ?> -</div> - <?php -} -?> -<div class='content'> -<div class='actions'><a - href="<?php if($group->getID() == $this->userIDsNamespace['groupID']) echo $this->url( - array( - 'module' => 'user', - 'controller' => 'group', - 'action' => 'show' - ), - 'default', - true); else echo $this->url( - array( - 'module' => 'user', - 'controller' => 'group', - 'action' => 'show', - 'groupID' => $group->getID() - ), - 'default', - true); ?>"> <img src='/media/img/show.png' alt='Show Group' /></a> -<a - href="<?php if($group->getID() == $this->userIDsNamespace['groupID']) echo $this->url( - array( - 'module' => 'user', - 'controller' => 'group', - 'action' => 'edit' - ), - 'default', - true); else echo $this->url( - array( - 'module' => 'user', - 'controller' => 'group', - 'action' => 'edit', - 'groupID' => $group->getID() - ), - 'default', - true); ?>"> <img src='/media/img/edit.png' alt='Edit Group' /></a> -<a - href="<?php if($group->getID() == $this->userIDsNamespace['groupID']) echo $this->url( - array( - 'module' => 'user', - 'controller' => 'group', - 'action' => 'delete' - ), - 'default', - true); else echo $this->url( - array( - 'module' => 'user', - 'controller' => 'group', - 'action' => 'delete', - 'groupID' => $group->getID() - ), - 'default', - true); ?>"> <img src='/media/img/delete.png' alt='Delete Group' /></a> -</div> -<div class='title'><?php echo $group->getTitle(); ?></div> - <?php if($group->getDescription()) { - ?> -<div class='subtitle'><?php echo $group->getDescription(); ?></div> - <?php - } else { - ?> -<div class='subtitle'> </div> - <?php - } - ?></div> -<div class='clear'></div> -</div> -<?php endforeach ?></div> -<?php echo $this->pagination; ?> - -<?php echo $this->formButton('linkgroups', 'Link Groups', array( - 'onclick' => 'self.location="/user/group/link"', - 'class' => 'addbutton')) -?> -<br /> -<br /> diff --git a/application/modules/user/views/scripts/person/showall.phtml b/application/modules/user/views/scripts/person/showall.phtml deleted file mode 100644 index 1909782..0000000 --- a/application/modules/user/views/scripts/person/showall.phtml +++ /dev/null @@ -1,126 +0,0 @@ -<h1>Persons Overview</h1> -<?php echo $this->searchform; ?> -<div class='searchvars'> -<div class='head'>Available searchfilter:</div> -<div class='code'>title</div> -<div class='code'>name</div> -<div class='code'>firstname</div> -<div class='code'>email</div> -</div> - -<div class='listelement'><?php if(count($this->personList)==0) -echo "There are no Persons to display." ?> <?php foreach ($this->personList as $k => $person): ?> -<?php -$class=''; -if($person->getID() == $this->userIDsNamespace['personID']) -$class= 'highlight checked'; -?> -<div class='element<?php echo " $class";?>'> -<?php if($person->getID() != $this->userIDsNamespace['personID']) { - ?> - <div class='number'> - <div class='smallnumber'>Person</div> - <?php echo $k+1; ?> - </div> -<?php -} -?> -<div class='content'> -<div class='actions'><?php -if($person->getID() == $this->userIDsNamespace['personID']) { - if($this->showRight === true) { - ?> <a - href="<?php echo $this->url( - array( - 'module' => 'user', - 'controller' => 'person', - 'action' => 'index' - ), - 'default', - true);?>"> <img src='/media/img/show.png' alt='Show Person' /></a> - <?php - } - if($this->editRight === true) { ?> <a - href="<?php echo $this->url( - array( - 'module' => 'user', - 'controller' => 'person', - 'action' => 'edit' - ), - 'default', - true);?>"> <img src='/media/img/edit.png' alt='Edit Person' /></a> - <?php - } - if($this->deleteRight === true) { ?> <a - href="<?php echo $this->url( - array( - 'module' => 'user', - 'controller' => 'auth', - 'action' => 'delete' - ), - 'default', - true);?>"> <img src='/media/img/delete.png' alt='Delete Account' /></a> - <?php - } -} else { - if($this->showOtherRight === true) { - ?> <a - href=" <?php echo $this->url( - array( - 'module' => 'user', - 'controller' => 'person', - 'action' => 'show', - 'personID' => $person->getID() - ), - 'default', - true); ?>"> <img src='/media/img/show.png' alt='Show Person' /></a> - <?php - } - if($this->editOtherRight === true) { - ?> <a - href=" <?php echo $this->url( - array( - 'module' => 'user', - 'controller' => 'person', - 'action' => 'edit', - 'personID' => $person->getID() - ), - 'default', - true); ?>"> <img src='/media/img/edit.png' alt='Edit Person' /></a> - <?php - } - if($this->deleteOtherRight === true) { - ?> <a - href=" <?php echo $this->url( - array( - 'module' => 'user', - 'controller' => 'auth', - 'action' => 'delete', - 'personID' => $person->getID() - ), - 'default', - true); ?>"> <img src='/media/img/delete.png' alt='Delete Account' /></a> - <?php - } -} -?></div> -<div class='title'><?php echo $person->getTitle(); ?> <?php echo $person->getFirstname(); ?> <?php echo $person->getName(); ?></div> -<div class='subtitle'><?php echo $person->getEmail(); ?></div> -</div> -<div class='clear'></div> -</div> -<?php endforeach ?></div> - -<?php echo $this->pagination; ?> - -<script> -$(document).ready(function(){ - if($('.element').find('.dispnone').length >= 1){ - $(this).find('.title').css('cursor','pointer'); - - $('.title').click(function(){ - $(this).siblings('.dispnone').toggle(); - }); - } -}); -</script> |
