add OSS note links
This commit is contained in:
@@ -136,6 +136,7 @@ class Databap extends PhpObject
|
|||||||
self::TABLE_TYPE=>'table', 'table'=>'table',
|
self::TABLE_TYPE=>'table', 'table'=>'table',
|
||||||
self::DOC_TYPE=>'doc', 'documentation'=>'doc', 'doc'=>'doc',
|
self::DOC_TYPE=>'doc', 'documentation'=>'doc', 'doc'=>'doc',
|
||||||
self::ART_TYPE=>'article', 'art'=>'article', 'article'=>'article',
|
self::ART_TYPE=>'article', 'art'=>'article', 'article'=>'article',
|
||||||
|
'n'=>'note', 'note'=>'note', 'note oss'=>'note',
|
||||||
'list'=>'list', 'liste'=>'list',
|
'list'=>'list', 'liste'=>'list',
|
||||||
'chat'=>'chat',
|
'chat'=>'chat',
|
||||||
'profil'=>'profile', 'profile'=>'profile',
|
'profil'=>'profile', 'profile'=>'profile',
|
||||||
@@ -152,7 +153,7 @@ class Databap extends PhpObject
|
|||||||
public static $PAGE_TITLES = array( 'code'=>'Code', 'chat'=>'Chat', 'doc'=>'Documentation', 'error'=>'Page introuvable',
|
public static $PAGE_TITLES = array( 'code'=>'Code', 'chat'=>'Chat', 'doc'=>'Documentation', 'error'=>'Page introuvable',
|
||||||
'list'=>'La liste', 'options'=>'Paramètres', 'procedure'=>'Procédure', 'profile'=>'Profil',
|
'list'=>'La liste', 'options'=>'Paramètres', 'procedure'=>'Procédure', 'profile'=>'Profil',
|
||||||
'search'=>'Recherche', 'welcome'=>'Bienvenue', 'table'=>'Table', 'article'=>'Article de blog',
|
'search'=>'Recherche', 'welcome'=>'Bienvenue', 'table'=>'Table', 'article'=>'Article de blog',
|
||||||
'logout'=>'Déconnexion');
|
'logout'=>'Déconnexion', 'note'=>'Note OSS');
|
||||||
|
|
||||||
//Doc constants
|
//Doc constants
|
||||||
const DOC_FOLDER = 'docs/';
|
const DOC_FOLDER = 'docs/';
|
||||||
|
|||||||
@@ -282,7 +282,8 @@ class ToolBox
|
|||||||
$sText = self::fixEOL($sText);
|
$sText = self::fixEOL($sText);
|
||||||
|
|
||||||
//building all replacements possibilities
|
//building all replacements possibilities
|
||||||
foreach(Databap::$TYPES as $sType=>$asTypeInfo)
|
$asTypes = Databap::$TYPES + array('note'=>'');
|
||||||
|
foreach($asTypes as $sType=>$asTypeInfo)
|
||||||
{
|
{
|
||||||
$sPage = Databap::$HASH_TO_PAGE[$sType];
|
$sPage = Databap::$HASH_TO_PAGE[$sType];
|
||||||
$asHashes = array_keys(Databap::$HASH_TO_PAGE, $sPage);
|
$asHashes = array_keys(Databap::$HASH_TO_PAGE, $sPage);
|
||||||
|
|||||||
9
masks/note.html
Normal file
9
masks/note.html
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<div id="article">
|
||||||
|
<p class="loading_box step_box round"><i class="fa fa-60 fa-inline fa-spin fa-c-loading"></i>La note est en cours de chargement...</p>
|
||||||
|
</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
databap.pageInit = function()
|
||||||
|
{
|
||||||
|
self.goToExternalLink('http://service.sap.com/sap/support/notes/'+self.vars.id);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
@@ -594,6 +594,10 @@ vertical-align 0% -5% -10% -15% -20% -25% -30%
|
|||||||
content: "\f14c";
|
content: "\f14c";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.fa-c-note:before {
|
||||||
|
content: "\f0fa";
|
||||||
|
}
|
||||||
|
|
||||||
.fa-c-list:before {
|
.fa-c-list:before {
|
||||||
content: "\f02d";
|
content: "\f02d";
|
||||||
}
|
}
|
||||||
|
|||||||
20
todo
20
todo
@@ -6,6 +6,7 @@ Internal:
|
|||||||
- Admin param page
|
- Admin param page
|
||||||
- Independant Option Class
|
- Independant Option Class
|
||||||
- put feedback box in title
|
- put feedback box in title
|
||||||
|
- Créer un fichier de testing
|
||||||
|
|
||||||
Bug fix:
|
Bug fix:
|
||||||
- [1.0.1] Check le document type plutot que l'extension pour les /img
|
- [1.0.1] Check le document type plutot que l'extension pour les /img
|
||||||
@@ -15,6 +16,7 @@ Bug fix:
|
|||||||
- Trouver une meilleure place pour le menu
|
- Trouver une meilleure place pour le menu
|
||||||
|
|
||||||
New features:
|
New features:
|
||||||
|
- Find a way to read OSS notes on databap page
|
||||||
- [1.1.0] Refiltre par type dans le search
|
- [1.1.0] Refiltre par type dans le search
|
||||||
- [1.1.0] Remplacer dans les options : oui / non par [-0] (f205) [O-] (f204)
|
- [1.1.0] Remplacer dans les options : oui / non par [-0] (f205) [O-] (f204)
|
||||||
- [1.1.0] Son pour les nouveaux messages
|
- [1.1.0] Son pour les nouveaux messages
|
||||||
@@ -32,17 +34,19 @@ New features:
|
|||||||
Design
|
Design
|
||||||
- profil : donner la possibilité de mettre des images de profil
|
- profil : donner la possibilité de mettre des images de profil
|
||||||
|
|
||||||
|
EHP 1
|
||||||
|
-----
|
||||||
|
|
||||||
|
- Interface menu modifié
|
||||||
|
- Ajout des notes aux liens dynamiques. Par exemple : note 1622681 => lien vers http://service.sap.com/sap/support/notes/1622681
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
-------
|
-------
|
||||||
|
|
||||||
- Extract dump.sql.7z
|
- Extract dump.sql.7z
|
||||||
- Insérer backup : mysql -u <user> -p --default_character_set utf8mb4 databap < ~/Desktop/dump.sql
|
- Insérer backup : mysql -u <user> -p --default_character_set utf8mb4 databap < ~/Desktop/dump.sql
|
||||||
- Update tokens : ~/?a=reset_pass&user=4
|
- Update tokens : ~/?a=reset_pass&user=4
|
||||||
|
- Uploader fichier :
|
||||||
MEP 1.0.0
|
- mysql --local-infile
|
||||||
---------
|
- LOAD DATA LOCAL INFILE '/var/www/databap/test.csv' INTO TABLE tables CHARACTER SET UTF8 FIELDS TERMINATED BY ',' ENCLOSED BY '"' ESCAPED BY '\\';
|
||||||
|
- Rebuild search : ?a=build_index
|
||||||
mysql --local-infile
|
|
||||||
LOAD DATA LOCAL INFILE '/var/www/databap/test.csv' INTO TABLE tables CHARACTER SET UTF8 FIELDS TERMINATED BY ',' ENCLOSED BY '"' ESCAPED BY '\\';
|
|
||||||
update tables set refer_id = id_table where refer_id = 0;
|
|
||||||
Rebuild search : ?a=build_index
|
|
||||||
Reference in New Issue
Block a user