CPAN-Testers-WWW-Reports

 view release on metacpan or  search on metacpan

MANIFEST  view on Meta::CPAN

vhost/cgi-bin/templates/cpan/box-summary-static.html
vhost/cgi-bin/templates/cpan/distro-index.html
vhost/cgi-bin/templates/cpan/distro.js
vhost/cgi-bin/templates/cpan/distro-list.html
vhost/cgi-bin/templates/cpan/distro-reports.html
vhost/cgi-bin/templates/cpan/distro-reports-static.html
vhost/cgi-bin/templates/cpan/distro-stats-table.html
vhost/cgi-bin/templates/cpan/distro-unknown.html
vhost/cgi-bin/templates/cpan/layout-static.html
vhost/cgi-bin/templates/cpan/layout-stats-static.html
vhost/cgi-bin/templates/cpan/prefs.html
vhost/cgi-bin/templates/cpan/recent.html
vhost/cgi-bin/templates/cpan/report-view.html
vhost/cgi-bin/templates/cpan/stats-distro-index.html
vhost/cgi-bin/templates/cpan/stats-distro-static.html
vhost/cgi-bin/templates/cpan/stats-index.html
vhost/cgi-bin/templates/cpan/stats-perl-platform-count.html
vhost/cgi-bin/templates/cpan/stats-perl-platform.html
vhost/cgi-bin/templates/cpan/stats-perl-version.html
vhost/cgi-bin/templates/dist_summary.csv
vhost/cgi-bin/templates/dist_summary.html

MANIFEST  view on Meta::CPAN

vhost/cgi-bin/templates/public/badaccess.html
vhost/cgi-bin/templates/public/badcommand.html
vhost/cgi-bin/templates/public/badlayout.html
vhost/cgi-bin/templates/public/badmail.html
vhost/cgi-bin/templates/public/badpage.html
vhost/cgi-bin/templates/public/baduser.html
vhost/cgi-bin/templates/public/banuser.html
vhost/cgi-bin/templates/public/blank.html
vhost/cgi-bin/templates/public/box-help.html
vhost/cgi-bin/templates/public/box-menu.html
vhost/cgi-bin/templates/public/box-prefs.html
vhost/cgi-bin/templates/public/box-sites.html
vhost/cgi-bin/templates/public/box-summary.html
vhost/cgi-bin/templates/public/error_message.html
vhost/cgi-bin/templates/public/footer.html
vhost/cgi-bin/templates/public/ie-warning.html
vhost/cgi-bin/templates/public/layout.html
vhost/cgi-bin/templates/public/layout.json
vhost/cgi-bin/templates/public/layout.rss
vhost/cgi-bin/templates/public/layout-wide.html
vhost/cgi-bin/templates/public/layout.yaml

vhost/cgi-bin/config/requests/home.ini  view on Meta::CPAN

## Public commands

[main]
actions=CPAN::Authors::Status
content=content/welcome.html

[status]
actions=CPAN::Authors::Status
content=content/status.html

[prefs]
actions=CPAN::Authors::Basic
content=cpan/prefs.html

## Admin commands

[admin]
actions=
content=admin/backend_index.html

vhost/cgi-bin/db/cpanreps-base.sql  view on Meta::CPAN

