文件操作 - margomm.js
返回文件管理
返回主菜单
删除本文件
文件: /home/tecnoht/public_html/studiolegalebelloni--it/wp-content/themes/belloni/js/margomm.js
编辑文件内容
jQuery( document ).ready( function( ) { /* var t = setInterval( function(){ var pUnivoco = jQuery("#wppb-builder-view").contents().find( "#id_univoco_raw_html" ) pUnivoco = jQuery("#wppb-builder-page-tools").find("#id_univoco_raw_html") //console.log("p univoco "+jQuery("#wppb-builder-page-tools").length ) //console.log("form "+jQuery("form.settings-form").length ) console.log(document.title) if ( pUnivoco.length > 0 ){ console.log("replace textarea") idTxArea = jQuery( pUnivoco ).find("textarea")[0].id console.log("replace textarea2 "+idTxArea) var text_area = document.getElementById( idTxArea ) text_area.replaceWith(text_area.cloneNode(true)); } }, 1000) */ //jQuery( document ).off("keyup", text_area ) //jQuery( document ).detach("keyup", text_area ) /* var editor = CodeMirror.fromTextArea( document.getElementById( '<?php echo esc_attr( $this->get_field_id( 'content' ) ); ?>' ), { height: '360px', parserfile: ['parsexml.js', 'parsecss.js', 'tokenizejavascript.js', 'parsejavascript.js', 'parsehtmlmixed.js'], stylesheet: ['css/xmlcolors.css', 'css/jscolors.css', 'css/csscolors.css'], path: 'js/', mode: 'htmlmixed', tabSize: 2, autoRefresh: true, autoCloseBrackets: true, autoCloseTags: true, value: document.documentElement.innerHTML, lineWrapping: true, } ); editor.on( 'change', function( editor, change ) { document.getElementById( '<?php echo esc_attr( $this->get_field_id( 'content' ) ); ?>' ).value = editor.getValue(); }); */ } );
修改文件时间
将文件时间修改为当前时间的前一年
删除文件