当前位置: 首页>>代码示例>>PHP>>正文


PHP tm_icon函数代码示例

本文整理汇总了PHP中tm_icon函数的典型用法代码示例。如果您正苦于以下问题:PHP tm_icon函数的具体用法?PHP tm_icon怎么用?PHP tm_icon使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了tm_icon函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: tm_make_button

 /**
  *	Creates a button
  */
 public function tm_make_button($args, $e = 0)
 {
     if (empty($args) || !is_array($args)) {
         return;
     }
     $img = "";
     if (isset($args["img"]) && is_array($args["img"])) {
         $extra = "vertical-align:middle;width:" . $args["img"][1] . ";height:" . $args["img"][2] . ";";
         if (isset($args["imgstyle"])) {
             $extra = $args["imgstyle"];
         }
         $img = tm_make_img($args["img"][0], "", "", 0, "", "style=\"{$extra}\"");
     }
     $icon = "";
     if (isset($args["icon"])) {
         $icon = tm_icon($args["icon"], 0);
     }
     $tags = array();
     if (is_array($args["tags"])) {
         foreach ($args["tags"] as $k => $v) {
             $tags[] = "{$k}='{$v}'";
         }
     }
     $tags = join(" ", $tags);
     $a = "<a {$tags}>" . $img . $icon . $args["text"] . "</a>";
     if (empty($e)) {
         return $a;
     } else {
         echo $a;
     }
 }
开发者ID:GolgoSoft,项目名称:KeenerWP,代码行数:34,代码来源:class-tm-epo-html-base.php

示例2: ___

<?php

/********************************************************************************/
/* this file is part of: / diese Datei ist ein Teil von:                        */
/* tellmatic, the newslettermachine                                             */
/* tellmatic, die Newslettermaschine                                            */
/* 2006/7 by Volker Augustin, multi.art.studio Hanau                            */
/* Contact/Kontakt: info@tellmatic.org                                      */
/* Homepage: www.tellmatic.org                                                   */
/* leave this header in file!                                                   */
/* diesen Header nicht loeschen!                                                */
/* check Homepage for Updates and more Infos                                    */
/* Besuchen Sie die Homepage fuer Updates und weitere Infos                     */
/********************************************************************************/
//Legende
$_MAIN_OUTPUT .= "<br><b><a href=\"#\" title=\"" . ___("Legende / Status ein-ausblenden") . "\" id=\"toggle_legende\">" . tm_icon("rainbow.png", ___("Legende / Status")) . "&nbsp;" . ___("Legende / Status") . "</a></b>\n";
$_MAIN_OUTPUT .= "<script type=\"text/javascript\">\n";
if ($user_is_expert) {
    $_MAIN_OUTPUT .= "\t//switchSection('legende');\n" . "toggleSlide('toggle_legende','legende',1);\n";
} else {
    $_MAIN_OUTPUT .= "\ttoggleSlide('toggle_legende','legende',0);\n";
}
$_MAIN_OUTPUT .= "</script>\n";
开发者ID:aydancoskun,项目名称:octobercms,代码行数:23,代码来源:log_list_legende.inc.php

示例3: getVar

