Changeset 212
- Timestamp:
- 06/20/08 13:34:31 (15 years ago)
- Location:
- plugins/piwik
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/piwik/index.php
r210 r212 127 127 echo 128 128 '<form action="'.$p_url.'" method="post">'. 129 '<fieldset><legend>'.__('Your Piwik configuration').'</legend>'. 129 130 '<p class="field"><label>'.__('Your Piwik URL:').' '. 130 131 form::field('piwik_uri',40,255,html::escapeHTML($piwik_uri)).'</label></p>'. … … 141 142 '<p class="field"><label>'.__('Piwik website to track:').' '. 142 143 form::combo('piwik_site',$sites_combo,$piwik_site).'</label></p>'. 144 '<p class="field"><label>'.__('Use fancy page names:').' '. 145 form::checkbox('piwik_fancy',1,$piwik_fancy).'</label></p>'. 143 146 '<p class="field"><label for="piwik_ips">'.__('Do not track following IP addresses:').'</label> '. 144 147 form::field('piwik_ips',50,600,$piwik_ips).'</p>'. 145 '<p class="field"><label>'.__('Use fancy page names:').' '. 146 form::checkbox('piwik_fancy',1,$piwik_fancy).'</label></p>'; 148 '<p>'.sprintf(__('Your current IP address is: %s'),'<strong>'.http::realIP().'</strong>').'</p>'; 147 149 } 148 150 149 151 echo 150 152 '<p><input type="submit" value="'.__('save').'" />'. 151 $core->formNonce().'</p>'. 152 '</form>'; 153 $core->formNonce().'</p>'; 153 154 154 if ($piwik_site && $piwik_uri) 155 { 156 echo '<h3><a href="'.$piwik_uri.'">'.sprintf(__('View "%s" statistics'),html::escapeHTML($piwik_sites[$piwik_site]['name'])).'</a></h3>';155 if ($piwik_site && $piwik_uri) { 156 echo '<p><strong><a href="'.$piwik_uri.'">'. 157 sprintf(__('View "%s" statistics'),html::escapeHTML($piwik_sites[$piwik_site]['name'])).'</a></strong></p>'; 157 158 } 159 160 echo '</fieldset></form>'; 158 161 159 162 if ($piwik_uri) 160 163 { 161 164 echo 162 '<h3>'.__('Create a new Piwik site for this blog').'</h3>'.163 165 '<form action="'.$p_url.'" method="post">'. 166 '<fieldset><legend>'.__('Create a new Piwik site for this blog').'</legend>'. 164 167 '<p class="field"><label>'.__('Site name:').' '. 165 168 form::field('site_name',40,255,$site_name).'</label></p>'. … … 168 171 '<p><input type="submit" value="'.__('create site').'" />'. 169 172 $core->formNonce().'</p>'. 170 '</f orm>';173 '</fieldset></form>'; 171 174 } 172 175 -
plugins/piwik/locales/_pot/main.pot
r210 r212 8 8 "Project-Id-Version: Dotclear 2 piwik module\n" 9 9 "Report-Msgid-Bugs-To: \n" 10 "POT-Creation-Date: 2008-06- 19 18:28+0200\n"10 "POT-Creation-Date: 2008-06-20 13:30+0200\n" 11 11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 12 12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 49 49 msgstr "" 50 50 51 #: plugins-test/piwik//index.php:125 51 #: plugins-test/piwik//index.php:125 plugins-test/piwik//index.php:129 52 52 msgid "Your Piwik configuration" 53 53 msgstr "" 54 54 55 #: plugins-test/piwik//index.php:1 2955 #: plugins-test/piwik//index.php:130 56 56 msgid "Your Piwik URL:" 57 57 msgstr "" 58 58 59 #: plugins-test/piwik//index.php:13 159 #: plugins-test/piwik//index.php:132 60 60 msgid "Your Piwik Token:" 61 61 msgstr "" 62 62 63 #: plugins-test/piwik//index.php:13 663 #: plugins-test/piwik//index.php:137 64 64 msgid "Your Piwik installation is not configured yet." 65 65 msgstr "" 66 66 67 #: plugins-test/piwik//index.php:14 167 #: plugins-test/piwik//index.php:142 68 68 msgid "Piwik website to track:" 69 69 msgstr "" 70 70 71 #: plugins-test/piwik//index.php:143 71 #: plugins-test/piwik//index.php:144 72 msgid "Use fancy page names:" 73 msgstr "" 74 75 #: plugins-test/piwik//index.php:146 72 76 msgid "Do not track following IP addresses:" 73 77 msgstr "" 74 78 75 #: plugins-test/piwik//index.php:145 76 msgid "Use fancy page names:" 79 #: plugins-test/piwik//index.php:148 80 #, php-format 81 msgid "Your current IP address is: %s" 77 82 msgstr "" 78 83 79 #: plugins-test/piwik//index.php:15 684 #: plugins-test/piwik//index.php:157 80 85 #, php-format 81 86 msgid "View \"%s\" statistics" 82 87 msgstr "" 83 88 84 #: plugins-test/piwik//index.php:16 289 #: plugins-test/piwik//index.php:166 85 90 msgid "Create a new Piwik site for this blog" 86 91 msgstr "" 87 92 88 #: plugins-test/piwik//index.php:16 493 #: plugins-test/piwik//index.php:167 89 94 msgid "Site name:" 90 95 msgstr "" 91 96 92 #: plugins-test/piwik//index.php:16 697 #: plugins-test/piwik//index.php:169 93 98 msgid "Site URL:" 94 99 msgstr "" 95 100 96 #: plugins-test/piwik//index.php:1 68101 #: plugins-test/piwik//index.php:171 97 102 msgid "create site" 98 103 msgstr "" -
plugins/piwik/locales/fr/main.po
r210 r212 7 7 "Project-Id-Version: Dotclear 2 piwik module\n" 8 8 "Report-Msgid-Bugs-To: \n" 9 "POT-Creation-Date: 2008-06- 19 18:28+0200\n"10 "PO-Revision-Date: 2008-06- 19 18:28+0100\n"9 "POT-Creation-Date: 2008-06-20 13:30+0200\n" 10 "PO-Revision-Date: 2008-06-20 13:31+0100\n" 11 11 "Last-Translator: Olivier Meunier <olivier@dotclear.net>\n" 12 12 "Language-Team: \n" … … 56 56 msgstr "Site Piwik à suivre :" 57 57 58 msgid "Use fancy page names:" 59 msgstr "Utiliser des noms de page améliorés :" 60 58 61 msgid "Do not track following IP addresses:" 59 62 msgstr "Ne pas activer le suivi sur les adresses IP suivantes :" 60 63 61 msgid "Use fancy page names:" 62 msgstr "Utiliser des noms de page améliorés :" 64 #, php-format 65 msgid "Your current IP address is: %s" 66 msgstr "Votre adresse IP est actuellement : %s" 63 67 64 68 #, php-format
Note: See TracChangeset
for help on using the changeset viewer.