Changeset 335
- Timestamp:
- 02/18/08 23:41:21 (16 years ago)
- Location:
- plugins/empreinte
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/empreinte/_define.php
r324 r335 19 19 /* Description*/ "Save browser information in comments", 20 20 /* Author */ "Oleksandr Syenchuk", 21 /* Version */ '0. 1b',21 /* Version */ '0.2', 22 22 /* Permissions */ 'contentadmin' 23 23 ); -
plugins/empreinte/_install.php
r324 r335 51 51 $core->setVersion($label,$m_version); 52 52 53 if ($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 53 57 unset($label,$i_version,$m_version,$s,$si); 54 58 return true; -
plugins/empreinte/class.public.empreinte.php
r334 r335 70 70 if ($id == 'include' && isset($attr['src']) && $attr['src'] == '_head.html') { 71 71 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"; 80 76 } 81 77 } -
plugins/empreinte/js/post.js
r334 r335 38 38 $.cookie('comment_no_empreinte',1,{expires:60,path:'/'}); 39 39 } else { 40 $.cookie('comment_no_empreinte', '',{expires:-30,path: '/'});40 $.cookie('comment_no_empreinte',0,{expires:-30,path: '/'}); 41 41 } 42 42 }); -
plugins/empreinte/locales/fr/main.po
r334 r335 39 39 msgstr "Inconnu" 40 40 41 #: _admin.php:31 42 msgid "To complete plugin uninstall, please delete the whole cache/cbtpl directory." 43 msgstr "Pour finir la désinstallation, veuillez supprimer le dossier cache/cbtpl." 44 45 #: _install.php:54 46 msgid "To finish installation, please delete the whole cache/cbtpl directory." 47 msgstr "Pour finir l'installation, veuillez supprimer le dossier cache/cbtpl." 48 41 49 msgid "Do not save informations about my browser" 42 50 msgstr "Ne pas enregistrer des informations concernant mon navigateur" 43
Note: See TracChangeset
for help on using the changeset viewer.