Dotclear

Changeset 1083


Ignore:
Timestamp:
04/26/09 13:22:52 (15 years ago)
Author:
Moe
Message:

Blog this! 1.0.1 :

  • improved plugin help
  • translated plugn with Poedit
Location:
plugins/blogThis
Files:
1 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • plugins/blogThis/_admin.php

    r1082 r1083  
    33# 
    44# This file is part of Blog this!. 
    5 # Copyright 2007 Moe (http://gniark.net/) 
     5# Copyright 2007,2009 Moe (http://gniark.net/) 
    66# 
    77# Blog this! is free software; you can redistribute it and/or modify 
     
    2222# ***** END LICENSE BLOCK ***** 
    2323 
    24 $_menu['Plugins']->addItem(__('Blog this!'),'plugin.php?p=blogThis','index.php?pf=blogThis/icon.png', 
     24$_menu['Plugins']->addItem('Blog this!','plugin.php?p=blogThis','index.php?pf=blogThis/icon.png', 
    2525     preg_match('/plugin.php\?p=blogThis(&.*)?$/',$_SERVER['REQUEST_URI']), 
    2626     $core->auth->check('admin',$core->blog->id)); 
  • plugins/blogThis/_define.php

    r1082 r1083  
    33# 
    44# This file is part of Blog this!. 
    5 # Copyright 2007 Moe (http://gniark.net/) 
     5# Copyright 2007,2009 Moe (http://gniark.net/) 
    66# 
    77# Blog this! is free software; you can redistribute it and/or modify 
     
    2424$this->registerModule( 
    2525        /* Name */                      "Blog this!", 
    26         /* Description*/                "Blog this!", 
     26        /* Description*/                "Create a post from a bookmark in your browser ", 
    2727        /* Author */                    "Moe (http://gniark.net/)", 
    28         /* Version */                   '1.0', 
     28        /* Version */                   '1.0.1', 
    2929        /* Permissions */               'usage,contentadmin' 
    3030); 
  • plugins/blogThis/index.php

    r1082 r1083  
    33# 
    44# This file is part of Blog this!. 
    5 # Copyright 2007 Moe (http://gniark.net/) 
     5# Copyright 2007,2009 Moe (http://gniark.net/) 
    66# 
    77# Blog this! is free software; you can redistribute it and/or modify 
     
    2828<html> 
    2929<head> 
    30      <title><?php echo(__('Blog this!')); ?></title> 
     30     <title><?php echo('Blog this!'); ?></title> 
    3131</head> 
    3232<body> 
    3333 
    34      <h2><?php echo(html::escapeHTML($core->blog->name)); ?> &gt; <?php echo(__('Blog this!')); ?></h2> 
     34     <h2><?php echo(html::escapeHTML($core->blog->name)); ?> &gt; <?php echo('Blog this!'); ?></h2> 
    3535     <?php if (!empty($_GET['dcb'])) { ?> 
    3636          <form method="post" action="post.php"> 
     
    7373     <?php } ?> 
    7474     <h3><?php echo(__('Bookmarklet')); ?></h3> 
    75      <p><?php echo(__('You can add it to your bookmarks and when you will click "Blog this!" it will open up a popup window with the text you selected and a link to the site you\'re currently browsing so you can make a quick post about it.')); ?></p> 
     75     <p><?php echo(__('You can add the following boomarklet to your bookmarks.')); 
     76          printf(__('When you will click on %s it will open up a popup window with the text you selected and a link to the site you\'re currently browsing to create a post about it.'), 
     77               '<strong>'.__('Blog this!').'</strong>'); ?></p> 
     78     <p><?php echo(__('Javascript must be activated in your browser.'));?></p> 
    7679     <p><a href="javascript:if(navigator.userAgent.indexOf('Safari') >= 0){Q=getSelection();}else{Q=document.selection?document.selection.createRange().text:document.getSelection();}void(window.open('<?php echo(http::getSelfURI()); ?>&amp;dcb=1'+'&amp;ptext='+escape(Q)+'&amp;purl='+escape(location.href)+'&amp;ptitle='+escape(document.title),'DotClear bookmarklet','resizable=yes,scrollbars=yes,width=700,height=460,left=100,top=150,status=yes'));"><?php echo(__('Blog this!').' - '.html::escapeHTML($core->blog->name)); ?></a></p> 
    7780 
Note: See TracChangeset for help on using the changeset viewer.

Sites map