[pLog-svn] r4798 - plog/trunk/class/template/smarty/plugins

oscar at devel.lifetype.net oscar at devel.lifetype.net
Wed Feb 21 08:14:33 EST 2007


Author: oscar
Date: 2007-02-21 08:14:33 -0500 (Wed, 21 Feb 2007)
New Revision: 4798

Modified:
   plog/trunk/class/template/smarty/plugins/function.location_chooser.php
Log:
IE-related fix


Modified: plog/trunk/class/template/smarty/plugins/function.location_chooser.php
===================================================================
--- plog/trunk/class/template/smarty/plugins/function.location_chooser.php	2007-02-20 23:24:55 UTC (rev 4797)
+++ plog/trunk/class/template/smarty/plugins/function.location_chooser.php	2007-02-21 13:14:33 UTC (rev 4798)
@@ -34,7 +34,7 @@
 	// whether to use the location display icon next to the drop-down list
 	isset( $params["showDisplayLink"]) ? $showDisplayLink = true : $showDisplayLink = false;
 	
-	$code = "<select name=\"locationId\" id=\"locationId\" onChange=\"if(this.options[this.selectedIndex].value == -1) window.open('?op=locationChooser','Location Chooser','scrollbars=no,resizable=no,toolbar=no,height=530,width=590');\">";
+	$code = "<select name=\"locationId\" id=\"locationId\" onChange=\"if(this.options[this.selectedIndex].value == -1) window.open('?op=locationChooser','LocationChooser','scrollbars=no,resizable=no,toolbar=no,height=530,width=590');\">";
 	$code .= "<option value=\"0\"";
 	$code .= ">None</option>";	
 	foreach( $locs as $loc ) {
@@ -63,7 +63,7 @@
 				return false;
 			locId = list.options[list.selectedIndex].value;
 			url = '?op=adminLocationDisplay&locId=' + locId;
-			window.open(url,'Location Viewer','scrollbars=no,resizable=no,toolbar=no,height=500,width=590');
+			window.open(url,'LocationViewer','scrollbars=no,resizable=no,toolbar=no,height=500,width=590');
 		  }
 		 </script> 
 		";



More information about the pLog-svn mailing list