INSERT INTO `requests` VALUES (58,'realm','public','Content::GetVersion,Hits::SetHits,Menus::LoadMenus','public/layout.html','','','','','off','');
INSERT INTO `requests` VALUES (59,'realm','wide','','public/layout-wide.html','','','','','off','');
INSERT INTO `requests` VALUES (60,'error','badmail','','','public/badmail.html','','','','off','');
INSERT INTO `requests` VALUES (61,'error','badcmd','','','public/badcommand.html','','','','off','');
INSERT INTO `requests` VALUES (62,'error','banuser','','','public/banuser.html','','','','off','');
INSERT INTO `requests` VALUES (63,'error','badaccess','Users::LoggedIn','','public/badaccess.html','','error-login','','off','');
INSERT INTO `requests` VALUES (64,'error','baduser','','','public/baduser.html','','','','off','');
INSERT INTO `requests` VALUES (65,'error','login','Users::Store','','users/user-login.html','','','','off','');
INSERT INTO `requests` VALUES (66,'error','message','','','public/error_message.html','','','','off','');
INSERT INTO `requests` VALUES (67,'home','admin','','','admin/backend_index.html','','','','off','');
INSERT INTO `requests` VALUES (68,'home','prefs','CPAN::Authors::Basic','','cpan/prefs.html','','','','off','');
INSERT INTO `requests` VALUES (69,'home','status','CPAN::Authors::Status','','content/status.html','','','','off','');
INSERT INTO `requests` VALUES (70,'home','main','CPAN::Authors::Status','','content/welcome.html','','','','off','');
INSERT INTO `requests` VALUES (71,'req','admin','Requests::Admin',NULL,'request/request_adminlist.html','','',NULL,'off',NULL);
INSERT INTO `requests` VALUES (72,'req','add','Requests::Add',NULL,'request/request_adminedit.html','','',NULL,'off',NULL);
INSERT INTO `requests` VALUES (73,'req','edit','Requests::Edit',NULL,'request/request_adminedit.html','','',NULL,'off',NULL);
INSERT INTO `requests` VALUES (74,'req','save','Requests::Save',NULL,'','req-edit','req-edit',NULL,'off',NULL);
INSERT INTO `requests` VALUES (75,'req','delete','Requests::Delete',NULL,'','req-admin','',NULL,'off',NULL);
INSERT INTO `requests` VALUES (76,'user','adminpass','Users::AdminPass',NULL,'users/user-adminpass.html','','',NULL,'off',NULL);
INSERT INTO `requests` VALUES (77,'user','adminchng','Users::AdminChng',NULL,'','user-adminedit','user-adminpass',NULL,'off',NULL);
INSERT INTO `requests` VALUES (78,'cpan','drss','CPAN::Report::DistroRSS',NULL,'public/blank.html','','',NULL,'off',NULL);

vhost/cgi-bin/templates/admin/layout.html  view on Meta::CPAN

    <!-- B. MAIN -->
    <div class="main">

      <!-- B.1 MAIN NAVIGATION -->
      <div class="main-navigation">

        <!-- Navigation Level 3 -->
        <div class="round-border-topright"></div>

        [% INCLUDE "public/box-menu.html" %]
        [% IF box_prefs ; THEN ; INCLUDE "public/box-prefs.html" ; END %]
        [% IF box_help  ; THEN ; INCLUDE "public/box-help.html"  ; END %]

      </div>
 
      <!-- B.1 MAIN CONTENT -->
      <div class="main-content">

        <!-- Pagetitle -->
        <h1 class="pagetitle">[% title %]</h1>
        <div class="column1-unit">

vhost/cgi-bin/templates/cpan/author-reports.html  view on Meta::CPAN

[% 
    link = '<a href="http://metacpan.org/author/' _ author _ '">' _ author _ "</a>"
    crosslink = '/author/' _ letter _ '/' _ author _ '.html'

    rss = author _ '.rss'
    rss2 = author _ '-nopass.rss'
    onload = 'onload="init()"'
    htmltitle = 'Reports for distributions by ' _ author
    title = 'Reports for distributions by ' _ link

    box_prefs = 1 ;
    box_summ  = 1 ;

    crumb3_name = 'Authors' ;
    crumb3_href = '/' ;
    crumb2_name = letter ;
    crumb2_href = '/author/' _ crumb2_name ;
    crumb1_name = author ;
%]

<input type="hidden" id="author_pref" name="author" value="[% author %]" />

vhost/cgi-bin/templates/cpan/distro-reports.html  view on Meta::CPAN

[% 
    link = '<a href="http://metacpan.org/release/' _ distribution _ '">' _ distribution _ "</a>"
    crosslink = '/distro/' _ letter _ '/' _ distribution _ '.html'

    rss = distribution _ '.rss'
    onload = 'onload="init()"'
    htmltitle = 'Reports for ' _ distribution
    title = 'Reports for ' _ link

    box_prefs = 1 ;
    box_summ  = 1 ;

    crumb3_name = 'Distributions' ;
    crumb3_href = '/' ;
    crumb2_name = letter ;
    crumb2_href = '/distro/' _ crumb2_name ;
    crumb1_name = distribution ;
%]