${$InputName_Proof} = getVar($InputName_Proof);
$check = true;
//abgeschickt?
if ($set == "save") {
    if (!empty($nl_id)) {
        $HOST = $HOSTS->getHost($host_id, array("aktiv" => 1, "type" => "smtp"));
        //SMTP Server ausgewaehlt?
        if (count($HOST) == 1) {
            $gc = count($adr_grp);
            //sind ueberhaupt gruppen gewaehlt???
            if ($gc > 0) {
                $QUEUE = new tm_Q();
                $ADDRESS = new tm_ADR();
                $_MAIN_MESSAGE .= "<br>" . sprintf(___("Ausgewählter Mail-Server: %s"), $HOST[0]['name']);
                if ($check_blacklist == 1) {
                    $_MAIN_MESSAGE .= "<br>" . tm_icon("ruby.png", ___("Blacklist")) . "&nbsp;" . ___("Blacklist Überprüfung aktiv");
                }
                //nur q eintraege hinzufügen die noch nicht vorhanden sind oder status gesendet haben
                //status gesendet=4,
                //NICHT:    neu=1, gestartet/wait=2, running=3
                //fuer jede gruppe im array adr_grp!
                for ($gcc = 0; $gcc < $gc; $gcc++) {
                    $group_add = false;
                    $grp_id = $adr_grp[$gcc];
                    $GRP = $ADDRESS->getGroup($grp_id);
                    //function getQ($id=0,$offset=0,$limit=0,$nl_id=0,$grp_id=0,$status=0)
                    $Qnew = $QUEUE->getQ(0, 0, 0, $nl_id, $grp_id, 1);
                    $qc_new = count($Qnew);
                    if ($qc_new != 0) {
                        //gefunden ? nicht hinzufügen
                        unset($adr_grp[$gcc]);
开发者ID:aydancoskun,项目名称:octobercms,代码行数:31,代码来源:queue_new.inc.php

示例4: tm_icon

//default action, user default page after login, $action
if (!isset($action) || empty($action)) {
    $action = $LOGIN->USER['startpage'];
    //set default action after login
    #$action="Welcome";//set default action after login
}
//HTML-head
require_once TM_INCLUDEPATH . "/Header.inc.php";
// = $_HEAD_HTML
require_once TM_INCLUDEPATH . "/Head.inc.php";
//Status definitionen einbinden..... war vorher tm_lib, jetzt hier da abhaengig von der sprache :) sonst wirds nicht uebersetzt
require_once TM_INCLUDEPATH . "/Stats.inc.php";
if ($logged_in) {
    //erst hier, da vorher nicht uebersetzt wuerde...
    $img_arrowup = tm_icon("bullet_arrow_up.png", ___("Sortierung aufsteigend"));
    $img_arrowdown = tm_icon("bullet_arrow_down.png", ___("Sortierung absteigend"));
    $mSTDURL->addParam("act", $action);
    require_once TM_INCLUDEPATH . "/Menu.inc.php";
}
require_once TM_INCLUDEPATH . "/Main.inc.php";
require_once TM_INCLUDEPATH . "/Foot.inc.php";
require_once TM_INCLUDEPATH . "/Footer.inc.php";
// = $_FOOTER
//new Template
$_Tpl = new tm_Template();
if (DEBUG_LANG && (DEBUG_LANG_LEVEL == 2 || DEBUG_LANG_LEVEL == 3)) {
    $debug_not_translated = unify_array($debug_not_translated);
    $_MAIN .= "<div><b><font color=\"red\">NOT TRANSLATED:</font></b><font size=-2>";
    foreach ($debug_not_translated as $word) {
        $_MAIN .= "<br>" . $word;
    }
开发者ID:aydancoskun,项目名称:octobercms,代码行数:31,代码来源:Index.inc.php

示例5: tm_icon

$_MAIN_OUTPUT .= "<td valign=\"top\">";
$_MAIN_OUTPUT .= tm_icon("bullet_wrench.png", ___("Proofing URL"), "", "", "", "medal_gold_1.png") . "&nbsp;" . ___("Proofing URL") . "<br>\n";
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "<td valign=top colspan=1>";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_ProofURL]['html'];
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=\"top\">";
$_MAIN_OUTPUT .= tm_icon("bullet_go.png", ___("Proofing Trigger"), "", "", "", "medal_gold_1.png") . "&nbsp;" . ___("Proofing Trigger") . "<br>\n";
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "<td valign=top colspan=1>";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_ProofTrigger]['html'] . ___("Einträge");
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=\"top\">";
$_MAIN_OUTPUT .= tm_icon("bullet_black.png", ___("Proofing Anteil"), "", "", "", "medal_gold_1.png") . "&nbsp;" . ___("Proofing Anteil") . "<br>\n";
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "<td valign=top colspan=1>";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_ProofPc]['html'] . "%";
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=top>";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Submit]['html'];
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Reset]['html'];
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "</table>";
$_MAIN_OUTPUT .= $Form->FORM[$FormularName]['foot'];
开发者ID:aydancoskun,项目名称:octobercms,代码行数:31,代码来源:adm_set_form_show.inc.php

示例6: tm_icon

$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td style=\"border-top:2px solid grey\" valign=\"top\">";
$_MAIN_OUTPUT .= tm_icon("pilcrow.png", ___("Trennzeichen"));
$_MAIN_OUTPUT .= ___("Trennzeichen") . ":";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Delimiter]['html'];
$_MAIN_OUTPUT .= "&nbsp;";
$_MAIN_OUTPUT .= tm_icon("spellcheck.png", ___("E-Mail-Prüfung")) . "&nbsp;";
$_MAIN_OUTPUT .= ___("Prüfung der E-Mail") . ":";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_ECheckImport]['html'];
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td style=\"border-top:2px solid grey\" valign=\"top\">";
$_MAIN_OUTPUT .= tm_icon("control_fastforward.png", ___("Offset")) . "&nbsp;";
$_MAIN_OUTPUT .= ___("Offset") . ":";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Offset]['html'];
$_MAIN_OUTPUT .= "&nbsp;";
$_MAIN_OUTPUT .= tm_icon("control_end.png", ___("Limit")) . "&nbsp;";
$_MAIN_OUTPUT .= ___("Limit") . ":";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Limit]['html'];
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=\"top\" align=\"right\">";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Submit]['html'];
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "</table>";
$_MAIN_OUTPUT .= $Form->FORM[$FormularName]['foot'];
开发者ID:aydancoskun,项目名称:octobercms,代码行数:31,代码来源:adr_import_form_show.inc.php

