文件操作 - copy-modal.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/forzabuilt/public_html/wp-content/plugins/maxbuttons/views/modals/copy-modal.php
编辑文件内容
<!-- copy modal --> <?php $id = ($id) ? $id : $this->view->button_id; // on the list, there are many ID's. ?> <div class='maxmodal-data' id='copy-modal-<?php echo $id ?>' data-load='window.maxFoundry.maxadmin.checkCopyModal'> <span class='title'><?php _e("Copy this button","maxbuttons"); ?></span> <span class="content"> <div class='copy-warning'> <h3><?php _e('You probably don\'t want to copy your button!', 'maxbuttons'); ?></h3> <p><?php _e( sprintf("Changing %sText%s and %sURL%s can be done with the same button. %s This will save you time in the near future", "<b>","</b>","<b>","</b>","<br>"),'maxbuttons'); ?> </p> <p class="example"> <strong><?php _e("Add the same button with different link","maxbuttons"); ?></strong><br> [maxbutton id="<?php echo $id ?>" url="http://yoururl"] </p> <p class="example"><strong><?php _e("Use the same button but change the text","maxbuttons"); ?> </strong><br /> [maxbutton id="<?php echo $id ?>" text="yourtext"] </p> <p class="example"><strong><?php _e("Both","maxbuttons"); ?> </strong><br /> [maxbutton id="<?php echo $id ?>" text="yourtext" url="http://yoururl"] </p> <p class="example"><strong><?php _e('All Options', 'maxbuttons'); ?></strong><br /> [maxbutton id="<?php echo $id ?>" text="yourtext" url="http://yoururl" linktitle="tooltip" window="new" nofollow="true"] </p> </div> <div class='mb-message mb-notice copy-notice hidden'><p><?php _e('Your button has not been saved. Any changes will be lost!','maxbuttons'); ?></p> </div> <p><?php _e("Do you want to copy this button to a new button?","maxbuttons"); ?></p> </span> <span class="controls"> <button type="button" class='button-primary' data-buttonaction='copy' data-buttonid='<?php echo $id ?>'> <?php _e('Copy','maxbuttons'); ?></button> <a class='button modal_close'><?php _e("Cancel",'maxbuttons'); ?></a> </span> </div>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件