コード例 #1
0
ファイル: _template.alt.php プロジェクト: allynbauer/Condor
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
        <title>Condor</title>
        <?php 
o(include_stylesheet('app'));
?>
        <?php 
o(include_script('app'));
?>
        <style>
        body {
           background-color: blue;
           color: white;
         }
         a {
            color: white;
         }
        </style>
    </head>
    <body>
    <div id='content'>
      <?php 
echo sys()->flash->render();
?>
      <?php 
echo sys()->content;
?>
    </div>
    </body>
コード例 #2
0
ファイル: index.php プロジェクト: nylen/rtgui
include_script('jquery.mousewheel.js');
include_script('underscore.js');
include_script('backbone.js');
include_script('swig.js');
include_script('json2.min.js');
include_script('php.min.js');
include_script('patience_sort.js');
include_script('functions.js');
include_script('confirmMessages.js');
include_script('index.js');
include_script('context-menu.js');
include_template('torrent');
?>
<!--[if lt IE 8]>
<?php 
include_stylesheet('ie.css', true);
include_script('ie.js');
?>
<![endif]-->
</head>
<body>
  <ul id="context-menu" class="jeegoocontext cm_default">
    <li class="selected-torrents no-hover no-hide title">Torrent name / Selected N torrents</li>
    <li data-command="stop">Stop</li>
    <li data-command="start">Start</li>
    <li data-command="delete">Delete</li>
    <li data-command="purge">Purge</li>
    <li data-command="hashcheck">Re-check</li>
    <li class="separator" />
    <li class="no-hide">
      Priority
コード例 #3
0
ファイル: view.php プロジェクト: nylen/rtgui
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="favicon.ico" />
<title>rtGui</title>
<script type="text/javascript">
var currentHash = '<?php 
echo $r_hash;
?>
';
</script>
<?php 
include_stylesheet('common.css', true);
include_stylesheet('form-controls.css', true);
include_stylesheet('dialogs.css', true);
include_stylesheet('tipTip.css', true);
include_script('jquery.js');
include_script('jquery.tipTip.js');
include_script('jquery.mousewheel.js');
include_script('confirmMessages.js');
include_script('view.js');
$status_style = ($this_torrent['complete'] ? 'complete' : 'incomplete') . ($this_torrent['is_active'] ? 'active' : 'inactive');
if ($_GET['dialog']) {
    $dialog_query_str = '&amp;dialog=1';
} else {
    echo "<h3>{$this_torrent['name']}</h3>\n";
    $dialog_query_str = '';
}
?>
</head>
<body class="modal">
コード例 #4
0
ファイル: add-torrents-form.php プロジェクト: nylen/rtgui
    $urls = base64_decode($_GET['urls']);
} else {
    $urls = '';
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="favicon.ico" />
<title>rtGui - Add torrents</title>
<?php 
include_stylesheet('common.css', true);
include_stylesheet('form-controls.css', true);
include_stylesheet('dialogs.css', true);
include_stylesheet('add-torrents.css', true);
include_script('jquery.js');
include_script('jquery.hsjn.js');
include_script('jquery.form.js');
include_script('jquery.MultiFile.js');
include_script('jquery.mousewheel.js');
include_script('json2.min.js');
include_script('php.min.js');
include_script('add-torrents.js');
if (!$_GET['dialog']) {
    // Need to get the hashes of all torrents that have already been downloaded
    $torrents = rtorrent_multicall('d', 'main', array('get_hash'), 'hash', true);
    $torrents = array_map('is_numeric', array_flip(array_keys($torrents)));
    $data = array('torrents' => $torrents);
    $data_str = json_encode($data);
    echo <<<HTML
コード例 #5
0
ファイル: dirbrowser.php プロジェクト: nylen/rtgui
if (!$r_dir) {
    $r_dir = '';
}
$r_dir = rtrim($r_dir, '/') . '/';
if (!$r_highlight_dir) {
    $r_highlight_dir = '';
}
$r_highlight_dir = rtrim($r_highlight_dir, '/') . '/';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php 
include_stylesheet('common.css', true);
include_stylesheet('dialogs.css', true);
include_script('jquery.js');
include_script('jquery.mousewheel.js');
?>
<script type="text/javascript">
$(function() {
  $(window).bind('mousewheel', function(e, d) {
    window.top.onMouseWheelFromChildFrame();
  });
});
</script>
</head>
<?php 
$dir_encode = htmlentities($r_dir, ENT_QUOTES, 'UTF-8');
echo <<<HTML
<body class="dir-browser modal" onLoad="window.parent.onDirBrowserLoaded('{$dir_encode}');">
コード例 #6
0
ファイル: feedread.php プロジェクト: nylen/rtgui
                break;
            case "CATEGORY":
                $category .= $data;
                break;
        }
    }
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="favicon.ico" />
<title>rtGui</title>
<?php 
include_stylesheet('feed-reader.css', true);
?>
<script type="text/javascript">
function toggleLayer( whichLayer ) {
  var elem, vis;
  if ( document.getElementById )
    elem = document.getElementById( whichLayer );
  else if ( document.all )
      elem = document.all[whichLayer];
  else if ( document.layers )
    elem = document.layers[whichLayer];
  vis = elem.style;
  if (vis.display==''&&elem.offsetWidth!=undefined&&elem.offsetHeight!=undefined)
    vis.display = (elem.offsetWidth!=0&&elem.offsetHeight!=0)?'block':'none';
  vis.display = (vis.display==''||vis.display=='block')?'none':'block';
}