示例7: ___

$_MAIN_OUTPUT .= "<strong>" . ___("Eigenschaften") . "</strong><br>\n";
$_MAIN_OUTPUT .= tm_icon("page_white_lightning.png", ___("Standardformular")) . "&nbsp;" . ___("Standardformular (kann nicht de-aktiviert und gelöscht werden)") . "<br>\n";
$_MAIN_OUTPUT .= tm_icon("user_green.png", ___("Neuangemeldete Adressen sind aktiv")) . "&nbsp;/&nbsp;<img src=\"" . $tm_iconURL . "/user_red.png\" border=\"0\" title=\"" . ___("Neuangemeldete Adressen sind inaktiv") . "\" alt=\"" . ___("Neuangemeldete Adressen sind inaktiv") . "\">&nbsp;" . ___("Neuangemeldete Adressen sind aktiv/deaktiviert") . "<br>\n";
$_MAIN_OUTPUT .= tm_icon("sport_8ball.png", ___("Captcha Spamschutz aktiviert")) . "&nbsp;" . ___("Captcha Spamschutz aktiviert") . "<br>\n";
$_MAIN_OUTPUT .= tm_icon("ruby.png", ___("Blacklist prüfen")) . "&nbsp;" . ___("Blacklist Überprüfung aktiv") . "<br>\n";
$_MAIN_OUTPUT .= tm_icon("medal_gold_1.png", ___("Proofing aktiv")) . "&nbsp;" . ___("Proofing aktiv") . "<br>\n";
$_MAIN_OUTPUT .= tm_icon("arrow_refresh.png", ___("Double-Opt-In")) . "&nbsp;" . ___("Double-Opt-In aktiviert") . "<br>\n";
$_MAIN_OUTPUT .= tm_icon("group_error.png", ___("Auswahl öffentlicher Gruppen erzwingen")) . "&nbsp;" . ___("Auswahl öffentlicher Gruppen erzwingen") . "<br>\n";
$_MAIN_OUTPUT .= tm_icon("group_gear.png", ___("öffentliche Gruppen Referenzen überschreiben")) . "&nbsp;/&nbsp;" . tm_icon("group_link.png", ___("Nur neue öffentliche Gruppen Referenzen hinzufügen")) . "&nbsp;" . ___("öffentliche Gruppen Referenzen überschreiben") . "&nbsp;/&nbsp;" . ___("Nur neue öffentliche Gruppen Referenzen hinzufügen") . "<br>\n";
$_MAIN_OUTPUT .= tm_icon("page_white_go.png", ___("Dieses Formular als Standardformular definieren")) . "&nbsp;" . ___("Dieses Formular als Standardformular definieren") . "<br>\n";
$_MAIN_OUTPUT .= "<br><strong>" . ___("Aktionen") . "</strong><br>\n";
//link zur dynamischen onlineversion!
$_MAIN_OUTPUT .= tm_icon("eye.png", ___("Online")) . "&nbsp;" . ___("Dynamische Onlineversion anzeigen:") . " subscribe.php?fid=[FORMULAR-ID]<br>\n";
//link zum template
$_MAIN_OUTPUT .= tm_icon("page_white_code.png", ___("Template")) . "&nbsp;" . ___("Template anzeigen:") . " " . $tm_formdir . "/Form_[FORMULAR-ID].html<br>\n";
//link zur geparsten Version
$_MAIN_OUTPUT .= tm_icon("tick.png", ___("Aktiv"));
$_MAIN_OUTPUT .= tm_icon("cancel.png", ___("Inaktiv")) . "&nbsp;" . ___("Formular ist Aktiv/Inaktiv (Klick=Deaktivieren/Aktivieren)") . "<br>\n";
$_MAIN_OUTPUT .= tm_icon("pencil.png", ___("Bearbeiten")) . "&nbsp;" . ___("Bearbeiten") . "<br>\n";
$_MAIN_OUTPUT .= tm_icon("add.png", ___("Kopieren")) . "&nbsp;" . ___("Formular kopieren") . "<br>\n";
$_MAIN_OUTPUT .= tm_icon("chart_pie.png", ___("Statistik")) . "&nbsp;" . ___("Statistik anzeigen") . "<br>\n";
$_MAIN_OUTPUT .= tm_icon("cross.png", ___("Löschen")) . "&nbsp;" . ___("Formular löschen") . "<br>\n";
$_MAIN_OUTPUT .= tm_icon("script.png", ___("Logbuch anzeigen")) . "&nbsp;" . ___("Logbuch anzeigen") . "<br>\n";
$_MAIN_OUTPUT .= "</div><br><br>\n";
$_MAIN_OUTPUT .= "<script type=\"text/javascript\">\n";
if ($user_is_expert) {
    $_MAIN_OUTPUT .= "\t//switchSection('legende');\n" . "toggleSlide('toggle_legende','legende',1);\n";
} else {
    $_MAIN_OUTPUT .= "\ttoggleSlide('toggle_legende','legende',0);\n";
}
$_MAIN_OUTPUT .= "</script>\n";
开发者ID:aydancoskun,项目名称:octobercms,代码行数:31,代码来源:form_list_legende.inc.php