<input type="hidden" id="dist_pref" name="dist" value="[% distribution %]" />

vhost/cgi-bin/templates/public/badlayout.html  view on Meta::CPAN

    <!-- B. MAIN -->
    <div class="main">

      <!-- B.1 MAIN NAVIGATION -->
      <div class="main-navigation">

        <!-- Navigation Level 3 -->
        <div class="round-border-topright"></div>

        [% INCLUDE "public/box-menu.html" %]
        [% IF box_prefs ; THEN ; INCLUDE "public/box-prefs.html"   ; END %]
        [% IF box_help  ; THEN ; INCLUDE "public/box-help.html"    ; END %]
        [% IF box_summ  ; THEN ; INCLUDE "public/box-summary.html" ; END %]

      </div>
 
      <!-- B.1 MAIN CONTENT -->
      <div class="main-content">

        <!-- Pagetitle -->
        <h1 class="pagetitle">[% title %]</h1>

vhost/cgi-bin/templates/public/box-prefs.html  view on Meta::CPAN

<h2>OS Name</h2>
<select id="osname_pref" name="osname" onchange="check_osname(this)">
<option value="ALL">ALL</option>
[% FOREACH item = osnames.sort %]
<option value="[% item %]">[% osnames.$item %]</option>
[% END %]
</select>

<ul>
<li><a id="PermLink" href="#">Link to this page with the above options</a></li>
<li><a href="/home/prefs.html">Change Cookie Preferences</a></li>
</ul>

<p>The preferences act as filters to the data available in the reports listed, 
as well as the summary graph below.</p>
<p>If you don't see the reports you expect to see, please considering altering 
the preferences above before filing a fault report for the site.</p>

vhost/cgi-bin/templates/public/box-sites.html  view on Meta::CPAN

        <!-- Navigation Level 0 -->
        <div class="nav0">
          <ul>
          <li class="purple"  ><a href="http://blog.cpantesters.org"      title="CPAN Testers Blog"       >Blog</a></li>
          <li class="orange"  ><a href="http://www.cpantesters.org"       title="CPAN Testers Reports"    >Reports</a></li>
          <li class="violet"  ><a href="http://wiki.cpantesters.org"      title="CPAN Testers Wiki"       >Wiki</a></li>
          <li class="blue"    ><a href="http://stats.cpantesters.org"     title="CPAN Testers Statistics" >Statistics</a></li>
          <li class="yellow"  ><a href="http://pass.cpantesters.org"      title="CPAN Testers PASS Matrix">PASS Matrix</a></li>
          <li class="green"   ><a href="http://prefs.cpantesters.org"     title="CPAN Testers Preferences">Preferences</a></li>
          <li class="cornblue"><a href="http://metabase.cpantesters.org"  title="CPAN Testers Metabase"   >Metabase</a></li>
          <li class="cyan"    ><a href="http://devel.cpantesters.org"     title="CPAN Testers Development">Development</a></li>
          <li class="brown"   ><a href="http://deps.cpantesters.org"      title="CPAN Dependencies"       >CPAN Deps</a></li>
          <li class="grey"    ><a href="http://matrix.cpantesters.org"    title="CPAN Testers Matrix"     >CPAN Matrix</a></li>
          <li class="teal"    ><a href="http://analysis.cpantesters.org"  title="CPAN Testers Analysis"   >Analysis</a></li>
          <li class="red"     ><a href="http://admin.cpantesters.org"     title="CPAN Testers Admin"      >Admin</a></li>
          </ul>
        </div>

