Home
last modified time | relevance | path

Searched refs:parid (Results 1 – 4 of 4) sorted by relevance

/plugin/dokutranslate/
H A Dsyntax.php95 function parReviewClass($meta, $parid) { argument
99 if (empty($meta[$parid]['reviews'])) {
107 foreach ($meta[$parid]['reviews'] as $line) {
218 $parid = getParID();
306 $parid = getParID();
308 if ($parid == $this->parCounter) {
312 } else if ($parid > $this->parCounter) {
344 function _renderReviews($id, $meta, $parid) { argument
346 $mod = canReview($id, $meta, $parid);
372 $form->addHidden('parid', strval($parid));
[all …]
H A Dutils.php115 function canReview($id, $meta, $parid) { argument
116 …return isModerator($id) && $meta[$parid]['user'] != $_SERVER['REMOTE_USER'] && $meta[$parid]['ip']…
119 function needsReview($id, $meta, $parid) { argument
120 return canReview($id, $meta, $parid) && !isset($meta[$parid]['reviews'][$_SERVER['REMOTE_USER']]);
H A Daction.php64 function updateMeta($id, $parid, $lastrev, $revert = -1) { argument
84 $meta['current'][$parid]['changed'] = '';
85 $meta['current'][$parid]['ip'] = clientIP(true);
87 $meta['current'][$parid]['reviews'] = array();
298 $parid = getParID();
310 if ($parid >= count($separators) - 1) {
311 $parid = 0;
315 $RANGE = strval($separators[$parid][2] + 1) . '-' . strval($separators[$parid + 1][1] - 1);
326 $parid = getParID();
328 …$writeRev = empty($meta[$writeRev][$parid]['changed']) ? $writeRev : $meta[$writeRev][$parid]['cha…
[all …]
/plugin/catlist/
H A Dsyntax.php251 function _getStartPage ($index_priority, $parid, $parpath, $name, $force) {
253 if ($parid != '') $parid .= ':';
258 $index_id_map = array( CATLIST_INDEX_START => $parid .$name.':'.$conf['start'],
259 CATLIST_INDEX_OUTSIDE => $parid .$name,
260 CATLIST_INDEX_INSIDE => $parid .$name.':'.$name );
254 _getStartPage($index_priority, $parid, $parpath, $name, $force) global() argument