示例8: tm_icon

$_MAIN_OUTPUT .= "<td valign=top>" . tm_icon("ruby_gear.png", ___("Typ")) . "&nbsp;";
$_MAIN_OUTPUT .= ___("Typ");
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "<td valign=top>";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Type]['html'];
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=top width=\"200\">" . tm_icon("sum.png", ___("Ausdruck")) . "&nbsp;";
$_MAIN_OUTPUT .= ___("Ausdruck");
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "<td valign=top>";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Expr]['html'];
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=top>" . tm_icon("tick.png", ___("Aktiv")) . tm_icon("cancel.png", ___("Aktiv")) . "&nbsp;";
$_MAIN_OUTPUT .= ___("Aktiv");
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "<td valign=top>";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Aktiv]['html'];
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=top colspan=2>";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Submit]['html'];
//$_MAIN_OUTPUT.= $Form->INPUT[$FormularName][$InputName_Reset]['html'];
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "</table>";
$_MAIN_OUTPUT .= $Form->FORM[$FormularName]['foot'];
开发者ID:aydancoskun,项目名称:octobercms,代码行数:31,代码来源:bl_form_show.inc.php

示例9: tm_icon

$_MAIN_OUTPUT .= $Form->FORM[$FormularName]['head'];
//hidden fieldsnicht vergessen!
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName]['act']['html'];
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName]['set']['html'];
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName]['file_section']['html'];
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName]['file_name']['html'];
$_MAIN_OUTPUT .= "<table width=\"100%\">";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=top>";
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "<td valign=top>";
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=top colspan=2>";
$_MAIN_OUTPUT .= tm_icon("layout.png", display($file_path['name'][$file_section]) . ": " . display($file_name)) . "&nbsp;" . display($file_path['name'][$file_section]) . ": " . display($file_name) . "<br>";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Content]['html'];
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=top colspan=2>";
#$_MAIN_OUTPUT.= tm_icon("folder.png",___("Name"))."&nbsp;".___("Name");
#$_MAIN_OUTPUT.= $Form->INPUT[$FormularName][$InputName_Name]['html'];
#$_MAIN_OUTPUT.= "</td>";
#$_MAIN_OUTPUT.= "<td valign=top>";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Submit]['html'];
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Reset]['html'];
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "</table>";
$_MAIN_OUTPUT .= $Form->FORM[$FormularName]['foot'];
开发者ID:aydancoskun,项目名称:octobercms,代码行数:31,代码来源:file_edit_form_show.inc.php

