Lines Matching refs:page

3  * Include Plugin:  Display a wiki page within another wiki page
70 $inclmeta = p_get_metadata($event->data['page'], 'plugin_include', METADATA_RENDER_UNLIMITED);
74 foreach ($inclmeta['pages'] as $page) {
75 if (auth_aclcheck($page['id'], '', array()) < AUTH_READ) { // is $page public?
90 // metadata is only rendered once for a page in one request - thus we need to render manually.
91 $meta = p_read_metadata($event->data['page']); // load the original metdata
92 $meta = p_render_metadata($event->data['page'], $meta); // render the metadata
93 p_save_metadata($event->data['page'], $meta); // save the metadata so other event handlers get the public metadata, too
196 // metadata is not automatically re-rendered as the page has probably
216 if(!isset($cache->page)) return;
219 $depends = p_get_metadata($cache->page, 'plugin_include');
249 foreach ($depends['pages'] as $page) {
250 if (!$page['exists']) continue;
251 $file = wikiFN($page['id']);
260 * Handle special section edit buttons for the include plugin to get the current page
261 * and replace normal section edit buttons when the current page is different from the
265 // stack of included pages in the form ('id' => page, 'rev' => modification time, 'writable' => bool)
349 list($mode, $page, $sect) = array_pad(preg_split('/>|#/u', $syntax, 3), 3, "");
352 $newpage = $handler->adaptRelativeId($page);
354 $newpage = $handler->resolveMoves($page, 'page');
355 $newpage = $handler->relativeLink($page, $newpage, 'page');
358 if ($newpage == $page) {