CPreProc::getCurrentPageUrl( $http = true ) is not used? Yes it's used. getCurrentPageUrl in lib/sys/CPreProc.class.php and admin/include/CSRouter.class.php should be the same but must not be combined "SERVER_NAME" should be easy to assignable. ------------------------------------------- Test add adnimation /* //-- add animation CPageCMS.bind("page-resource",this,function(){ this.COptAnim.registerHandler("scroll-diag", function(key) { this.COptAnim.renderScroll({x:this.area.w,y:this.area.h}); }); if ( CCfg.text(pollcfg.pagecfg,"ptype") == "r" ) { pollcfg.pagecfg["e-animation"] = "scroll-diag top-down 3"; } }); */ ------------------------------------------- add icon="" configuration line for vmark.png and cmark.png if not , then use "user" scope ------------------------------------------- CCfgLoader=>CCfgReader ------------------------------------------- getUFolderList=>getUserFolderList ------------------------------------------- Add this to global css $lca = CEnv::locale("app/css"); $css .= $lca["global-css"]; ------------------------------------------- Use # to comment out for configuration and files ------------------------------------------- Preloadに制限時間をついて 超えた場合はエラーを出す ------------------------------------------- pswtich and pmedia を抜く pswitchはresetbtnのオプションとして可能 ------------------------------------------- maintain height after shutdown ------------------------------------------- clear background-color ------------------------------------------- CToolBtn.js CPageCMS.trigger("tooltip-close-all"); は CPageCMS.trigger("stop"); に変えるべき ------------------------------------------- tooptip から wloader-showを抜いた どう波及するのか? CCMS.bind("pause,vote,"+ "opt-removed,opt-move",this,function(){ this.closeAll(); }); ------------------------------------------- No rearrange option in "Drop it" ------------------------------------------- Auto-Vote アンケートタイプ 常に結果表示 をaddonにする ------------------------------------------- FireFox is slow to show background ------------------------------------------- [*]opt-abort [*]opt-removed [*]opt-bgimgrec Asks the current option bgimgrec [ ]page-bgimgrec Asks the current page bgimgrec ------------------------------------------- color-list => color-resource image-resource ------------------------------------------- Should remove? CWRes protected function buildColorList( &$cfg_root ) { if ( is_array($cfg_root["color"]) ) { $cfg_color =& $cfg_root["color"]; foreach( $cfg_color as $obj => &$color ) { if ( !empty($color) && is_string($color) ) { ==> if ( substr($color,0,1) == "<" ) { $cfg = CEnv::config("poll/color"); if ( !empty($cfg["clist"][$color]) ) { $color = $cfg["clist"][$color]; } } else { $color = preg_split("/[\n]+/",trim($color)); } } } } } ------------------------------------------- colorをsimplfyする ------------------------------------------- ------------------------------------------- SlideUp Dialog ------------------------------------------- each tooltip and alert message for each checkmark ------------------------------------------- config::begin/endの完全なブロック化 ------------------------------------------- sending email ------------------------------------------- shutdown機能 ------------------------------------------- Sending Email ------------------------------------------- CPoll.instaParamsを Output functionに入れ替える COutput ------------------------------------------- actionをCActionに統一 ------------------------------------------- StatusのメッセージがAlertからもでるようにする。 ------------------------------------------- Rank: 1st 2nd, 3rd... ------------------------------------------- html decoration (size,frame,color) ------------------------------------------- cyclical coloring, indexing in opt-abox ------------------------------------------- the smae picture on all poll options ------------------------------------------- template switcher depending the size ------------------------------------------- replace poll with html message, with/without chainging it's size ------------------------------------------- bg panning and icon(tpl-1005)の連携 ------------------------------------------- prioity instanciation ------------------------------------------- measure time between triggers in CPage ------------------------------------------- randomly select poll cyclical poll ------------------------------------------- chaining (Move to next poll) secuentila poll ------------------------------------------- grouping selections ------------------------------------------- action url (in another tab) run javascript run another poll show dialogbox show html ------------------------------------------- text database ------------------------------------------- twitter button ------------------------------------------- Voteをブロックする for private mode detection ------------------------------------------- inppvbtnをrenameする ------------------------------------------- opt animation simulator ------------------------------------------- compacting script ------------------------------------------- generator for cfg files ------------------------------------------- engine x ------------------------------------------- ==Done=================================================================================== ==Done=================================================================================== ==Done=================================================================================== ==Done=================================================================================== ==Done=================================================================================== ==Done=================================================================================== ==Done=================================================================================== ==Done=================================================================================== ==Done=================================================================================== ==Done=================================================================================== ==Done=================================================================================== ==Done=================================================================================== ==Done=================================================================================== ==Done=================================================================================== ==Done=================================================================================== rename some css names ------------------------------------------- Intersction service ( like in CWtop ) to show a comment on top or bottom of the poll even when it's cliped by the view port. ------------------------------------------- move alert_duration from poll to tpl ------------------------------------------- Font-Family ------------------------------------------- Your Browser is not supported(for IE678) ------------------------------------------- Thank you message ------------------------------------------- If there is no css3 animation, then set opt animation to none;[cancel] ------------------------------------------- color spectrum ------------------------------------------- interface version check [no change] if ( !CPoll::checkVersion("",1.0) ) {return;} ------------------------------------------- CPage.js does need this? [no change] //-- page delay if ( CPoll.page_load_cnt == 1 ) { this.delay("setup"); } ------------------------------------------- rebootの時はscroll-topする ------------------------------------------- ptext can remove title area/desc area ------------------------------------------- for button label ------------------------------------------- about for each page ------------------------------------------- add-on ------------------------------------------- tooltip ------------------------------------------- functions ===> CUtil ------------------------------------------- Toolbtn ------------------------------------------- default icon button ------------------------------------------- # of selected in vote button ------------------------------------------- custom scroll bar https://css-tricks.com/position-sticky-2/ ------------------------------------------- Optionのコーナーにバッジをつける ------------------------------------------- MsgBox (should postpone) ------------------------------------------- opt_h="x0.5" ------------------------------------------- missing scroll bar [solution] position:relative is need to display scroll bar ------------------------------------------- openのstatusメッセージも表示できるようにする。 ------------------------------------------- background:"url()" requires '' to surround url ------------------------------------------- Table Structure in opt ------------------------------------------- Using background image's size to decide the ratio of each poll options ------------------------------------------- fullscreenでtooltipがずれる。 fullscreenでページが遷移できない。 結論:fullscreenはキャンセルする。fullscreenの サイズがきちんと得られない。スマホのことを考えると full browserにしたほうがよい。 ------------------------------------------- [Add In]b_animation for desktop and smartphone Use media parameter ------------------------------------------- [Add In]additional parameter passing Use media parameter ------------------------------------------- loading sreen on off ------------------------------------------- feasibility of "vote per email address" "vote per cupon" maybe ip address field にいれる? [結果]votepermail ------------------------------------------- opt itmes and opt data(rec)を統一する。 ------------------------------------------- otp.bg recordにurl,width,heightをまとめる ------------------------------------------- natural size layout (tallest first shortest first) ------------------------------------------- COptAm setOverflow, is this necessary? [結論]Yes ------------------------------------------- does wloading start before image cacheing? [結論]Yes ------------------------------------------- touch/small medium large screen switch ------------------------------------------- opt margin, does it contradicts with slimcol? [結論]Yes but !importantで解決 ------------------------------------------- user select none; ------------------------------------------- single quote removable from url ------------------------------------------- Master Controller ------------------------------------------- tooltipのparentがCPageでないと下に行く場合がある。 SlideBoxに関しても同じことがいえる。 いや、wloaderがじっこうされる前に消したほうがいいかも [wloader-show messageで消せるようにした] wloaderの
をopenする時にトップにもっていく という方法もある[毎回消されているので不必要] ------------------------------------------- file extention checking jpg,jpeg,png,gif ------------------------------------------- move CWloader to addon [No] CWloader is not an optional component ------------------------------------------- type=64] Cannot redeclare makeSamples1() (previously declared in /var/www/phpkobo/my-projects/ajax-poll-sys/APSMX-412/public_html/apsmx/poll/poll-1001/cfg/cfg.opt.inc.php:17) ------------------------------------------- responsive:table cell to float https://www.w3schools.com/css/css_rwd_grid.asp .row::after { content: ""; clear: both; display: table; } [This is just wrong!] ------------------------------------------- tool tip for vmark tool tip for vote ------------------------------------------- table-cellにコンポーネントを挿入する場合、 縦にならぶ、横にならぶようにする。 ------------------------------------------- vmark,cmarkなどinsertできる ------------------------------------------- order of insertion (vmark,cmark,vcnt,...) append-1, prepend-1 ------------------------------------------- bottunが見えない前にtooltipが表示される ------------------------------------------- tinting; div order issues ------------------------------------------- move.x to move.y が動いていない ------------------------------------------- mis alignment on tooltip when the element is moved ------------------------------------------- Status StateをCPollにつける ------------------------------------------- opt-area のscroll-yをアニメション中は停止する ------------------------------------------- Posy をPollに適用する ------------------------------------------- tooltipのでるのがはやすぎる。OptInternalSetupの 後でよい。 ------------------------------------------- アニメーションがコメントアウトされた時、コンポーネントが表示されない。 #$cfg["opt"]["vpercent"]["vpercent1"]["animation"] = "scroll-up"; ------------------------------------------- is necessary? opt-internal-begin should be change to opt-anim-end? ------------------------------------------- Bgraphのアニメーションをconfigでカスタマイズできるようにする。 ------------------------------------------- zoom out animationをつける ------------------------------------------- CToolBtn page-resourceへ移動 ------------------------------------------- remove CPage.setupVcomp remove Vcomp ------------------------------------------- wloader enable -> enabled ------------------------------------------- CNormをCCfgに変更 ------------------------------------------- remove full screen ------------------------------------------- two different message has voted or has not voted for dialog ------------------------------------------- CAlert.open(key,jqo);にjqoがnullでも 大丈夫にする ------------------------------------------- メッセージごとにalertをdialogに交換できる。 ------------------------------------------- Insert Yes/No dialog before the poll begins ------------------------------------------- bar (percentage, relative) ------------------------------------------- Status string が""の時は表示しない ------------------------------------------- Statusのブリンク回数の設定 ------------------------------------------- refactoring ------------------------------------------- [cancel] icon mark in div with a scroll bar to indicate there are more contents in above or below ------------------------------------------- Parameterをみ直す insertComp : function( key, html, jqos ) { ------------------------------------------- Remove COpt.setupOptMargin(); ------------------------------------------- Option Hover StateをOptにつける ------------------------------------------- CCMS.bind("opt-begin",this,function(){ CPage.jqo_ctar .addClass("apsmx-ea-go"); CPage.jqo_ctar .find(".apsmx-sa-root") .addClass("apsmx-sa-go"); //-- focus first element if ( CCfg.yn(pollcfg.pagecfg,"focus-first") ) { CPage.jqo_ctar .find("*[tabindex='0']") .eq(0).focus(); } }); CPage.jqo_ctarをfrontのルートにすればea でダイアログのe-animationもできるはず ------------------------------------------- quick-voteでVoteボタンおよぶcheckmarkを消すオプション ------------------------------------------- data-posy="opt" data-posy="page"の挿入 ------------------------------------------- reanimateした後、checkができなくなる reanimateが壊れている ------------------------------------------- CPosyのcontentをcobjectへ移転する ------------------------------------------- rename CPoll.insertComp COpt.insertComp ------------------------------------------- bgimg, bgcolorのプライオリティをpage-resourceで決定 (やめたほうがいい) ------------------------------------------- abort-page=>page-abort ------------------------------------------- CToolBtnのCPosy化をおこなう。 ------------------------------------------- CVTotalのメッセージを書くのは。 COptからopt-totalのメッセージが来た時と コンポーネントを作った後のメッセージの両方がきた時 ------------------------------------------- cycle+reanimate cycle+drop ------------------------------------------- reanimateした後、bigcheckが動かない。 ------------------------------------------- CPage.setup=>CPage.run() ------------------------------------------- COpt.esAnimがOpt外部のAnimationも行なってします。 最初の回は問題ないが、optをreanimateする時 Opt外部のAnimationはしたくない。 esAnim : function( b_add ) { var jqo_front = CPage.posy.find("layer","front"); if ( jqo_front.length ) { if ( b_add ) { ------------------------------------------- deleteComp=>deleteCmp ------------------------------------------- registerできるCBgSetterを作る setImg : function( jqo_bgimg, imgrec, opacity ) { if ( imgrec ) { var url = imgrec.url; if ( url ) { jqo_bgimg .css({ opacity:opacity, background:"url("+CUtil.sq(url)+")", "background-position":"center center", "background-size":"cover" }); CPreloader.loadBg(jqo_bgimg,url); } } } ------------------------------------------- Slide(tpl-1005)に修理 addinに変更する ------------------------------------------- remove .%css-ctar% .apsmx-posy-page-parentfit ------------------------------------------- bgcolor bgimgのやり直し。 layer-inboxにはいっていない。 ------------------------------------------- fix cycle ------------------------------------------- CBgSetter.set ==> CBgSetter.img ------------------------------------------- ignore file name starts with -- in CBgImg, COptBgImg, cycle ------------------------------------------- move=>shift ------------------------------------------- fade in front panel like random panning ------------------------------------------- やはり、jqo_page_ctarはいらない ------------------------------------------- remove these from CTooltip and CPoll getScrollRef : function() { getClientSizeRef : function() { ------------------------------------------- tooltipは同時に2つ存在してはならない。 ------------------------------------------- clear-container-height=>clear-host-height ------------------------------------------- PollのロードをCHostへ移す ------------------------------------------- change CCMS to "function CCMS()" create CPageCMS CPollCMS CHostCMS CAppCMS from "new CCMS()" ------------------------------------------- create CHost.poll_load_cnt like CPoll.page_load_cnt ------------------------------------------- wloader-show=>wloader-begin ------------------------------------------- addonのjavascriptをメインのロードにいれる。 これはAddOn loaderの改造を意味する ------------------------------------------- Bgraphのアニメーションをやり直し sanimやり直し ------------------------------------------- override html and img from tpl and poll ------------------------------------------- remove globalResourceLoaded ------------------------------------------- shared div above and below host div ------------------------------------------- CMBinderの修正 ------------------------------------------- two wloaders is running ------------------------------------------- cmptype="client","admin","installation" "name"=>"cmpname" ------------------------------------------- AddonのHTML&css もjsを同じく最初にロードする。 ------------------------------------------- CScript=>CMScript ------------------------------------------- ------------------------------------------- ------------------------------------------- ------------------------------------------- ------------------------------------------- ------------------------------------------- ------------------------------------------- ------------------------------------------- ------------------------------------------- ------------------------------------------- ------------------------------------------- ------------------------------------------- ------------------------------------------- ------------------------------------------- ------------------------------------------- ------------------------------------------- -------------------------------------------