示例10: tm_icon

$_MAIN_OUTPUT .= "<td valign=\"top\">";
$_MAIN_OUTPUT .= tm_icon("textfield.png", ___("Name")) . "&nbsp;" . ___("Name");
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "<td valign=\"top\" \talign=left>";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Name]['html'];
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=\"top\">";
$_MAIN_OUTPUT .= tm_icon("link.png", ___("URL")) . "&nbsp;" . ___("URL");
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "<td valign=\"top\" \talign=left>";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_URL]['html'];
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=\"top\">";
$_MAIN_OUTPUT .= tm_icon("textfield.png", ___("Beschreibung")) . "&nbsp;" . ___("Beschreibung");
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "<td valign=\"top\" \talign=left>";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Descr]['html'];
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=\"top\" colspan=3><br>";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Submit]['html'];
//$_MAIN_OUTPUT.= $Form->INPUT[$FormularName][$InputName_Reset]['html'];
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "</table>";
$_MAIN_OUTPUT .= $Form->FORM[$FormularName]['foot'];
开发者ID:aydancoskun,项目名称:octobercms,代码行数:31,代码来源:link_form_show.inc.php

示例11: sprintf

$_MAIN_OUTPUT .= sprintf(___("Seite %s von %s"), $page_current + 1, $page_total);
$_MAIN_OUTPUT .= ",&nbsp;" . sprintf(___("Eintrag %s bis %s von %s"), $offset + 1, $offset + $entrys, $entrys_total);
$page_start = $page_current - 5;
if ($page_start < 0) {
    $page_start = 0;
}
$page_end = $page_current + 5;
if ($page_end > $page_total) {
    $page_end = $page_total;
}
//1 seite vor
if ($limit < $entrys + 1 && $offset + $entrys != $entrys_total) {
    $_MAIN_OUTPUT .= "<a href=\"" . $tm_URL . "/" . $nextURLPara_ . "\" title=\"" . ___("Vor") . "\">" . tm_icon("resultset_next.png", ___("Vor")) . "</a>";
}
//ans ende
$_MAIN_OUTPUT .= "<a href=\"" . $tm_URL . "/" . $lastURLPara_ . "\" title=\"" . ___("Ende") . "\">" . tm_icon("resultset_last.png", ___("Ende")) . "</a>";
$_MAIN_OUTPUT .= "<br>";
$_MAIN_OUTPUT .= "" . ___("Gehe zu Seite:") . "&nbsp;";
for ($page = $page_start; $page < $page_end; $page++) {
    $pagesURLPara->addParam("offset", $limit * $page);
    $pagesURLPara_ = $pagesURLPara->getAllParams();
    $page_title = sprintf(___("Seite %s von %s, Eintrag %s bis %s"), $page + 1, $page_total, $page * $limit + 1, $page * $limit + $limit);
    $page_linktext = $page + 1;
    if ($page == $page_current) {
        $page_linktext = "<strong>" . $page_linktext . "</strong>";
        $_MAIN_OUTPUT .= $page_linktext . "&nbsp;";
    } else {
        $_MAIN_OUTPUT .= "<a href=\"" . $tm_URL . "/" . $pagesURLPara_ . "\" title=\"" . $page_title . "\">" . $page_linktext . "</a>&nbsp;";
    }
}
$_MAIN_OUTPUT .= "</center><br>";
开发者ID:aydancoskun,项目名称:octobercms,代码行数:31,代码来源:pager.inc.php

