Dotclear

Changeset 335


Ignore:
Timestamp:
02/18/08 23:41:21 (16 years ago)
Author:
sacha
Message:

Empreinte - install & uninstall procedures, version number set to 0.2

Location:
plugins/empreinte
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • plugins/empreinte/_define.php

    r324 r335  
    1919     /* Description*/    "Save browser information in comments", 
    2020     /* Author */        "Oleksandr Syenchuk", 
    21      /* Version */       '0.1b', 
     21     /* Version */       '0.2', 
    2222     /* Permissions */   'contentadmin' 
    2323); 
  • plugins/empreinte/_install.php

    r324 r335  
    5151$core->setVersion($label,$m_version); 
    5252 
     53if ($truncate_cache && !files::deltree(DC_TPL_CACHE.DIRECTORY_SEPARATOR.'cbtpl')) { 
     54     throw new Exception(__('To finish installation, please delete the whole cache/cbtpl directory.')); 
     55} 
     56 
    5357unset($label,$i_version,$m_version,$s,$si); 
    5458return true; 
  • plugins/empreinte/class.public.empreinte.php

    r334 r335  
    7070          if ($id == 'include' && isset($attr['src']) && $attr['src'] == '_head.html') { 
    7171               return 
    72                '<script type="text/javascript" src="'. 
    73                '<?php echo $core->blog->url;?>?pf=empreinte/js/post.js">'. 
    74                '</script><script type="text/javascript">'."\n". 
    75                '//<![CDATA['."\n". 
    76                'var post_no_empreinte_str =\''. 
    77                __('Do not save informations about my browser').'\';'."\n". 
    78                '//]]>'."\n". 
    79                '</script>'."\n"; 
     72               '<script type="text/javascript" src="<?php echo $core->blog->url;?>?pf=empreinte/js/post.js"></script>'."\n". 
     73               '<script type="text/javascript">//<![CDATA['."\n". 
     74               "var post_no_empreinte_str ='<?php echo html::escapeJS(__('Do not save informations about my browser')); ?>';\n". 
     75               '//]]></script>'."\n"; 
    8076          } 
    8177     } 
  • plugins/empreinte/js/post.js

    r334 r335  
    3838               $.cookie('comment_no_empreinte',1,{expires:60,path:'/'}); 
    3939          } else { 
    40                $.cookie('comment_no_empreinte','',{expires:-30,path: '/'}); 
     40               $.cookie('comment_no_empreinte',0,{expires:-30,path: '/'}); 
    4141          } 
    4242     }); 
  • plugins/empreinte/locales/fr/main.po

    r334 r335  
    3939msgstr "Inconnu" 
    4040 
     41#: _admin.php:31 
     42msgid "To complete plugin uninstall, please delete the whole cache/cbtpl directory." 
     43msgstr "Pour finir la désinstallation, veuillez supprimer le dossier cache/cbtpl." 
     44 
     45#: _install.php:54 
     46msgid "To finish installation, please delete the whole cache/cbtpl directory." 
     47msgstr "Pour finir l'installation, veuillez supprimer le dossier cache/cbtpl." 
     48 
    4149msgid "Do not save informations about my browser" 
    4250msgstr "Ne pas enregistrer des informations concernant mon navigateur" 
    43  
Note: See TracChangeset for help on using the changeset viewer.

Sites map