Changeset 1529:9f6e5c3c8344 for plugins/blogroll/index.php
- Timestamp:
- 08/23/13 10:41:38 (12 years ago)
- Branch:
- default
- Children:
- 1530:18df991c4c1a, 1531:18a9e84c04e3, 1641:ae5dc7a055e1, 1885:d4803b6eba12
- Parents:
- 1528:41b40915bb82 (diff), 1515:03b3235091cf (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/blogroll/index.php
r1504 r1529 177 177 178 178 <body> 179 <h2><?php echo html::escapeHTML($core->blog->name); ?> › <span class="page-title"><?php echo __('Blogroll'); ?></span></h2> 179 <?php 180 echo dcPage::breadcrumb( 181 array( 182 html::escapeHTML($core->blog->name) => '', 183 '<span class="page-title">'.__('Blogroll').'</span>' => '' 184 )); 185 ?> 180 186 181 187 <?php … … 277 283 '<div class="multi-part clear" id="add-link" title="'.__('Add a link').'">'. 278 284 '<form action="plugin.php" method="post" id="add-link-form">'. 279 '< fieldset><legend>'.__('Add a new link').'</legend>'.280 '<p class="col"><label for="link_title" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').' '.285 '<h3>'.__('Add a new link').'</h3>'. 286 '<p class="col"><label for="link_title" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label> '. 281 287 form::field('link_title',30,255,$link_title). 282 '</ label></p>'.283 284 '<p class="col"><label for="link_href" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('URL:').' '.288 '</p>'. 289 290 '<p class="col"><label for="link_href" class="required"><abbr title="'.__('Required field').'">*</abbr> '.__('URL:').'</label> '. 285 291 form::field('link_href',30,255,$link_href). 286 '</ label></p>'.287 288 '<p class="col"><label for="link_desc">'.__('Description:').' '.292 '</p>'. 293 294 '<p class="col"><label for="link_desc">'.__('Description:').'</label> '. 289 295 form::field('link_desc',30,255,$link_desc). 290 '</ label></p>'.291 292 '<p class="col"><label for="link_lang">'.__('Language:').' '.296 '</p>'. 297 298 '<p class="col"><label for="link_lang">'.__('Language:').'</label> '. 293 299 form::field('link_lang',5,5,$link_lang). 294 '</ label></p>'.300 '</p>'. 295 301 '<p>'.form::hidden(array('p'),'blogroll'). 296 302 $core->formNonce(). 297 303 '<input type="submit" name="add_link" value="'.__('Save').'" /></p>'. 298 '</fieldset>'.299 304 '</form>'. 300 305 '</div>'; … … 303 308 '<div class="multi-part" id="add-cat" title="'.__('Add a category').'">'. 304 309 '<form action="plugin.php" method="post" id="add-category-form">'. 305 '< fieldset><legend>'.__('Add a new category').'</legend>'.306 '<p><label for="cat_title" class=" classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').' '.307 form::field('cat_title',30,255,$cat_title).' </label>'.310 '<h3>'.__('Add a new category').'</h3>'. 311 '<p><label for="cat_title" class=" classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('Title:').'</label> '. 312 form::field('cat_title',30,255,$cat_title).' '. 308 313 form::hidden(array('p'),'blogroll'). 309 314 $core->formNonce(). 310 315 '<input type="submit" name="add_cat" value="'.__('Save').'" /></p>'. 311 '</fieldset>'.312 316 '</form>'. 313 317 '</div>'; … … 318 322 echo 319 323 '<form action="plugin.php" method="post" id="import-links-form" enctype="multipart/form-data">'. 320 '< fieldset><legend>'.__('Import links').'</legend>'.321 '<p><label for="links_file" class=" classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('OPML or XBEL File:').' '.322 '<input type="file" id="links_file" name="links_file" /></ label></p>'.324 '<h3>'.__('Import links').'</h3>'. 325 '<p><label for="links_file" class=" classic required"><abbr title="'.__('Required field').'">*</abbr> '.__('OPML or XBEL File:').'</label> '. 326 '<input type="file" id="links_file" name="links_file" /></p>'. 323 327 '<p>'.form::hidden(array('p'),'blogroll'). 324 328 $core->formNonce(). 325 329 '<input type="submit" name="import_links" value="'.__('Import').'" /></p>'. 326 '</fieldset>'.327 330 '</form>'; 328 331 } … … 330 333 echo 331 334 '<form action="plugin.php" method="post" id="import-links-form">'. 332 '< fieldset><legend>'.__('Import links').'</legend>';335 '<h3>'.__('Import links').'</h3>'; 333 336 if (empty($imported)) { 334 337 echo '<p>'.__('Nothing to import').'</p>'; … … 371 374 } 372 375 echo 373 '</fieldset>'.374 376 '</form>'; 375 377 } -
plugins/blogroll/index.php
r1454 r1529 208 208 209 209 <div class="multi-part" title="<?php echo __('Blogroll'); ?>"> 210 211 <?php if (!$rs->isEmpty()) { ?> 212 210 213 <form action="plugin.php" method="post" id="links-form"> 211 214 <table class="maximal dragable"> … … 251 254 </tbody> 252 255 </table> 253 <?php 254 if (!$rs->isEmpty()) { 255 echo 256 '<div class="two-cols">'. 257 '<p class="col">'.form::hidden('links_order',''). 258 form::hidden(array('p'),'blogroll'). 259 $core->formNonce(). 260 '<input type="submit" name="saveorder" value="'.__('Save order').'" /></p>'. 261 262 '<p class="col right"><input type="submit" class="delete" name="removeaction"'. 263 ' value="'.__('Delete selected links').'" '. 264 'onclick="return window.confirm(\''.html::escapeJS( 265 __('Are you sure you want to delete selected links?')).'\');" /></p>'. 266 '</div>'; 267 } else { 268 echo 269 '<div><p>'.__('The link list is empty.').'</p></div>'; 270 } 271 ?> 256 257 <div class="two-cols"> 258 <p class="col"> 259 <?php 260 echo 261 form::hidden('links_order',''). 262 form::hidden(array('p'),'blogroll'). 263 $core->formNonce(); 264 ?> 265 <input type="submit" name="saveorder" value="<?php echo __('Save order'); ?>" /></p> 266 <p class="col right"><input type="submit" class="delete" name="removeaction" 267 value="<?php echo __('Delete selected links'); ?>" 268 onclick="return window.confirm(' 269 <?php echo html::escapeJS(__('Are you sure you want to delete selected links?')); ?>');" /></p> 270 </div> 272 271 </form> 272 273 <?php 274 } else { 275 echo '<div><p>'.__('The link list is empty.').'</p></div>'; 276 } 277 ?> 278 273 279 </div> 274 280
Note: See TracChangeset
for help on using the changeset viewer.