Permalink
Browse files

Improve UI/UX

  • Loading branch information...
simonewebdesign committed Feb 11, 2013
1 parent d96c02a commit 3aad667d46fb43b197a42f6f4564f5ec21a633d9
Showing with 32 additions and 46 deletions.
  1. +1 −1 _users_table.php
  2. +5 −5 config.php
  3. +11 −28 languages/it.php
  4. +3 −1 lists.php
  5. +7 −10 menu.php
  6. +3 −1 newsletters.php
  7. +2 −0 users.php
View
@@ -2,7 +2,7 @@
<thead>
<tr>
- <th><?=ID?></th>
+ <th>ID</th>
<th><?=NAME?></th>
<th><?=EMAIL?></th>
<th><?=IS_ACTIVE?></th>
View
@@ -16,13 +16,13 @@
# mail settings
'from_name' => 'Sender name here',
- 'from' => 'sender@email.here', # mittente (no-reply)
+ 'from' => 'hello@simonewebdesign.it', # mittente (no-reply)
'reply_to_name' => 'Recipient name here',
- 'reply_to' => 'recipient@email.here',
+ 'reply_to' => 'info@simonewebdesign.it',
- 'mail' => array('username' => 'sender@email.here', 'password' => 'secret'),
- 'smtp_server' => array('main' => 'smtp.example.com', 'backup' => 'smtp2.example.com'),
+ 'mail' => array('username' => 'hello@simonewebdesign.it', 'password' => 'simoservage90'),
+ 'smtp_server' => array('main' => 'smtp1.servage.net', 'backup' => 'smtp2.servage.net'),
/* production database settings
'hostname' => '127.0.0.1',
@@ -44,7 +44,7 @@
'limit' => 300, # limit of emails to send before refreshing the send.php page
'word_wrap' => 50,
'timeout' => 10000, # refresh timeout, in milliseconds.
- 'debug_mode' => 0, # enables SMTP debug information (2 for testing)
+ 'debug_mode' => 2, # enables SMTP debug information (2 for testing)
'smtp_auth' => true,
'charset' => 'UTF-8',
'max_allowed_fails' => 5
View
@@ -3,17 +3,12 @@
define('MYSQL_DATE_FORMAT', '%d/%m/%Y %H:%i');
define('PHP_DATE', 'd/m/Y H:i');
-define('BACK', 'Torna indietro');
-define('SUBMIT', 'Invio');
-
# newsletter form
define('SUBJECT', 'Oggetto');
define('DESCRIPTION', 'Descrizione');
define('RESOURCES', 'Immagini');
define('RESOURCE', 'Immagine');
-define('CUSTOM_TEMPLATE_HTML', 'Template HTML (facoltativo)');
-
-define('ID', 'ID');
+define('CUSTOM_TEMPLATE_HTML', 'Template');
# user form
define('NAME', 'Nome');
@@ -22,45 +17,34 @@
# newsletter
define('NEWSLETTERS', 'Newsletter');
-define('MANAGE_NEWSLETTERS', 'Gestione newsletter');
-
define('CREATE_NEWSLETTER', 'Creazione nuova newsletter');
define('READ_NEWSLETTER', 'Anteprima newsletter');
define('UPDATE_NEWSLETTER', 'Aggiornamento newsletter');
define('DELETE_NEWSLETTER', 'Eliminazione newsletter');
define('SEND_NEWSLETTER', 'Spedisci newsletter');
-
define('NEWSLETTER_ID', 'Newsletter');
-//define('NEWSLETTER_SUBMIT_CREATE', 'Crea nuova newsletter');
-//define('NEWSLETTER_SUBMIT_UPDATE', 'Aggiorna la newsletter');
-
define('NO_NEWSLETTERS', 'Non ci sono newsletter.');
+# template
+define('TEMPLATES', 'Template');
+
# user
define('USERS', 'Utenti');
define('USERS_COUNT', 'Numero utenti');
-define('MANAGE_USERS', 'Gestione utenti');
-
define('CREATE_USER', 'Creazione nuovo utente');
define('READ_USER', 'Statistiche utente');
define('UPDATE_USER', 'Aggiornamento dati utente');
define('DELETE_USER', 'Eliminazione utente');
-
-//define('NEWSLETTER_SUBMIT_CREATE', 'Crea nuovo utente');
-//define('NEWSLETTER_SUBMIT_UPDATE', 'Aggiorna utente');
-
define('NO_USERS', 'Non ci sono utenti.');
# list
define('LISTS', 'Liste');
-define('MANAGE_LISTS', 'Gestione liste');
-
define('CREATE_LIST', 'Creazione nuova lista');
define('READ_LIST', 'Leggi lista');
define('UPDATE_LIST', 'Aggiornamento lista');
define('DELETE_LIST', 'Eliminazione lista');
-
define('NO_LISTS', 'Non ci sono liste.');
+define('SELECT_LIST', 'Seleziona la mailing list');
# "at"
define('CREATED_AT', 'Creato/a il');
@@ -72,17 +56,16 @@
define('IS_ACTIVE', 'Attivo');
define('IS_SUBSCRIBED', 'Iscritto');
-
+# miscellaneous
define('ACTIONS', 'Azioni');
-
define('SUCCESS', 'Azione eseguita con successo.');
define('FAIL', 'Errore.');
-
-
define('YES', '');
define('NO', 'No');
define('NEVER', 'Mai');
define('NOT_SET', 'Non settato');
-
-define('SELECT_LIST', 'Seleziona la mailing list');
-define('EMAIL_ADDRESSES', 'Indirizzi email');
+define('BACK', 'Torna indietro');
+define('SUBMIT', 'Invio');
+define('EMAIL_ADDRESSES', 'Indirizzi email');
+define('STATISTICS', 'Statistiche');
+define('QUICK_SEND', 'Invio veloce');
View
@@ -19,7 +19,7 @@
<thead>
<tr>
- <th><?=ID?></th>
+ <th>ID</th>
<th><?=NAME?></th>
<th><?=USERS_COUNT?></th>
<th><?=CREATED_AT?></th>
@@ -60,6 +60,8 @@
<?php } ?>
+<a href="<?=$cfg['root']?>list_create.php"><?=CREATE_LIST?></a>
+
<?php include_once 'foot.php'; ?>
</body>
View
@@ -1,23 +1,20 @@
<ul id="menu">
-
<li>
- <a href="<?=$cfg['root']?>newsletters.php"><?=MANAGE_NEWSLETTERS?></a>
+ <a href="<?=$cfg['root']?>quick.php"><?=QUICK_SEND?></a>
</li>
<li>
- <a href="<?=$cfg['root']?>lists.php"><?=MANAGE_LISTS?></a>
+ <a href="<?=$cfg['root']?>newsletters.php"><?=NEWSLETTERS?></a>
</li>
<li>
- <a href="<?=$cfg['root']?>users.php"><?=MANAGE_USERS?></a>
+ <a href="<?=$cfg['root']?>lists.php"><?=LISTS?></a>
</li>
-
<li>
- <a href="<?=$cfg['root']?>newsletter_create.php"><?=CREATE_NEWSLETTER?></a>
+ <a href="<?=$cfg['root']?>users.php"><?=USERS?></a>
</li>
<li>
- <a href="<?=$cfg['root']?>list_create.php"><?=CREATE_LIST?></a>
- </li>
+ <a href="<?=$cfg['root']?>templates.php"><?=TEMPLATES?></a>
+ </li>
<li>
- <a href="<?=$cfg['root']?>user_create.php"><?=CREATE_USER?></a>
+ <a href="<?=$cfg['root']?>statistics.php"><?=STATISTICS?></a>
</li>
-
</ul>
View
@@ -19,7 +19,7 @@
<thead>
<tr>
- <th><?=ID?></th>
+ <th>ID</th>
<th><?=SUBJECT?></th>
<th><?=DESCRIPTION?></th>
<th><?=CREATED_AT?></th>
@@ -68,6 +68,8 @@
<?php } ?>
+<a href="<?=$cfg['root']?>newsletter_create.php"><?=CREATE_NEWSLETTER?></a>
+
<?php include_once 'foot.php'; ?>
</body>
View
@@ -23,6 +23,8 @@
<?php } ?>
+<a href="<?=$cfg['root']?>user_create.php"><?=CREATE_USER?></a>
+
<?php include_once 'foot.php'; ?>
</body>

0 comments on commit 3aad667

Please sign in to comment.