示例12: tm_icon

$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
//Messgae greeting
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=top colspan=1>" . tm_icon("script.png", ___("Meldung bei Neueintrag")) . "&nbsp;" . ___("Meldung bei Neueintrag");
$_MAIN_OUTPUT .= "<br>(<a href=\"javascript:switchSection('frm_msg_new');\" >" . ___("Ein-/Ausblenden") . "</a>)";
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "<td valign=top colspan=2 align=\"left\">";
$_MAIN_OUTPUT .= "<div id=\"frm_msg_new\">";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_MessageGreeting]['html'];
$_MAIN_OUTPUT .= "</div>";
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
//Messgae update
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=top colspan=1>" . tm_icon("script.png", ___("Meldung bei Aktualisierung")) . "&nbsp;" . ___("Meldung bei Aktualisierung");
$_MAIN_OUTPUT .= "<br>(<a href=\"javascript:switchSection('frm_msg_update');\" >" . ___("Ein-/Ausblenden") . "</a>)";
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "<td valign=top colspan=2 align=\"left\">";
$_MAIN_OUTPUT .= "<div id=\"frm_msg_update\">";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_MessageUpdate]['html'];
$_MAIN_OUTPUT .= "</div>";
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
//Submit, save form
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=top colspan=3  style=\"border-top:1px solid #000000\">";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Submit]['html'];
//$_MAIN_OUTPUT.= $Form->INPUT[$FormularName][$InputName_Reset]['html'];
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
开发者ID:aydancoskun,项目名称:octobercms,代码行数:31,代码来源:form_form_show.inc.php

示例13: tm_LOG

<?php

/********************************************************************************/
/* this file is part of: / diese Datei ist ein Teil von:                        */
/* tellmatic, the newslettermachine                                             */
/* tellmatic, die Newslettermaschine                                            */
/* 2006/7 by Volker Augustin, multi.art.studio Hanau                            */
/* Contact/Kontakt: info@tellmatic.org                                      */
/* Homepage: www.tellmatic.org                                                   */
/* leave this header in file!                                                   */
/* diesen Header nicht loeschen!                                                */
/* check Homepage for Updates and more Infos                                    */
/* Besuchen Sie die Homepage fuer Updates und weitere Infos                     */
/********************************************************************************/
//link zumlogbuch f. sektion
//$search_log['object']="adr"; <<--- should be set in section include file!
if ($user_is_admin) {
    $LOGSC = new tm_LOG();
    $logcount = $LOGSC->count($search_log);
    if ($logcount > 0) {
        $LogbookURLPara = tmObjCopy($mSTDURL);
        $LogbookURLPara->addParam("act", "log_list");
        $LogbookURLPara->addParam("set", "search");
        $LogbookURLPara->addParam("s_obj", $search_log['object']);
        $LogbookURLPara->addParam("s_edit_id", $search_log['edit_id']);
        $LogbookURLPara_ = $LogbookURLPara->getAllParams();
        $_MAIN_OUTPUT .= "&nbsp;<a href=\"" . $tm_URL . "/" . $LogbookURLPara_ . "\" title=\"" . ___("Logbuch anzeigen") . "\">" . tm_icon("script.png", ___("Logbuch anzeigen") . " (" . $logcount . ")") . "</a>";
    }
}
开发者ID:aydancoskun,项目名称:octobercms,代码行数:29,代码来源:log_summary_section_entry.inc.php

示例14: tm_icon

