Changeset 3179
- Timestamp:
- 09/18/13 12:36:10 (9 years ago)
- Location:
- plugins/acronyms/trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/acronyms/trunk/_admin.php
r3171 r3179 61 61 { 62 62 echo 63 '< fieldset><legend>'.__('Acronyms Manager').'</legend>'.63 '<div class="fieldset"><h4>'.__('Acronyms Manager').'</h4>'. 64 64 '<p><label class="classic">'. 65 65 form::checkbox('acronyms_button_enabled','1',$settings->acronyms_button_enabled). … … 68 68 form::checkbox('acronyms_public_enabled','1',$settings->acronyms_public_enabled). 69 69 __('Enable acronyms public page').'</label></p>'. 70 '</ fieldset>';70 '</div>'; 71 71 } 72 72 -
plugins/acronyms/trunk/_define.php
r3171 r3179 14 14 $this->registerModule( 15 15 /* Name */ "Acronyms Manager", 16 /* Description*/ "Add, remove and modify acronyms for the wiki syntax .",16 /* Description*/ "Add, remove and modify acronyms for the wiki syntax", 17 17 /* Author */ "Vincent Garnier, Pierre Van Glabeke", 18 /* Version */ '1. 2',18 /* Version */ '1.4', 19 19 /* Permissions */ 'acronyms' 20 20 ); -
plugins/acronyms/trunk/_public.php
r3171 r3179 73 73 } # class tplAcronyms 74 74 75 76 75 class acronymsURL extends dcUrlHandlers 77 76 { -
plugins/acronyms/trunk/index.php
r3171 r3179 11 11 # -- END LICENSE BLOCK ------------------------------------ 12 12 if (!defined('DC_CONTEXT_ADMIN')) { exit; } 13 14 $page_title = __('Acronyms Manager'); 15 16 # Url de base 17 $p_url = 'plugin.php?p=acronyms'; 13 18 14 19 $acronyms = new dcAcronyms($core); … … 74 79 <html> 75 80 <head> 76 <title><?php echo __('Acronyms Manager'); ?></title>81 <title><?php echo $page_title; ?></title> 77 82 <style type="text/css"> 78 #add_acronyms fieldset { position:relative; } 83 #edit_acronyms {margin-top:3.5em;} 84 #add_acronyms div { position:relative; } 79 85 .acroleft { display:block; width:14em; } 80 86 .acroright { display:inline; left:15em; position:absolute; top:43px; } … … 91 97 </head> 92 98 <body> 93 <h2><?php echo html::escapeHTML($core->blog->name); ?> > <?php echo __('Acronyms Manager'); ?> 94 <?php if ($core->blog->settings->acronyms->acronyms_public_enabled) { 95 echo ' - <a id="post-preview" href="'.$core->blog->url.$core->url->getBase('acronyms').'" class="button">'.__('View the acronyms page').'</a>'; 96 } ?></h2> 99 <?php 97 100 98 <?php 101 echo dcPage::breadcrumb( 102 array( 103 html::escapeHTML($core->blog->name) => '', 104 '<span class="page-title">'.$page_title.'</span>' => '' 105 )); 106 99 107 if (!empty($_GET['edited'])) { 100 echo '<p class="message">'.__('Acronyms list successfully updated.').'</p>';108 dcPage::success(__('Acronyms list successfully updated.')); 101 109 } 102 110 if (!empty($_GET['added'])) { 103 echo '<p class="message">'.__('Acronym successfully added.').'</p>'; 111 dcPage::success(__('Acronym successfully added.')); 112 } 113 114 if ($core->blog->settings->acronyms->acronyms_public_enabled) { 115 echo '<p><a class="onblog_link" href="'.$core->blog->url.$core->url->getBase('acronyms').'" onclick="window.open(this.href);return false;" title="'.$post_title.' ('.__('new window').')'.'">'.__('View the acronyms page').' <img src="images/outgoing-blue.png" alt="" /></a></p>'; 104 116 } 105 117 ?> 106 118 107 119 <form id="edit_acronyms" action="plugin.php" method="post"> 108 < fieldset>109 < legend><?php echo __('Edit acronyms'); ?></legend>120 <div class="fieldset"> 121 <h4><?php echo __('Edit acronyms'); ?></h4> 110 122 <div id="listacro"> 111 123 <?php … … 123 135 ?> 124 136 </div><!-- #listacro --> 125 </ fieldset>137 </div> 126 138 <p class="clear"><?php echo form::hidden('p_edit', '1'); 127 139 echo form::hidden(array('p'),'acronyms'); … … 132 144 133 145 <form id="add_acronyms" action="plugin.php" method="post"> 134 < fieldset>135 < legend><?php echo __('Add an acronym'); ?></legend>146 <div class="fieldset"> 147 <h4><?php echo __('Add an acronym'); ?></h4> 136 148 137 <p class="acroleft"><label for="a_acro" ><?php echo __('Acronym'); ?></label>149 <p class="acroleft"><label for="a_acro" class="required"><abbr title="'.__('Required field').'">*</abbr> <?php echo __('Acronym'); ?></label> 138 150 <?php echo form::field('a_acro',10,'',$a_acro,'',''); ?></p> 139 151 140 <p class="acroright"><label for="a_title" ><?php echo __('Entitled'); ?></label>152 <p class="acroright"><label for="a_title" class="required"><abbr title="'.__('Required field').'">*</abbr> <?php echo __('Entitled'); ?></label> 141 153 <?php echo form::field('a_title',60,'',$a_title,'',''); ?></p> 142 154 143 </ fieldset>155 </div> 144 156 <p class="clear"><?php echo form::hidden('p_add', '1'); 145 157 echo form::hidden(array('p'),'acronyms'); -
plugins/acronyms/trunk/locales/en/help/help.html
r3171 r3179 5 5 </head> 6 6 <body> 7 <h 2>Configuration</h2>7 <h3>Configuration</h3> 8 8 <p>Since the "Blog Settings" page, you can enable <strong>Acronym</strong> button 9 9 on the toolbar writing ticket.<br /> … … 11 11 be available in the "Presentation widgets" menu.</p> 12 12 13 <h 2>Utilisation</h2>13 <h3>Utilisation</h3> 14 14 <p>The acronyms in this list will be automatically recognized by the system 15 15 when you use the wiki syntax. This means that you will not have to take the -
plugins/acronyms/trunk/locales/fr/help/help.html
r3171 r3179 5 5 </head> 6 6 <body> 7 <h 2>Configuration</h2>7 <h3>Configuration</h3> 8 8 <p>Depuis la page "Paramètres du blog", vous pouvez activer le bouton <strong>Acronyme</strong> 9 9 sur la barre d'outils de rédaction de billet.<br /> … … 11 11 "Liste des acronymes" sera alors disponible dans le menu "Widgets de présentation".</p> 12 12 13 <h 2>Utilisation</h2>13 <h3>Utilisation</h3> 14 14 <p>Les acronymes de cette liste seront automatiquement reconnus par le système 15 15 lorsque vous utiliserez la syntaxe wiki. C'est-à-dire que vous n'aurez pas à 16 16 saisir le titre, simplement encadrer l'acronyme de doubles points d'interrogation.</p> 17 <p>Exemple 17 <p>Exemple : <code>??ANSI??</code></p> 18 18 <p>Seuls les acronymes ajoutés dans cette liste se retrouveront dans la page publique 19 19 des acronymes utilisés.<br /> 20 20 Les acronymes ajoutés grâce au bouton <strong>Acronyme</strong> de la barre d'outils de 21 21 rédaction de billet ne sont pas automatiquement ajoutés à cette liste.</p> 22 <p>Note 22 <p>Note : pour supprimer un acronyme, vider simplement son libellé.</p> 23 23 </body> 24 24 </html> -
plugins/acronyms/trunk/locales/fr/main.po
r3171 r3179 14 14 msgstr "Gestionnaire des acronymes" 15 15 16 msgid "Add, remove and modify acronyms for the wiki syntax ."17 msgstr "Ajouter, supprimer et modifier les acromymes pour la syntaxe wiki ."16 msgid "Add, remove and modify acronyms for the wiki syntax" 17 msgstr "Ajouter, supprimer et modifier les acromymes pour la syntaxe wiki" 18 18 19 19 msgid "Enable acronyms button on toolbar" … … 25 25 msgid "View the acronyms page" 26 26 msgstr "Voir la page des acronymes" 27 28 27 29 28 msgid "manage acronyms"
Note: See TracChangeset
for help on using the changeset viewer.