vhost/cgi-bin/templates/public/footer.html  view on Meta::CPAN

    All data and statistics are [% copyright %], and available under the Artistic License 2.0. Comments and design patches to barbie@cpan.org.
    </p>
    
		<p>
    The CPAN Testers Family: <br />
      <a href="http://blog.cpantesters.org"     title="CPAN Testers Blog"       >Blog</a>         &#8226;
      <a href="http://www.cpantesters.org"      title="CPAN Testers Reports"    >Reports</a>      &#8226;
      <a href="http://wiki.cpantesters.org"     title="CPAN Testers Wiki"       >Wiki</a>         &#8226;
      <a href="http://stats.cpantesters.org"    title="CPAN Testers Statistics" >Statistics</a>   &#8226;
      <a href="http://pass.cpantesters.org"     title="CPAN Testers PASS Matrix">PASS Matrix</a>  &#8226;
      <a href="http://prefs.cpantesters.org"    title="CPAN Testers Preferences">Preferences</a>  &#8226;
      <a href="http://metabase.cpantesters.org" title="CPAN Testers Metabase"   >Metabase</a>     &#8226;
      <a href="http://devel.cpantesters.org"    title="CPAN Testers Development">Development</a>  &#8226;
      <a href="http://deps.cpantesters.org"     title="CPAN Dependencies"       >Dependencies</a> &#8226;
      <a href="http://matrix.cpantesters.org"   title="CPAN Testers Matrix"     >Matrix</a>       &#8226;
      <a href="http://analysis.cpantesters.org" title="CPAN Testers Analysis"   >Analysis</a>     &#8226;
      <a href="http://admin.cpantesters.org"    title="CPAN Testers Admin"      >Admin</a>
    </p>
    <p>
    CPAN Testers, supporting the Perl programming language since 1999.
    </p>

vhost/cgi-bin/templates/public/layout.html  view on Meta::CPAN

    <!-- B. MAIN -->
    <div class="main">

      <!-- B.1 MAIN NAVIGATION -->
      <div class="main-navigation">

        <!-- Navigation Level 3 -->
        <div class="round-border-topright"></div>

        [% INCLUDE "public/box-menu.html" %]
        [% IF box_prefs ; THEN ; INCLUDE "public/box-prefs.html"   ; END %]
        [% IF box_help  ; THEN ; INCLUDE "public/box-help.html"    ; END %]
        [% IF box_summ  ; THEN ; INCLUDE "public/box-summary.html" ; END %]

        [% INCLUDE "public/sidebar.html" %]
        [% INCLUDE "public/quote.html" %]

      </div>
 
      <!-- B.1 MAIN CONTENT -->
      <div class="main-content">

