Member
Member
vincent3569   2017-12-28, 15:13
#1

hi

I have a look on this code in zp-core\zp-extensions\zenpage.php (line 314 and following)


    static function admin_toolbox_news($redirect, $zf) {
        global $_zp_zenpage, $_zp_current_category, $_zp_current_zenpage_news;
        if (is_NewsArticle()) {
            if (zp_loggedin(ZENPAGE_NEWS_RIGHTS) && ZP_NEWS_ENABLED) {



// page is a NewsArticle--provide zenpage edit, delete, and Add links
                echo "[*]getTitleLink()) . "\">" . gettext("Edit Article") . "";
                if (GALLERY_SESSION) {
// XSRF defense requires sessions
                    ?>
                    [*]
                        ">  
Administrator
Administrator
acrylian   2017-12-29, 20:39
#2

Its for the redirect link when logging out on a category page so you return to/stay on that category page.

And before you ask: Yes, there is no edit link for the current category itself for unknown reasons.

Member
Member
vincent3569   2017-12-30, 17:33
#3

I didn't aked the question.
but as you noticed, maybe it will a new feature...
;-)

Administrator
Administrator
acrylian   2017-12-30, 17:38
#4

Is considered ;-)

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.