webif updates
git-svn-id: file:///root/webif/svn/humax/pkg/src/webif/trunk@1573 2a923420-c742-0410-a762-8d5b09965624
@@ -123,7 +123,7 @@ foreach e $records {
|
||||
|
||||
puts "[$e channel_icon 30] "
|
||||
puts "$chnum
|
||||
<a href=/cgi-bin/epg/service.jim?service=[$e get service_id]
|
||||
<a href=\"/cgi-bin/epg/service.jim?service=[$e get service_id]\"
|
||||
title=\"[$e get channel_name]\">
|
||||
[$e get channel_name]
|
||||
</a></div>"
|
||||
|
||||
@@ -268,7 +268,7 @@ puts {
|
||||
</label>
|
||||
</th>
|
||||
<td>
|
||||
<input type=text name="aexpiry_days" id="aexpiry_days"
|
||||
<input name="aexpiry_days" id="aexpiry_days"
|
||||
type=number value=0 size=5 maxlength=3
|
||||
class="text ui-widget-content ui-corner-all">
|
||||
</td>
|
||||
|
||||
@@ -268,7 +268,7 @@ set stub ""
|
||||
foreach part [split $dir /] {
|
||||
if {$stub eq "/"} { set name $part } else { set name "/$part" }
|
||||
append stub $name
|
||||
puts "<a href=$env(REQUEST_URI)?dir=[cgi_quote_url $stub]>$name</a>
|
||||
puts "<a href=\"$env(REQUEST_URI)?dir=[cgi_quote_url $stub]\">$name</a>
|
||||
}
|
||||
puts "<span class=filesize id=dirsize></span>"
|
||||
puts "</legend>"
|
||||
@@ -278,7 +278,7 @@ set parent [join [lrange [split $dir /] 0 end-1] /]
|
||||
if {$parent ne ""} {
|
||||
puts "
|
||||
<div class=va>
|
||||
<a href=$env(REQUEST_URI)?dir=[cgi_quote_url $parent]>
|
||||
<a href=\"$env(REQUEST_URI)?dir=[cgi_quote_url $parent]\">
|
||||
<img border=0 src=/images/711_3_09_Media_Folder_UP.png class=va>
|
||||
\[parent directory\]</a>
|
||||
</div>
|
||||
@@ -337,7 +337,7 @@ foreach sl $sortlist {
|
||||
set tag "Currently sorting"
|
||||
if {$order != $index} {
|
||||
puts "
|
||||
<a href=$env(REQUEST_URI)?$env(QUERY_STRING)&order=$index>"
|
||||
<a href=\"$env(REQUEST_URI)?$env(QUERY_STRING)&order=$index\">"
|
||||
set tag "Sort"
|
||||
}
|
||||
puts "<img class=va border=0 src=/img/$img.gif> $tag by $descr"
|
||||
|
||||
1
var/mongoose/html/favicon.ico
Symbolic link
@@ -0,0 +1 @@
|
||||
img/fav/favicon.ico
|
||||
BIN
var/mongoose/html/img/fav/114.png
Normal file
|
After Width: | Height: | Size: 19 KiB |
BIN
var/mongoose/html/img/fav/144.png
Normal file
|
After Width: | Height: | Size: 30 KiB |
BIN
var/mongoose/html/img/fav/16.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
var/mongoose/html/img/fav/32-x.png
Normal file
|
After Width: | Height: | Size: 5.6 KiB |
BIN
var/mongoose/html/img/fav/32.png
Normal file
|
After Width: | Height: | Size: 5.0 KiB |
BIN
var/mongoose/html/img/fav/57.png
Normal file
|
After Width: | Height: | Size: 7.4 KiB |
BIN
var/mongoose/html/img/fav/64.png
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
BIN
var/mongoose/html/img/fav/72.png
Normal file
|
After Width: | Height: | Size: 10 KiB |
BIN
var/mongoose/html/img/fav/favicon.ico
Normal file
|
After Width: | Height: | Size: 10 KiB |
6
var/mongoose/html/img/fav/notes.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
<link rel="icon" href="/favicon.ico" sizes="16x16 32x32 64x64" type=image/vnd.microsoft.icon />
|
||||
<link rel="apple-touch-icon" href="/img/fav/57.png" />
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="/img/fav/57.png" />
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="/img/fav/72.png" />
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="/img/fav/114.png" />
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="/img/fav/144.png" />
|
||||
@@ -11,7 +11,13 @@ source /mod/webif/include/model.jim
|
||||
puts {
|
||||
</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" />
|
||||
<link rel="shortcut icon" href=/img/favicon.ico />
|
||||
<link rel="icon" href="/favicon.ico" sizes="16x16 32x32 64x64"
|
||||
type="image/vnd.microsoft.icon" />
|
||||
<link rel="apple-touch-icon" href="/img/fav/57.png" />
|
||||
<link rel="apple-touch-icon" sizes="57x57" href="/img/fav/57.png" />
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="/img/fav/72.png" />
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="/img/fav/114.png" />
|
||||
<link rel="apple-touch-icon" sizes="144x144" href="/img/fav/144.png" />
|
||||
<link type="text/css" href="/lib/jquery.ui/css/custom-theme/jquery-ui.css"
|
||||
rel="Stylesheet" />
|
||||
<link href="/css/style.css" rel="Stylesheet" type="text/css" />
|
||||
|
||||
@@ -42,15 +42,15 @@
|
||||
<div id=pkgtabs>
|
||||
<ul>
|
||||
<li>
|
||||
<a class=tablink href=pkg.jim?type=inst>
|
||||
<a class=tablink href="pkg.jim?type=inst">
|
||||
<span>Installed</span>
|
||||
</a>
|
||||
</li><li>
|
||||
<a class=tablink href=pkg.jim?type=avail>
|
||||
<a class=tablink href="pkg.jim?type=avail">
|
||||
<span>Available</span>
|
||||
</a>
|
||||
</li><li>
|
||||
<a class=tablink href=pkg.jim?type=upgr>
|
||||
<a class=tablink href="pkg.jim?type=upgr">
|
||||
<span>Upgrades</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -147,8 +147,7 @@ function preparemenu(el, menu)
|
||||
else
|
||||
$('#optmenu').disableContextMenuItems('#ar');
|
||||
|
||||
if ($(el).attr('table') != 'pending' && (
|
||||
$(el).attr('reckind') == 4 || $(el).attr('reckind') == 1))
|
||||
if ($(el).attr('table') != 'pending' && $(el).attr('reckind') == 4)
|
||||
$('#optmenu').enableContextMenuItems('#folder');
|
||||
else
|
||||
$('#optmenu').disableContextMenuItems('#folder');
|
||||
|
||||
@@ -57,7 +57,8 @@ foreach record $records {
|
||||
puts "<td>$chnum</td>"
|
||||
puts "<td>[$record channel_icon 50]</td>
|
||||
<td>
|
||||
<a href=/cgi-bin/epg/service.jim?service=[$record get service_id]>
|
||||
<a href=\"/cgi-bin/epg/service.jim?service=[\
|
||||
$record get service_id]\">
|
||||
[$record get channel_name]
|
||||
</a></td>"
|
||||
set lcn $chnum
|
||||
|
||||
@@ -41,10 +41,13 @@ proc endclock {size} {
|
||||
return "[pretty_size $size] in $el seconds - [pretty_size $rate]/s"
|
||||
}
|
||||
|
||||
set modules {dedup decrypt shrink mpg mp3 expire}
|
||||
set modules {decrypt dedup shrink mpg mp3 expire}
|
||||
|
||||
foreach mod $modules {
|
||||
set "hook_pre${mod}scan" {}
|
||||
set "hook_pre$mod" {}
|
||||
set "hook_post$mod" {}
|
||||
set "hook_post${mod}scan" {}
|
||||
}
|
||||
|
||||
proc register {type fn} {
|
||||
@@ -542,7 +545,9 @@ if {[llength $argv] > 0} {
|
||||
} else {
|
||||
foreach arg $modules {
|
||||
set st [clock milliseconds]
|
||||
runplugin "pre${arg}scan" 0
|
||||
scan $root $arg
|
||||
runplugin "post${arg}scan" 0
|
||||
log "$arg scan completed in [elapsed $st] seconds."
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ puts ">
|
||||
"
|
||||
|
||||
proc cts {type img text} {
|
||||
puts "<a href=/cgi-bin/epg/search.jim?ct=$type>
|
||||
puts "<a href=\"/cgi-bin/epg/search.jim?ct=$type\">
|
||||
<img height=18 border=0 src=/images/173_3_00_G3_$img.png>
|
||||
$text</a>";
|
||||
}
|
||||
@@ -96,7 +96,8 @@ if {[llength $res] > 0} {
|
||||
set kw [string range [lindex $keyword 1] 1 end]
|
||||
# Clean the keyword string.
|
||||
regexp -nocase {^(\w+)} $kw kw
|
||||
puts "<td><a href=/cgi-bin/epg/search.jim?term=[cgi_quote_url $kw]>$kw
|
||||
puts "<td><a href=\"/cgi-bin/epg/search.jim?term=[\
|
||||
cgi_quote_url $kw]\">$kw
|
||||
</a></td>"
|
||||
}
|
||||
puts "
|
||||
|
||||