Exemple #1
0
function osBackLink($node, $curLink, $linkto)
{
    $ar1 = array();
    $ar2 = array();
    $ret = osBackLinkInfo($node, $curLink, $ar1, $linkto, $ar2);
    return $ret;
}
Exemple #2
0
    function frm()
    {
        if ($this->expanded) {
            $this->loadContent();
        }
        $Lable = $this->myCat->lable;
        $link = osBackLinkInfo($this->_fullname, "page", array("state" => $this->curLink), "page", array("state" => $this->linkto));
        $html_old = <<<PHTML
\t\t\t<form name="{$this->_fullname}" method="post">
\t            <input type="hidden" name="_message" value="frame_click" /><input type = "hidden" name="_target" value="{$this->_fullname}" />
\t\t\t\t<input value ="{$Lable}" type = "button" onclick = 'JavaScript:sndmsg("{$this->_fullname}")' class="press" style="margin-top: 10px; margin-right: 0px;" />
\t\t\t</form>
PHTML;
        $html = <<<PHTML
\t\t\t\t<input value="{$Lable}" type = "button" onClick="window.location='{$link}'" class="press">
PHTML;
        $html .= $this->backContent();
        return $html;
    }
Exemple #3
0
    function frm()
    {
        $html = '';
        foreach ($this->tabs as $t) {
            if ($this->curTab == $t) {
                $html .= <<<PHTMLCODE
 [[ {$t} ]] 
PHTMLCODE;
            } else {
                $link = osBackLinkInfo($this->_fullname, "tab", array("name" => $this->curTab), "tab", array("name" => $t));
                $html .= <<<PHTMLCODE
 &nbsp; <a href={$link}>{$t}</a> &nbsp; 
PHTMLCODE;
            }
        }
        return $html;
    }
 function frmSmallMode()
 {
     $html = '';
     foreach ($this->productViewers as $pv) {
         if ($pv->large) {
             $pv->bookSmall();
         }
         $pv->link = osBackLinkInfo($this->_fullname, "item", array("ID" => "all"), "item", array("ID" => $pv->backUID()));
         $html .= $pv->_backframe();
     }
     return $html;
 }
Exemple #5
0
    function frm()
    {
        $html = '';
        foreach ($this->tabs as $t) {
            if ($t == $this->curTabName) {
                $html .= <<<PHTMLCODE
 <b>[[{$t}]]</b> 
PHTMLCODE;
            } else {
                $link = osBackLinkInfo($this->_fullname, "tab", array("name" => $this->curTabName), "tab", array("name" => $t));
                $html .= <<<PHTMLCODE

\t\t\t\t\t<a href="{$link}">{$t}</a>
\t\t\t\t
PHTMLCODE;
            }
        }
        return $html;
    }