vhost/html/js/cpan-testers-author.js  view on Meta::CPAN


    var row;
    var reports = results[versions[d]];
    if(reports) {
      for(var i=0; i<reports.length; i++) {
        var report = reports[i];

        if(report) {

          var re_patch = new RegExp('\\bpatch\\b');
          var re_perl  = new RegExp('\\b'+prefs.perlver+'\\b');

          if(prefs.status == report.status || prefs.status == 'ALL') {
            if(  prefs.patch == 0 ||
                (prefs.patch == 1 && !re_patch.test(report.perl)) ||
                (prefs.patch == 2 &&  re_patch.test(report.perl))) {
            if( prefs.perlmat == 0 ||
               (prefs.perlmat == 1 && report.perlmat == 'rel') ||
               (prefs.perlmat == 2 && report.perlmat == 'dev')) {
              if(prefs.osname == 'ALL' || prefs.osname == report.osname) {
                if(prefs.perlver == 'ALL' || re_perl.test(report.perl)) {
                  // Create new <tr> table row
                  row = document.createElement('tr');
              
                  // Create a link to the report details
                  var link = document.createElement('a');
                  var href = '/cpan/report/' + (report.guid || report.id);
                  link.setAttribute('href',href);
                  link.appendChild(document.createTextNode(report.status));

                  // Create a <td> for the report status and set class name

vhost/html/js/cpan-testers-dist.js  view on Meta::CPAN

function loadVersionDropdown() {
  var ddselect = document.getElementById('version');
  ddselect.options.length=0;

  for(var i=0; i<versions.length; i++) {
    var dist = distros[versions[i]];
    if(dist) {
      distro = dist[0];
      if( prefs.oncpan == 0 ||
         (prefs.oncpan == 1 && distro.oncpan == 'cpan') ||
         (prefs.oncpan == 2 && distro.oncpan == 'back')) {
        if( prefs.distmat == 0 ||
           (prefs.distmat == 1 && distro.distmat == 'off') ||
           (prefs.distmat == 2 && distro.distmat == 'dev')) {
          var ddoption = document.createElement('option');
          ddoption.value = versions[i];
          ddoption.appendChild(document.createTextNode(versions[i]));
          ddselect.appendChild(ddoption);
        }
      }
    }
  }

  // IE hack to force a redraw of the <select> element

vhost/html/js/cpan-testers-dist.js  view on Meta::CPAN

  rows.setAttribute('id','report_data');
  var select  = document.getElementById('version');
  var svalue  = select.value;
  var reports = results[svalue];
  var header  = distros[svalue][0].header;
  var modhead = document.getElementById('modulehead');
  modhead.innerHTML = header;


  var re_patch = new RegExp('\\bpatch\\b');
  var re_perl  = new RegExp('\\b'+prefs.perlver+'\\b');

  var row;
  if(reports) {
    for(var i=0; i<reports.length; i++) {
      var report = reports[i];

      if(report) {
        if(prefs.status == report.status || prefs.status == 'ALL') {
          if(  prefs.patch == 0 ||
              (prefs.patch == 1 && !re_patch.test(report.perl)) ||
              (prefs.patch == 2 &&  re_patch.test(report.perl))) {
            if( prefs.perlmat == 0 ||
               (prefs.perlmat == 1 && report.perlmat == 'rel') ||
               (prefs.perlmat == 2 && report.perlmat == 'dev')) {
              if(prefs.osname == 'ALL' || prefs.osname == report.osname) {
                if(prefs.perlver == 'ALL' || re_perl.test(report.perl)) {
                  // Create new <tr> table row
                  row = document.createElement('tr');
                
                  // Create a link to the report details
                  var link = document.createElement('a');
                  var href = '/cpan/report/' + (report.guid || report.id);
                  link.setAttribute('href',href);
                  link.appendChild(document.createTextNode(report.status));

                  // Create a <td> for the report status and set class name

vhost/html/js/cpan-testers-dist.js  view on Meta::CPAN

  }

  var tbody = document.getElementById('report_data');
  tbody.parentNode.replaceChild(rows,tbody);

  var srows = document.createElement('tbody');
  srows.setAttribute('id','stats_data');
  var rowclass = 'row';
  for(var i=0; i<stats.length; i++) {
    var stat = stats[i];
    if(  prefs.patch == 0 ||
        (prefs.patch == 1 && !re_patch.test(stat.perl)) ||
        (prefs.patch == 2 &&  re_patch.test(stat.perl))) {
      if(prefs.perlver == 'ALL' || re_perl.test(stat.perl)) {
        // Create new <tr> table row
        row = document.createElement('tr');
        row.setAttribute('class',rowclass);
              
        var ver = document.createElement('td');
        ver.appendChild(document.createTextNode(stat.perl));
        row.appendChild(ver);

        // Create a <td> for the perl version
        for(var j=0; j<stat.counts.length; j++) {

vhost/html/js/cssrules.js  view on Meta::CPAN

/* ** DEFAULTS ** */

var prefs = {
  "status":  "ALL",
  "oncpan":  1,
  "distmat": 1,
  "perlmat": 1,
  "patch":   1,
  "osname":  'ALL',
  "perlver": 'ALL'
};

/* ** PREFERENCES ** */

vhost/html/js/cssrules.js  view on Meta::CPAN

  checkCSS1(42,'gNArelunp');

  checkCSS1(21,'gUNKNOWNdevpat');
  checkCSS1(22,'gUNKNOWNdevunp');
  checkCSS1(25,'gUNKNOWNrelpat');
  checkCSS1(26,'gUNKNOWNrelunp');

  OLDPREFS1 = NEWPREFS1;
}

function reset_grade(item)   {       if (item[0].selected) { NEWPREFS1 = (NEWPREFS1 & 15) + 240; prefs.status = 'ALL';     } // ALL
                                else if (item[1].selected) { NEWPREFS1 = (NEWPREFS1 & 15) + 128; prefs.status = 'PASS';    } // PASS
                                else if (item[2].selected) { NEWPREFS1 = (NEWPREFS1 & 15) +  64; prefs.status = 'FAIL';    } // FAIL
                                else if (item[3].selected) { NEWPREFS1 = (NEWPREFS1 & 15) +  32; prefs.status = 'NA';      } // NA
                                else if (item[4].selected) { NEWPREFS1 = (NEWPREFS1 & 15) +  16; prefs.status = 'UNKNOWN'; } // UNKNOWN
}
function reset_perlmat(item) {       if (item[0].selected) { NEWPREFS1 = (NEWPREFS1 & 243) + 12; prefs.perlmat = 0; } // All
                                else if (item[1].selected) { NEWPREFS1 = (NEWPREFS1 & 243) +  8; prefs.perlmat = 1; } // Offical Only
                                else if (item[2].selected) { NEWPREFS1 = (NEWPREFS1 & 243) +  4; prefs.perlmat = 2; } // Development Only
}
function reset_patches(item) {       if (item[0].selected) { NEWPREFS1 = (NEWPREFS1 & 252) + 3; prefs.patch = 0; }  // All
                                else if (item[1].selected) { NEWPREFS1 = (NEWPREFS1 & 252) + 2; prefs.patch = 1; }  // Exclude Patches
                                else if (item[2].selected) { NEWPREFS1 = (NEWPREFS1 & 252) + 1; prefs.patch = 2; }  // Patches Only
}

function check_grade(item)   {  reset_grade(item);   checkVis1(); permlink(); displayReports(); }
function check_perlmat(item) {  reset_perlmat(item); checkVis1(); permlink(); displayReports(); }
function check_patches(item) {  reset_patches(item); checkVis1(); permlink(); displayReports(); }


/* CSS/JS code for CPAN/BACKPAN availability and distribution release type */

var NEWPREFS2 = 10; // On CPAN and Offical releases only

vhost/html/js/cssrules.js  view on Meta::CPAN


function checkVis2() {
  checkCSS2( 5,'backdev');
  checkCSS2( 6,'backoff');
  checkCSS2( 9,'cpandev');
  checkCSS2(10,'cpanoff');

  OLDPREFS2 = NEWPREFS2;
}

function reset_oncpan(item)   {      if (item[0].selected) { NEWPREFS2 = (NEWPREFS2 & 3) + 12; prefs.oncpan = 0; } // All
                                else if (item[1].selected) { NEWPREFS2 = (NEWPREFS2 & 3) +  8; prefs.oncpan = 1; } // CPAN
                                else if (item[2].selected) { NEWPREFS2 = (NEWPREFS2 & 3) +  4; prefs.oncpan = 2; } // Backpan
}
function reset_distmat(item)  {      if (item[0].selected) { NEWPREFS2 = (NEWPREFS2 & 12) + 3; prefs.distmat = 0; } // All
                                else if (item[1].selected) { NEWPREFS2 = (NEWPREFS2 & 12) + 2; prefs.distmat = 1; } // Official Only
                                else if (item[2].selected) { NEWPREFS2 = (NEWPREFS2 & 12) + 1; prefs.distmat = 2; } // Development Only
}

function check_oncpan(item)  {  reset_oncpan(item);  checkVis2(); permlink(); reloadReports(); }
function check_distmat(item) {  reset_distmat(item); checkVis2(); permlink(); reloadReports(); }



/* CSS/JS code for OS and Perl version filtering */

function reset_perlver(item) {  prefs.perlver = item[item.selectedIndex].value; }
function reset_osname(item)  {  prefs.osname  = item[item.selectedIndex].value; }

function check_perlver(item) { reset_perlver(item); permlink(); displayReports(); }
function check_osname(item)  { reset_osname(item);  permlink(); displayReports(); }



/* ** COOKIE CONTROL ** */

function createCookie(name,value,days) {
  var expires = "";

vhost/html/js/cssrules.js  view on Meta::CPAN

}

function readCookies() {
  var rs = getparam('grade');
  if(!rs) { rs = readCookie('grade'); }
  if(!rs) { rs = 1; }
  var elem = document.getElementById('grade_pref');
  elem.selectedIndex = rs-1;
  reset_grade(elem);

       if(rs == 1) { prefs.status = 'ALL';     }
  else if(rs == 2) { prefs.status = 'PASS';    }
  else if(rs == 3) { prefs.status = 'FAIL';    }
  else if(rs == 4) { prefs.status = 'NA';      }
  else if(rs == 5) { prefs.status = 'UNKNOWN'; }

  rs = getparam('perlmat');
  if(!rs) { rs = readCookie('perlmat'); }
  if(!rs) { rs = 2; }
  elem = document.getElementById('perlmat_pref');
  elem.selectedIndex = rs-1;
  reset_perlmat(elem);

  prefs.perlmat = rs-1;

  rs = getparam('patches');
  if(!rs) { rs = readCookie('patches'); }
  if(!rs) { rs = 2; }
  elem = document.getElementById('patches_pref');
  elem.selectedIndex = rs-1;
  reset_patches(elem);

  prefs.patch = rs-1;

  rs = getparam('oncpan');
  if(!rs) { rs = readCookie('oncpan'); }
  if(!rs) { rs = 2; }
  elem = document.getElementById('oncpan_pref');
  elem.selectedIndex = rs-1;
  reset_oncpan(elem);

  prefs.oncpan = rs-1;

  rs = getparam('distmat');
  if(!rs) { rs = readCookie('distmat'); }
  if(!rs) { rs = 2; }
  elem = document.getElementById('distmat_pref');
  elem.selectedIndex = rs-1;
  reset_distmat(elem);

  prefs.distmat = rs-1;

  rs = getparam('perlver');
  if(!rs) { rs = readCookie('perlver'); }
  if(!rs) { rs = 'ALL'; }
  elem = document.getElementById('perlver_pref');
  for(var i =0;i<elem.options.length;i++) {
    if(elem[i].value == rs) {
      elem.selectedIndex = i;
    }
  }
  reset_perlver(elem);

  prefs.perlver = rs;

  rs = getparam('osname');
  if(!rs) { rs = readCookie('osname'); }
  if(!rs) { rs = 'ALL'; }
  elem = document.getElementById('osname_pref');
  for(var i =0;i<elem.options.length;i++) {
    if(elem[i].value == rs) {
      elem.selectedIndex = i;
    }
  }
  reset_osname(elem);

  prefs.osname = rs;

  checkVis1();
  checkVis2();
  permlink();
}



/* ** COMMAND LINE PARAMETER CONTROL ** */

vhost/html/js/tiny_mce/tiny_mce.js  view on Meta::CPAN

var tinymce={majorVersion:'3',minorVersion:'2.1.1',releaseDate:'2008-11-27',_init:function(){var t=this,d=document,w=window,na=navigator,ua=na.userAgent,i,nl,n,base,p,v;t.isOpera=w.opera&&opera.buildNumber;t.isWebKit=/WebKit/.test(ua);t.isOldWebKit=t...

vhost/html/js/tiny_mce/tiny_mce_src.js  view on Meta::CPAN

			switch (cmd) {
				case 'Cut':
				case 'Copy':
				case 'Paste':
					try {
						ed.getDoc().execCommand(cmd, ui, val);
					} catch (ex) {
						if (isGecko) {
							ed.windowManager.confirm(ed.getLang('clipboard_msg'), function(s) {
								if (s)
									window.open('http://www.mozilla.org/editor/midasdemo/securityprefs.html', 'mceExternal');
							});
						} else
							ed.windowManager.alert(ed.getLang('clipboard_no_support'));
					}

					return true;

				// Ignore these
				case 'mceResetDesignMode':
				case 'mceBeginUndoLevel':



( run in 4.330 seconds using v1.01-cache-2.11-cpan-0bb4e1dffa6 )