$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=\"top\" colspan=3>";
$_MAIN_OUTPUT .= "<br>" . tm_icon("cog.png", ___("Versand automatisch starten / Empfängerliste automatisch aktualisieren")) . "&nbsp;" . ___("Versand automatisch starten / Empfängerliste automatisch aktualisieren");
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Autogen]['html'] . "&nbsp;&nbsp;";
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=\"top\" colspan=3>";
$_MAIN_OUTPUT .= "<br>" . tm_icon("hourglass.png", ___("Versandliste sofort erstellen")) . "&nbsp;" . ___("Versandliste sofort erstellen");
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Send]['html'] . "&nbsp;&nbsp;";
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=\"top\" colspan=3>";
$_MAIN_OUTPUT .= "<br>" . tm_icon("server.png", ___("Mail-Server")) . "&nbsp;" . ___("Mail-Server");
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Host]['html'] . "&nbsp;&nbsp;";
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "<tr>";
$_MAIN_OUTPUT .= "<td valign=\"top\" colspan=3>";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Submit]['html'];
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Reset]['html'];
$_MAIN_OUTPUT .= "</td>";
$_MAIN_OUTPUT .= "</tr>";
$_MAIN_OUTPUT .= "</table>";
$_MAIN_OUTPUT .= $Form->FORM[$FormularName]['foot'];
$_MAIN_OUTPUT .= '
<script type="text/javascript">
  Calendar.setup(
    {
开发者ID:aydancoskun,项目名称:octobercms,代码行数:31,代码来源:queue_form_show.inc.php

示例15: tm_icon

    $FInputName = "InputName_F" . $fc;
    $_MAIN_OUTPUT .= "<tr>\n";
    $_MAIN_OUTPUT .= "<td valign=\"top\">\n";
    $_MAIN_OUTPUT .= "F" . $fc . "\n";
    $_MAIN_OUTPUT .= "</td>\n";
    $_MAIN_OUTPUT .= "<td valign=\"top\" colspan=1 align=left>\n";
    $_MAIN_OUTPUT .= $Form->INPUT[$FormularName][${$FInputName}]['html'] . "\n";
    $_MAIN_OUTPUT .= "</td>\n";
    $_MAIN_OUTPUT .= "</tr>\n";
}
$_MAIN_OUTPUT .= "<tr>\n";
$_MAIN_OUTPUT .= "<td valign=\"top\" colspan=1>\n";
$_MAIN_OUTPUT .= tm_icon("layout.png", ___("Memo")) . "&nbsp;" . ___("Memo") . "\n";
$_MAIN_OUTPUT .= "</td>\n";
$_MAIN_OUTPUT .= "<td valign=\"top\" align=\"left\"colspan=2>\n";
$_MAIN_OUTPUT .= tm_icon("pencil.png", ___("Memo einblenden/bearbeiten"), ___("Memo einblenden/bearbeiten"), "toggle_adrmemo") . "&nbsp;" . ___("Memo einblenden/bearbeiten") . "\n";
$_MAIN_OUTPUT .= "</td>\n";
$_MAIN_OUTPUT .= "</tr>\n";
$_MAIN_OUTPUT .= "<tr>\n";
$_MAIN_OUTPUT .= "<td valign=\"top\" colspan=3>\n";
$_MAIN_OUTPUT .= "<div id=\"adr_memo\">\n";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Memo]['html'] . "\n";
$_MAIN_OUTPUT .= "</div>\n";
$_MAIN_OUTPUT .= "<script type=\"text/javascript\">\n" . "toggleSlide('toggle_adrmemo','adr_memo',1);\n" . "</script>\n";
$_MAIN_OUTPUT .= "</td>\n";
$_MAIN_OUTPUT .= "</tr>\n";
$_MAIN_OUTPUT .= "<tr>\n";
$_MAIN_OUTPUT .= "<td valign=\"top\" colspan=3><br>\n";
$_MAIN_OUTPUT .= $Form->INPUT[$FormularName][$InputName_Submit]['html'] . "\n";
//$_MAIN_OUTPUT.= $Form->INPUT[$FormularName][$InputName_Reset]['html'];
$_MAIN_OUTPUT .= "</td>\n";
开发者ID:aydancoskun,项目名称:octobercms,代码行数:31,代码来源:adr_form_show.inc.php


注:本文中的tm_icon函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。