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


PHP Help函数代码示例

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


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

示例1: preg_replace

        $allReady = false;
        $pluginerror = preg_replace("/\n/", '', $pluginerror);
        $GLOBALS['pagefooter']['addtoqueue'] .= '<script type="text/javascript">
    $("#addtoqueue").append(\'<div class="missing">' . $pluginerror . '</div>\');
    </script>';
    }
}
if ($allReady) {
    $GLOBALS['pagefooter']['addtoqueue'] .= '<script type="text/javascript">
  $("#addtoqueue").html(\'<input class="action-button" type="submit" name="send" id="addtoqueuebutton" value="' . htmlspecialchars(str_replace("'", "\\'", s('Place Campaign in Queue for Sending'))) . '">\');
  </script>';
} else {
    $GLOBALS['pagefooter']['addtoqueue'] .= '<script type="text/javascript">
  $("#addtoqueue").append(\'<div class="error">' . $GLOBALS['I18N']->get('Some required information is missing. The send button will be enabled when this is resolved.') . '</div>\');
//  $("#addtoqueue").append(\'<button class="submit" type="submit" name="save" id="addtoqueuebutton" disabled="disabled">' . $GLOBALS['I18N']->get('Send Campaign') . '</button>\');
  </script>';
}
$saveDraftButton = '<div class="sendSubmit">
    <input class="submit" type="submit" name="savedraft" value="' . s('Save as draft') . '"/>
    <input type="hidden" name="id" value="' . $id . '"/>
    <input type="hidden" name="status" value="draft"/> <input class="submit" type="submit" name="save" value="' . s('Save and continue editing') . '"/>
    <input type="hidden" name="id" value="' . $id . '"/>
    <input type="hidden" name="status" value="draft"/></div>
';
$titleInput = '<label for="campaigntitle">' . s('Campaign Title') . Help('campaigntitle') . '</label>' . '<input type="text" name="campaigntitle"  id="campaigntitleinput"
    value="' . htmlentities($messagedata['campaigntitle'], ENT_QUOTES, 'UTF-8') . '" size="60" />';
$metaPanel = new UIPanel(s('Meta data'), $titleInput);
$metaPanel->setID('metadata');
$testpanel = new UIPanel(s('Send Test'), $sendtest_content);
$testpanel->setID('testpanel');
# print $testpanel->display();
开发者ID:hktang,项目名称:phplist3,代码行数:31,代码来源:send_core.php

示例2: Help

   <textarea name=textmessage cols=65 rows=20>' . $_POST["textmessage"] . '</textarea>
 </td></tr>';
   }
   #0013076: different content when forwarding 'to a friend'
   $maincontent .= '<tr><td colspan=2>' . $GLOBALS['I18N']->get("messagefooter") . '. <br/>
   ' . $GLOBALS['I18N']->get("messagefooterexplanation") . '<br/>' . $GLOBALS['I18N']->get("use [FORWARD] to add a personalised URL to forward the message to someone else.") . '.</td></tr>
 <tr><td colspan=2><textarea name=footer cols=65 rows=5>' . $footer . '</textarea></td></tr>
 </table>';
   $forwardcontent .= '<tr><td colspan=2>' . $GLOBALS['I18N']->get("forwardfooter") . '. <br/>
   ' . $GLOBALS['I18N']->get("messageforwardfooterexplanation") . '<br/>' . '.</td></tr>
 <tr><td colspan=2><textarea name=forwardfooter cols=65 rows=5>' . $forwardfooter . '</textarea></td></tr>
 </table>';
   if (ALLOW_ATTACHMENTS) {
       // If we have a message id saved, we want to query the attachments that are associated with this
       // message and display that (and allow deletion of!)
       $att_content = '<table><tr><td colspan=2>' . Help("attachments") . ' ' . $GLOBALS['I18N']->get("addattachments") . ' </td></tr>';
       $att_content .= '<tr><td colspan=2>
     ' . $GLOBALS['I18N']->get("uploadlimits") . ':<br/>
     ' . $GLOBALS['I18N']->get("maxtotaldata") . ': ' . ini_get("post_max_size") . '<br/>
     ' . $GLOBALS['I18N']->get("maxfileupload") . ': ' . ini_get("upload_max_filesize") . '</td></tr>';
       if ($id) {
           $result = Sql_Query(sprintf("Select Att.id, Att.filename, Att.remotefile, Att.mimetype, Att.description, Att.size, MsgAtt.id linkid" . " from %s Att, %s MsgAtt where Att.id = MsgAtt.attachmentid and MsgAtt.messageid = %d", $tables["attachment"], $tables["message_attachment"], $id));
           $tabletext = "";
           $ls = new WebblerListing($GLOBALS['I18N']->get('currentattachments'));
           while ($row = Sql_fetch_array($result)) {
               #      $tabletext .= "<tr><td>".$row["remotefile"]."</td><td>".$row["description"]."&nbsp;</td><td>".$row["size"]."</td>";
               $ls->addElement($row["id"]);
               $ls->addColumn($row["id"], $GLOBALS['I18N']->get('filename'), $row["remotefile"]);
               $ls->addColumn($row["id"], $GLOBALS['I18N']->get('desc'), $row["description"]);
               $ls->addColumn($row["id"], $GLOBALS['I18N']->get('size'), $row["size"]);
               $phys_file = $GLOBALS["attachment_repository"] . "/" . $row["filename"];
开发者ID:kvervo,项目名称:phplist-aiesec,代码行数:31,代码来源:send_core.php

示例3: parseArgs

        //This die() is to stop the rest of the script being loaded if the form has not yet been submitted and they're using gui. It looks bad but you should leave it here.
        die;
    }
}
//End form
require_once ROOT_PATH . '/base/load.php';
if (isGUI) {
    $argv = $_POST;
} else {
    $argv = parseArgs($argv);
}
Banner();
CheckRequirement();
Config::handle($argv);
if (Config::get('help')) {
    Help();
    exit;
}
if (Config::get('version')) {
    check_version();
    exit;
}
if (Config::get('upgrade')) {
    download();
    exit;
}
// credit syahiran
$ok = false;
$keys = array_keys(Config::all());
foreach ($keys as $key) {
    switch ($key) {
开发者ID:AdLindsay,项目名称:Wordpress-scanner,代码行数:31,代码来源:app.php

示例4: htmlspecialchars

    }
    print '<label>' . $GLOBALS['I18N']->get('Default Value') . ':</label>
  <input type="text" name="default[' . $row['id'] . ']" value="' . htmlspecialchars(stripslashes($row['default_value'])) . '" size="40" />';
    print '<label>' . $GLOBALS['I18N']->get('Order of Listing') . ':</label>
  <input type="text" name="listorder[' . $row['id'] . ']" value="' . $row['listorder'] . '" size="5" />';
    print '<label>' . $GLOBALS['I18N']->get('Is this attribute required ?') . '<input type="checkbox" name="required[' . $row['id'] . ']" value="1" ';
    print $row['required'] ? 'checked="checked"' : '';
    print '/></label>';
    print '</div>';
}
print '</div><br /><!--close accordion-->';
printf('<input class="submit" type="submit" name="action" value="%s" /> ', s('Save Changes'));
if ($c) {
    printf('<span class="buttonGroup"><input class="submit" type="submit" name="tagaction[delete]" value="%s" /> 
  <input class="submit" type="submit" name="tagaction[merge]" value="%s" />%s
  </span>', $GLOBALS['I18N']->get('Delete tagged attributes'), $GLOBALS['I18N']->get('Merge tagged attributes'), Help('mergeattributes'));
}
print '<br /><br /><br /><div id="new-attribute">
<a name="new"></a>
<h3>' . $GLOBALS['I18N']->get('Add new Attribute') . ':</h3>
<div class="label"><label class="label">' . s('Name') . ': </label></div>
<div class="field"><input type="text" name="name[0]" value="" size="40" /></div>
<div class="label"><label class="label">' . s('Type') . ': </label></div>
<div class="field"><select name="type[0]">';
foreach ($types as $key => $val) {
    printf('     <option value="%s" %s>%s</option>', $val, '', $GLOBALS['I18N']->get($val));
}
print '
</select></div>
<div class="label"><label class="label">' . s('Default Value') . ': </label></div>
<div class="field"><input type="text" name="default[0]" value="" size="40" /></div>
开发者ID:MarcelvC,项目名称:phplist3,代码行数:31,代码来源:attributes.php

示例5: dirname

<?php

require_once dirname(__FILE__) . '/accesscheck.php';
print Help('preparemessage', 'What is prepare a message');
$access = accessLevel('preparemessage');
switch ($access) {
    case 'owner':
        $subselect = ' where owner = ' . $_SESSION['logindetails']['id'];
        $ownership = ' and owner = ' . $_SESSION['logindetails']['id'];
        break;
    case 'all':
        $subselect = '';
        break;
    case 'none':
    default:
        $subselect = ' where id = 0';
        $ownership = ' and id = 0';
        break;
}
include 'send_core.php';
if (!$done) {
    print '<p class="submit"><input type="submit" name=prepare value="Add message"></p></form>';
}
开发者ID:MarcelvC,项目名称:phplist3,代码行数:23,代码来源:preparesend.php

示例6: htmlspecialchars

    print '</td></tr>';
    print '<tr><td colspan=2>' . $GLOBALS['I18N']->get('defaultvalue') . ': </td><td colspan=2><input type=text name="default[' . $row["id"] . ']" value="' . htmlspecialchars(stripslashes($row["default_value"])) . '" size=40></td></tr>';
    print '<tr><td>' . $GLOBALS['I18N']->get('orderoflisting') . ': </td><td><input type=text name="listorder[' . $row["id"] . ']" value="' . $row["listorder"] . '" size=5></td>';
    print '<td>' . $GLOBALS['I18N']->get('isrequired') . ': </td><td><input type=checkbox name="required[' . $row["id"] . ']" value="1" ';
    print $row["required"] ? "checked" : "";
    print '></td></tr>';
    print '</table><hr>';
}
printf('<input type=submit name="action" value="%s">', $GLOBALS['I18N']->get('savechanges'));
print '<br/><br/>
<script language="Javascript" src="js/jslib.js" type="text/javascript"></script>';
if ($c) {
    printf('<i>%s: </i><br/>', $GLOBALS['I18N']->get('withtagged'));
    printf('<input type=submit name="tagaction" value="%s">&nbsp;
  <input type=submit name="tagaction" value="%s"> &nbsp;&nbsp;%s<br/>
  <p><hr/></p>', $GLOBALS['I18N']->get('delete'), $GLOBALS['I18N']->get('merge'), Help("mergeattributes"));
}
print '
<a name="new"></a>
<h3>' . $GLOBALS['I18N']->get('addnew') . ':</h3>
<table border=1>
<tr><td colspan=2>' . $GLOBALS['I18N']->get('name') . ': </td><td colspan=2><input type=text name="name[0]" value="" size=40></td></tr>
<tr><td colspan=2>' . $GLOBALS['I18N']->get('type') . ': </td><td colspan=2><select name="type[0]">';
foreach ($types as $key => $val) {
    printf('<option value="%s" %s>%s</option>', $val, "", $GLOBALS['I18N']->get($val));
}
print '
</select></td></tr>
<tr><td colspan=2>' . $GLOBALS['I18N']->get('defaultvalue') . ': </td><td colspan=2><input type=text name="default[0]" value="" size=40></td></tr>
<tr><td>' . $GLOBALS['I18N']->get('orderoflisting') . ': </td><td><input type=text name="listorder[0]" value="" size=5></td>
<td>' . $GLOBALS['I18N']->get('isrequired') . ': </td><td><input type=checkbox name="required[0]" value="1" checked></td></tr>
开发者ID:alancohen,项目名称:alancohenexperience-com,代码行数:31,代码来源:attributes.php

示例7: sprintf

 <label for="notify_start">%s<br/>%s</label><div><input type="text" name="notify_start" id="notify_start" value="%s" size="35"/></div>
 <label for="notify_end">%s<br/>%s</label><div><input type="text" name="notify_end" id="notify_end" value="%s" size="35"/></div>
 </div>', $GLOBALS['I18N']->get('email to alert when sending of this message starts'), $GLOBALS['I18N']->get('separate multiple with a comma'), $notify_start, $GLOBALS['I18N']->get('email to alert when sending of this message has finished'), $GLOBALS['I18N']->get('separate multiple with a comma'), $notify_end);
 $send_content .= sprintf('
 <div class="campaignTracking">
 <label for"cb[google_track]">%s</label><input type="hidden" name="cb[google_track]" value="1" /><input type="checkbox" name="google_track" id="google_track" value="1" %s />
 </div>', Help("googletrack") . ' ' . s('add Google Analytics tracking code'), !empty($messagedata['google_track']) ? 'checked="checked"' : '');
 ## @@TODO, maybe add a check on "sent" for this campaign and suppress this once it's over a threshold
 $send_content .= sprintf('
 <div class="resetStatistics">
 <label for"cb[resetstats]">%s</label><input type="hidden" name="cb[resetstats]" value="1" /><input type="checkbox" name="resetstats" id="resetstats" value="1" %s />
 </div>', Help("resetstats") . ' ' . s('Reset click statistics'), !empty($messagedata['resetstats']) ? 'checked="checked"' : '');
 $send_content .= sprintf('
 <div class="isTestCampaign">
 <label for"cb[istestcampaign]">%s</label><input type="hidden" name="cb[istestcampaign]" value="1" /><input type="checkbox" name="istestcampaign" id="istestcampaign" value="1" %s />
 </div>', Help("istestcampaign") . ' ' . s('This is a test campaign'), !empty($messagedata['istestcampaign']) ? 'checked="checked"' : '');
 $show_lists = 0;
 $send_content .= '<div class="sizeEstimate">';
 if (!empty($messagedata['htmlsize'])) {
     $send_content .= $GLOBALS['I18N']->get('Estimated size of HTML email') . ': ' . formatBytes($messagedata['htmlsize']) . '<br/>';
 }
 if (!empty($messagedata['textsize'])) {
     $send_content .= $GLOBALS['I18N']->get('Estimated size of text email') . ': ' . formatBytes($messagedata['textsize']) . '<br/>';
 }
 /*
   var_dump($messagedata['targetlist']);
 */
 if (!empty($messagedata['textsize']) || !empty($messagedata['htmlsize'])) {
     if (is_array($messagedata['targetlist']) && sizeof($messagedata['targetlist'])) {
         $lists = $messagedata['targetlist'];
         if (isset($messagedata['excludelist'])) {
开发者ID:bcantwell,项目名称:website,代码行数:31,代码来源:send_core.php

示例8: WebblerListing

</td></tr>
<tr><td colspan=2>Message Footer. <br/>Use <b>[UNSUBSCRIBE]</b> to insert the personal unsubscribe URL for each user. <br/>Use <b>[PREFERENCES]</b> to insert the personal URL for a user to update their details.</td></tr>
<tr><td colspan=2><textarea name=footer cols=45 rows=5><?php 
echo $footer;
?>
</textarea></td></tr>

</table>
<?

if (ALLOW_ATTACHMENTS) {
	// If we have a message id saved, we want to query the attachments that are associated with this
	// message and display that (and allow deletion of!)

	print "<table><tr><td colspan=2>".Help("attachments")." Add Attachments to your message</td></tr>";
  print '<tr><td colspan=2>
    The upload has the following limits set by the server:<br/>
    Maximum size of a total data sent to server: '.ini_get("post_max_size")."<br/>".
    'Maximum size of each individual file: '.ini_get("upload_max_filesize")."</td></tr>";

	if ($id) {
		$result = Sql_Query(sprintf("Select Att.id, Att.filename, Att.remotefile, Att.mimetype, Att.description, Att.size, MsgAtt.id linkid".
			                 " from %s Att, %s MsgAtt where Att.id = MsgAtt.attachmentid and MsgAtt.messageid = %d",
			$tables["attachment"],
			$tables["message_attachment"],
			$id));


		$tabletext = "";
    $ls = new WebblerListing("Current Attachments");
开发者ID:radicaldesigns,项目名称:amp,代码行数:30,代码来源:send_core.php

示例9: htmlspecialchars

   </select>

  </td></tr>
  <tr><td colspan=2>Default Value: </td><td colspan=2><input type=text name="default[<? echo $row["id"]?>]" value="<? echo htmlspecialchars(stripslashes($row["default_value"])) ?>" size=40></td></tr>
  <tr><td>Order of Listing: </td><td><input type=text name="listorder[<? echo $row["id"]?>]" value="<? echo $row["listorder"] ?>" size=5></td>
  <td>Is this attribute required?: </td><td><input type=checkbox name="required[<? echo $row["id"]?>]" value="1" <? echo $row["required"] ? "checked": "" ?>></td></tr>
  </table><hr>
<? } ?>
<input type=submit name="action" value="Save Changes">
<br/><br/>
<script language="Javascript" src="js/jslib.js" type="text/javascript"></script>
<? if ($c) { ?>
<i>With TAGGED attributes: </i><br/>
<input type=submit name="tagaction" value="Delete">&nbsp;
<input type=submit name="tagaction" value="Merge"> &nbsp;&nbsp;<?php 
echo Help("mergeattributes");
?>
<br/>
<p><hr/></p>
<? } ?>


<a name="new"></a>
<h3>Add a new Attribute:</h3>
<table border=1>
<tr><td colspan=2>Name: </td><td colspan=2><input type=text name="name[0]" value="" size=40></td></tr>
<tr><td colspan=2>Type: </td><td colspan=2><select name="type[0]">
<?
$types = array('textline','checkbox','checkboxgroup','radio','select',"hidden","textarea");
while (list($key,$val) = each($types)) {
  printf('<option value="%s" %s>%s',$val,"",$val);
开发者ID:radicaldesigns,项目名称:amp,代码行数:31,代码来源:attributes.php

示例10: Help

//Crondump
$aus['cron']='<div id="cron"><fieldset><legend>' . $lang['L_CONFIG_CRONPERL'] . '</legend><table>';
$aus['cron'].='<tr><td>' . Help($lang['L_HELP_CRONEXTENDER'],"") . $lang['L_CRON_EXTENDER'] . ':&nbsp;</td>';
$aus['cron'].='<td><input type="radio" class="radio" value="0" name="cron_extender" ' . ( ( $config['cron_extender'] == 0 ) ? " checked" : "" ) . '>&nbsp;.pl';
$aus['cron'].='&nbsp;&nbsp;&nbsp;<input type="radio" class="radio" value="1" name="cron_extender" ' . ( ( $config['cron_extender'] == 1 ) ? " checked" : "" ) . '>&nbsp;.cgi';
$aus['cron'].='</tr><tr><td>' . Help($lang['L_HELP_CRONEXECPATH'],"") . $lang['L_CRON_EXECPATH'] . ':&nbsp;</td>';
$aus['cron'].='<td><input type="text" class="text" size="30" name="cron_execution_path" value="' . $config['cron_execution_path'] . '"></td>';
$aus['cron'].='</tr><tr><td>' . Help($lang['L_HELP_CRONPRINTOUT'],"") . $lang['L_CRON_PRINTOUT'] . ':&nbsp;</td>';
$aus['cron'].='<td><input type="radio" class="radio" value="1" name="cron_printout" ' . ( ( $config['cron_printout'] == 1 ) ? " checked" : "" ) . '>&nbsp;' . $lang['L_YES'];
$aus['cron'].='&nbsp;&nbsp;&nbsp;<input type="radio" class="radio" value="0" name="cron_printout" ' . ( ( $config['cron_printout'] == 0 ) ? " checked" : "" ) . '>&nbsp;' . $lang['L_NO'] . '</td></tr>';
$aus['cron'].='<tr><td>' . Help($lang['L_HELP_CRONCOMPLETELOG'],"") . $lang['L_CRON_COMPLETELOG'] . ':&nbsp;</td>';
$aus['cron'].='<td><input type="radio" class="radio" value="1" name="cron_completelog" ' . ( ( $config['cron_completelog'] == 1 ) ? " checked" : "" ) . '>&nbsp;' . $lang['L_YES'];
$aus['cron'].='&nbsp;&nbsp;&nbsp;<input type="radio" class="radio" value="0" name="cron_completelog" ' . ( ( $config['cron_completelog'] == 0 ) ? " checked" : "" ) . '>&nbsp;' . $lang['L_NO'] . '</td></tr>';

$aus['cron'].='<tr><td>' . Help($lang['L_HELP_CRONDBINDEX'],"conf14") . $lang['L_CRON_CRONDBINDEX'] . ':&nbsp;</td>';
$aus['cron'].='<td><select name="cron_dbindex" id="cron_dbindex">';
$aus['cron'].='<option value="-3" ';
if ($config['cron_dbindex'] == -3) $aus['cron'].='SELECTED';
$aus['cron'].='>' . $lang['L_MULTIDUMPALL'] . "</option>\n";
$aus['cron'].='<option value="-2" ';
if ($config['cron_dbindex'] == -2) $aus['cron'].='SELECTED';
$aus['cron'].='>' . $lang['L_MULTIDUMPCONF'] . "</option>\n";

if (isset($databases['Name'][0]) && $databases['Name'][0] > '')
{
	$datenbanken=count($databases['Name']);
	for ($i=0; $i < $datenbanken; $i++)
	{
		$aus['cron'].='<option value="' . $i . '" ';
		if ($i == $config['cron_dbindex']) $aus['cron'].='SELECTED';
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:30,代码来源:config_overview.php

示例11: array

    }
}
// Command Line Directives in short form
$shortcmdirective = "u:";
$shortcmdirective .= "p:";
$shortcmdirective .= "h:";
// Command Line Directives in complete form
$longcmdirective = array("file:", "create_table", "dry_run", "help");
// Declaring $count variable to count number of rows processed, $user variable to store users' data onto array, & $rows variable to count number of affected rows
$count = 0;
$rows = 0;
$user = array(array());
// Storing Value of Command Line Directives by using getopt() function for both short and complete options.
$options = getopt($shortcmdirective, $longcmdirective);
// First if conditional statement contains function to display help message when --help is called within application execution.
if (Help(isset($options['help'])) === FALSE) {
    if (isset($options['u']) and isset($options['p']) and isset($options['h'])) {
        $connection = Connection($options['u'], $options['h'], $options['p']);
        if (DatabaseSelection($connection, 'Catalyst') === FALSE) {
            DatabaseCreation($connection, 'Catalyst');
        } elseif (isset($options['create_table'])) {
            $result = mysqli_query($connection, "SHOW TABLES LIKE 'USERS'");
            $SQL = "CREATE TABLE IF NOT EXISTS Users (\n\t\t\t\t\t\tname VARCHAR(30) NOT NULL,\n\t\t\t\t\t\tsurname VARCHAR(30),\n\t\t\t\t\t\temail\tVARCHAR(50) UNIQUE\n\t\t\t\t\t\t)";
            if (mysqli_num_rows($result) > 0) {
                mysqli_query($connection, "DROP TABLE Users");
                echo "\n" . "Users table exists and will be rebuilt shortly" . "\n";
            }
            if ($connection->query($SQL) == TRUE) {
                echo "\n" . "Table Users was created successfully" . "\n";
            } else {
                die("\n" . "Error creating table: " . $connection->error . "\n");
开发者ID:jonasbunawan,项目名称:Catalyst,代码行数:31,代码来源:user_upload.php

示例12: dirname

<?php

require_once dirname(__FILE__) . '/accesscheck.php';
print Help("preparemessage", "What is prepare a message");
$access = accessLevel("preparemessage");
switch ($access) {
    case "owner":
        $subselect = " where owner = " . $_SESSION["logindetails"]["id"];
        $ownership = ' and owner = ' . $_SESSION["logindetails"]["id"];
        break;
    case "all":
        $subselect = "";
        break;
    case "none":
    default:
        $subselect = " where id = 0";
        $ownership = " and id = 0";
        break;
}
include "send_core.php";
if (!$done) {
    print '<p><input type=submit name=prepare value="Add message"></form>';
}
开发者ID:alancohen,项目名称:alancohenexperience-com,代码行数:23,代码来源:preparesend.php

示例13: isset

 $notify_end = isset($messagedata['notify_end']) ? $messagedata['notify_end'] : '';
 #$admin_details['email'];
 $send_content = sprintf('
 <div class="sendNotify">
 <label for="notify_start">%s<br/>%s</label><div><input type="text" name="notify_start" id="notify_start" value="%s" size="35"/></div>
 <label for="notify_end">%s<br/>%s</label><div><input type="text" name="notify_end" id="notify_end" value="%s" size="35"/></div>
 </div>', $GLOBALS['I18N']->get('email to alert when sending of this message starts'), $GLOBALS['I18N']->get('separate multiple with a comma'), $notify_start, $GLOBALS['I18N']->get('email to alert when sending of this message has finished'), $GLOBALS['I18N']->get('separate multiple with a comma'), $notify_end);
 $send_content .= sprintf('
 <div class="campaignTracking">
 <label for"cb[google_track]">%s</label><input type="hidden" name="cb[google_track]" value="1" /><input type="checkbox" name="google_track" id="google_track" value="1" %s />
 </div>', Help("googletrack") . ' ' . s('add Google Analytics tracking code'), !empty($messagedata['google_track']) ? 'checked="checked"' : '');
 ## @@TODO, maybe add a check on "sent" for this campaign and suppress this once it's over a threshold
 $send_content .= sprintf('
 <div class="resetStatistics">
 <label for"cb[resetstats]">%s</label><input type="hidden" name="cb[resetstats]" value="1" /><input type="checkbox" name="resetstats" id="resetstats" value="1" %s />
 </div>', Help("resetstats") . ' ' . s('Reset click statistics'), !empty($messagedata['resetstats']) ? 'checked="checked"' : '');
 $show_lists = 0;
 $send_content .= '<div class="sizeEstimate">';
 if (!empty($messagedata['htmlsize'])) {
     $send_content .= $GLOBALS['I18N']->get('Estimated size of HTML email') . ': ' . formatBytes($messagedata['htmlsize']) . '<br/>';
 }
 if (!empty($messagedata['textsize'])) {
     $send_content .= $GLOBALS['I18N']->get('Estimated size of text email') . ': ' . formatBytes($messagedata['textsize']) . '<br/>';
 }
 /*
   var_dump($messagedata['targetlist']);
 */
 if (!empty($messagedata['textsize']) || !empty($messagedata['htmlsize'])) {
     if (is_array($messagedata['targetlist']) && sizeof($messagedata['targetlist'])) {
         $lists = $messagedata['targetlist'];
         if (isset($messagedata['excludelist'])) {
开发者ID:juvenal,项目名称:PHPlist,代码行数:31,代码来源:send_core.php

示例14: Help

if ($databases['db_actual_cronindex'] == -3) {
    $aus['cron'] .= 'SELECTED';
}
$aus['cron'] .= '>' . $lang['multidumpall'] . "</option>\n";
$aus['cron'] .= '</select>&nbsp;&nbsp;<input type="text" class="text" name="dbcronpraefix" value="' . $databases['db_actual_cronpraefix'] . '"></div></td></tr>';
$aus['cron'] .= '<tr><td>' . Help($lang['help_cronzip'], "") . $lang['gzip'] . ':&nbsp;</td>';
$aus['cron'] .= '<td><input type="radio" class="radio" value="1" name="cron_compression" ' . ($config['cron_compression'] == 1 ? " checked" : "") . '>' . $lang['activated'];
$aus['cron'] .= '<input type="radio" class="radio" value="0" name="cron_compression" ' . ($config['cron_compression'] == 0 ? " checked" : "") . '>' . $lang['not_activated'];
$aus['cron'] .= '</td></tr><tr><td>' . Help($lang['help_cronmail'], "") . $lang['send_mail_form'] . ':&nbsp;</td>';
$aus['cron'] .= '<td><input type="radio" class="radio" value="1" name="cron_mail" ' . ($config['cron_mail'] == 1 ? " checked" : "") . '>' . $lang['yes'];
$aus['cron'] .= '<input type="radio" class="radio" value="0" name="cron_mail" ' . ($config['cron_mail'] == 0 ? " checked" : "") . '>' . $lang['no'];
$aus['cron'] .= '</td></tr><tr><td>' . Help($lang['help_cronmail_dump'], "") . $lang['send_mail_dump'] . ':&nbsp;</td>';
$aus['cron'] .= '<td><input type="radio" class="radio" value="1" name="cron_mail_dump" ' . ($config['cron_mail_dump'] == 1 ? " checked" : "") . '>' . $lang['yes'];
$aus['cron'] .= '<input type="radio" class="radio" value="0" name="cron_mail_dump" ' . ($config['cron_mail_dump'] == 0 ? " checked" : "") . '>' . $lang['no'];
$aus['cron'] .= '</td></tr>';
$aus['cron'] .= '<tr><td>' . Help($lang['help_cronftp'], "") . $lang['cron_ftp'] . ':&nbsp;</td>';
$aus['cron'] .= '<td><input type="radio" class="radio" value="1" name="cron_ftp" ' . ($config['cron_ftp'] == 1 ? " checked" : "") . '>' . $lang['yes'];
$aus['cron'] .= '<input type="radio" class="radio" value="0" name="cron_ftp" ' . ($config['cron_ftp'] == 0 ? " checked" : "") . '>' . $lang['no'];
$aus['cron'] .= '</td></tr></table></fieldset></div>';
//Formular-Buttons -->
$aus['formende'] = '</div></form><br style="clear:both;">';
// AUSGABE
echo $aus['formstart'];
echo $aus['db'];
echo $aus['global1'];
echo $aus['global2'];
echo $aus['global3'];
echo $aus['transfer1'];
echo $aus['transfer2'];
echo $aus['cron'];
echo $aus['formende'];
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:31,代码来源:config_overview.php


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