관리-도구
편집 파일: UnflagAllProgress.tpl
<?php use \Lsc\Wp\View\Model\UnflagAllProgressViewModel as ViewModel; $icon = $this->viewModel->getTplData(ViewModel::FLD_ICON); $installCount = $this->viewModel->getTplData(ViewModel::FLD_INSTALLS_COUNT); $d = array( 'title' => 'Unflagging WordPress Installations...', 'icon' => $icon ); $this->loadTplBlock('Title.tpl', $d); ?> <div id="progress-box" class="msg-box"> Unflagging <span id ="currIndex">0</span> out of <span id="totalCount"><?php echo $installCount; ?></span> ... </div> <?php $d = array( 'back' => 'Back', 'backDo' => 'lscwp_manage', 'visibility' => 'hidden' ); $this->loadTplBlock('ButtonPanelBackNext.tpl', $d); ?> <button class="accordion accordion-error" type="button" style="display: none"> Error Messages <span id ="errMsgCnt" class="badge errMsg-badge">0</span> </button> <div class="panel panel-error"> <?php $d = array( 'id' => 'errMsgs', 'class' => 'scrollable', ); $this->loadTplBlock('DivMsgBox.tpl', $d); ?> </div> <button class="accordion accordion-success" type="button" style="display: none"> Success Messages <span id="succMsgCnt" class="badge succMsg-badge">0</span> </button> <div class="panel panel-success"> <?php $d = array( 'id' => 'succMsgs', 'class' => 'scrollable', ); $this->loadTplBlock('DivMsgBox.tpl', $d); ?> </div> <script type="text/javascript">lswsInitDropdownBoxes();</script> <script type="text/javascript">lscwpUnflagAllUpdate();</script>