Changeset 1504:fa3e0be80137
- Timestamp:
- 08/21/13 01:55:22 (10 years ago)
- Branch:
- 2.5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/blogroll/index.php
r1179 r1504 202 202 203 203 <div class="multi-part" title="<?php echo __('Blogroll'); ?>"> 204 205 <?php if (!$rs->isEmpty()) { ?> 206 204 207 <form action="plugin.php" method="post" id="links-form"> 205 208 <table class="maximal dragable"> … … 245 248 </tbody> 246 249 </table> 247 <?php 248 if (!$rs->isEmpty()) { 249 echo 250 '<div class="two-cols">'. 251 '<p class="col">'.form::hidden('links_order',''). 252 form::hidden(array('p'),'blogroll'). 253 $core->formNonce(). 254 '<input type="submit" name="saveorder" value="'.__('Save order').'" /></p>'. 255 256 '<p class="col right"><input type="submit" class="delete" name="removeaction"'. 257 ' value="'.__('Delete selected links').'" '. 258 'onclick="return window.confirm(\''.html::escapeJS( 259 __('Are you sure you want to delete selected links?')).'\');" /></p>'. 260 '</div>'; 261 } else { 262 echo 263 '<div><p>'.__('The link list is empty.').'</p></div>'; 264 } 265 ?> 250 251 <div class="two-cols"> 252 <p class="col"> 253 <?php 254 echo 255 form::hidden('links_order',''). 256 form::hidden(array('p'),'blogroll'). 257 $core->formNonce(); 258 ?> 259 <input type="submit" name="saveorder" value="<?php echo __('Save order'); ?>" /></p> 260 <p class="col right"><input type="submit" class="delete" name="removeaction" 261 value="<?php echo __('Delete selected links'); ?>" 262 onclick="return window.confirm(' 263 <?php echo html::escapeJS(__('Are you sure you want to delete selected links?')); ?>');" /></p> 264 </div> 266 265 </form> 266 267 <?php 268 } else { 269 echo '<div><p>'.__('The link list is empty.').'</p></div>'; 270 } 271 ?> 272 267 273 </div> 268 274
Note: See TracChangeset
for help on using the changeset viewer.