2011-02-21 Javier Lanz <javier.lanz@artica.es>

* godmode/alerts/alert_templates.php: Truncated Group name
	* godmode/alerts/alert_actions.php: Truncated Group name


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3946 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
javilanz 2011-02-21 13:23:46 +00:00
parent 02f4027ff0
commit bdf1f1c5a0
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2011-02-21 Javier Lanz <javier.lanz@artica.es>
* godmode/alerts/alert_templates.php: Truncated Group name
* godmode/alerts/alert_actions.php: Truncated Group name
2011-02-21 Ramon Novoa <rnovoa@artica.es>
* godmode/massive/massive_edit_agents.php: Check for false instead of

View File

@ -280,7 +280,7 @@ foreach ($actions as $action) {
$data[0] = '<a href="index.php?sec=galertas&sec2=godmode/alerts/configure_alert_action&id='.$action['id'].'">'.
$action['name'].'</a>';
$data[1] = print_group_icon ($action["id_group"], true) .'&nbsp;'. get_group_name ($action["id_group"], true);
$data[1] = print_group_icon ($action["id_group"], true) .'&nbsp;'. printTruncateText(get_group_name ($action["id_group"], true));
$data[2] = '<a href="index.php?sec=galertas&sec2=godmode/alerts/alert_actions&copy_action=1&id='.$action['id'].'"
onClick="if (!confirm(\''.__('Are you sure?').'\')) return false;">' .
print_image("images/copy.png", true) . '</a>';

View File

@ -257,7 +257,7 @@ foreach ($templates as $template) {
$data[0] = '<a href="index.php?sec=galertas&sec2=godmode/alerts/configure_alert_template&id='.$template['id'].'">'.
$template['name'].'</a>';
$data[1] = print_group_icon ($template["id_group"], true) .'&nbsp;'. get_group_name ($template['id_group'], true);
$data[1] = print_group_icon ($template["id_group"], true) .'&nbsp;'. printTruncateText(get_group_name ($template['id_group'], true));
$data[3] = get_alert_templates_type_name ($template['type']);
$data[4] = '<form method="post" action="index.php?sec=galertas&sec2=godmode/alerts/configure_alert_template" style="display: inline; float: left">';