Changeset 287
- Timestamp:
- 04/19/08 19:30:28 (9 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Framework/Module/Accounts.php
r253 r287 80 80 $eus = "./?module=Accounts&class=Modify&domain={$this->domain}"; 81 81 $eus .= "&account=$key&event=modifyAccount"; 82 $lus = "./?module=Accounts&class=Limits&domain={$this->domain}"; 83 $lus .= "&account=$key"; 82 84 $dus = "./?module=Accounts&domain={$this->domain}"; 83 85 $dus .= "&account=$key&event=delete"; … … 87 89 $a[$c]['quota'] = $this->user->getQuota($val['quota']); 88 90 $a[$c]['edit_url'] = htmlspecialchars($eus); 91 $a[$c]['limits_url'] = htmlspecialchars($lus); 89 92 $a[$c]['delete_url'] = htmlspecialchars($dus); 90 93 $c++; 94 } 95 if ($this->user->isSysAdmin()) { 96 $this->setData('isSysAdmin', 1); 91 97 } 92 98 $aus = "./?module=Accounts&event=addAccount&domain={$this->domain}"; trunk/Framework/Module/Accounts/Templates/Default/listAccounts.tpl
r253 r287 21 21 <td class="domaincell">{t}Quota{/t}</td> 22 22 <td class="domaincell">{t}Edit{/t}</td> 23 {if $isSysAdmin} 24 <td class="domaincell">{t}Limits{/t}</td> 25 {/if} 23 26 <td class="domaincell">{t}Delete{/t}</td> 24 27 </tr> … … 30 33 <td>{$account.quota}</td> 31 34 <td><a href="{$account.edit_url}">{t}edit{/t}</a></td> 35 {if $isSysAdmin} 36 <td><a href="{$account.limits_url}">{t}limits{/t}</a></td> 37 {/if} 32 38 <td><a href="{$account.delete_url}">{t}delete{/t}</a></td> 33 39 </tr>
