Lines Matching refs:manager
23 var $manager = null; variable in dokuwiki_farm_overview
28 function __construct($manager) { argument
29 $this->manager = & $manager;
44 ptln('<div class="farm_cmd_title">'.$this->manager->getLang('overview_title').'</div>');
47 $animals = dokuwiki_farm_animal::listAnimals($this->manager);
49 if(isset($this->manager->opt['sort'])) {
50 $sort = $this->manager->opt['sort'];
71 $details = isset($this->manager->opt['details']) ? $this->manager->opt['details'] : null;
74 if($this->manager->conf['farmmaxsize'] > 0) {
76 $p = $s / $this->manager->conf['farmmaxsize'];
80 …manager->getLang('overview_diskusage').' : <span class="size_disp" style="background-color:rgb('.$…
83 if($this->manager->conf['farmmaxanimals'] > 0) {
85 $p = $s / $this->manager->conf['farmmaxanimals'];
89 …manager->getLang('overview_animalsamount').' : <span class="size_disp" style="background-color:rgb…
94 ptln(' '.$this->manager->getLang('overview_sort').' : ');
95 …ptln(' <a href="'.$this->manager->wl('overview', array('sort' => 'size')).'">'.$this->manager->ge…
96 …ptln(' <a href="'.$this->manager->wl('overview', array('sort' => 'sizedesc')).'">'.$this->manager…
97 …ptln(' <a href="'.$this->manager->wl('overview', array('sort' => 'name')).'">'.$this->manager->ge…
98 …ptln(' <a href="'.$this->manager->wl('overview', array('sort' => 'namedesc')).'">'.$this->manager…
103 $page = isset($this->manager->opt['page']) ? (int)$this->manager->opt['page'] : 1;
109 …="animal_overview_'.($p == $page ? 'current' : '').'page" href="'.$this->manager->wl('overview', a…
116 …manager->wl('animal', array('aid' => $a->getName())).'" title="'.$this->manager->getLang('managean…
119 if($this->manager->conf['animalmaxsize'] > 0) {
121 $p = $s / $this->manager->conf['animalmaxsize'];
125 …manager->getLang('animal_info_size').' : <span class="size_disp" style="background-color:rgb('.$r.…
128 …if($this->manager->conf['animalmaxsize'] <= 0) ptln(' '.$this->manager->getLang('animal_info_siz…
129 …ptln(' '.$this->manager->getLang('animal_info_creation').' : '.strftime($conf['dformat'], $a->ge…
130 … href="'.$this->manager->wl('overview', array('sort' => $sort, 'details' => $a->getName())).'#anim…
132 …if($this->manager->conf['animalmaxsize'] <= 0) ptln(' '.$this->manager->getLang('animal_info_siz…
133 …ptln(' '.$this->manager->getLang('animal_info_status').' : '.$this->manager->getLang('animal_sta…
134 …ptln(' '.$this->manager->getLang('animal_info_creation').' : '.$a->getInfos()->getCreation(true)…
138 ptln(' '.$this->manager->getLang('animal_info_pages'.$k).' : '.$i.'<br />');
143 ptln(' '.$this->manager->getLang('animal_info_medias'.$k).' : '.$i.'<br />');
147 …ptln(' '.$this->manager->getLang('animal_info_cachesize').' : '.$a->getInfos()->getSize('cache',…
148 …ptln(' '.$this->manager->getLang('animal_info_indexsize').' : '.$a->getInfos()->getSize('index',…
155 …manager->getLang('animal_info_status').' : <select onmouseover="if(!this.i)this.i=this.selectedInd…
156 …($status == 'open' ? 'selected="selected"' : '').' value="open">'.$this->manager->getLang('animal_…
157 …aintenance' ? 'selected="selected"' : '').' value="maintenance">'.$this->manager->getLang('animal_…
158 …atus == 'closed' ? 'selected="selected"' : '').' value="closed">'.$this->manager->getLang('animal_…
159 …status == 'abuse' ? 'selected="selected"' : '').' value="abuse">'.$this->manager->getLang('animal_…
162 …manager->getLang('animal_info_lockstate').' : <select onmouseover="if(!this.i)this.i=this.selected…
163 …ptln(' <option '.($lockstate == '' ? 'selected="selected"' : '').' value="">'.$this->manager->g…
164 …kstate == 'edits' ? 'selected="selected"' : '').' value="edits">'.$this->manager->getLang('animal_…
165 …kstate == 'admin' ? 'selected="selected"' : '').' value="admin">'.$this->manager->getLang('animal_…
166 …$lockstate == 'all' ? 'selected="selected"' : '').' value="all">'.$this->manager->getLang('animal_…
168 …ptln(' <a href="'.$this->manager->wl('animal', array('aid' => $a->getName(), 'config' => 1)).'" …
169 …ptln(' <a href="'.$this->manager->wl('animal', array('aid' => $a->getName(), 'users' => 1)).'" t…
170 …ptln(' <a href="'.$this->manager->wl('animal', array('aid' => $a->getName(), 'delete' => 1)).'" …
181 …="animal_overview_'.($p == $page ? 'current' : '').'page" href="'.$this->manager->wl('overview', a…