示例#1
0
      <h4> 2. Run the queue manually in your browser</h4>
      <p><strong>Advantage</strong>: No external dependency, no additional cost.</p>
      <p><strong>Disadvantage</strong>: The need to keep your computer running, and your browser open, until everything has been sent.</p>
      <a href="./?page=processqueue&pqchoice=local" class="button">' . s('Use local processing') . '</a>
  ';
}
if ($pqChoice == 'local') {
    print '
  <div class="panel">
    <h2>' . s('Processing queued campaigns') . '</h2>
    <div class="content">
      <div class="wrapper">
        <div id="spinner"></div>
        <div id="processqueuecontrols">';
    print '<a href="#" id="stopqueue" class="button">' . snbr('stop processing') . '</a>';
    print '<a href="./?page=processqueue" id="resumequeue" class="button hidden">' . snbr('resume processing') . '</a>';
    print '<div id="progressmeterold"><div id="progresscount"></div><div id="progress">&nbsp;</div></div>';
    print '</div>
      </div>
      <div id="processqueueoutput">
        <div id="processqueuesummary"></div>
        <div id="processqueueprogress"></div>
        <iframe id="processqueueiframe" src="./?page=pageaction&action=processqueue&ajaxed=true' . addCsrfGetToken() . '" scrolling="no"></iframe>
      </div>
    </div>
  </div>';
    if (SHOW_PQCHOICE) {
        print s('Using local processing') . ' <p><a href="./?page=processqueue&pqchoice=reset" class="button">' . s('Reset') . '</a></p>';
    }
} elseif ($pqChoice == 'phplistdotcom') {
    print '<h3>' . s('To send your queue, you use the service from phpList.com') . '</h3>';
示例#2
0
function resourceLink($url)
{
    return ' <span class="resourcelink"><a href="' . $url . '" title="' . s('Documentation about this error') . '" target="_blank" class="resourcelink">' . snbr('More information') . '</a></span>';
}