Changeset 2849
- Timestamp:
- May 13, 2007, 1:59:13 AM (14 years ago)
- Location:
- OpenPNE/branches/2.8.x
- Files:
-
- 1 added
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/branches/2.8.x/public_html/cmd/blog-apart.com.js
r2651 r2849 5 5 document.write('<script type="text/javascript" src="http://blog-apart.com/PAINT_BIT/paint_bit.js"></sc' + 'ript>'); 6 6 7 function urllink(url) {8 var link = '<a href="' + url + '" target="_blank">' + url + '</a>';9 document.write(link);10 }11 12 7 function url2cmd(url) { 13 8 if (!url.match(/^http:\/\/(?:www\.|)blog\-apart\.com\/([a-zA-Z0-9_\-]+)\//)) { 14 urllink(url);9 pne_url2a(url); 15 10 return false; 16 11 } 17 12 var id = RegExp.$1; 18 13 if (!main(id)) { 19 urllink(url); 14 pne_url2a(url); 15 return false; 20 16 } 17 return true; 21 18 } 22 19 -
OpenPNE/branches/2.8.x/public_html/cmd/flipclip.net.js
r2651 r2849 2 2 function url2cmd(url) { 3 3 if (!url.match(/^http:\/\/(?:www\.|)flipclip\.net\/clips\/[a-zA-Z0-9_\-]+\/([a-zA-Z0-9_\-]+)\/?$/)) { 4 pne_url2a(url); 4 5 return; 5 6 } -
OpenPNE/branches/2.8.x/public_html/cmd/grouper.com.js
r2529 r2849 2 2 function url2cmd(url) { 3 3 if (!url.match(/^http:\/\/(?:www\.|)grouper\.com\/video\/MediaDetails\.aspx\?id=([0-9]+)(.*)$/)) { 4 pne_url2a(url); 4 5 return; 5 6 } -
OpenPNE/branches/2.8.x/public_html/cmd/kakaku.com.js
r321 r2849 2 2 function url2cmd(url) { 3 3 if (!url.match(/^http:\/\/kakaku\.com\/item\/([0-9A-Z]+)\/?$/)) { 4 pne_url2a(url); 4 5 return; 5 6 } -
OpenPNE/branches/2.8.x/public_html/cmd/livlyisland.js
r2635 r2849 1 1 function main(id, sv) { 2 2 if (!id.match(/^[a-zA-Z0-9]+$/)) { 3 pne_url2a(url); 3 4 return; 4 5 } 5 6 if (!sv.match(/^[0-9]+$/)) { 7 pne_url2a(url); 6 8 return; 7 9 } -
OpenPNE/branches/2.8.x/public_html/cmd/maps.google.co.jp.js
r2190 r2849 1 1 function url2cmd(url) { 2 3 2 var maps_google_co_jp_maps = url.match(/^http:\/\/maps\.google\.co\.jp\/maps\?(.+)/); 4 3 var maps_google_co_jp = url.match(/^http:\/\/maps\.google\.co\.jp\/\?(.+)/); … … 7 6 var id = RegExp.$1; 8 7 main(id); 9 }else{ 10 document.write('<a href="'+url+'">'+url+'</a>'); 11 return; 8 } else { 9 pne_url2a(url); 12 10 } 13 11 } -
OpenPNE/branches/2.8.x/public_html/cmd/maps.google.com.js
r2190 r2849 1 1 function url2cmd(url) { 2 3 2 var maps_google_com_maps = url.match(/^http:\/\/maps\.google\.com\/maps\?(.+)/); 4 3 var maps_google_com = url.match(/^http:\/\/maps\.google\.com\/\?(.+)/); … … 7 6 var id = RegExp.$1; 8 7 main(id); 9 }else{ 10 document.write('<a href="'+url+'">'+url+'</a>'); 11 return; 8 } else { 9 pne_url2a(url); 12 10 } 13 11 } -
OpenPNE/branches/2.8.x/public_html/cmd/r.tabelog.com.js
r2650 r2849 1 1 function url2cmd(url) { 2 2 if (!url.match(/^http:\/\/r\.tabelog\.com\/[a-z]+\/rstdtl\/([0-9]+)\/?$/)) { 3 pne_url2a(url); 3 4 return; 4 5 } -
OpenPNE/branches/2.8.x/public_html/cmd/slurl.com.js
r2651 r2849 2 2 document.write('<div id="map-container" style="height:440px; width:400px; position:relative;"></d' + 'iv>'); 3 3 4 function urllink(url) {5 var link = '<a href="' + url + '" target="_blank">' + url + '</a>';6 document.write(link);7 }8 9 4 function url2cmd(url) { 10 5 if (!url.match(/^http:\/\/slurl\.com\/secondlife\/([a-zA-Z0-9_\-]+)\/([0-9]+)\/([0-9]+)\/([0-9]+)/)) { 11 urllink(url);6 pne_url2a(url); 12 7 return false; 13 8 } -
OpenPNE/branches/2.8.x/public_html/cmd/video.google.com.js
r2651 r2849 1 1 function url2cmd(url) { 2 2 if (!url.match(/^http:\/\/video\.google\.com\/videoplay\?docid=([0-9\-]+).*?$/)) { 3 pne_url2a(url); 3 4 return; 4 5 } -
OpenPNE/branches/2.8.x/public_html/cmd/watchme.js
r2651 r2849 1 1 function main(id, width, height) { 2 2 if (!id.match(/^[a-zA-Z0-9_\-]+$/)) { 3 pne_url2a(url); 3 4 return; 4 5 } -
OpenPNE/branches/2.8.x/public_html/cmd/www.blog-apart.com.js
r2651 r2849 5 5 document.write('<script type="text/javascript" src="http://blog-apart.com/PAINT_BIT/paint_bit.js"></sc' + 'ript>'); 6 6 7 function urllink(url) {8 var link = '<a href="' + url + '" target="_blank">' + url + '</a>';9 document.write(link);10 }11 12 7 function url2cmd(url) { 13 8 if (!url.match(/^http:\/\/(?:www\.|)blog\-apart\.com\/([a-zA-Z0-9_\-]+)\//)) { 14 urllink(url);9 pne_url2a(url); 15 10 return false; 16 11 } 17 12 var id = RegExp.$1; 18 13 if (!main(id)) { 19 urllink(url); 14 pne_url2a(url); 15 return false; 20 16 } 17 return true; 21 18 } 22 19 -
OpenPNE/branches/2.8.x/public_html/cmd/www.ebitv.jp.js
r321 r2849 1 1 function url2cmd(url) { 2 2 if (!url.match(/^http:\/\/www\.ebitv\.jp\/video.php\?id=([0-9]+)$/)) { 3 pne_url2a(url); 3 4 return; 4 5 } -
OpenPNE/branches/2.8.x/public_html/cmd/www.flipclip.net.js
r2651 r2849 2 2 function url2cmd(url) { 3 3 if (!url.match(/^http:\/\/(?:www\.|)flipclip\.net\/clips\/([a-zA-Z0-9_\-]+)\/([a-zA-Z0-9_\-]+)\/?$/)) { 4 pne_url2a(url); 4 5 return; 5 6 } -
OpenPNE/branches/2.8.x/public_html/cmd/www.google.co.jp.js
r2190 r2849 1 1 function url2cmd(url) { 2 3 2 var www_google_co_jp_maps = url.match(/^http:\/\/www\.google\.co\.jp\/maps\?(.+)/); 4 3 … … 6 5 var id = RegExp.$1; 7 6 main(id); 8 }else{ 9 document.write('<a href="'+url+'">'+url+'</a>'); 10 return; 7 } else { 8 pne_url2a(url); 11 9 } 12 10 } -
OpenPNE/branches/2.8.x/public_html/cmd/www.google.com.js
r2190 r2849 1 1 function url2cmd(url) { 2 3 2 var www_google_com_maps = url.match(/^http:\/\/www\.google\.com\/maps\?(.+)/); 4 3 … … 6 5 var id = RegExp.$1; 7 6 main(id); 8 }else{ 9 document.write('<a href="'+url+'">'+url+'</a>'); 10 return; 7 } else { 8 pne_url2a(url); 11 9 } 12 10 } -
OpenPNE/branches/2.8.x/public_html/cmd/www.grouper.com.js
r2529 r2849 2 2 function url2cmd(url) { 3 3 if (!url.match(/^http:\/\/(?:www\.|)grouper\.com\/video\/MediaDetails\.aspx\?id=([0-9]+)(.*)$/)) { 4 pne_url2a(url); 4 5 return; 5 6 } -
OpenPNE/branches/2.8.x/public_html/cmd/www.netprice.co.jp.js
r2651 r2849 4 4 goods(url); 5 5 } else { 6 others(url);6 pne_url2a(url); 7 7 } 8 8 return; … … 24 24 return; 25 25 } 26 27 function others(url){28 var html = '<a href="' + url + '">' + url + '</a>';29 document.write(html);30 return;31 } -
OpenPNE/branches/2.8.x/public_html/cmd/www.watchme.tv.js
r2651 r2849 1 1 function url2cmd(url) { 2 2 if (!url.match(/^http:\/\/www\.watchme\.tv\/v\/\?mid=([a-z0-9]+)$/)) { 3 pne_url2a(url); 3 4 return; 4 5 } -
OpenPNE/branches/2.8.x/public_html/cmd/www.youtube.com.js
r2651 r2849 1 1 function url2cmd(url) { 2 2 if (!url.match(/^http:\/\/(?:www\.|)youtube\.com\/watch\?v=([a-zA-Z0-9_\-]+)/)) { 3 pne_url2a(url); 3 4 return; 4 5 } -
OpenPNE/branches/2.8.x/public_html/cmd/youtube.com.js
r2651 r2849 1 1 function url2cmd(url) { 2 2 if (!url.match(/^http:\/\/(?:www\.|)youtube\.com\/watch\?v=([a-zA-Z0-9_\-]+)/)) { 3 pne_url2a(url); 3 4 return; 4 5 } -
OpenPNE/branches/2.8.x/webapp/modules/pc/templates/inc_header.tpl
r2784 r2849 18 18 ({/if}) 19 19 <script type="text/javascript" src="./js/prototype.js"></script> 20 <script type="text/javascript" src="./js/pne.js"></script> 20 21 <style type="text/css"> 21 22 <!--
Note: See TracChangeset
for help on using the changeset viewer.