This repository has been archived by the owner on Oct 18, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1,377 changed files
with
68,475 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"plugin-data": | ||
{ | ||
"name": "Universal Analytics", | ||
"description": "Universal Analytics is the next generation of Google Analytics. It is a series of technologies that helps businesses measure their digital world.", | ||
"author": "Fred", | ||
"email": "", | ||
"website": "", | ||
"version": "0.8", | ||
"releaseDate": "2015-08-08" | ||
}, | ||
"your-google-analytics-id": "Your Google Analytics ID" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"plugin-data": | ||
{ | ||
"name": "Universal Analytics", | ||
"description": " Universal Analytics, c’est une nouvelle version du code de suivi Google Analytics, une simplification de la configuration des paramètres de suivi et surtout c’est une nouvelle manière de regarder la façon dont nous suivons et analysons les utilisateurs plutôt que les visiteurs.", | ||
"author": "Fred", | ||
"email": "", | ||
"website": "", | ||
"version": "0.8", | ||
"releaseDate": "2015-08-08" | ||
}, | ||
"your-google-analytics-id": "Votre code de suivi Google Analytics" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?php | ||
|
||
class pluginUniversalAnalytics extends Plugin { | ||
// Plugin datas | ||
public function init() | ||
{ | ||
$this->dbFields = array( | ||
'id'=>'UA-XXXXXXXX-1' // <= Your Google Analytics ID | ||
); | ||
} | ||
// Backend configuration page | ||
public function form() | ||
{ | ||
global $Language; | ||
|
||
$html = '<div>'; | ||
$html .= '<label for="id">'.$Language->get('Your Google Analytics ID'); | ||
$html .= '<input type="text" name="id" value="'.$this->getDbField('id').'" />'; | ||
$html .= '</label>'; | ||
$html .= '</div>'; | ||
|
||
return $html; | ||
} | ||
// Show in Public theme head | ||
public function siteHead() | ||
{ | ||
$html = PHP_EOL.'<!-- Universal Analytics -->'.PHP_EOL; | ||
$html .= '<script> | ||
(function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
})(window,document,\'script\',\'//www.google-analytics.com/analytics.js\',\'ga\'); | ||
ga(\'create\', \''.$this->getDbField('id').'\', \'auto\'); | ||
ga(\'send\', \'pageview\'); | ||
</script>'.PHP_EOL; | ||
|
||
return $html; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"plugin-data": | ||
{ | ||
"name": "Backup", | ||
"description": "Backup lets you back up your data, download, restore and delete them from your server.", | ||
"author": "Fred", | ||
"email": "", | ||
"website": "", | ||
"version": "0.4", | ||
"releaseDate": "2015-08-08" | ||
}, | ||
"download": "Download", | ||
"delete": "Delete", | ||
"restore": "Restore", | ||
"archives": "Archives", | ||
"file-size": "File Size", | ||
"date": "Date", | ||
"actions": "Actions", | ||
"make-a-backup": "Make a backup", | ||
"delete-this-backup?": "Delete this backup?", | ||
"do-you-want-to-restore-this-backup?": "Do you want to restore this backup?", | ||
"there-was-a-problem-writing-the-zip-archive.": "There was a problem writing the ZIP archive.", | ||
"successfully-created-the-zip-archive!": "Successfully created the ZIP Archive!", | ||
"successfully-deleted-file!": "Successfully deleted file!", | ||
"an-error-occurred-while-deleting-the-file.": "An error occurred while deleting the file.", | ||
"archive-is-restored!": "Archive is restored!", | ||
"there-was-a-problem-to-restore-the-zip-archive": "There was a problem to restore the ZIP archive" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"plugin-data": | ||
{ | ||
"name": "Backup", | ||
"description": "Backup lets you back up your data, download, restore and delete them from your server.", | ||
"author": "Fred", | ||
"email": "", | ||
"website": "", | ||
"version": "0.4", | ||
"releaseDate": "2015-08-08" | ||
}, | ||
"download": "Descargar", | ||
"delete": "Borrar", | ||
"restore": "Restaurar", | ||
"archives": "Archivos", | ||
"file-size": "Tamaño", | ||
"date": "Fecha", | ||
"actions": "Acciones", | ||
"make-a-backup": "Crear Backup", | ||
"delete-this-backup?": "¿Borrar este backup?", | ||
"do-you-want-to-restore-this-backup?": "¿Quieres restaurar este backup?", | ||
"there-was-a-problem-writing-the-zip-archive.": "Ha habido un problema escribiendo el archivo ZIP.", | ||
"successfully-created-the-zip-archive!": "¡El archivo ZIP se ha creado correctamente!", | ||
"successfully-deleted-file!": "¡Se ha eliminado el archivo!", | ||
"an-error-occurred-while-deleting-the-file.": "Ha ocurrido un error mientras se borraba el archivo.", | ||
"archive-is-restored!": "¡El archivo ha sido restaurado!", | ||
"there-was-a-problem-to-restore-the-zip-archive": "Ha habido un problema al restaurar el archivo ZIP" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"plugin-data": | ||
{ | ||
"name": "Backup", | ||
"description": "Backup permet de sauvegarder vos données, de les télécharger, restaurer et de les supprimer de votre serveur.", | ||
"author": "Fred", | ||
"email": "", | ||
"website": "", | ||
"version": "0.4", | ||
"releaseDate": "2015-08-08" | ||
}, | ||
"download": "Télécharger", | ||
"delete": "Supprimer", | ||
"restore": "Restaurer", | ||
"archives": "Archives", | ||
"file-size": "Taille du fichier", | ||
"date": "Date", | ||
"actions": "Actions", | ||
"make-a-backup": "Réaliser une sauvegarde", | ||
"delete-this-backup?": "Supprimer cette archive ?", | ||
"do-you-want-to-restore-this-backup?": "Voulez-vous restaurer cette sauvegarde ?", | ||
"there-was-a-problem-writing-the-zip-archive.": "Une erreur est survenue lors de la création de l’archive.", | ||
"successfully-created-the-zip-archive!": "L’archive au format ZIP a bien été créée !", | ||
"successfully-deleted-file!": "Fichier supprimé avec succès !", | ||
"an-error-occurred-while-deleting-the-file.": "Une erreur est survenue lors de la suppression du fichier.", | ||
"archive-is-restored!": "Restauration de l’archive complète !", | ||
"there-was-a-problem-to-restore-the-zip-archive": "Une erreur est survenue pendant la restauration de l’archive." | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"plugin-data": | ||
{ | ||
"name": "備份", | ||
"description": "讓您備份您的資料,並可以從您的伺服器下載、還原或是刪除這些備份檔案", | ||
"author": "Fred", | ||
"email": "", | ||
"website": "", | ||
"version": "0.4", | ||
"releaseDate": "2015-08-08" | ||
}, | ||
"download": "下載", | ||
"delete": "刪除", | ||
"restore": "還原", | ||
"archives": "壓縮檔", | ||
"file-size": "檔案大小", | ||
"date": "日期", | ||
"actions": "動作", | ||
"make-a-backup": "製作一個備份", | ||
"delete-this-backup?": "要刪除這個備份?", | ||
"do-you-want-to-restore-this-backup?": "您想要使用這個備份進行還原?", | ||
"there-was-a-problem-writing-the-zip-archive.": "製作ZIP壓縮檔發生一些錯誤", | ||
"successfully-created-the-zip-archive!": "已經成功製作ZIP壓縮檔!", | ||
"successfully-deleted-file!": "已經成功刪除檔案!", | ||
"an-error-occurred-while-deleting-the-file.": "刪除檔案時發生錯誤", | ||
"archive-is-restored!": "已使用此壓縮檔還原成功!", | ||
"there-was-a-problem-to-restore-the-zip-archive": "使用此ZIP壓縮檔還原時發生了一些錯誤" | ||
} |
Oops, something went wrong.